Fix mq_receive, mq_send mq_timed* namespace (bug 18545).
[glibc.git] / ChangeLog
blob9e45c2eb3c1c9c442c87fcc4339c9ea301646d3d
1 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18545]
4         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
5         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
6         hidden_weak.
7         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8         define as alias of __mq_timedsend.  Use hidden_weak.
9         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10         __mq_timedsend as strong name.
11         (mq_timedreceive): Use __mq_timedreceive as strong name.
12         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
13         (__mq_timedreceive): Likewise.
14         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15         __mq_timedreceive instead of mq_timedreceive.
16         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17         instead of mq_timedsend.
18         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19         Remove variable.
21         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22         hidden_def and hidden_weak instead of libc_hidden_def and
23         libc_hidden_weak.
24         (top level): Refer to hidden_def in comment.
25         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
26         macro.  Use it instead of libc_hidden_def.
27         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28         specify __GI_* name explicitly.
29         (mq_timedreceive): Likewise.
30         (mq_setattr): Likewise.
32         [BZ #18544]
33         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34         __pthread_barrier_init and define as weak alias of
35         __pthread_barrier_init.
36         * sysdeps/sparc/nptl/pthread_barrier_init.c
37         (pthread_barrier_init): Likewise.
38         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
39         __pthread_barrier_wait and define as weak alias of
40         __pthread_barrier_wait.
41         * sysdeps/sparc/nptl/pthread_barrier_wait.c
42         (pthread_barrier_wait): Likewise.
43         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
44         (pthread_barrier_wait): Likewise.
45         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
46         (pthread_barrier_wait): Likewise.
47         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
48         (pthread_barrier_wait): Likewise.
49         * nptl/Versions (libpthread): Export __pthread_barrier_init and
50         __pthread_barrier_wait at version GLIBC_PRIVATE.
51         * include/pthread.h (__pthread_barrier_init): Declare.
52         (__pthread_barrier_wait): Likewise.
53         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
54         Call __pthread_barrier_wait instead of pthread_barrier_wait.
55         (helper_thread): Likewise.
56         (init_mq_netlink): Call __pthread_barrier_init instead of
57         pthread_barrier_init.
59         [BZ #18542]
60         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
61         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
62         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
63         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
64         vswscanf.
65         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
66         Remove variable.
68         [BZ #18540]
69         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
70         strong alias of _IO_fflush.  Use libc_hidden_def.
71         * libio/iofflush_u.c (fflush_unlocked): Rename to
72         __fflush_unlocked and define as weak alias of __fflush_unlocked.
73         Use libc_hidden_weak.
74         * include/stdio.h (__fflush_unlocked): Declare.  Use
75         libc_hidden_proto.
76         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
77         fflush_unlocked.
78         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
79         Remove variable.
81         [BZ #18539]
82         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
83         define as weak alias of __addseverity.
84         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
85         Remove variable.
86         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
87         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
88         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
90         [BZ #18536]
91         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
92         (__tfind): Likewise.
93         (__tdelete): Likewise.
94         (__twalk): Likewise.
95         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
96         __twalk to GLIBC_PRIVATE.
97         * include/search.h (__tsearch): Use libc_hidden_proto.
98         (__tfind): Likewise.
99         (__tdelete): Likewise.
100         (__twalk): Likewise.
101         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
102         Call __tdelete instead of tdelete.
103         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
104         tfind.  Call __tsearch instead of tsearch.
105         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
106         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
107         Remove variable.
108         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
110         [BZ #18534]
111         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
112         (dprintf): Define as a weak alias of __dprintf, not a strong
113         alias.
114         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
115         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
116         dprintf.
117         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
118         Remove variable.
119         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
120         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
122         [BZ #18533]
123         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
124         not a strong alias.
125         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
126         Remove variable.
128         [BZ #18532]
129         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
130         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
131         (in6addr_loopback): Rename to __in6addr_loopback and define as
132         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
133         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
134         libc_hidden_proto.
135         (__in6addr_any): Likewise.
136         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
137         in6addr_any.
138         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
139         variable.
140         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
142 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
144         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
145         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
146         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
147         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
148         redirections for pow.
149         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
150         * sysdeps/x86_64/fpu/Versions: New versions added.
151         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
152         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
153         build of SSE, AVX2 and AVX512 IFUNC versions.
154         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
155         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
156         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
157         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
161         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
162         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
163         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
164         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
165         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
166         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
167         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
168         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
169         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
171         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
172         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
173         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
174         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
175         * NEWS: Mention addition of x86_64 vector pow.
177         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
178         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
179         redirections for expf.
180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
181         * sysdeps/x86_64/fpu/Versions: New versions added.
182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
183         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
184         build of SSE, AVX2 and AVX512 IFUNC versions.
185         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
186         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
187         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
188         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
189         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
190         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
191         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
192         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
193         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
194         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
195         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
196         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
197         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
198         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
199         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
200         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
201         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
202         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
203         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
204         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
205         * NEWS: Mention addition of x86_64 vector expf.
207         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
208         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
209         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
210         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
211         redirections for exp.
212         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
213         * sysdeps/x86_64/fpu/Versions: New versions added.
214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
215         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
216         build of SSE, AVX2 and AVX512 IFUNC versions.
217         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
218         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
219         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
220         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
221         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
222         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
223         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
224         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
225         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
226         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
227         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
228         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
229         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
230         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
231         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
232         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
233         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
234         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
235         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
236         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
237         * NEWS: Mention addition of x86_64 vector exp.
239         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
240         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
241         redirections for logf.
242         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
243         * sysdeps/x86_64/fpu/Versions: New versions added.
244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
245         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
246         build of SSE, AVX2 and AVX512 IFUNC versions.
247         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
248         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
249         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
250         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
251         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
252         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
253         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
254         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
255         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
256         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
257         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
258         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
259         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
260         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
261         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
262         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
263         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
264         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
265         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
266         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
267         * NEWS: Mention addition of x86_64 vector logf.
269         * bits/libm-simd-decl-stubs.h: Added stubs for log.
270         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
271         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
272         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
273         redirections for log.
274         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
275         * sysdeps/x86_64/fpu/Versions: New versions added.
276         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
277         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
278         build of SSE, AVX2 and AVX512 IFUNC versions.
279         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
280         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
281         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
282         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
283         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
284         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
285         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
286         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
287         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
288         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
289         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
290         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
291         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
292         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
293         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
294         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
295         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
296         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
297         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
298         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
299         * NEWS: Mention addition of x86_64 vector log.
301 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
303         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
304         cfi_adjust_cfa_offset argument.
305         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
306         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
308         [BZ #18034]
309         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
310         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
311         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
312         ordering using ldar.
313         (_dl_tlsdesc_dynamic): Likewise.
314         (_dl_tlsdesc_return_lazy): Likewise.
315         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
316         relaxed atomics instead of volatile and synchronize with release store.
317         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
318         volatile.
319         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
321 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
323         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
324         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
325         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
326         * sysdeps/x86_64/fpu/Versions: New versions added.
327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
329         build of SSE, AVX2 and AVX512 IFUNC versions.
330         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
331         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
332         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
333         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
334         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
335         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
336         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
337         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
338         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
339         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
340         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
341         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
342         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
343         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
344         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
345         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
347         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
348         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
349         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
350         * NEWS: Mention addition of x86_64 vector sinf.
352 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
354         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
355         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
356         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
357         Remove variable.
358         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
359         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
361 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
363         [BZ #18530]
364         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
365         strong alias of _IO_fputs.  Use libc_hidden_def.
366         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
367         and define as weak alias of __fputs_unlocked.  Use
368         libc_hidden_weak.
369         * include/stdio.h (__fputs_unlocked): Declare.  Use
370         libc_hidden_proto.
371         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
372         fputs_unlocked.
374         [BZ #18529]
375         * resolv/netdb.h [__USE_POSIX]: Change condition to
376         [__USE_XOPEN2K].
377         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
378         not expect.
379         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
380         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
381         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
382         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
383         [XPG4 || UNIX98] (AI_ALL): Likewise.
384         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
385         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
386         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
387         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
388         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
389         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
390         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
391         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
392         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
393         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
394         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
395         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
396         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
397         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
398         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
399         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
400         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
401         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
402         [XPG4 || UNIX98] (gai_strerror): Likewise.
403         [XPG4 || UNIX98] (getaddrinfo): Likewise.
404         [XPG4 || UNIX98] (getnameinfo): Likewise.
406         [BZ #18528]
407         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
408         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
409         __USE_XOPEN2K8].
410         (getgrent): Likewise.
411         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
412         expect.
413         [XPG3 || POSIX2008] (endgrent): Likewise.
414         [XPG3] (setgrent): Likewise.
415         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
416         variable.
417         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
419         [BZ #18527]
420         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
421         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
422         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
423         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
424         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
425         * include/unistd.h (__getlogin_r): Declare.  Use
426         libc_hidden_proto.
427         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
428         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
429         variable.
430         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
431         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
432         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
434 2015-06-12  Martin Sebor  <msebor@redhat.com>
436         [BZ #18512]
437         * Makerules (check-install-supported): New target.
438         (install): Add check-install-supported as a dependency.
439         * manual/install.texi (Installing the C Library): Document
440         that overriding prefix and exec_prefix is not supported.
441         Mention DESTDIR.
442         * INSTALL: Regenerate from the above.
444 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
446         [BZ #18519]
447         * posix/Versions (libc): Export __libc_pread at version
448         GLIBC_PRIVATE.
449         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
450         instead of pread.
451         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
452         variable.
454         [BZ #18522]
455         * misc/efgcvt_r.c
456         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
457         (cvt_symbol): Use weak_alias instead of strong_alias.
458         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
459         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
460         Remove variable.
461         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
462         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
464         [BZ #18520]
465         * inet/herrno.c (h_errno): Rename to __h_errno.
466         (__libc_h_errno): Define as alias of __h_errno not h_errno.
467         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
468         to __h_errno instead of h_errno.
469         * nptl/herrno.c (h_errno): Rename to __h_errno.
470         (__h_errno_location): Refer to __h_errno not h_errno.
471         * resolv/Versions (h_errno): Rename to __h_errno.
472         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
473         Remove variable.
474         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
476 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
478         * configure.ac: More strict check for AVX512 assembler support.
479         * configure: Regenerated.
481         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
482         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
483         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
484         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
486         * sysdeps/x86_64/fpu/Versions: New versions added.
487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
489         build of SSE, AVX2 and AVX512 IFUNC versions.
490         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
491         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
492         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
493         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
494         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
495         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
496         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
497         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
498         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
499         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
500         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
501         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
507         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
509         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
510         * NEWS: Mention addition of x86_64 vector sin.
512 2015-06-11  Florian Weimer  <fweimer@redhat.com>
514         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
515         comment.
517 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
519         [BZ #18479]
520         * nptl/pt-interp.c: New file.
521         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
522         Add pt-interp.
523         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
524         $(common-objpfx)runtime-linker.h.
526 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
528         * Makeconfig (+interp): Remove unused variable.
529         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
530         only.  Depend on $(common-objpfx)runtime-linker.h instead of
531         $(elf-objpfx)runtime-linker.h.
532         ($(elf-objpfx)runtime-linker.h): Rename to
533         $(common-objpfx)runtime-linker.h and move ...
534         * Makerules [$(build-shared) = yes]: ... here.
535         * elf/interp.c: Include <runtime-linker.h> instead of
536         <elf/runtime-linker.h>.
538 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
540         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
541         (__gettimeofday_syscall): Remove vsyscall fallback.
542         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
543         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
544         Add syscall fallback function.
545         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
546         if vDSO is not present.
547         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
548         fallback function.
549         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
550         present.
551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
552         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
554 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
556         [BZ #18497]
557         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
558         of wcscmp.
559         (wcscmp): Define as weak alias of WCSCMP.
560         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
561         wcscoll.
562         (USE_HIDDEN_DEF): Define.
563         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
564         __wcscoll.  Don't use libc_hidden_weak.
565         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
566         wcscmp.
567         * sysdeps/i386/i686/multiarch/wcscmp-c.c
568         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
569         __GI_wcscmp.
570         (weak_alias): Undefine and redefine.
571         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
572         __wcscmp and define as weak alias of __wcscmp.
573         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
574         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
575         (__wcscoll): Likewise.
576         (wcscmp): Don't use libc_hidden_proto.
577         (wcscoll): Likewise.
578         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
579         wcscoll.
580         * posix/regexec.c (check_node_accept_bytes): Likewise.
581         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
582         variable.
583         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
584         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
586         [BZ #18507]
587         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
588         __fstatvfs and define as weak alias of __fstatvfs.  Use
589         libc_hidden_weak.
590         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
591         and define as weak alias of __statvfs.  Use libc_hidden_weak.
592         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
593         Define as alias of __fstatvfs, not fstatvfs.
594         (fstatvfs64): Likewise.
595         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
596         Define as alias of __statvfs, not statvfs.
597         (statvfs64): Likewise.
598         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
599         Remove variable.
601 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
604         (HAVE_GETCPU_VSYSCALL): Define.
605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
606         (HAVE_GETCPU_VSYSCALL): Likewise.
607         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
608         * sysdeps/unix/sysv/linux/sched_getcpu.c
609         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
610         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
611         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
612         prototype.
613         * sysdeps/unix/sysv/linux/x86_64/init-first.c
614         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
615         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
617         Define.
618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
619         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
620         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
621         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
623 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
625         * sysdeps/x86_64/fpu/Makefile: New file.
626         * sysdeps/x86_64/fpu/Versions: New file.
627         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
628         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
629         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
630         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
631         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
632         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
633         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
636         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
637         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
638         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
639         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
641         build of SSE, AVX2 and AVX512 IFUNC versions.
642         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
643         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
644         * sysdeps/x86_64/configure.ac: Options for libmvec build.
645         * sysdeps/x86_64/configure: Regenerated.
646         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
648         * manual/install.texi (Configuring and compiling): Document
649         --disable-mathvec.
650         * INSTALL: Regenerated.
651         * NEWS: Mention addition of libmvec and x86_64 vector cos.
653         * math/Makefile: Added rules for vector tests.
654         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
655         declaration under condition.
656         * math/test-double-vlen2.h: New file.
657         * math/test-double-vlen4.h: New file.
658         * math/test-double-vlen8.h: New file.
659         * math/test-vec-loop.h: Added initialization macro.
660         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
661         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
662         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
663         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
664         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
667         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
668         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
669         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
670         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
672         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
673         * sysdeps/x86_64/fpu/Versions: New versions added.
674         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
675         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
676         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
677         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
678         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
679         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
681         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
684         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
685         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
686         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
688         build of SSE, AVX2 and AVX512 IFUNC versions.
689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
690         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
691         * NEWS: Mention addition of x86_64 vector cosf.
693         * math/Makefile: Added CFLAGS for new tests.
694         * math/test-float-vlen16.h: New file.
695         * math/test-float-vlen4.h: New file.
696         * math/test-float-vlen8.h: New file.
697         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
698         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
700         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
701         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
703         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
706         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
707         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
709 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
711         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
712         * locale/programs/ld-ctype.c: Likewise.
714 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
716         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
717         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
718         bit_ZMM16_31_state): New macro.
719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
720         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
722 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
724         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
726 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
728         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
730 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
732         [BZ #18498]
733         * libio/memstream.c (open_memstream): Rename to __open_memstream
734         and define as weak alias of __open_memstream.
735         * include/stdio.h (__open_memstream): Declare.  Use
736         libc_hidden_proto.
737         (open_memstream): Don't use libc_hidden_proto.
738         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
739         open_memstream.
740         * posix/getopt.c (_getopt_internal_r): Likewise.
741         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
742         variable.
743         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
744         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
745         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
747         [BZ #18496]
748         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
749         instead of wcrtomb.
751         [BZ #18483]
752         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
753         [__USE_XOPEN2K8].  Remove redundant #endif.
754         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
755         Remove redundant #if.
756         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
757         Remove variable.
758         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
759         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
761         [BZ #18495]
762         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
763         (__iswlower): Likewise.
764         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
765         (__iswlower): Likewise.
766         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
767         instead of towlower.
768         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
769         instead of iswlower.  Call __towupper instead of towupper.
770         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
771         instead of iswalnum.
773 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
775         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
776         errors to stderr.
778 2015-06-05  Florian Weimer  <fweimer@redhat.com>
780         [BZ #15661]
781         [BZ #17322]
782         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
783         Check for overflow properly.  Check for O_APPEND.  Ignore large
784         file system block sizes.  Add comments about problems.
785         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
786         * manual/filesys.texi (Storage Allocation): New node.
788 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
790         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
791         cancellable syscalls.
792         (SYS_ify): Add guard to no redefine it.
793         (INLINE_SYSCALL): Likewise.
794         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
795         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
796         SYSCALL_CANCEL instead.
797         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
798         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
799         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
800         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
801         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
802         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
803         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
804         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
805         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
806         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
807         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
808         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
809         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
810         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
811         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
813         Likewise.
814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
815         (__libc_pread64): Likewise.
816         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
817         (__libc_preadv): Likewise.
818         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
819         (__libc_readv64): Likewise.
820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
821         (__libc_pwrite): Likewise.
822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
823         (__libc_pwrite64): Likewise.
824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
825         (__libc_pwritev): Likewise.
826         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
827         (__libc_pwritev64): Likewise.
828         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
829         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
830         (sync_file_range): Likewise.
831         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
832         Likewise.
833         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
834         Likewise.
835         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
836         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
837         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
838         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
839         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
840         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
841         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
842         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
844         Likewise.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
846         (__libc_read64): Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
848         Likewise.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
850         Likewise.
851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
852         Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
854         Likewise.
855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
856         (__libc_pread64): Likewise.
857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
858         Likewise.
859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
860         (__libc_pwrite64): Likewise.
861         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
862         (sync_file_range): Likewise.
863         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
864         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
865         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
866         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
867         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
868         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
869         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
870         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
871         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
872         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
873         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
874         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
875         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
876         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
877         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
878         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
879         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
880         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
881         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
882         Likewise.
883         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
884         Likewise.
885         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
886         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
887         Likewise.
888         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
889         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
890         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
891         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
892         Likewise.
893         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
894         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
895         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
896         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
897         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
899 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
901         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
902         Include dl-vdso.
903         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
904         Use VDSO routines for gettimeofday, clock_gettime if
905         available.
906         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
907         Declare VDSO symbols.
908         * sysdeps/unix/sysv/linux/arm/sysdep.h:
909         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
910         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
911         * sysdeps/unix/sysv/linux/arm/Versions: Add
912         __vdso_clock_gettime.
914 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
916         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
917         be an inline implementation regardless of library is built within.
918         (open_not_cancel_2): Likewise.
919         (__read_nocancel): Likewise.
920         (__write_nocancel): Likewise.
921         (openat_not_cancel): Likewise.
922         (openat_not_cancel_3): Likewise.
923         (openat64_not_cancel): Likewise.
924         (openat64_not_cancel_3): Likewise.
925         (__close_nocancel): Likewise.
926         (pause_not_cancel): Likewise.
927         (nanosleep_not_cancel): Likewise.
928         (sigsuspend_not_cancel): Likewise.
930 2015-06-04  Torvald Riegel  <triegel@redhat.com>
932         [BZ #14958]
933         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
934         wake-up.
935         (__pthread_rwlock_rdlock_slow): Likewise.
936         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
937         Likewise.
938         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
939         Likewise.
940         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
941         * nptl/tst-rwlock16.c: New file.
942         * nptl/Makefile (tests): Add new test.
944 2015-06-04  Torvald Riegel  <triegel@redhat.com>
946         [BZ #18324]
947         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
948         missing wake-up of readers.
949         * nptl/tst-rwlock15.c: New file.
950         * nptl/Makefile (tests): Add new test.
952 2015-06-03  Roland McGrath  <roland@hack.frob.com>
954         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
955         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
956         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
957         and __nacl_supply_interface_rtld.
958         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
959         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
960         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
961         Add __nacl_supply_interface_rtld.
962         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
964 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
966         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
967         isfinite.
968         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
969         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
971 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
973         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
974         __signbit* with standard C99 macros.
975         * math/e_exp10l.c: Likewise.
976         * math/e_exp2l.c: Likewise.
977         * math/e_scalb.c: Likewise.
978         * math/e_scalbf.c: Likewise.
979         * math/e_scalbl.c: Likewise.
980         * math/s_ldexp.c: Likewise.
981         * math/s_ldexpf.c: Likewise.
982         * math/s_ldexpl.c: Likewise.
983         * math/w_atan2.c: Likewise.
984         * math/w_atan2f.c: Likewise.
985         * math/w_atan2l.c: Likewise.
986         * math/w_cosh.c: Likewise.
987         * math/w_coshf.c: Likewise.
988         * math/w_coshl.c: Likewise.
989         * math/w_exp10.c: Likewise.
990         * math/w_exp10f.c: Likewise.
991         * math/w_exp10l.c: Likewise.
992         * math/w_exp2.c: Likewise.
993         * math/w_exp2f.c: Likewise.
994         * math/w_exp2l.c: Likewise.
995         * math/w_fmod.c: Likewise.
996         * math/w_fmodf.c: Likewise.
997         * math/w_fmodl.c: Likewise.
998         * math/w_hypot.c: Likewise.
999         * math/w_hypotf.c: Likewise.
1000         * math/w_hypotl.c: Likewise.
1001         * math/w_jnl.c: Likewise.
1002         * math/w_lgamma.c: Likewise.
1003         * math/w_lgamma_r.c: Likewise.
1004         * math/w_lgammaf.c: Likewise.
1005         * math/w_lgammaf_r.c: Likewise.
1006         * math/w_lgammal.c: Likewise.
1007         * math/w_lgammal_r.c: Likewise.
1008         * math/w_pow.c: Likewise.
1009         * math/w_powf.c: Likewise.
1010         * math/w_powl.c: Likewise.
1011         * math/w_remainder.c: Likewise.
1012         * math/w_remainderf.c: Likewise.
1013         * math/w_remainderl.c: Likewise.
1014         * math/w_scalb.c: Likewise.
1015         * math/w_scalbf.c: Likewise.
1016         * math/w_scalbl.c: Likewise.
1017         * math/w_scalbln.c: Likewise.
1018         * math/w_scalblnf.c: Likewise.
1019         * math/w_scalblnl.c: Likewise.
1020         * math/w_sinh.c: Likewise.
1021         * math/w_sinhf.c: Likewise.
1022         * math/w_sinhl.c: Likewise.
1023         * math/w_tgamma.c: Likewise.
1024         * math/w_tgammaf.c: Likewise.
1025         * math/w_tgammal.c: Likewise.
1026         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1027         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1028         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1029         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1030         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1032         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1033         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1034         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1035         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1036         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1037         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1039         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1040         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1041         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1043         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1044         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1050         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1051         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1052         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1053         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1054         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1055         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1056         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1057         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1058         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1059         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1060         * stdio-common/printf_fp.c: Likewise.
1061         * stdio-common/printf_fphex.c: Likewise.
1062         * stdio-common/printf_size.c: Likewise.
1064 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1066         [BZ #18470]
1067         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1068         strnlen.
1069         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1070         Remove variable.
1071         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1072         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1073         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1074         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1075         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1076         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1077         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1078         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1079         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1080         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1082         [BZ #18468]
1083         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1084         weak alias of __wmemchr.  Use libc_hidden_weak.
1085         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1086         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1087         instead of wmemchr.
1089 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1091         [BZ #18383]
1092         * elf/tst-tlsalign-extern.c: New file.
1093         * elf/tst-tlsalign-extern-static.c: New file.
1094         * elf/tst-tlsalign-vars.c: New file.
1095         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1096         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1097         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1098         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1099         (test-xfail-tst-tlsalign-extern-static): New variable.
1101 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1103         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1104         Use variable name _sc_err instead of err.
1105         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1106         instead of ret.
1107         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1108         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1109         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1110         (INLINE_SYSCALL): Likewise.
1112         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1113         * include/string.h (__strnlen): Use libc_hidden_proto.
1114         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1115         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1116         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1117         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1118         (libc_hidden_def): Undefine and redefine.
1119         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1120         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1121         __GI_strnlen.
1122         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1123         libc_hidden_def.
1124         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1126         [BZ #18469]
1127         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1128         weak alias of __towlower.  Use libc_hidden_weak.
1129         (towupper): Rename to __towupper and define as weak alias of
1130         __towupper.  Use libc_hidden_weak.
1131         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1132         (__towupper): Likewise.
1133         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1134         __towlower instead of towlower.
1136 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1138         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1139         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1141 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1143         * sysdeps/aarch64/libm-test-ulps: Update.
1145 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1147         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1148         Define.
1149         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1151         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1152         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1153         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1154         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1155         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1157 2015-06-01  Martin Sebor  <msebor@redhat.com>
1159         [BZ #18116]
1160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1161         (__setcontext): Use extended four-operand version of mtsf whenever
1162         possible.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1164         (__novec_swapcontext): Likewise.
1166 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1168         * benchtests/scripts/compare_bench.py: New file.
1169         * benchtests/scripts/import_bench.py (mean): New function.
1170         (split_list): Likewise.
1171         (do_for_all_timings): Likewise.
1172         (compress_timings): Likewise.
1174         * benchtests/scripts/import_bench.py: New file.
1175         * benchtests/scripts/validate_benchout.py: Import import_bench
1176         instead of jsonschema.
1177         (validate_bench): Remove function.
1178         (main): Use import_bench.
1180 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1182         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1183         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1185 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1189 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1191         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1192         set THREAD_SELF->tid to a magic value and futex-wake it.
1193         Pass its address to the thread_exit system call.
1194         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1195         bit is clear.
1196         * sysdeps/nacl/lowlevellock.h: New file.
1197         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1199         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1200         Add TIMEOUT to current time, don't subtract it.
1202 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1204         [BZ #18422]
1205         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1206         ($(objpfx)tst-audit2.out): Also depend on
1207         $(objpfx)tst-auditmod9b.so.
1208         * elf/tst-audit2.c: Include <dlfcn.h>.
1209         (calloc_called): New.
1210         (calloc): Allow to be called more than once.
1211         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1213 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1215         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1216         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1218 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1220         * stdlib/monetary.h: Fix comment.
1222 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1224         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1225         Avoid using variables in #defines that might cause shadowing.
1226         (INTERNAL_VSYSCALL_CALL): Likewise.
1228 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1230         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1232         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1233         * nptl/lll_timedlock_wait.c: ... to this new file.
1234         * nptl/Makefile (libpthread-routines): Add it.
1235         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1236         * nptl/lll_timedwait_tid.c: ... to this new file.
1237         * nptl/Makefile (libpthread-routines): Add it.
1238         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1239         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1240         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1241         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1242         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1243         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1244         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1245         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1246         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1247         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1249 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1251         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1252         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1253         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1255         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1257         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1259         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1260         * sysdeps/unix/sysv/linux/tile/sysdep.h
1261         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1262         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1263         using vDSO syscall macro.
1265 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1267         [BZ #17293]
1268         * uk_UA: Fix sorting order for Ukrainian locale
1270 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1272         * stdlib/monetary.h: Fix comment.
1274 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1276         [BZ #18234]
1277         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1278         st_mtim and st_ctim members.
1279         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1280         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1281         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1282         (struct stat64): Likewise.
1283         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1284         (struct stat64): Likewise.
1285         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1286         (struct stat64): Likewise.
1288 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1290         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1291         Define and include sysdep-vdso.h.
1292         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1293         Likewise.
1294         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1295         Likewise.
1296         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1297         Define with VDSO_SYMBOL and use PTR_MANGLE.
1298         (__vdso_clock_gettime): Likewise.
1299         (__vdso_clock_getres): Likewise.
1300         (_libc_vdso_platform_setup): Likewise.
1301         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1302         Likewise.
1303         (_libc_vdso_platform_setup): Likewise.
1304         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1305         Likewise.
1306         (__vdso_clock_gettime): Likewise.
1307         (__vdso_clock_getres): Likewise.
1308         (__vdso_get_tbfreq): Likewise.
1309         (__vdso_getcpu): Likewise.
1310         (__vdso_time): Likewise.
1311         (__vdso_sigtramp_rt64): Likewise.
1312         (__vdso_signtramp32): Likewise.
1313         (__vdso_sigtramp_rt32): Likewise.
1314         (_libc_vdso_platform_setup): Likewise.
1315         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1316         Likewise.
1317         (__vdso_clock_gettime): Likewise.
1318         (__vdso_clock_getres): Likewise.
1319         (_libc_vdso_platform_setup): Likewise.
1320         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1321         Likewise.
1322         (__vdso_clock_gettime): Likewise.
1323         (_libc_vdso_platform_setup): Likewise.
1324         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1325         Likewise.
1326         (__vdso_getcpu): Likewise.
1327         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1328         Use VDSO_SYMBOL macro to define.
1329         (__vdso_clock_gettime): Likewise.
1330         (__vdso_clock_getres): Likewise.
1331         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1332         Likewise.
1333         (__vdso_clock_gettime): Likewise.
1334         (__vdso_clock_getres): Likewise.
1335         (__vdso_get_tbfreq): Likewise.
1336         (__vdso_getcpu): Likewise.
1337         (__vdso_time): Likewise.
1338         (__vdso_sigtramp_rt64): Likewise.
1339         (__vdso_signtramp32): Likewise.
1340         (__vdso_sigtramp_rt32): Likewise.
1341         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1342         Likewise.
1343         (__vdso_clock_gettime): Likewise.
1344         (__vdso_clock_getres): Likewise.
1345         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1346         Likewise.
1347         (__vdso_clock_gettime): Likewise.
1348         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1351         macro.
1352         (INTERNAL_VSYSCALL): Likewise.
1353         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1354         Remove macro.
1355         (INTERNAL_VSYSCALL): Likewise.
1356         (INTERNAL_VSYSCALL_NCS): Likewise.
1357         (INTERNAL_VSYSCALL_CALL): New macro.
1358         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1360         Likewise.
1361         (INTERNAL_VSYSCALL): Likewise.
1362         (INTERNAL_VSYSCALL_NCS): Likewise.
1363         (INTERNAL_VSYSCALL_CALL): New macro.
1364         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1366         (INLINE_VSYSCALL): Remove macro.
1367         (INTERNAL_VSYSCALL): Remove macro.
1368         (INTERNAL_VSYSCALL_NCS): Remove macro.
1369         (INTERNAL_VSYSCALL_CALL): New macro.
1370         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1371         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1372         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1373         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1374         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1376         (INLINE_VSYSCALL): Remove macro.
1377         (INTERNAL_VSYSCALL): Likewise.
1378         (INTERNAL_VSYSCALL_NCS): Likewise.
1379         (INTERNAL_VSYSCALL_CALL): New macro.
1380         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1381         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1382         PTR_DEMANGLE on vDSO pointer.
1383         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1384         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1385         macro.
1386         (INTERNAL_SYSCALL): Likewise.
1387         (INTERNAL_VSYSCALL_NCS): Remove macro.
1388         (INTERNAL_VSYSCALL_CALL): New macro.
1389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1390         Remove macro.
1391         (INTERNAL_VSYSCALL): Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1393         sysdep-vdso.h instead of libc-vdso.h.
1394         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1395         definition.
1396         (INLINE_VSYSCALL): Likewise.
1397         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1398         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1399         definition.
1400         (INLINE_VSYSCALL): Likewise.
1401         (INTERNAL_VSYSCALL): Likewise.
1402         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1403         * sysdeps/unix/sysv/linux/timespec_get.c
1404         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1405         (timespec_get): Use ANSI prototype.
1406         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1407         and definition for Linux.
1409 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1411         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1412         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1414 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1416         [BZ #18410]
1417         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1418         for missing DT_PLTRELSZ.
1420 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1422         Remove obsolete aliases that broke 'locale -a'
1423         [BZ #18412]
1424         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1425         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1426         breaking some applications that use 'locale -a' output.
1427         Change the encoding of this file from Latin-1 to ASCII to avoid
1428         other potential problems with people grepping this file.
1430 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1432         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1433         -fasynchronous-unwind-tables.
1434         (CFLAGS-sendto.c): Likewise.
1435         (CFLAGS-sendmsg.c): Likewise.
1436         (CFLAGS-connect.c): Likewise.
1437         (CFLAGS-recvmsg.c): Likewise.
1438         (CFLAGS-recvfrom.c): Likewise.
1439         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1440         (SOCKETCALL): New macro: non-cancellable socketcall.
1441         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1442         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1443         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1444         * sysdeps/unix/sysv/linux/accept.c: New file.
1445         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1446         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1447         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1448         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1449         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1450         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1451         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1452         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1453         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1454         * sysdeps/unix/sysv/linux/send.c: Likewise.
1455         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1456         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1457         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1458         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1459         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1460         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1461         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1462         prototype.
1463         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1464         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1465         instead of __internal_xxx function.
1466         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1467         prototype.
1468         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1469         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1470         instead of __internal_xxx function.
1471         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1472         prototype.
1473         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1474         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1475         instead of __internal_xxx function.
1476         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1477         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1478         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1479         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1480         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1481         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1482         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1483         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1484         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1485         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1486         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1487         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1488         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1489         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1490         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1491         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1492         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1493         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1494         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1495         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1498         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1499         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1500         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1501         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1502         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1503         * sysdeps/unix/sysv/linux/send.S: Likewise.
1504         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1505         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1506         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1507         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1508         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1509         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1512         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1513         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1514         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1515         socketcall is implemented in GLIBC.
1517 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1519         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1520         (__fma): Ignore uninitialized warnings around packing.
1521         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1522         (__fmaf): Ignore uninitialized warnings around packing.
1523         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1524         (__fmal): Ignore uninitialized warnings around packing.
1526         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1527         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1529         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1531         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1532         switch statement into default case.
1533         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1535         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1536         a conditional in forcing "inexact".
1537         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1538         Likewise.
1540 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1542         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1543         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1544         for each INTERNAL_SYSCALL use.
1546 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1548         [BZ #438]
1549         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1550         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1551         variable.
1553         [BZ #18444]
1554         * string/basename.c (basename): Rename to __basename and define as
1555         weak alias of __basename.  Use libc_hidden_weak.
1556         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1557         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1558         __basename instead of basename.
1559         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1560         Remove variable.
1561         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1563 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1565         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1566         (_IO_JUMPS_FILE_plus): New.
1567         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1568         _IO_CAST_FIELD_ACCESS.
1569         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1570         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1571         * libio/freopen.c (freopen): Likewise.
1572         * libio/freopen64.c (freopen64): Likewise.
1573         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1574         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1575         * libio/iofwide.c (_IO_fwide): Likewise.
1576         * libio/memstream.c (open_memstream): Likewise.
1577         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1578         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1579         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1581 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1583         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1584         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1585         NADJ.
1586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1587         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1588         NADJ.
1589         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1590         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1591         NADJ.
1593         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1594         (p == 4) case.
1596         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1597         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1598         Remove variable.
1599         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1600         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1601         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1603 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1605         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1606         Adjust jump table label generation macros.
1608 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1610         * stdio-common/vfprintf.c (vfprintf): Move local variables
1611         args_malloced, specs, specs_malloced, and the code after
1612         do_positional to the printf_positional function.
1613         (printf_positional): New function.
1615 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1617         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1618         function.
1619         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1620         STEP4_TABLE, process_arg): Move macro definitions
1621         out of the vfprintf function.  (Cosmetic change only.)
1623 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1625         * benchtests/Makefile (stdio-common-bench): Define.
1626         (benchset): Add stdio-common-bench.
1627         * sprintf-inputs: New file.
1628         * sprintf-source.c: New file.
1630 2015-05-21  Andreas Schwab  <schwab@suse.de>
1632         [BZ #13028]
1633         [BZ #17053]
1634         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1635         of struct __res_state.
1636         * resolv/res_send.c (__libc_res_nsend): Likewise.
1637         (get_nsaddr): New function.
1638         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1639         statp directly.
1641 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1643         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1644         -D_POSIX_C_SOURCE=199506L.
1646         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1648         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1649         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1650         Do not mention otherwise.
1651         [POSIX] (_XOPEN_VERSION): Do not expect.
1652         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1653         [POSIX] (_POSIX2_C_BIND): Likewise.
1654         [POSIX] (_POSIX2_VERSION): Likewise.
1655         [POSIX] (_XOPEN_XPG2): Likewise.
1656         [POSIX] (_XOPEN_XPG3): Likewise.
1657         [POSIX] (_XOPEN_XPG4): Likewise.
1658         [POSIX] (_XOPEN_UNIX): Likewise.
1659         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1660         [POSIX] (_POSIX_BARRIERS): Likewise.
1661         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1662         [POSIX] (_POSIX_CPUTIME): Likewise.
1663         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1664         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1665         [POSIX] (_POSIX_SHELL): Likewise.
1666         [POSIX] (_POSIX_SPAWN): Likewise.
1667         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1668         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1669         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1670         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1671         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1672         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1673         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1674         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1675         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1676         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1677         [POSIX] (_POSIX2_PBS): Likewise.
1678         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1679         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1680         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1681         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1682         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1683         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1684         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1685         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1686         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1687         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1688         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1689         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1690         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1691         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1692         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1693         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1694         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1695         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1696         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1697         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1698         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1699         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1700         [POSIX] (_SC_2_C_BIND): Likewise.
1701         [POSIX] (_SC_2_C_VERSION): Likewise.
1702         [POSIX] (_SC_2_PBS): Likewise.
1703         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1704         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1705         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1706         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1707         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1708         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1709         [POSIX] (_SC_BARRIERS): Likewise.
1710         [POSIX] (_SC_BASE): Likewise.
1711         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1712         [POSIX] (_SC_DEVICE_IO): Likewise.
1713         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1714         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1715         [POSIX] (_SC_FD_MGMT): Likewise.
1716         [POSIX] (_SC_FIFO): Likewise.
1717         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1718         [POSIX] (_SC_FILE_LOCKING): Likewise.
1719         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1720         [POSIX] (_SC_IOV_MAX): Likewise.
1721         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1722         [POSIX] (_SC_NETWORKING): Likewise.
1723         [POSIX] (_SC_PAGE_SIZE): Likewise.
1724         [POSIX] (_SC_PASS_MAX): Likewise.
1725         [POSIX] (_SC_PIPE): Likewise.
1726         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1727         [POSIX] (_SC_REGEXP): Likewise.
1728         [POSIX] (_SC_SHELL): Likewise.
1729         [POSIX] (_SC_SIGNALS): Likewise.
1730         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1731         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1732         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1733         [POSIX] (_SC_USER_GROUPS): Likewise.
1734         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1735         [POSIX] (_SC_STREAMS): Likewise.
1736         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1737         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1738         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1739         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1740         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1741         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1742         [POSIX] (_PC_FILESIZEBITS): Likewise.
1743         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1744         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1745         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1746         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1747         [POSIX] (uid_t): Likewise.
1748         [POSIX] (gid_t): Likewise.
1749         [POSIX] (off_t): Likewise.
1750         [POSIX] (pid_t): Likewise.
1751         [POSIX] (cuserid): Allow.
1752         (_SC_2_CHAR_TERM): Require constant.
1753         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1754         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1755         variable.
1757 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1759         * sysdeps/nacl/pthread-pids.h: New file.
1760         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1761         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1763         * nptl/pthread-pids.h: New file.
1764         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1765         * nptl/nptl-init.c: Include <pthread-pids.h>.
1766         (__pthread_initialize_minimal_internal):
1767         Call __pthread_initialize_pids instead of set_tid_address syscall.
1769         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1770         * sysdeps/posix/usleep.c: ... here.
1772 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1774         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1775         call_pselect6 object.
1776         [$(subdir) = io]: Remove call_sync_file_range object.
1777         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1778         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1779         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1780         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1782 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1784         * math/s_cproj.c: Add include "math_private.h".
1785         * math/s_cprojf.c: Likewise.
1786         * math/s_cprojl.c: Likewise.
1788 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1790         [BZ #18244]
1791         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1792         high mantissa bit when testing whether P is a NaN.
1793         * math/libm-test.inc (remainder_test_data): Add more tests.
1794         (remquo_test_data): Likewise.
1796         [BZ #18049]
1797         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1798         below -32, return the argument, with underflow if subnormal.
1799         * math/auto-libm-test-in: Add more tests of atanh.
1800         * math/auto-libm-test-out: Regenerated.
1802 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1804         [BZ #18434]
1805         * nptl/tst-sem15.c: New file.
1806         * nptl/Makefile (tests): Add it.
1807         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1808         s/<</>>/ to fix typo in EOVERFLOW check.
1809         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1811 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1813         * manual/strings.texi (envz_remove): Fix typo in safety
1814         annotations.
1816 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1817             Steve Ellcey  <sellcey@imgtec.com>
1819         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1820         in order to avoid strict alias warnings.
1821         (iruserok_af): Ditto for ra.
1823 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1825         [BZ #17581]
1826         * malloc/hooks.c
1827         (magicbyte): Convert to a function and avoid returning 0x01.
1828         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1829         (mem2chunk_check): Fix unsigned comparisons to zero.
1830         Hoist defs of sz and magic.
1832 2015-05-19  Richard Henderson  <rth@redhat.com>
1834         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1836         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1838 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1840         [BZ #16159]
1841         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1842         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1843         (reused_arena): Find a non-corrupt arena.
1844         (heap_trim): Pass arena to unlink.
1845         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1846         malloc_printerr.
1847         (top_check): Likewise.
1848         (free_check): Likewise.
1849         (realloc_check): Likewise.
1850         * malloc/malloc.c (malloc_printerr): Add arena argument.
1851         (unlink): Likewise.
1852         (munmap_chunk): Adjust.
1853         (ARENA_CORRUPTION_BIT): New macro.
1854         (arena_is_corrupt): Likewise.
1855         (set_arena_corrupt): Likewise.
1856         (sysmalloc): Use mmap if there are no usable arenas.
1857         (_int_malloc): Likewise.
1858         (__libc_malloc): Don't fail if arena_get returns NULL.
1859         (_mid_memalign): Likewise.
1860         (__libc_calloc): Likewise.
1861         (__libc_realloc): Adjust for additional argument to
1862         malloc_printerr.
1863         (_int_free): Likewise.
1864         (malloc_consolidate): Likewise.
1865         (_int_realloc): Likewise.
1866         (_int_memalign): Don't touch corrupt arenas.
1867         * malloc/tst-malloc-backtrace.c: New test case.
1869         * Makefile (summarize-tests): Fix return value on success.
1871         * manual/string.texi (Envz Functions): Add envz_remove.
1873 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1875         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1876         (invalid_name): New function, broken out of ...
1877         (__opendirat): ... here.  Call it.
1878         (need_isdir_precheck): New function, broken out of ...
1879         (__opendirat): ... here.  Call it.
1880         Use __fxstatat64, not __xstatat64.
1881         (opendir_oflags): New function, broken out of ...
1882         (__opendirat): ... here.  Call it.
1883         (opendir_tail): New function, broken out of ...
1884         (__opendirat): ... here.  Call it.
1885         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1886         opendir_tail, rather than punting to __opendirat.
1887         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1889 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1891         * .gitignore: Ignore generated *.pyc.
1893 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1895         * include/stdio.h: Define __need_wint_t.
1896         * test-skeleton.c: Avoid `for' loop initial declaration.
1897         * nptl/tst-initializers1.c: Use test-skeleton.c.
1899 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1901         [BZ #18418]
1902         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1904 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1906         [BZ #16352]
1907         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1908         (__ieee754_atanh): Force underflow exception for results with
1909         small absolute value.
1910         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1911         (__ieee754_atanhf): Force underflow exception for results with
1912         small absolute value.
1913         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1914         (__ieee754_atanh): Force underflow exception for results with
1915         small absolute value.
1916         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1917         (__ieee754_atanhf): Force underflow exception for results with
1918         small absolute value.
1919         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1920         (__ieee754_atanhl): Force underflow exception for results with
1921         small absolute value.
1922         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1923         (__ieee754_atanhl): Force underflow exception for results with
1924         small absolute value.
1925         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1926         (__ieee754_atanhl): Force underflow exception for results with
1927         small absolute value.
1928         * math/auto-libm-test-in: Do not allow missing underflow
1929         exceptions from atanh.
1930         * math/auto-libm-test-out: Regenerated.
1932         [BZ #18221]
1933         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1934         2**-28 as threshold for returning x or +/- 1/x.
1935         * math/auto-libm-test-in: Add more tests of tan.
1936         * math/auto-libm-test-out: Regenerated.
1938         [BZ #18220]
1939         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1940         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1941         * math/auto-libm-test-in: Add another test of lgamma.
1942         * math/auto-libm-test-out: Regenerated.
1944 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
1946         * stdio-common/printf_fp.c (___printf_fp): Use abs.
1947         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
1948         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1949         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1950         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
1951         (ADD2A): Use fabs.  (SUB2A): Use fabs.
1952         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1953         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1954         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1955         (log1): Use fabs.  (my_log2): Use fabs.
1956         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1957         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1959         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1960         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1961         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
1962         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
1963         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
1964         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
1965         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1966         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1968 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1970         [BZ #18217]
1971         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1972         as threshold for returning 1 - x.
1973         * math/auto-libm-test-in: Add more tests of erfc.
1974         * math/auto-libm-test-out: Regenerated.
1976 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
1978         [BZ #18196]
1979         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1980         threshold for large arguments.
1981         * math/auto-libm-test-in: Add another test of atan.
1982         * math/auto-libm-test-out: Regenerated.
1984         [BZ #16339]
1985         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1986         (__log1p): Force underflow exception for results with small
1987         absolute value.
1988         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1989         (__log1pf): Force underflow exception for results with small
1990         absolute value.
1991         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1992         (__log1p): Force underflow exception for results with small
1993         absolute value.
1994         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1995         (__log1pf): Force underflow exception for results with small
1996         absolute value.
1997         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1998         (__log1pl): Force underflow exception for results with small
1999         absolute value.
2000         * math/auto-libm-test-in: Do not allow missing underflow
2001         exceptions from log1p.
2002         * math/auto-libm-test-out: Regenerated.
2004 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2005             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2007         [BZ #16704]
2008         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2010 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2012         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2013         (libmvec): New variable.
2014         * configure.ac: Added option for mathvec build.
2015         * configure: Regenerated.
2016         * mathvec/Depend: New file.
2017         * mathvec/Makefile: New file.
2018         * shlib-versions: Added libmvec.
2019         * math/Makefile: Added rule for libm.so installation.
2021         * bits/math-vector.h: New file.
2022         * bits/libm-simd-decl-stubs.h: New header.
2023         * math/Makefile (headers): Added new header
2024         libm-simd-decl-stubs.h.
2025         * math/math.h (__MATHCALL_VEC): New macro.
2027         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2028         for conditions in testing functions.
2029         * math/Makefile: Added call of libm-have-vector-test.sh.
2030         * math/libm-test.inc (HAVE_VECTOR): New macros.
2032         * math/libm-test.inc: START refactored.
2033         * math/test-double.c (TEST_MATHVEC): Add define.
2034         * math/test-float.c: Likewise.
2035         * math/test-idouble.c: Likewise.
2036         * math/test-ifloat.c: Likewise.
2037         * math/test-ildoubl.c: Likewise.
2038         * math/test-ldouble.c: Likewise.
2039         * sysdeps/generic/math-tests-arch.h
2040         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2041         architecture check.
2043         * math/test-double.c (FUNC_TEST): New macro.
2044         * math/test-float.c: Likewise.
2045         * math/test-idouble.c: Likewise.
2046         * math/test-ifloat.c: Likewise.
2047         * math/test-ildoubl.c: Likewise.
2048         * math/test-ldouble.c: Likewise.
2049         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2051 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2053         * sysdeps/nacl/fdopendir.c: New file.
2055         * dirent/scandir-tail.c: New file.
2056         * dirent/scandir64-tail.c: New file.
2057         * dirent/Makefile (routines): Add them.
2058         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2059         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2060         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2061         [!SCANDIR] (SCANDIR_TAIL): New macro.
2062         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2063         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2064         (SCANDIRAT): Macro removed.
2065         (SCANDIR_TAIL): New macro.
2066         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2067         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2068         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2069         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2070         (READDIR): Macro removed.
2071         (SCANDIR_TAIL): New macro.
2072         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2073         (SCANDIR_TAIL): New macro.
2075         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2076         * dirent/scandir-cancel.c: ... to this new file.
2077         * dirent/Makefile (routines): Add it.
2078         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2079         * sysdeps/unix/sysv/linux/i386/scandir64.c
2080         (SKIP_SCANDIR_CANCEL): Macro removed.
2081         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2083         * dirent/tst-scandir.c: New file.
2084         * dirent/tst-scandir64.c: New file.
2085         * dirent/Makefile (tests): Add them.
2087 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2089         [BZ #18409]
2090         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2092 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2094         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2095         list.
2097 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2099         * benchtests/bench-strcoll.c: New benchmark.
2100         * benchtests/Makefile: Generate locales and run benchmark.
2101         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2102         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2103         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2104         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2105         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2106         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2107         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2108         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2109         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2110         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2111         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2112         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2113         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2114         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2115         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2116         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2117         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2118         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2119         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2120         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2121         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2122         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2123         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2124         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2126 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2128         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2129         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2131 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2133         * posix/uname-values.h: New file.
2134         * posix/uname.c: Include that instead of <config-name.h>.
2135         * sysdeps/nacl/uname-values.h: New file.
2136         * sysdeps/arm/nacl/uname-values.h: New file.
2138 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2140         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2141         splitting into fields.
2143 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2145         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2146         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2147         * locale/localeinfo.h: Add enum collation_encoding_type.
2148         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2149         * programs/ld-collate.c (collate_output): Add encoding type info.
2150         * string/strcoll_l.c (STRDIFF): New function.
2151         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2152         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2154 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #18397]
2157         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2158         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2159         <fpu_control.h> instead of <math/fpu_control.c>.
2160         * sysdeps/mips/mips32/fpu/Makefile: New file.
2162 2015-05-11  Andreas Schwab  <schwab@suse.de>
2164         [BZ #18007]
2165         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2166         nss_endgrent.
2167         (_nss_compat_endgrent): Call nss_endgrent.
2168         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2169         nss_endpwent.
2170         (_nss_compat_endpwent): Call nss_endpwent.
2171         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2172         needent, call nss_setspent only if non-zero.
2173         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2174         (internal_endspent): Don't call nss_endspent.
2175         (_nss_compat_endspent): Call nss_endspent.
2176         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2177         Remove.  All uses removed.
2178         (internal_setent): Remove parameter stayopen, add parameter
2179         stream.  Use it instead of global variable.
2180         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2181         (internal_endent, internal_getent): Add parameter stream.  Use it
2182         instead of global variable.
2183         (CONCAT(_nss_files_end,ENTNAME))
2184         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2185         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2186         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2187         uses removed.
2188         (internal_setent, internal_endent): Add parameter stream.  Use it
2189         instead of global variable.
2190         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2191         stream.
2192         (get_next_alias): Add parameter stream.
2193         (_nss_files_getaliasent_r): Pass global stream.
2194         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2195         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2196         (_nss_files_gethostbyname4_r): Pass local stream to
2197         internal_setent, internal_getent and internal_endent.  Remove
2198         locking.
2200 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2202         * tst-strfmon1.c (tests): Update expected currency symbol.
2204 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2206         * sysdeps/nacl/gethostname.c: New file.
2208 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2210         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2211         and sinh.
2212         * math/auto-libm-test-out: Regenerated.
2213         * sysdeps/i386/fpu/libm-test-ulps: Update.
2214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2216 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2218         [BZ #18125]
2219         * stdlib/tst-setcontext3.c: New file.
2220         * stdlib/tst-setcontext3.sh: New file.
2221         * stdlib/Makefile (tests): Add tst-setcontext3.
2222         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2223         to verify test program created output file.
2224         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2225         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2226         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2227         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2229 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2231         [BZ #18383]
2232         * elf/tst-tlsalign.c: New file.
2233         * elf/tst-tlsalign-static.c: New file.
2234         * elf/tst-tlsalign-lib.c: New file.
2235         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2236         (tests-static): Add tst-tlsalign-static.
2237         (modules-names): Add tst-tlsalign-lib.
2238         (test-xfail-tst-tlsalign): New variable.
2239         (test-xfail-tst-tlsalign-static): New variable.
2241         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2242         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2244 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2246         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2247         csqrt, erfc, sin and sincos.
2248         * math/auto-libm-test-out: Regenerated.
2249         * sysdeps/i386/fpu/libm-test-ulps: Update.
2250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2254         * sysdeps/aarch64/libm-test-ulps: Update.
2256 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2258         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2259         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2260         * math/auto-libm-test-out: Regenerated.
2261         * sysdeps/i386/fpu/libm-test-ulps: Update.
2262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2264 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2266         [BZ #18265]
2267         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2268         (wcsncpy): Likewise.
2270 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2272         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2273         Assume __ASSUME_FALLOCATE is always true.
2274         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2275         (__posix_fallocate64_l64): Likweise.
2276         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2277         (posix_fallocate): Likewise.
2278         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2279         (__posix_fallocate64_l64): Likewise.
2280         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2281         [!__ASSUME_FALLOCATE]: Add comment.
2283 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2285         * sysdeps/unix/sysv/linux/i386/Makefile
2286         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2287         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2288         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2289         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2290         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2291         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2292         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2294 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2296         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2297         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2298         tgamma.
2299         * math/auto-libm-test-out: Regenerated.
2300         * sysdeps/i386/fpu/libm-test-ulps: Update.
2301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2305         * math/auto-libm-test-in: Add more tests of tgamma.
2306         * math/auto-libm-test-out: Regenerated.
2307         * sysdeps/i386/fpu/libm-test-ulps: Update.
2308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2310         * math/auto-libm-test-in: Add more tests of tanh.
2311         * math/auto-libm-test-out: Regenerated.
2312         * sysdeps/i386/fpu/libm-test-ulps: Update.
2313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2315         * math/auto-libm-test-in: Add more tests of tan.
2316         * math/auto-libm-test-out: Regenerated.
2317         * sysdeps/i386/fpu/libm-test-ulps: Update.
2318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2320         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2321         * math/auto-libm-test-out: Regenerated.
2322         * sysdeps/i386/fpu/libm-test-ulps: Update.
2323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2325         * math/auto-libm-test-in: Add another test of pow.
2326         * math/auto-libm-test-out: Regenerated.
2327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2329         * math/auto-libm-test-in: Add more tests of lgamma.
2330         * math/auto-libm-test-out: Regenerated.
2331         * sysdeps/i386/fpu/libm-test-ulps: Update.
2332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2334         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2335         log1p.
2336         * math/auto-libm-test-out: Regenerated.
2337         * sysdeps/i386/fpu/libm-test-ulps: Update.
2338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2340 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2342         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2343         Elf64_Chdr structs and ELFCOMPRESS constants.
2345 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2347         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2348         expm1.
2349         * math/auto-libm-test-out: Regenerated.
2350         * sysdeps/i386/fpu/libm-test-ulps: Update.
2351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2353         * math/auto-libm-test-in: Add more tests of erf and erfc.
2354         * math/auto-libm-test-out: Regenerated.
2355         * sysdeps/i386/fpu/libm-test-ulps: Update.
2356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2358 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2360         * config.h.in (HAVE_AARCH64_BE): Add.
2362 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2364         * math/auto-libm-test-in: Add more tests of csqrt.
2365         * math/auto-libm-test-out: Regenerated.
2366         * sysdeps/i386/fpu/libm-test-ulps: Update.
2367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2369         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2370         * math/auto-libm-test-out: Regenerated.
2371         * sysdeps/i386/fpu/libm-test-ulps: Update.
2372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2376 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2378         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2379         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2381         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2382         (euidaccess, eaccess): Define as weak aliases.
2384         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2385         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2386         but __suseconds_t is often 'long int' so some sources assume that
2387         type is being used (e.g. they use %ld to print tv_usec).
2389 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2391         [BZ #18007]
2392         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2393         (CVE-2014-8121)
2394         * nss/tst-nss-getpwent.c: New file.
2395         * nss/Makefile (tests): Add new test.
2397 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2399         [BZ #18346]
2400         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2401         exponents less than 48 as cases where high part of mantissa needs
2402         examining to determine whether argument is integral.
2403         * math/libm-test.inc (round_test_data): Add more tests.
2405 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2407         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2409 2015-04-27  David S. Miller  <davem@davemloft.net>
2411         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2412         __tls_get_addr.
2413         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2415 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2417         [BZ#18333]
2418         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2420 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2422         [BZ#18333]
2423         * time/tzset.c (parse_tzname): Return error on memory allocation
2424         failure.
2425         * test-skeleton.c (struct temp_name_list): Change type of name
2426         member to non-const.
2427         (add_temp_file): Create a copy of the file name.
2428         (delete_temp_files): Deallocate memory.
2429         (create_temp_file): Add comment.
2431 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2433         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2434         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2436 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2438         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2439         * sysdeps/arm/configure: Regenerated.
2441 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2443         [BZ #17715]
2444         * time/tzfile.c (__tzfile_read): Check for large values of
2445         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2446         * time/tzset.c (__tzstring_len): New function, based on the old
2447         __tzstring function.
2448         (__tzstring): Call __tzstring_len.
2449         (parse_tzname): New helper function extracted from
2450         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2451         the input string.
2452         (parse_offset): New helper function extracted from
2453         __tzset_parse_tz.  Replace switch with fallthrough with
2454         initialization before sscanf.
2455         (parse_rule): Likewise.
2456         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2457         new-style function definition.
2458         * timezone/Makefile (tests): Add tst-tzset.
2459         (tst-tzset.out): Dependencies on time zone files.
2460         (tst-tzset-ENV): Set TZDIR.
2461         (testdata/XT%): Copy crafted time zone files.
2462         * timezone/README: Mention crafted time zone files.
2463         * timezone/testdata/XT1, timezone/testdata/XT2,
2464         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2465         files.
2466         * timezone/tst-tzset.c: New test.
2468 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2470         * Makeconfig (+gccwarn): Remove -Winline.
2472 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2474         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2476 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2478         * NEWS: Mention sysconf() cache information support for s390.
2479         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2481 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2483         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2484         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2485         (__nearbyint): Likewise.
2486         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2487         (copysignl): Likewise.
2489 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2491         [BZ #18287]
2492         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2493         based on padding.  (CVE-2015-1781)
2495 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2497         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2498         libc-vdso.h.
2499         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2500         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2501         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2502         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2503         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2504         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2505         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2506         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2507         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2508         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2509         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2510         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2511         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2512         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2513         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2514         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2515         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2517         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2518         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2519         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2520         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2521         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2523 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2525         * stdlib/setenv.c (__add_to_environ):
2526         Dump core quickly if setenv (..., NULL, ...) is called.
2527         This time, do it the right way, and pacify GCC with a pragma.
2529 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2531         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2532         IMAP->l_prev cannot be null, and #if out the code for the contrary
2533         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2534         believe that NS (&_dl_ns[NSID]) could point outside the array.
2536         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2537         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2538         before using NSID as an index.
2540 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2542         [BZ #17825]
2543         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2544         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2545         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2547 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2549         Add preliminary port to Google Native Client on ARM.
2550         * abi-tags (.*-.*-nacl.*): New entry.
2551         * sysdeps/arm/nacl: New directory.
2552         * sysdeps/nacl: New directory.
2554 2015-04-16  David S. Miller  <davem@davemloft.net>
2556         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2557         lowlevellock-futex.h
2559 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2561         * sysdeps/tile/configure.ac: New file.
2562         * sysdeps/tile/configure: Regenerated.
2564 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2566         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2567         conditionals for weak_alias and libc_hidden_weak.
2568         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2569         libc_hidden_weak and weak_alias.
2570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2571         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2572         and weak_alias for static one.
2574 2015-04-15  David S. Miller  <davem@davemloft.net>
2576         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2578 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2580         [BZ #18206]
2581         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2582           Use signed comparision instead of substraction to avoid
2583           overflow bug.
2584         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2585           Take the sign of ret.
2586         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2587           Do not expect precise return values. Only the sign matters.
2588         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2589         * wcsmbs/test-wcsncmp.c: New File.
2590         * string/test-strncmp.c: Add wcsncmp support.
2592 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2594         [BZ #6792]
2595         * math/w_log1p.c: New file.
2596         * math/w_log1pf.c: Likewise.
2597         * math/w_log1pl.c: Likewise.
2598         * math/Makefile (libm-calls): Add w_log1p.
2599         * math/s_log1pl.c (log1pl): Remove weak_alias.
2600         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2601         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2602         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2603         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2604         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2605         [NO_LONG_DOUBLE] (log1pl): Likewise.
2606         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2607         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2608         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2609         (log1p): Remove long_double_symbol.
2610         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2611         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2612         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2613         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2614         remove weak_alias for corresponding log1p function.
2615         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2616         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2617         * sysdeps/ia64/fpu/w_log1p.c: New file.
2618         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2619         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2620         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2622 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2624         [BZ #18247]
2625         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2626         decimal exponent by 1.
2627         * stdlib/tst-strtod-round-data: Add more tests.
2628         * stdlib/tst-strtod-round.c (tests): Regenerated.
2630 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2632         * math/auto-libm-test-in: Add more tests of clog and clog10.
2633         * math/auto-libm-test-out: Regenerated.
2634         * sysdeps/i386/fpu/libm-test-ulps: Update.
2635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2637 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2639         * Makeconfig (module-cppflags): Exclude all .v.i files.
2640         (skip-module-cppflags): Variable removed.
2642         * configure.ac (libc_config_ok): Initialize before reading
2643         preconfigure scripts, not after.
2644         * configure: Regenerated.
2646         * test-skeleton.c (TIMEOUT): Move #define to top level.
2647         (main): Grok environment variable TEST_DIRECT.  If set, print
2648         test expectation details into that file and then behave as if
2649         given --direct.
2651 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2653         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2654         warning on 32-bit.
2656 2015-04-08  David S. Miller  <davem@davemloft.net>
2658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2660 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2662         * math/auto-libm-test-in: Add more tests of atanh.
2663         * math/auto-libm-test-out: Regenerated.
2664         * sysdeps/i386/fpu/libm-test-ulps: Update.
2665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2667         * math/auto-libm-test-in: Add more tests of atan.
2668         * math/auto-libm-test-out: Regenerated.
2669         * sysdeps/i386/fpu/libm-test-ulps: Update.
2670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2672 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2674         * elf/pldd.c (main): Rewrite to use struct
2675         scratch_buffer instead of extend_alloca.
2676         * elf/pldd-xx.c (find_maps): Likewise.
2677         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2678         <alloca.h>.
2679         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2680         scratch_buffer instead of extend_alloca.
2681         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2682         grp/compat-initgroups.c.
2683         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2684         Rewrite to use struct scratch_buffer instead of extend_alloca.
2685         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2686         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2688 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2690         * math/auto-libm-test-in: Add more tests of cbrt.
2691         * math/auto-libm-test-out: Regenerated.
2692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2694         * math/auto-libm-test-in: Add more tests of cabs.
2695         * math/auto-libm-test-out: Regenerated.
2696         * sysdeps/i386/fpu/libm-test-ulps: Update.
2697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699         [BZ #18210]
2700         [BZ #18211]
2701         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2702         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2703         computations.
2704         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2705         clog10.
2706         * math/auto-libm-test-out: Regenerated.
2707         * sysdeps/i386/fpu/libm-test-ulps: Update.
2708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2710         [BZ #18197]
2711         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2712         (atan): Set FE_TONEAREST mode for internal computations.
2713         * math/auto-libm-test-in: Add more tests of atan.
2714         * math/auto-libm-test-out: Regenerated.
2716 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2718         [BZ #17930]
2719         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2721 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2723         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2725 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2727         * include/scratch_buffer.h: New file.
2728         * malloc/scratch_buffer_grow.c: Likewise.
2729         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2730         * malloc/scratch_buffer_set_array_size.c: Likewise.
2731         * malloc/tst-scratch_buffer.c: Likewise.
2732         * malloc/Makefile (routines): Add scratch_buffer_grow.
2733         (tests): Add test case.
2734         * malloc/Versions (GLIBC_PRIVATE): Export
2735         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2736         __libc_scratch_buffer_set_array_size.
2738 2015-04-06  Richard Henderson  <rth@redhat.com>
2740         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2741         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2743         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2744         unsigned int before printing.
2746 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2748         [BZ #17596]
2749         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2750         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2752 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2754         * include/libc-internal.h (libc_max_align_t): Define.
2756 2015-04-02  Andreas Schwab  <schwab@suse.de>
2758         [BZ #16850]
2759         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2761 2015-04-02  Mel Gorman  <mgorman@suse.de>
2763         [BZ #17195]
2764         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2765         as well as the main arena.
2767 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2769         [BZ #18185]
2770         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2771         sharing L2 cache to 2 for Silvermont/Knights Landing.
2773 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2775         [BZ #17711]
2776         * config.make.in (have-protected-data): New.
2777         * configure.ac: Check linker support for protected data symbol.
2778         * configure: Regenerated.
2779         * elf/Makefile (modules-names): Add tst-protected1moda and
2780         tst-protected1modb if $(have-protected-data) is yes.
2781         (tests): Add tst-protected1a and tst-protected1b if
2782         $(have-protected-data) is yes.
2783         ($(objpfx)tst-protected1a): New.
2784         ($(objpfx)tst-protected1b): Likewise.
2785         (tst-protected1modb.so-no-z-defs): Likewise.
2786         * elf/tst-protected1a.c: New file.
2787         * elf/tst-protected1b.c: Likewise.
2788         * elf/tst-protected1mod.h: Likewise.
2789         * elf/tst-protected1moda.c: Likewise.
2790         * elf/tst-protected1modb.c: Likewise.
2792 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2794         [BZ #17711]
2795         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2796         indicates it is called from do_lookup_x on relocation against
2797         protected data, skip the data definion in the executable from
2798         copy reloc.
2799         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2800         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2801         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2802         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2803         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2804         otherwise to 0.
2805         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2806         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2807         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2808         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2809         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2810         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2812 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2814         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2815         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2817 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2819         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2820         THREAD_SETMEM_NC.
2821         * sysdeps/x86_64/nptl/tls.h: Ditto.
2823 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2825         * dlfcn/tststatic.c (main): Converted to ...
2826         (do_test): ... this.
2827         (TEST_FUNCTION): New macro.
2828         Include test-skeleton.c.
2830 2015-03-26  Alan Modra  <amodra@gmail.com>
2832         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2833         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2834         zero for undefined weak.
2835         (elf_machine_plt_conflict): Similarly.
2837 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2839         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2840         atanh.
2841         * math/auto-libm-test-out: Regenerated.
2842         * sysdeps/i386/fpu/libm-test-ulps: Update.
2843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2845         * math/auto-libm-test-in: Add another test of asin.
2846         * math/auto-libm-test-out: Regenerated.
2847         * sysdeps/i386/fpu/libm-test-ulps: Update.
2848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2851         Remove macro.
2852         (LLL_EBX_REG): Likewise.
2853         (LLL_ENTER_KERNEL): Likewise.
2855         * math/auto-libm-test-in: Add more tests of asin.
2856         * math/auto-libm-test-out: Regenerated.
2857         * sysdeps/i386/fpu/libm-test-ulps: Update.
2858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860         [BZ #18138]
2861         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2862         libc_do_syscall_args): New structure.
2863         (INTERNAL_SYSCALL_MAIN_0): New macro.
2864         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2865         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2866         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2867         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2868         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2869         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2870         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2871         Replace conditional definitions by conditional definitions of ....
2872         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2873         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2874         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2875         (libpthread-sysdep_routines): Add libc-do-syscall.
2876         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2877         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2878         to __NR_futex not 240.
2880 2015-03-25  Alan Modra  <amodra@gmail.com>
2882         * NEWS: Advertise TLS optimization.
2883         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2884         (DT_PPC_NUM): Increment.
2885         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2886         (CHECK_STATIC_TLS): Use here.
2887         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2888         TLS descriptors.
2889         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2890         * sysdeps/powerpc/dl-tls.c: New file.
2891         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2892         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2893         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2894         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2899 2015-03-25  Alan Modra  <amodra@gmail.com>
2901         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2902         for overlapping .opd entries" to "support...".
2903         * sysdeps/powerpc/powerpc64/configure: Regenerate
2905 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2907         * math/auto-libm-test-in: Add more tests of acos.
2908         * math/auto-libm-test-out: Regenerated.
2909         * sysdeps/i386/fpu/libm-test-ulps: Update.
2910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2912         * math/auto-libm-test-in: Add more tests of expm1.
2913         * math/auto-libm-test-out: Regenerated.
2914         * sysdeps/i386/fpu/libm-test-ulps: Update.
2915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2917 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2919         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2920         * math/auto-libm-test-out: Regenerated.
2921         * sysdeps/i386/fpu/libm-test-ulps: Update.
2922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2924         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927         * math/auto-libm-test-in: Add more tests of log2.
2928         * math/auto-libm-test-out: Regenerated.
2929         * sysdeps/i386/fpu/libm-test-ulps: Update.
2930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2932 2015-03-23  Roland McGrath  <roland@hack.frob.com>
2934         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2935         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
2936         _IO_IS_APPENDING bit in READ_WRITE instead.
2938 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2940         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2941         (__determine_cpumask_size): Replace extend_alloca with a
2942         variable-length array.  Do not treat res == 0 as an error.
2944 2015-03-23  Florian Weimer  <fweimer@redhat.com>
2946         [BZ #18100]
2947         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2948         and integer overflow.
2949         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2950         (main): Add integer overflow tests.
2951         * manual/pattern.texi (Calling Wordexp): Document additional use
2952         for WRDE_SYNTAX.
2954 2015-03-23  Alan Modra  <amodra@gmail.com>
2956         * config.h.in: Remove HAVE_ASM_PPC_REL16.
2957         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2958         and false branch of conditional.
2959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2960         Likewise.
2962 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
2964         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2965         libc-modules.h
2966         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2967         unused declaration of _hurd_intr_rpc_msg_in_trap.
2968         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2969         defined instead of whether it is non-zero.
2970         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2971         input constraint instead of both input and output constraint.  Use ecx
2972         clobber instead of %ecx.
2973         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2974         mutex_unlock): Use a statement expression instead of an expression list.
2975         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2976         type to vm_size_t instead of vm_address_t.
2977         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2978         defined instead of whether it is non-zero.
2979         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2980         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2981         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2982         comparisons with mapaddr.
2983         * nscd/nscd-client.h: Include <time.h>.
2984         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2985         9th parameter to __vm_region instead of int.
2986         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2987         * scripts/check-local-headers.sh (exclude): Add device/,
2988         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2989         cthreads.h.
2991 2015-03-19  Roland McGrath  <roland@hack.frob.com>
2993         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2994         to account for alignment padding.
2995         * sysdeps/arm/memmove.S: Likewise.
2997 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
2999         * sysdeps/unix/sysv/linux/generic/README: New file.
3001 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3003         [BZ #18138]
3004         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3005         (futex_abstimed_wait)
3006         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3007         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3008         of lll_futex_timed_wait.
3010 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3012         [BZ #17542]
3013         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3015 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3017         [BZ #17090]
3018         [BZ #17620]
3019         [BZ #17621]
3020         [BZ #17628]
3021         * NEWS: Update.
3022         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3023         entries with Static TLS too.  Skip entries past the end of the
3024         allocated DTV, from Alan Modra.
3025         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3026         Static TLS DTV entry set up from...
3027         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3028         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3029         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3030         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3031         for Static TLS.
3032         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3033         that the slot we find is associated with the given map before
3034         using its generation count.
3035         * nptl_db/db_info.c: Include ldsodefs.h.
3036         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3037         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3038         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3039         (link_map::l_tls_offset): New struct field.
3040         (dtv_t::counter): Likewise.
3041         (rtld_global): New struct.
3042         (_rtld_global): New rtld variable.
3043         (dl_tls_dtv_slotinfo_list): New rtld global field.
3044         (dtv_slotinfo_list): New struct.
3045         (dtv_slotinfo): Likewise.
3046         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3047         (td_lookup): Rename to...
3048         (td_mod_lookup): ... this.  Use new mod parameter instead of
3049         LIBPTHREAD_SO.
3050         * nptl_db/td_thr_tlsbase.c: Include link.h.
3051         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3052         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3053         addresses even if the DTV is out of date or missing them.
3054         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3055         index zero-length arrays.
3056         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3057         (td_lookup): Make it a macro implemented in terms of...
3058         (td_mod_lookup): ... this declaration.
3059         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3060         (DB_MAIN_VARIABLE): Likewise.
3062 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3064         [BZ #18134]
3065         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3067 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3069         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3071 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3073         [BZ #18128]
3074         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3075         (atomic_add, atomic_increment_and_test)
3076         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3078 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3080         * stdlib/setenv.c (__add_to_environ):
3081         Dump core quickly if setenv (..., NULL, ...) is called.
3083 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3085         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3086         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3087         all the necessary asm magic in one place.
3088         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3089         using those.
3091 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3093         [BZ #14906]
3094         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3095         traced file mtime. Use consistent log message.
3096         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3097         (register_traced_file): Call install_watches. Always set mtime.
3098         (invalidate_cache): Iterate over all trace files. Call install_watches.
3099         (inotify_check_files): Don't inline. Handle watching parent
3100         directories and configuration file movement in and out.
3101         (handle_inotify_events): New function.
3102         (main_loop_poll): Call handle_inotify_events.
3103         (main_loop_epoll): Likewise.
3104         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3105         (struct traced_file): Use array of inotify fds. Add parent directory,
3106         and basename.
3107         (struct database_dyn): Remove unused file_mtime.
3108         (init_traced_file): New inline function.
3109         (define_traced_file): New macro.
3110         * nss/nss_db/db-init.c: Use define_traced_file.
3111         (_nss_db_init): Use init_traced_file.
3112         * nss/nss_files/files-init.c: Use define_traced_file.
3113         (_nss_files_init): Use init_traced_file.
3115 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3117         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3118         [_LIBC]: Do not include <stdlib.h>.
3119         [!_LIBC] (abort): Remove declaration.
3120         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3121         _FP_STATIC_ASSERT instead of conditionally calling abort.
3122         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3123         (_FP_EXTEND_CNAN): Likewise.
3124         (FP_TRUNC): Likewise.
3125         (__FP_CLZ): Likewise.
3126         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3128 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3130         * manual/string.texi (XPG basename): Fix prototype.
3132 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3134         [BZ #18080]
3135         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3136         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3137         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3138         (__setcontext): Likewise.
3139         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3140         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3141         Call rt_sigprocmask syscall one time to set new signal mask
3142         and retrieve the current signal mask instead of two calls.
3143         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3144         (__swapcontext): Likewise.
3145         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3146         * stdlib/tst-setcontext2.c: New file.
3148 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3150         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3152 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3154         [BZ #18093]
3155         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3156         the wrong size.
3158 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3160         [BZ #18043]
3161         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3163 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3165         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3166         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3167         Remove define.
3168         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3169         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3170         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3171         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3172         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3173         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3174         define.
3175         * nptl_db/td_symbol_list.c (td_lookup): Remove
3176         HAVE_ASM_GLOBAL_DOT_NAME code.
3177         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3178         HAVE_ASM_GLOBAL_DOT_NAME check.
3179         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3180         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3181         (DOT_LABEL): Remove define.
3182         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3183         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3184         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3185         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3186         (__TLS_GET_ADDR): Likewise.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3188         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3190 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3192         [BZ #18111]
3193         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3194         (_FPU_SETCW): Initialize cw from fpsr before storing.
3195         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3196         (fesetexceptflag): Rewrite using fpu_control.h.
3197         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3199 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3201         [BZ #18110]
3202         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3203         asms.
3204         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3206 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3208         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3209         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3210         abort.
3211         (_FP_FMA): Likewise.
3212         (_FP_DIV): Likewise.
3214 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3216         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3217         with 0 in that case.
3218         * Makefile (summarize-tests): New canned sequence, factored out of
3219         commands for targets tests and xtests.  Display summary lines that
3220         don't start with PASS: or XFAIL: rather than ones that do start with
3221         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3222         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3223         do start with ERROR: or FAIL:.
3224         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3225         (except for [$(build-shared) = yes]).
3226         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3227         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3228         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3229         * nptl/Makefile: Revert 2015-03-04 changes.
3230         [$(CXX) empty] (tests-unsupported): New variable.
3231         * debug/Makefile: Likewise.
3233         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3234         gnulib file.  Replace __attribute with __attribute__ throughout.
3236 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3238         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3240 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3242         [BZ #18104]
3243         * math/auto-libm-test-in: Add another test of pow.
3244         * math/auto-libm-test-out: Regenerated.
3246 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3249         $(config-cflags-nofma).
3251 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3253         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3254         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3255         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3256         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3257         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3258         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3259         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3260         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3261         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3262         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3263         Add comment on closing #endif.
3265 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3267         * posix/wordexp.c (CHAR_IN_SET): New macro.
3268         (parse_param): Use it.
3270 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3272         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3274 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3276         [BZ #18043]
3277         * posix/wordexp.c (parse_param): Fix buffer overflow.
3278         * posix/wordexp-test.c (test_case): Add test case.
3280 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3282         [BZ #18042]
3283         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3284         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3286 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3288         [BZ #18043]
3289         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3290         (do_bz18043): Delete.
3291         (at_page_end): New.
3292         (testit): Refactor to have words at the edge of unreadable page.
3294 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3296         [BZ #16734]
3297         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3298         Cleanup read-only streams as well.
3299         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3301 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3303         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3304         <bits/libc-lockP.h>
3306 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3308         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3309         on [__KERNEL__].
3310         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3311         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3312         * soft-fp/op-common.h (_FP_DECL): Likewise.
3314 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3316         * elf/ifuncdep2.c (global): Replace
3317         __attribute__((visibility("protected"))) with
3318         asm (".protected global").
3319         * elf/ifuncmod1.c (global): Likewise.
3320         * elf/ifuncmod5.c (global): Likewise.
3322 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3324         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3325         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3327 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3329         * manual/install.texi (Configuring and compiling):
3330         Document test-wrapper-env-only.
3331         * INSTALL: Regenerated.
3333 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3335         [BZ #18043]
3336         * posix/wordexp.c (parse_param): Fix buffer overflow.
3337         * posix/wordexp-test.c (do_bz18043): Add test case.
3339 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3341         * time/tst-strptime2.c (do_test): Ensure failing tests are
3342         reported correctly.
3343         * time/tst-strptime3.c (do_test): Likewise.
3345 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3347         Fix aio_error thread-safety.
3348         * sysdeps/pthread/aio_error.c: New file
3349         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3350         synchronization.
3352 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3354         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3355         (group_number, vfprintf): Use it.
3356         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3357         (JUMP, REF): Use it.
3358         (WORK_BUFFER_SIZE): New enum constant.
3359         (process_arg, vfprintf): Use it.
3361 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3363         * manual/errno.texi (Error Messages): Complete example function
3364         by adding missing #define.
3365         (program_invocation_name): Add statement indicating GNU
3366         extension and reference which header file declares the variable.
3367         (program_invocation_short_name): Likewise.
3369 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3371         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3372         compatibility note.
3374 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3376         * Makeconfig (test-wrapper-env-only): New variable.
3377         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3378         then use that with $(test-wrapper-env-only) rather than using
3379         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3381 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3383         [BZ #18082]
3384         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3385         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3386         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3387         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3388         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3389         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3390         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3391         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3392         Likewise.
3393         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3394         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3395         Likewise.
3396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3397         Likewise.
3398         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3399         Likewise.
3400         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3401         Likewise.
3402         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3404         Likewise.
3405         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3406         Likewise.
3407         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3408         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3410 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3412         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3413         (ETH_ALEN): New macro.
3414         (struct ether_addr): Use it for length of ether_addr_octet.
3416         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3417         (setdb): Don't call __nss_configure_lookup for "rpc".
3418         (do_test): Don't call test_rpc.
3419         (output_rpcent, test_rpc): Functions moved ...
3420         * sunrpc/test-rpcent.c: ... to this new file.
3421         * sunrpc/Makefile (tests): Add it.
3423         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3424         __xpg_sigpause.
3425         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3426         * nptl/tst-signal6.c: Likewise.
3427         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3428         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3430         * configure.ac (libc_cv_cxx_link_ok): New check.
3431         Reset CXX to empty if it fails to link.
3432         * configure: Regenerated.
3433         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3434         bug-atexit3-lib only if $(CXX) is nonempty.
3435         * nptl/Makefile (tests): Likewise for tst-cancel24.
3436         (tests, tests-static): Likewise for tst-cancel24-static.
3437         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3438         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3439         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3440         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3442 2015-03-04  Andreas Schwab  <schwab@suse.de>
3444         [BZ #17631]
3445         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3446         for non-GCC compilers.
3447         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3448         Likewise.
3450 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3452         [BZ #17776]
3453         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3454         integer before bitwise and assembly operations.
3455         (feclearexcept): Likewise.
3456         * math/test-fenvinline.c: New file.
3457         * math/Makefile: Add test-fenvinline test.
3459 2015-03-03  Alan Modra  <amodra@gmail.com>
3461         [BZ #16512]
3462         * scripts/localplt.awk: Strip off symbol version.
3463         * NEWS: Mention bug fix.
3465 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3467         * sysdeps/pthread/timer_routines.c
3468         (timer_free_list, thread_free_list, thread_active_list): Make static.
3470 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3472         [BZ #17779]
3473         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3474         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3475         Undefine.
3476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3477         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3478         Likewise.
3479         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3480         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3481         Likewise.
3483 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3485         [BZ #18036]
3486         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3487         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3489 2015-03-02  Andreas Schwab  <schwab@suse.de>
3491         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3492         variable name.
3494 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3496         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3497         Return error status.
3499 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3501         [BZ #15969]
3502         * locale/findlocale.c (_nl_find_locale): Introduce const
3503         version of loc_name and drop unsafe type casts.
3505 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3507         * dlfcn/tststatic2.c (main): Converted to ...
3508         (do_test): ... this.
3509         (TEST_FUNCTION): New macro.
3510         Include test-skeleton.c.
3512 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3514         [BZ #17711]
3515         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3516         (tests-pie): Add vismain.
3517         (CFLAGS-vismain.c): New.
3518         * elf/vismain.c: Add comments for PIE requirement.
3520 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3522         [BZ #18046]
3523         [BZ #18047]
3524         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3525         0x1p-56L as threshold for just returning the argument.
3526         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3527         0x1p-32L as threshold for just returning the argument.
3528         * math/auto-libm-test-in: Add more tests of atanh.
3529         * math/auto-libm-test-out: Regenerated.
3530         * sysdeps/i386/fpu/libm-test-ulps: Update.
3531         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3533 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3535         * string/bcopy.c (bcopy): Call memmove for performance.
3537 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3539         * string/bzero.c (__bzero): Call memset for performance.
3541 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3543         [BZ #18068]
3544         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3545         to 00100000.
3547 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3549         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3551 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3553         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3554         (__kernel_standard): Use CSTR macro when setting exc.name.
3555         * sysdeps/ieee754/Makefile [$(subdir) = math]
3556         (CFLAGS-k_standard.c): Remove variable.
3558         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3559         setting p and q from "else if" to "else".
3560         (qzero): Likewise.
3561         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3562         (qone): Likewise.
3563         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3564         (qzerof): Likewise.
3565         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3566         (qonef): Likewise.
3567         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3568         (qzero): Likewise.
3569         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3570         (qone): Likewise.
3572         [BZ #18038]
3573         [BZ #18039]
3574         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3575         return pi/2 for arguments below 0x1p-113L.
3576         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3577         return pi/2 for arguments below 0x1p-106L.
3578         * math/auto-libm-test-in: Add more tests of acos.
3579         * math/auto-libm-test-out: Regenerated.
3581         [BZ #16351]
3582         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3583         (MO): New macro.
3584         (__ieee754_asin): Force underflow exception for results with small
3585         absolute value.
3586         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3587         (MO): New macro.
3588         (__ieee754_asinf): Force underflow exception for results with
3589         small absolute value.
3590         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3591         (__ieee754_asin): Force underflow exception for results with small
3592         absolute value.
3593         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3594         (__ieee754_asinf): Force underflow exception for results with
3595         small absolute value.
3596         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3597         (__ieee754_asinl): Force underflow exception for results with
3598         small absolute value.
3599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3600         (__ieee754_asinl): Force underflow exception for results with
3601         small absolute value.
3602         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3603         (__ieee754_asinl): Force underflow exception for results with
3604         small absolute value.
3605         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3606         Include <math.h>.
3607         * math/auto-libm-test-in: Do not mark underflow exceptions as
3608         possibly missing for bug 16351.
3609         * math/auto-libm-test-out: Regenerated.
3611         [BZ #18030]
3612         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3613         of power of 2 down when low part has opposite sign.
3614         * math/libm-test.inc (logb_test_data): Add more tests.
3616 2015-02-26  Andreas Schwab  <schwab@suse.de>
3618         [BZ #18032]
3619         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3620         over collating symbol inside a bracket expression.  Minor cleanup.
3621         * posix/tst-fnmatch3.c (do_test): Add test case.
3623 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3625         [BZ #18029]
3626         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3627         Adjust exponent of power of 2 down when low part has opposite
3628         sign.
3629         * math/libm-test.inc (ilogb_test_data): Add more tests.
3631 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3633         [BZ #15969]
3634         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3635         the previous change.
3637         [BZ #15969]
3638         * locale/findlocale.c (_nl_find_locale): Retry archive search
3639         after alias expansion.
3641 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3643         * iconv/tst-iconv3.c (main): Converted to ...
3644         (do_test): ... this.
3645         (TEST_FUNCTION): New macro.
3646         Include test-skeleton.c.
3648         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3649         (convert): Make function static.
3650         (test_unalign): Likewise.  Add const to argument pointee types.
3651         (main): Replace with static function do_test.
3652         Print "Succeeded." only if RET is zero.
3653         (TEST_FUNCTION): New macro.
3654         Include test-skeleton.c.
3656         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3657         returns a null pointer.
3659 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3661         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3662         to __memcpy_ppc only for static builds.
3664 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3666         [BZ #18020]
3667         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3668         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3669         * math/auto-libm-test-in: Add more tests of asinh.
3670         * math/auto-libm-test-out: Regenerated.
3671         * sysdeps/i386/fpu/libm-test-ulps: Update.
3672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3674 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3676         [BZ #15850]
3677         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3678         and ip6_mtuinfo definitions here.
3679         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3680         in this define too.  Update comment.
3682 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3684         * elf/sprof.c (load_shobj): Tweak error message to match others.
3686 2015-02-24  Kevin Easton  <kevin@guarana.org>
3688         [BZ #16145] (partial fix)
3689         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3690         to reduce lock contention.
3692 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3694         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3695         (struct timex): Update time comment.
3696         (ADJ_SETOFFSET): Define.
3698 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3700         [BZ #18019]
3701         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3702         2**56 not 2**28 as threshold for log (2x) formula.
3703         * math/auto-libm-test-in: Add more tests of acosh.
3704         * math/auto-libm-test-out: Regenerated.
3705         * sysdeps/i386/fpu/libm-test-ulps: Update.
3706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3708 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3710         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3711         parenthesis around the buf assignment.
3712         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3714 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #16783]
3717         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3718         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3719         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3720         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3721         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3722         * math/libm-test.inc (scalb_test_data): Add more tests.
3724 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3726         [BZ #17916]
3727         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3728         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3730 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3732         [BZ #17523]
3733         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3734         * io/bits/fcntl2.h (open): Use it.
3735         (openat): Likewise.
3736         * io/open.c (__libc_open): Likewise.
3737         * io/open64.c (__libc_open64): Likewise.
3738         * io/open64_2.c (__open64_2): Likewise.
3739         * io/open_2.c (__open_2): Likewise.
3740         * io/openat.c (__openat): Likewise.
3741         * io/openat64.c (__openat64): Likewise.
3742         * io/openat64_2.c (__openat64_2): Likewise.
3743         * io/openat_2.c (__openat_2): Likewise.
3744         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3745         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3746         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3747         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3748         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3749         (__open_nocancel): Likewise.
3750         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3751         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3752         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3754 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3756         [BZ #14841]
3757         * resolv/gethnamaddr.c (getanswer): Skip logging if
3758         RES_USE_DNSSEC is set.
3759         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3761 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3763         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3765 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3767         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3768         201304L, for Unicode 7.
3770 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3772         [BZ #17836]
3773         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3774         shared library.  Add gmon-start.os otherwise.
3775         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3776         $(objpfx)gmon-start.os if builing shared library.
3777         ($(objpfx)g$(static-start-installed-name)): Likewise.
3779 2015-02-23  Andreas Schwab  <schwab@suse.de>
3781         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3783 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3785         [BZ #17269]
3786         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3787         (enlarge_userbuf): Likewise.
3789 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3791         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3792         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3793         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3794         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3796 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3798         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3799         expression inside statement expression.
3801 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3803         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3804         <sysdeps/nptl/lowlevellock.h> and remove macros and
3805         functions that are now defined there.
3806         (SYS_futex): Remove.
3807         (lll_compare_and_swap): Remove.
3808         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3810 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3812         [BZ #17999]
3813         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3814         instead of scandirat.
3815         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3816         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3817         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3818         __scandirat.
3819         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3820         (__scandirat): Declare.  Use libc_hidden_proto.
3821         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3822         Remove variable.
3823         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3825 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3827         [BZ #15319]
3828         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3829         (MO): New macro.
3830         (__ieee754_atan2): For results with small absolute value, force
3831         underflow exception and remove excess range and precision from
3832         return value.
3833         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3834         (MO): New macro.
3835         (__ieee754_atan2f): For results with small absolute value, force
3836         underflow exception and remove excess range and precision from
3837         return value.
3838         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3839         (MO): New macro.
3840         (__atan): For results with small absolute value, force underflow
3841         exception and remove excess range and precision from return value.
3842         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3843         (MO): New macro.
3844         (__atanf): For results with small absolute value, force underflow
3845         exception and remove excess range and precision from return value.
3846         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3847         <math.h>.
3848         (__ieee754_atan2): Force underflow exception for results with
3849         small absolute value.
3850         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3851         <math_private.h>.
3852         (atan): Force underflow exception for results with small absolute
3853         value.
3854         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3855         (__atanf): Force underflow exception for results with small
3856         absolute value.
3857         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3858         <math.h>.
3859         (__atanl): Force underflow exception for results with small
3860         absolute value.
3861         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3862         (__atanl): Force underflow exception for results with small
3863         absolute value.
3864         * sysdeps/x86/fpu/bits/mathinline.h
3865         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3866         (__ieee754_atan2): Only define inline for long double.
3867         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3868         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3869         * math/auto-libm-test-in: Do not mark underflow exceptions as
3870         possibly missing for bug 15319.  Add more tests of atan2.
3871         * math/auto-libm-test-out: Regenerated.
3872         * math/libm-test.inc (casin_test_data): Do not mark underflow
3873         exceptions as possibly missing for bug 15319.
3874         (casinh_test_data): Likewise.
3875         * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3879         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3880         * sysdeps/mips/bits/endian.h: Fix comments.
3882 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3884         [BZ #17996]
3885         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3886         (hdestroy_r): Likewise.
3887         (hsearch_r): Likewise.
3888         (__hcreate_r): Declare and use libc_hidden_proto.
3889         (__hdestroy_r): Likewise.
3890         (__hsearch_r): Likewise.
3891         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3892         (hcreate): Call __hcreate_r instead of hcreate_r.
3893         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3894         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3895         as weak alias of __hcreate_r.
3896         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3897         __hdestroy_r.
3898         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3899         __hsearch_r.
3900         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3901         Remove variable.
3902         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3903         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3904         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3905         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3907 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3909         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3910         arena_lock into a single arena_get.
3912 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3914         * dl-reloc.c: Inlucde libc-internal.h.
3915         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3916         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3917         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3918         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3919         (grow_heap): Likewise.
3920         * malloc/malloc.c: Include libc-internal.h.
3921         (do_check_malloc): Call powerof2.
3922         (sysmalloc): Use pagesize. Call ALIGN_UP.
3923         (systrim): Use pagesize.
3924         (mremap_chunk): Use pagesize. Call ALIGN_UP.
3925         (__libc_valloc): Use pagesize.
3926         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3928 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3930         [BZ #17991]
3931         * include/sys/resource.h (__getrlimit64): Declare.  Use
3932         libc_hidden_proto.
3933         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3934         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
3935         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3936         getrlimit64.
3937         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3938         __getrlimit64.
3939         [!getrlimit64] (getrlimit64): Define as weak alias of
3940         __getrlimit64.  Use libc_hidden_weak.
3941         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3942         using __getrlimit64 not __new_getrlimit64.
3943         (__GI_getrlimit64): Likewise.
3944         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3945         Likewise.
3946         (__GI_getrlimit64): Likewise.
3947         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3949         (getrlimit): Add __getrlimit64 alias.
3950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3951         Likewise.
3952         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3953         Remove variable.
3954         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3955         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3957 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
3959         * libio/fileops.c: Add missing sys/mman.h
3960         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3962 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
3964         * manual/math.texi (Errors in Math Functions): Clarify goals
3965         regarding inexact and underflow exceptions.
3967 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3969         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3970         * sysdeps/mips/memset.S: Ditto.
3972 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3974         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3976 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3978         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3979         (__v1longjmp): Remove versioned symbol.
3980         (__v1siglongjmp): Remove alias and versioned symbol.
3981         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3982         (__v2siglongjmp): Likewise.
3984 2015-02-16  Torvald Riegel  <triegel@redhat.com>
3986         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3988 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
3990         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3992 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
3994         [BZ #17987]
3995         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3996         zero result does not depend on the sign resulting from
3997         subtraction.
3998         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3999         Likewise.
4000         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4001         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4002         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4003         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4004         * math/libm-test.inc (remquo_test_data): Add more tests.
4006 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4008         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4009         Problem reported by J William Piggott.
4011 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4013         [BZ #17978]
4014         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4015         products 4 * y and 2 * y where those would overflow.
4016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4017         Likewise.
4018         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4019         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4020         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4021         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4022         * math/libm-test.inc (remquo_test_data): Add more tests.
4024         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4026         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4027         [defined _COMPILING_NEWLIB].
4028         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4029         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4031         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4032         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4034 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4036         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4037         acquired.
4039 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4041         [BZ #17792]
4042         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4043         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4044         HOST_STACK_END_ADDR): Likewise.
4046 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4048         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4049         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4050         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4052 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4054         * sysdeps/generic/c++-types.data: New file.
4055         * sysdeps/generic/ld.abilist: New file.
4056         * sysdeps/generic/libBrokenLocale.abilist: New file.
4057         * sysdeps/generic/libanl.abilist: New file.
4058         * sysdeps/generic/libc.abilist: New file.
4059         * sysdeps/generic/libcrypt.abilist: New file.
4060         * sysdeps/generic/libdl.abilist: New file.
4061         * sysdeps/generic/libm.abilist: New file.
4062         * sysdeps/generic/libpthread.abilist: New file.
4063         * sysdeps/generic/libresolv.abilist: New file.
4064         * sysdeps/generic/librt.abilist: New file.
4066 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4068         [BZ #17569]
4069         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4070         Compute absolute value of x as modified by fmod, not original
4071         value of x.
4072         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4073         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4074         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4075         RUN_TEST_ffI_f1_mod8.
4076         (remquo_test_data): Add more tests.
4078 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4080         * sysdeps/init_array/pt-crti.S: New file.
4082 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4084         [BZ #17967]
4085         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4086         __builtin_fmaf instead of relying on contraction of a * b + c.
4088 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4090         [BZ #17969]
4091         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4092         node.
4094 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4096         [BZ #17964]
4097         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4098         __builtin_fma instead of relying on contraction of a * b + c.
4100 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4102         * Makeconfig (ASFLAGS): Add -Werror=undef.
4103         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4104         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4105         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4107         * Makeconfig (after-link): New variable.
4108         (+link-pie, +link-pie-tests): Use it.
4109         (+link-static, +link-static-tests): Likewise.
4110         (+link, +link-tests): Likewise.
4111         * Makerules (build-module, build-module-asneeded): Likewise.
4112         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4113         Likewise.
4114         * elf/Makefile ($(objpfx)ld.so): Likewise.
4116 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4118         [BZ #17965]
4119         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4120         both struct timeval and struct timespec.
4122 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4124         [BZ #16560]
4125         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4126         and redefine.
4127         (__ieee754_exp2l): Do not multiply small fractional parts by
4128         M_LN2l.
4129         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4130         small argument.
4131         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4132         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4133         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4134         * math/auto-libm-test-in: Add more tests of exp2.
4135         * math/auto-libm-test-out: Regenerated.
4137 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4139         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4140         unaligned path.
4142 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4144         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4145         little endian.
4147 2015-02-12  Andreas Schwab  <schwab@suse.de>
4149         [BZ #15790]
4150         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4151         Filter out elision flags from value returned in kind.
4152         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4153         * nptl/tst-pthread-mutexattr.c: New file.
4155 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4157         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4158         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4159         into gnu-gnu, and update comment to refer to abi-tags.
4161 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4163         [BZ #15467]
4164         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4165         (__sincos): Set errno to EDOM for infinite argument.
4166         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4167         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4168         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4169         (__sincosl): Set errno to EDOM for infinite argument.
4170         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4171         (__sincosl): Set errno to EDOM for infinite argument.
4172         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4173         (__sincosl): Set errno to EDOM for infinite argument.
4174         * math/libm-test.inc (sincos_test_data): Test errno setting.
4176 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4178         * string/strxfrm_l.c: Remove #define STRCMP.
4179         * string/strcoll_l.c: Remove #define STRLEN.
4180         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4181         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4183 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4185         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4186         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4187         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4188         * sysdeps/mips/mips64/Makefile: ... here.
4189         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4190         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4191         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4192         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4193         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4194         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4195         * sysdeps/mips/mips64/n64/Implies: Likewise.
4197 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4199         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4200         <sys/time.h>, <string.h>, and <errno.h>.
4201         (dest_offset, dest_address, value, zero): Remove unused variables.
4202         (ldouble): Remove typedef.
4203         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4204         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4205         1).  Fix code style.
4206         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4207         (check): Function removed.
4208         (CHECK): New macro.
4209         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4210         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4211         Don't call set_sigaction_FP and remove_sigaction_FP here.
4212         (ldouble_test): Just use 'long double' as macro argument, no need for
4213         the 'ldouble' typedef.
4214         (do_test): Set up SIGFPE handler at start, using plain signal rather
4215         than sigaction.  Fix code style.
4217 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4219         [BZ #17949]
4220         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4221         jump label.
4223 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4225         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4226         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4228         * sysdeps/powerpc/configure.ac: Remove file.
4229         * sysdeps/powerpc/configure: Likewise.
4231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4232         [sysdep_routines]: Remove wordcopy-power6 object.
4233         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4234         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4235         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4236         (__memmove_ppc32): Likewise.
4237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4238         file.
4239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4240         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4241         Remove preprocessor.
4243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4244         [sysdep_routines]: Remove wide chars objects.
4245         [wcsmbs]: New rule for wide char objects.
4247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4248         Remove wordcopy-power6 obejct.
4249         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4250         Use local call for wordcopy and memcpy symbols.
4251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4253         implementation for loader.
4254         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4256         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4257         Remove wordcopy-power7 object.
4258         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4260         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4261         (_wordcopy_fwd_dest_aligned): Likewise.
4262         (_wordcopy_bwd_aligned): Likewise.
4263         (_wordcopy_bwd_dest_aligned): Likewise.
4265         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4266         Rewrite to call __memmove_ppc instead of include default
4267         implementation.
4269         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4270         Remove wide chars objects.
4271         [wcsmbs]: New rule for wide char objects.
4273 2015-02-09  Andreas Schwab  <schwab@suse.de>
4275         [BZ #17912]
4276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4277         in terms of __O_DIRECTORY.
4279 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4281         * time/getdate.c: Include <stdbool.h>.
4282         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4283         call PTR_MANGLE.
4284         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4285         PTR_DEMANGLE.
4287 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4289         Add ersatz _Static_assert on older C hosts
4290         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4291         pre-C11 C platform that is not known to support _Static_assert.
4293 2015-02-07  Richard Braun  <rbraun@sceen.net>
4295         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4296         sigstate.
4297         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4299 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4301         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4302         priority against unexistent AIO_PRIO_DELTA_MAX.
4303         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4304         instead of int.
4305         * misc/fchflags.c (fchflags): Likewise.
4306         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4307         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4308         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4309         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4310         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4311         Declare macros.
4312         [__USE_MISC] (chflags, fchflags): Declare functions.
4313         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4314         EINVAL when nfds is greater than FD_SETSIZE.
4315         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4316         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4317         45.
4318         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4319         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4320         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4321         MACH_RCV_TIMED_OUT.
4322         * hurd/hurd/signal.h (_hurd_self_sigstate,
4323         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4324         Explicit casts from void *.
4325         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4326         * abi-tags: Rename gnu-gnu os into gnu.
4328         [BZ #4719]
4329         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4330         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4331         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4332         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4333         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4334         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4336         [BZ #17944]
4337         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4338         duplicates ADDR->sun_path with sockaddr LEN limitation.
4339         * sysdeps/mach/hurd/connect.c: Include <string.h>
4340         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4341         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4342         * sysdeps/mach/hurd/sendto.c: Likewise.
4343         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4344         implementing it by hand.
4346 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4348         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4349         Use sfi_breg on ldr.
4350         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4351         Likewise.
4353         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4354         it's defined.
4355         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4356         Test SIGSETXID only if it's defined.
4358         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4360         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4361         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4363         * nptl/tst-align2.c: Moved ...
4364         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4365         * nptl/Makefile (tests): Remove tst-align2.
4366         * sysdeps/unix/sysv/linux/Makefile
4367         [$(subdir) = nptl] (tests): Add tst-align-clone.
4368         * nptl/tst-getpid1.c: Moved ...
4369         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4370         * nptl/tst-getpid2.c: Moved ...
4371         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4372         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4373         * sysdeps/unix/sysv/linux/Makefile
4374         [$(subdir) = nptl] (tests): ... here.
4375         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4376         * sysdeps/unix/sysv/linux/Makefile
4377         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4379         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4380         Drop trailing \n from perror argument.  Use return rather than exit.
4382         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4383         on [SA_SIGINFO].
4384         * nptl/tst-cancel21.c (do_test): Likewise.
4385         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4386         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4387         [!SA_SIGINFO]: Make it a stub test.
4389         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4390         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4392         * posix/tst-getlogin.c: Move to ...
4393         * login/tst-getlogin.c: ... here.
4394         * posix/Makefile (tests): Move tst-getlogin to ...
4395         * login/Makefile (tests): ... here.
4397         * libio/tst-atime.c (do_test): Move local variables SV and E
4398         inside [ST_NOATIME] conditional.
4400         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4402         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4404         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4405         (wait_code): New function replaces macro.
4406         Call nanosleep rather than syscall.
4408         * nptl/pt-system.c: Rewritten.  Put everything under
4409         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4410         Use IFUNC to redirect when possible.
4412         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4413         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4414         Use IFUNC to redirect when possible.
4416         * nptl/pt-fork.c: Rewritten.  Put everything under
4417         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4418         Use IFUNC to redirect when possible.
4419         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4421         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4422         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4423         unconditionally nowadays.  This included the only reference to
4424         __vdso_clock_gettime that appears outside libc proper.
4425         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4426         Remove version set (containing only __vdso_clock_gettime).
4427         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4428         Add attribute_hidden.
4429         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4430         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4431         libc_hidden_data_def.
4432         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4433         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4435         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4436         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4437         setrpcent, and getrpcport to ...
4438         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4439         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4440         getrpcbynumber_r, and getrpcent_r to ...
4441         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4442         * inet/getrpcbyname.c: Moved ...
4443         * sunrpc/getrpcbyname.c: ... here.
4444         * inet/getrpcbyname_r.c: Moved ...
4445         * sunrpc/getrpcbyname_r.c: ... here.
4446         * inet/getrpcbynumber.c: Moved ...
4447         * sunrpc/getrpcbynumber.c: ... here.
4448         * inet/getrpcbynumber_r.c: Moved ...
4449         * sunrpc/getrpcbynumber_r.c: ... here.
4450         * inet/getrpcent.c: Moved ...
4451         * sunrpc/getrpcent.c: ... here.
4452         * inet/getrpcent_r.c: Moved ...
4453         * sunrpc/getrpcent_r.c: ... here.
4454         * inet/Makefile (routines): Move those to ...
4455         * sunrpc/Makefile (routines): ... here.
4456         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4457         the $(subdirs) list.
4458         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4459         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4460         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4461         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4463         * elf/Makefile (routines): Include $(all-dl-routines), not just
4464         $(dl-routines).
4465         (rtld-routines): Likewise.  Use = rather than :=.
4466         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4467         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4468         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4469         * sysdeps/arm/Makefile: Likewise.
4470         * sysdeps/i386/Makefile: Likewise.
4471         * sysdeps/x86_64/Makefile: Likewise.
4472         * sysdeps/hppa/Makefile [$(subdir) = elf]
4473         (sysdep_routines, sysdep-rtld-routines): Don't add
4474         $(sysdep-dl-routines) to these.
4475         * sysdeps/ia64/Makefile: Likewise.
4476         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4477         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4478         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4479         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4480         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4481         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4482         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4483         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4484         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4485         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4486         these; sysdep-dl-routines alone is enough.
4488 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4490         [BZ #17932]
4491         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4492         where multiplication results in zero and third argument is finite
4493         and nonzero.
4494         * math/auto-libm-test-in: Add more tests of fma.
4495         * math/auto-libm-test-out: Regenerated.
4497         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4498         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4499         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4500         (_FP_CMP_EQ): Likewise.
4501         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4503         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4504         extra argument CHECK_NAN.  Redefine as wrapper around
4505         _FP_EXTEND_CNAN.
4507 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4509         * version.h (RELEASE): Set to "stable".
4510         (VERSION): Set to "2.21"
4511         * include/features.h (__GLIBC_MINOR__): Set to 21.
4513         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4515 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4516             Paul Eggert  <eggert@cs.ucla.edu>
4518         [BZ #16618]
4519         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4520         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4521         size in bytes. Store needed elements in wpmax. Use needed size
4522         in bytes for extend_alloca.
4524 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4526         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4527         binutls 2.25, and texinfo 5.2.
4528         * INSTALL: Regenerate.
4529         * sysdeps/nios2/configure: Regenerate.
4530         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4531         * manual/contrib.texi: Update.
4532         * po/be.po: Update.
4533         * po/bg.po: Update.
4534         * po/ca.po: Update.
4535         * po/cs.po: Update.
4536         * po/da.po: Update.
4537         * po/de.po: Update.
4538         * po/el.po: Update.
4539         * po/eo.po: Update.
4540         * po/es.po: Update.
4541         * po/fi.po: Update.
4542         * po/fr.po: Update.
4543         * po/gl.po: Update.
4544         * po/hr.po: Update.
4545         * po/hu.po: Update.
4546         * po/ia.po: Update.
4547         * po/id.po: Update.
4548         * po/it.po: Update.
4549         * po/ja.po: Update.
4550         * po/ko.po: Update.
4551         * po/lt.po: Update.
4552         * po/nb.po: Update.
4553         * po/nl.po: Update.
4554         * po/pl.po: Update.
4555         * po/pt_BR.po: Update.
4556         * po/ru.po: Update.
4557         * po/rw.po: Update.
4558         * po/sk.po: Update.
4559         * po/sl.po: Update.
4560         * po/sv.po: Update.
4561         * po/tr.po: Update.
4562         * po/uk.po: Update.
4563         * po/vi.po: Update.
4564         * po/zh_CN.po: Update.
4565         * po/zh_TW.po: Update.
4567         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4568         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4569         * sysdeps/hppa/dl-irel.h: Remove #warning.
4570         * sysdeps/hppa/entry.h: Provide prototype for
4571         __canonicalize_funcptr_for_compare and cast argument.
4572         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4573         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4574         * sysdeps/hppa/sotruss-lib.c: New file.
4575         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4576         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4577         (atomic_compare_and_exchange_bool_acq): Likewise.
4578         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4579         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4581         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4582         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4583         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4585 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4587         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4588         called function in non-PIC case.
4590 2015-01-31  David S. Miller  <davem@davemloft.net>
4592         * sysdeps/sparc/sparc32/bits/atomic.h
4593         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4594         unlock not after it.
4595         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4596         volatile register usage warnings from the compiler.
4598         * sysdeps/sparc/nptl/sem_init.c: Delete.
4599         * sysdeps/sparc/nptl/sem_post.c: Delete.
4600         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4601         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4602         * sysdeps/sparc/sparc32/sem_init.c: New file.
4603         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4604         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4605         padding explicitly initialized.
4606         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4607         padding for in-semaphore spinlock.
4608         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4609         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4610         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4611         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4612         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4613         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4614         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4615         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4616         version.
4617         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4618         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4620 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4622         [BZ #17801]
4623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4624         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4625         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4626         New.
4627         (index_AVX_Fast_Unaligned_Load): Likewise.
4628         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4629         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4630         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4631         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4632         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4633         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4634         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4635         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4636         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4638 2015-01-29  Andreas Schwab  <schwab@suse.de>
4640         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4642 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4644         [BZ #17892]
4645         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4647 2015-01-28  Martin Sebor  <msebor@redhat.com>
4649         * math/README.libm-test: Clarify. Add "How to read the test output."
4651 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4653         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4654         Define to 0.
4656 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4658         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4659         (__HAVE_64B_ATOMICS): Define to 0.
4661 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4663         [BZ #17885]
4664         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4665         value to set as new flag.
4667         [BZ #16576]
4668         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4669         and use _ARCH_PPCSQ instead.
4670         (__ieee754_sqrt): Likewise.
4671         (__ieee754_sqrtf): Likewise.
4672         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4673         _ARCH_PPCSQ is defined.
4674         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4675         fsqrt instruction.
4676         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4677         _ARCH_PPCSQ is defined.
4678         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4679         fsqrts instruction.
4680         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4682 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4684         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4685         bug (GCC BZ #64739).
4687 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4689         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4690         Mark _retval as used.
4691         (lll_futex_wake_unlock): Likewise.
4692         (lll_futex_timed_wait_requeue_pi): Likewise.
4694         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4695         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4696         register variables.
4698         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4699         libm_hidden_def.
4701         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4702         (__bswap_64): Mark as __always_inline.
4704 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4706         [BZ #15378]
4707         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4708         when none of the search directories exist.
4710 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4712         [BZ #17869]
4713         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4714         power8 in .machine directive.
4716         [BZ #17868]
4717         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4718         set dependency from opd value.
4720 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4723         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4724         architecture.
4726 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4728         [BZ #17870]
4729         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4730         with uint64_t.
4731         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4732         (uint64_t) 1.
4733         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4734         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4735         Replace 1UL with (uint64_t) 1.
4736         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4737         int with uint64_t.
4739 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4741         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4742         (if_freenameindex): Likewise.
4744         * resource/getrlimit64.c: Add missing libc_hidden_def.
4746 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4748         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4749         __label__.
4750         (_FP_FMA): Likewise.
4751         (_FP_TO_INT_ROUND): Likewise.
4752         (_FP_FROM_INT): Likewise.
4754 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4756         [BZ #16418]
4757         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4758         Make code racy and cancel safe.
4760 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4762         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4763         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4764         attribution.
4766         * pwd/tst-getpw.c: Rewrite.
4768         [BZ #17702]
4769         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4770         (modules-names): Add moddummy1 and moddummy2.
4771         ($(objpfx)tst-rec-dlopen): Define.
4772         * dlfcn/moddummy1.c: New file.
4773         * dlfcn/moddummy2.c: New file.
4774         * dlfcn/tst-rec-dlopen.c: New file.
4775         * elf/dl-cache.c (_dl_load_cache_lookup):
4776         Return char*. Copy result with alloca/strcpy/strdup.
4777         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4778         returns char*. Free cached. If not saving realname
4779         free cached.
4780         * elf/dl-open.c (dl_open_worker): Do not assert that
4781         _r_debug->r_state is RT_CONSISTENT.
4782         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4783         returns char*.
4785 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4786             Carlos O'Donell  <carlos@redhat.com>
4788         [BZ #12674]
4789         * nptl/sem_waitcommon.c: New file.
4790         * nptl/sem_wait.c: Include sem_waitcommon.c.
4791         (__sem_wait_cleanup, do_futex_wait): Remove.
4792         (__new_sem_wait): Adapt.
4793         (__new_sem_trywait): New function.
4794         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4795         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4796         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4797         (sem_timedwait): Adapt.
4798         * nptl/sem_post.c (__new_sem_post): Adapt.
4799         (futex_wake): New function.
4800         (__old_sem_post): Add release MO fence.
4801         * nptl/sem_open.c (sem_open): Adapt.
4802         * nptl/sem_init.c (__new_sem_init): Adapt.
4803         (futex_private_if_supported): New function.
4804         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4805         (__old_sem_getvalue): Add using previous code.
4806         * sysdeps/nptl/internaltypes.h: Adapt.
4807         * nptl/tst-sem13.c (do_test): Adapt.
4808         * nptl/tst-sem11.c (main): Adapt.
4809         * nptl/sem_trywait.c: Remove.
4810         * nptl/DESIGN-sem.txt: Remove.
4811         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4812         (gen-as-const-headers): Remove structsem.sym.
4813         * nptl/structsem.sym: Remove.
4814         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4815         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4816         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4817         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4818         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4819         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4820         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4821         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4822         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4823         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4824         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4825         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4826         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4827         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4828         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4829         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4830         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4831         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4832         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4833         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4834         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4835         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4837 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4839         * INSTALL: Regenerated.
4841         * po/libc.pot: Regenerated.
4843 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4844             Sandra Loosemore  <sandra@codesourcery.com>
4845             Andrew Jenner  <andrew@codesourcery.com>
4846             Joseph Myers  <joseph@codesourcery.com>
4847             Nathan Sidwell  <nathan@codesourcery.com>
4849         * NEWS: Mention new Nios II port.
4850         * sysdeps/nios2/Implies: New file.
4851         * sysdeps/nios2/Makefile: New file.
4852         * sysdeps/nios2/Subdirs: New file.
4853         * sysdeps/nios2/Versions: New file.
4854         * sysdeps/nios2/__longjmp.S: New file.
4855         * sysdeps/nios2/abort-instr.h: New file.
4856         * sysdeps/nios2/backtrace.c: New file.
4857         * sysdeps/nios2/bits/endian.h: New file.
4858         * sysdeps/nios2/bits/fenv.h: New file.
4859         * sysdeps/nios2/bits/link.h: New file.
4860         * sysdeps/nios2/bits/setjmp.h: New file.
4861         * sysdeps/nios2/bsd-_setjmp.S: New file.
4862         * sysdeps/nios2/bsd-setjmp.S: New file.
4863         * sysdeps/nios2/configure: New generated file.
4864         * sysdeps/nios2/configure.ac: New file.
4865         * sysdeps/nios2/crti.S: New file.
4866         * sysdeps/nios2/crtn.S: New file.
4867         * sysdeps/nios2/dl-init.c: New file.
4868         * sysdeps/nios2/dl-machine.h: New file.
4869         * sysdeps/nios2/dl-sysdep.h: New file.
4870         * sysdeps/nios2/dl-tls.h: New file.
4871         * sysdeps/nios2/dl-trampoline.S: New file.
4872         * sysdeps/nios2/gccframe.h: New file.
4873         * sysdeps/nios2/gmp-mparam.h: New file.
4874         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4875         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4876         * sysdeps/nios2/ldsodefs.h: New file.
4877         * sysdeps/nios2/libc-tls.c: New file.
4878         * sysdeps/nios2/libm-test-ulps: New file.
4879         * sysdeps/nios2/machine-gmon.h: New file.
4880         * sysdeps/nios2/math-tests.h: New file.
4881         * sysdeps/nios2/math_private.h: New file.
4882         * sysdeps/nios2/memusage.h: New file.
4883         * sysdeps/nios2/nptl/Makefile: New file.
4884         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4885         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4886         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4887         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4888         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4889         * sysdeps/nios2/nptl/tls.h: New file.
4890         * sysdeps/nios2/preconfigure: New file.
4891         * sysdeps/nios2/s_fma.c: New file.
4892         * sysdeps/nios2/s_fmaf.c: New file.
4893         * sysdeps/nios2/setjmp.S: New file.
4894         * sysdeps/nios2/sfp-machine.h: New file.
4895         * sysdeps/nios2/sotruss-lib.c: New file.
4896         * sysdeps/nios2/stackguard-macros.h: New file.
4897         * sysdeps/nios2/stackinfo.h: New file.
4898         * sysdeps/nios2/start.S: New file.
4899         * sysdeps/nios2/sysdep.h: New file.
4900         * sysdeps/nios2/tls-macros.h: New file.
4901         * sysdeps/nios2/tst-audit.h: New file.
4902         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4903         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4904         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4905         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4906         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4907         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4908         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4909         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4910         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4911         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4912         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4913         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4914         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4915         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4916         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4917         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4918         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4919         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4920         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4921         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4922         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4923         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4924         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4925         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4926         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4927         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4928         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4929         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4930         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4931         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4932         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4933         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4934         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4935         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4936         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4937         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4938         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4939         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4940         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4941         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4942         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4943         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4944         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4945         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4947 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4949         [BZ #17844]
4950         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4951         (getutent): Use weak_alias in non SHARED case
4952         and default_symbol_version in SHARED case.
4953         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4954         (getutent_r, pututline): Likewise.
4955         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4956         (getutid): Likewise.
4957         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4958         (getutid_r): Likewise.
4959         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4960         (getutline): Likewise.
4961         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4962         (getutline_r): Likewise.
4963         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4964         (updwtmp): Likewise.
4966 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4968         [BZ #17848]
4969         * sysdeps/s390/s390-32/memcmp.S
4970         (memcmp_g5): Rename to __memcmp_g5.
4971         * sysdeps/s390/s390-32/memcpy.S
4972         (memcpy_g5): Rename to __memcpy_g5.
4973         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4974         (memcpy_mvcle) Rename to __memcpy_mvcle.
4975         * sysdeps/s390/s390-32/memset.S
4976         (memset_g5): Rename to __memset_g5.
4977         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4978         (IFUNC_RESOLVE): Prefix ifunc-resolve function
4979         and use prefixed functions.
4980         * sysdeps/s390/s390-32/multiarch/memcmp.S
4981         (memcmp_z196): Rename to __memcmp_z196.
4982         (memcmp_z10): Rename to __memcmp_z10.
4983         (memcmp): Set alias to __memcmp_g5.
4984         (bcmp): Set alias to __memcmp_g5.
4985         * sysdeps/s390/s390-32/multiarch/memcpy.S
4986         (memcpy_z196): Rename to __memcpy_z196.
4987         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4988         (memcpy_z10): Rename to __memcpy_z10.
4989         Jump to __memcpy_mvcle instead of memcpy_mvcle.
4990         (memcpy): Set alias to __memcpy_g5.
4991         * sysdeps/s390/s390-32/multiarch/memset.S
4992         (memset_z196): Rename to __memset_z196.
4993         Jump to __memset_mvcle instead of memset_mvcle.
4994         (memset_z10): Rename to __memset_z10.
4995         Jump to __memset_mvcle instead of memset_mvcle.
4996         (memset_mvcle) Rename to __memset_mvcle.
4997         (memset): Set alias to __memset_g5.
4998         * sysdeps/s390/s390-64/memcmp.S
4999         (memcmp_z900): Rename to __memcmp_z900.
5000         * sysdeps/s390/s390-64/memcpy.S
5001         (memcpy_z900): Rename to __memcpy_z900.
5002         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5003         (memcpy_mvcle) Rename to __memcpy_mvcle.
5004         * sysdeps/s390/s390-64/memset.S
5005         (memset_z900): Rename to __memset_z900.
5006         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5007         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5008         and use prefixed functions.
5009         * sysdeps/s390/s390-64/multiarch/memcmp.S
5010         (memcmp_z196): Rename to __memcmp_z196.
5011         (memcmp_z10): Rename to __memcmp_z10.
5012         (memcmp): Set alias to __memcmp_z900.
5013         (bcmp): Set alias to __memcmp_z900.
5014         * sysdeps/s390/s390-64/multiarch/memcpy.S
5015         (memcpy_z196): Rename to __memcpy_z196.
5016         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5017         (memcpy_z10): Rename to __memcpy_z10.
5018         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5019         (memcpy): Set alias to __memcpy_z900.
5020         * sysdeps/s390/s390-64/multiarch/memset.S
5021         (memset_z196): Rename to __memset_z196.
5022         Jump to __memset_mvcle instead of memset_mvcle.
5023         (memset_z10): Rename to __memset_z10.
5024         Jump to __memset_mvcle instead of memset_mvcle.
5025         (memset_mvcle) Rename to __memset_mvcle.
5026         (memset): Set alias to __memset_z900.
5028 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5030         [BZ #17748]
5031         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5032         __fesetenv instead of fesetenv.
5034 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5036         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5037         macro.
5039 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5041         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5042         regression on LE.
5044         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5045         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5046         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5047         strncmp-power8 object.
5048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5049         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5050         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5051         * NEWS: Update.
5053 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5054             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5056         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5057         trailing byte check.
5059 2015-01-13  David S. Miller  <davem@davemloft.net>
5061         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5063 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5065         * login/logout.c (logout): Use memset rather than bzero.
5066         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5067         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5068         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5069         (_gethtbyaddr): Likewise.
5070         * locale/programs/simple-hash.c (bcopy): Macro removed.
5072 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5074         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5075         Add strcmp-power8 object.
5076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5077         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5078         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5079         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5080         __strcmp_power8 implementation.
5081         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5082         * NEWS: Update.
5084         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5085         Add strncpy-power8 and stpncpy-power8 objects.
5086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5087         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5088         implementations.
5089         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5090         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5091         __stpncpy_power8 implementation.
5092         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5093         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5094         __strncpy_power8 implementation.
5095         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5096         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5097         * NEWS: Update.
5099         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5100         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5101         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5104         strncat-power8 object.
5105         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5106         __strcat_power8 implementation.
5107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5108         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5109         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5110         optimized strcat for power8.
5112         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5113         strcpy-power8 and stpcpy-power8 objects.
5114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5115         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5116         implementations.
5117         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5118         multiarch stpcpy implementation for POWER8.
5119         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5120         multiarch strcpy implementation for POWER8.
5121         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5122         __strcpy_power8 function.
5123         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5124         stpcpy for POWER8.
5125         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5126         strcpy for POWER8.
5127         * NEWS: Update.
5129 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5131         [BZ #16009]
5132         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5133         weights and rules. Use do_xfrm_cached if data fits in cache,
5134         do_xfrm otherwise.  Moved former main loop to...
5135         * (do_xfrm_cached): New function.
5136         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5137         find_idx, find_position and stack_push.
5138         * (find_idx): New function.
5139         * (find_position): Likewise.
5140         * localedata/sort-test.sh: Added test run for do_xfrm.
5141         * localedata/xfrm-test.c (main): Added command line option
5142         -nocache to run the test with strings that are too large for
5143         the STRXFRM cache.
5145 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5147         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5148         variable to lll_futex_wake call, not the value itself.
5150 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #17803]
5153         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5154         twom64.  Adjust value to 0x1p-64L.
5155         (__scalblnl): Only return standard underflowing result for K <=
5156         -64 not K <= -63; adjust exponent for underflowing result by 64
5157         not 63.
5158         * math/libm-test.inc (scalbn_test_data): Add more tests.
5159         (scalbln_test_data): Likewise.
5161         [BZ #17834]
5162         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5163         0x1p63L.
5164         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5165         not HX.
5166         * math/libm-test.inc (scalbn_test_data): Add more tests.
5167         (scalbln_test_data): Likewise.
5169 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5170             Stefani Seibold  <stefani@seibold.net>
5172         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5173         (sysdep_routines): Add dl-vdso here, ...
5174         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5175         (sysdep_routines): ... not here.
5176         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5177         fallback when vDSO is not presented.
5178         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5179         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5180         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5181         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5182         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5183         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5184         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5185         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5186         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5187         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5188         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5189         fallback configurable symbol when vDSO is not available.
5190         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5191         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5192         be able to redefine fallback symbol when vDSO is not available.
5193         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5194         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5196 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5198         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5199         (TLS_INIT_TP): Add tm_capable initialization.
5200         (TLS_DEFINE_INIT_TP): Likewise.
5201         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5202         TCB.
5203         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5204         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5205         calculation.
5206         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5207         transactoion is lock elision is built and TCB tm_capable is set.
5208         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5210         (INTERNAL_SYSCALL_NCS): Likewise.
5211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5212         (INTERNAL_SYSCALL_NCS): Likewise.
5213         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5215         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5216         for powerpc.
5217         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5218         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5219         and remove it for 32 bits case.
5220         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5222         initialization.
5223         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5224         Disable lock elision with rdlocks if elision is not available.
5226         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5227         (sysdep_routines): Add lock elision objects.
5228         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5229         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5230         [pthread_mutex_t] (__elision): Add field.
5231         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5232         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5233         elision definitions for powerpc.
5234         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5235         implementation of lock elision for powerpc.
5236         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5237         implementation of timed lock elision for powerpc.
5238         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5239         implementation of trylock with lock elision for powerpc.
5240         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5241         implementaion of unlock for lock elision for powerpc.
5242         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5243         automatic enable lock elision for mutexes.
5244         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5245         transaction execution definitions for powerpc.
5246         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5247         definitions.
5248         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5249         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5251         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5252         * NEWS: Update.
5254 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5256         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5257         for #include of <shm-directory.h>.
5259 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5261         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5262         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5264 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5266         [BZ #17791]
5267         * NEWS: Mention bug fix.
5268         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5269         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5270         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5272 2015-01-09  Torvald Riegel <triegel@redhat.com>
5274         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5276 2015-01-09  Torvald Riegel <triegel@redhat.com>
5278         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5280 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5282         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5283         pointer and cast to uintptr_t.
5285 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5287         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5288         removed.
5289         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5291 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5293         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5294         of 0.
5296 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5298         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5299         <nptl/pthreadP.h> instead.
5300         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5302         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5303         already defined.
5304         [__SIGRTMIN] (init): Function removed.
5305         [__SIGRTMIN] (initialized): Variable removed.
5306         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5307         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5308         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5309         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5310         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5311         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5312         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5313         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5314         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5315         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5316         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5317         * sysdeps/nptl/allocrtsig.c: New file.
5318         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5319         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5320         * sysdeps/generic/testrtsig.h: File removed.
5322         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5323         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5325         * nptl/nptl-init.c (pthread_functions): Conditionalize
5326         .ptr__nptl_setxid initialization on [SIGSETXID].
5328         * sysdeps/nptl/sys/procfs.h: New file.
5329         * nptl_db/Makefile (headers): Add it.
5330         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5332         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5333         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5334         * nptl/pthread_attr_setaffinity.c: Include it.
5335         * nptl/pthread_setattr_default_np.c: Likewise.
5336         * nptl/check-cpuset.h: New file.
5338 2015-01-08  Richard Henderson  <rth@redhat.com>
5340         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5341         (CFLAGS-tst-execstack-prog.c): Likewise.
5342         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5344 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5345             Sandra Loosemore  <sandra@codesourcery.com>
5346             Andrew Jenner  <andrew@codesourcery.com>
5347             Joseph Myers  <joseph@codesourcery.com>
5348             Nathan Sidwell  <nathan@codesourcery.com>
5350         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5351         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5352         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5353         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5354         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5355         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5356         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5357         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5358         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5359         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5360         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5361         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5362         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5363         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5364         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5365         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5366         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5368 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5370         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5371         timespec struct member in syscall macro.
5372         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5373         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5374         first timeval struct member in syscall macro.
5375         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5377 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5379         [BZ #17748]
5380         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5381         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5382         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5383         __feupdateenv and define as weak alias of __feupdateenv.  Use
5384         libm_hidden_weak.
5385         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5386         libm_hidden_def.
5387         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5388         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5389         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5390         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5391         libm_hidden_def.
5392         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5393         __feupdateenv and define as weak alias of __feupdateenv.  Use
5394         libm_hidden_weak.
5395         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5396         libm_hidden_def.
5397         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5398         __feupdateenv and define as weak alias of __feupdateenv.  Use
5399         libm_hidden_weak.
5400         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5401         libm_hidden_def.
5402         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5403         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5404         (__feupdateenv): Likewise.
5405         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5406         __feupdateenv and define as weak alias of __feupdateenv.  Use
5407         libm_hidden_weak.
5408         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5409         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5410         libm_hidden_def.
5411         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5412         function.
5413         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5414         libm_hidden_def.
5415         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5416         __feupdateenv instead of feupdateenv.
5417         (default_libc_feupdateenv_test): Likewise.
5418         (libc_feresetround_ctx): Likewise.
5420 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5422         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5423         prototype.
5425 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5427         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5428         COLL_SYM in a couple of places to avoid uninitialized variable
5429         wanings on tilegx gcc 4.8.2.
5431 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5433         * sysdeps/aarch64/strcpy.S: New file.
5434         * sysdeps/aarch64/stpcpy.S: New file.
5435         * NEWS: Updated.
5437 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5439         * sysdeps/aarch64/strrchr.S: New file.
5440         * NEWS: Updated.
5442 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5444         [BZ #17658]
5445         * stdlib/setenv.c: Fix memory leak when setting large,
5446         duplicate string.
5448 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5450         [BZ #17273]
5451         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5452         and tabs from buffer before parsing fstab entry.
5453         * misc/tst-mntent.c (main): Add test for mount entry with
5454         trailing spaces and tabs.
5456 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5458         [BZ #17748]
5459         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5460         * math/fesetround.c (fesetround): Rename to __fesetround and
5461         define as weak alias of __fesetround.  Use libm_hidden_weak.
5462         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5463         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5464         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5465         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5466         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5467         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5468         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5469         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5470         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5471         __fesetround_inline.
5472         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5473         __fesetround_inline instead of __fesetround.
5474         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5475         __fesetround and define as weak alias of __fesetround.  Use
5476         libm_hidden_weak.  Call __fesetround_inline instead of
5477         __fesetround.
5478         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5479         __fesetround and define as weak alias of __fesetround.  Use
5480         libm_hidden_weak.
5481         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5482         Likewise.
5483         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5484         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5485         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5486         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5487         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5488         __fesetround and define as weak alias of __fesetround.  Use
5489         libm_hidden_weak.
5490         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5491         __fesetround instead of fesetround.
5492         (default_libc_feholdexcept_setround): Likewise.
5493         (libc_feholdsetround_ctx): Likewise.
5494         (libc_feholdsetround_noex_ctx): Likewise.
5496         [BZ #17748]
5497         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5498         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5499         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5500         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5501         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5502         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5503         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5504         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5505         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5506         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5507         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5508         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5509         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5510         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5511         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5512         libm_hidden_def.
5513         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5514         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5515         Likewise.
5516         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5517         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5518         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5519         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5520         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5521         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5522         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5523         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5524         __fesetenv instead of fesetenv.
5525         (libc_feresetround_noex_ctx): Likewise.
5526         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5527         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5528         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5529         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5530         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5531         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5532         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5533         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5534         (__feupdateenv): Likewise.
5535         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5536         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5537         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5538         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5540 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5542         [BZ #17806]
5543         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5544         addresses have been freed.
5546 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5548         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5549         and nservall.
5551 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5553         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5554         Clean up check_pf allocation pattern. addresses
5556 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5558         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5559         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5560         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5561         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5562         * nptl/pthread_join.c (pthread_join): Likewise.
5563         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5564         * sysdeps/posix/waitid.c (__waitid): Likewise.
5565         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5566         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5567         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5568         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5570         Likewise.
5571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5572         (__libc_pread64): Likewise.
5573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5574         (__libc_pwrite): Likewise.
5575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5576         (__libc_pwrite64): Likewsie.
5577         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5578         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5579         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5580         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5581         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5582         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5583         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5585         Likewise.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5587         (__libc_pread64): Likewise.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5589         Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5591         (__libc_pwrite64): Likewise.
5592         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5593         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5594         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5595         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5596         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5597         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5598         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5599         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5600         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5601         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5602         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5603         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5604         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5605         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5606         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5607         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5608         Likewise.
5610 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5612         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5613         (CFLAGS-test-double.c): Likewise.
5614         (CFLAGS-test-ldouble.c): Likewise.
5615         (CPPFLAGS-test-ifloat.c): Likewise.
5616         (CPPFLAGS-test-idouble.c): Likewise.
5617         (CPPFLAGS-test-ildoubl.c): Likewise.
5618         (CFLAGS-test-test-fenv.c): Remove variable.
5619         (CFLAGS-test-misc.c): Likewise.
5621 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5623         [BZ #17797]
5624         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5625         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5626         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5627         CLOCKS_PER_SEC == 1000000.
5628         * time/clocktest.c (main): Replace %ld with %jd and cast to
5629         intmax_t.
5631 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5633         * sysdeps/generic/unwind-resume.h: New file.
5634         * sysdeps/gnu/unwind-resume.c: Include it.
5635         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5636         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5637         argument list.
5638         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5639         global rather than static.
5640         (_Unwind_Resume): Update user.
5641         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5642         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5643         rather than static.  Add __attribute__ ((cold)).
5644         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5645         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5646         * sysdeps/arm/arm-unwind-resume.S: New file.
5647         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5648         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5649         * sysdeps/arm/Makefile [$(subdir) = csu]
5650         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5651         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5652         Add rt-arm-unwind-resume.
5653         [$(subdir) = nptl]
5654         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5655         Add pt-arm-unwind-resume.
5656         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5657         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5659 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #17748]
5662         * include/fenv.h (__feholdexcept): Declare.  Use
5663         libm_hidden_proto.
5664         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5665         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5666         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5667         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5668         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5669         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5670         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5671         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5672         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5673         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5674         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5675         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5676         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5677         (feholdexcept): Likewise.
5678         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5679         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5680         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5681         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5682         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5683         __feholdexcept instead of feholdexcept.
5684         (default_libc_feholdexcept_setround): Likewise.
5686 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5688         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5689         to avoid using stl/str to align destination.
5691 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5693         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5695 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #17796]
5698         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5699         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5700         Define as weak alias not strong alias.
5702 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5704         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5705         bltzal with addiupc.
5706         (RTLD_START): Ditto.
5708 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5710         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5711         for __vdso_* functions in declarations.
5712         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5713         definitions.
5714         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5715         INTERNAL_VSYSCALL): Use struct return types to check for error.
5717         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5718         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5719         function with cast from llround().
5720         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5721         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5722         Define.
5724 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5726         [BZ #17793]
5727         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5728         Define as weak alias not strong alias.
5730         [BZ #17635]
5731         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5732         ...
5733         * ctype/ctype-extn.c: ... here.
5734         (__isblank_l): Move to ...
5735         * ctype/ctype-c99_l.c: ... here.  New file.
5736         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5737         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5738         Remove variable.
5739         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5740         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5741         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5742         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5743         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5745         [BZ #17777]
5746         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5747         (posix_fadvise64): Define as weak alias not strong alias.
5748         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5749         (posix_fallocate64): Likewise.
5750         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5751         Remove variable.
5752         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5753         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5754         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5755         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5756         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5758 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5760         [BZ #16191]
5761         * NEWS: Mention bug fix.
5762         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5763         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5764         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5765         (HOST_STACK_END_ADDR): Likewise.
5767 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5769         [BZ #17748]
5770         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5771         * math/fegetround.c (fegetround): Rename to __fegetround and
5772         define as weak alias of __fegetround.  Use libm_hidden_weak.
5773         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5774         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5775         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5776         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5777         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5778         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5779         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5780         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5781         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5782         Undefine after rather than before function definition; use
5783         parentheses around function name in definition.
5784         (__fegetround): Also undefine macro after function definition.
5785         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5786         __fegetround and define as weak alias of __fegetround.  Use
5787         libm_hidden_weak.  Do not undefine as macro.
5788         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5789         Likewise.
5790         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5791         __fegetround and define as weak alias of __fegetround.  Use
5792         libm_hidden_weak.
5793         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5794         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5795         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5796         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5797         __fegetround and define as weak alias of __fegetround.  Use
5798         libm_hidden_weak.
5799         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5800         __fegetround instead of fegetround.
5802         [BZ #17782]
5803         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5804         Condition macro definition on [__USE_MISC].
5806         [BZ #17781]
5807         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5808         (struct sigaction): Change type of sa_flags field to int.
5810         [BZ #17780]
5811         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5812         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5813         __glibc_reserved0.
5815         * nptl/version.c (banner): Use single year in copyright notice.
5817         * NEWS: Update copyright dates.
5818         * catgets/gencat.c (print_version): Likewise.
5819         * csu/version.c (banner): Likewise.
5820         * debug/catchsegv.sh: Likewise.
5821         * debug/pcprofiledump.c (print_version): Likewise.
5822         * debug/xtrace.sh (do_version): Likewise.
5823         * elf/ldconfig.c (print_version): Likewise.
5824         * elf/ldd.bash.in: Likewise.
5825         * elf/pldd.c (print_version): Likewise.
5826         * elf/sotruss.sh: Likewise.
5827         * elf/sprof.c (print_version): Likewise.
5828         * iconv/iconv_prog.c (print_version): Likewise.
5829         * iconv/iconvconfig.c (print_version): Likewise.
5830         * locale/programs/locale.c (print_version): Likewise.
5831         * locale/programs/localedef.c (print_version): Likewise.
5832         * login/programs/pt_chown.c (print_version): Likewise.
5833         * malloc/memusage.sh (do_version): Likewise.
5834         * malloc/memusagestat.c (print_version): Likewise.
5835         * malloc/mtrace.pl: Likewise.
5836         * manual/libc.texinfo: Likewise.
5837         * nptl/version.c (banner): Likewise.
5838         * nscd/nscd.c (print_version): Likewise.
5839         * nss/getent.c (print_version): Likewise.
5840         * nss/makedb.c (print_version): Likewise.
5841         * posix/getconf.c (main): Likewise.
5842         * scripts/test-installation.pl: Likewise.
5843         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5845 2015-01-02  Will Newton  <will.newton@linaro.org>
5847         * sysdeps/arm/armv7/configure: Removed.
5848         * sysdeps/arm/armv7/configure.ac: Likewise.
5850 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5852         * All files with FSF copyright notices: Update copyright dates
5853         using scripts/update-copyrights.
5854         * intl/plural.c: Regenerated.
5855         * locale/programs/charmap-kw.h: Likewise.
5856         * locale/programs/locfile-kw.h: Likewise.
5858 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5860         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5862 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5864         [BZ #17748]
5865         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5866         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5867         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5868         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5869         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5870         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5871         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5872         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5873         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5874         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5875         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5876         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5877         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5878         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5879         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5880         libm_hidden_def.
5881         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5882         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5883         Likewise.
5884         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5885         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5887         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5888         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5889         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5890         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5891         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5892         __fegetenv instead of fegetenv.
5893         (libc_feholdsetround_noex_ctx): Likewise.
5895 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5897         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5898         (Elf_MIPS_ABIFlags_v0): New structure.
5899         (EF_MIPS_FP64): Define.
5900         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5901         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5902         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5903         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5904         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5905         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5906         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5907         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5908         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5909         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5910         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5911         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5912         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5913         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5914         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5915         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5916         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5917         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5918         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5919         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5920         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5921         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5922         field.
5923         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5924         EF_MIPS_FP64.
5925         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5926         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5927         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5928         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5929         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5930         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5931         * sysdeps/mips/tst-abi-interlink.c: Likewise.
5932         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5933         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5934         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5935         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5936         record the current FP ABI extension.
5937         (mips-mode-switch): Define to show if kernel headers support mode
5938         switching.
5939         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5940         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5941         supported SYSV ABI version to 3.
5942         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5943         feature.
5945 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5946             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5948         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5949         path.
5950         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5952 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5954         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5955         __fegetround and redefine to call __fegetround.  Remove condition
5956         on [!__NO_MATH_INLINES].
5957         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5958         function.
5959         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5960         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5961         Remove macro.
5962         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5963         instead of <fenv_libc.h>.
5964         (__llrintl): Call fegetround instead of __fegetround.
5965         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5966         instead of <fenv_libc.h>.
5967         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5968         (__lrintl): Call fegetround instead of __fegetround.
5969         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5970         instead of <fenv_libc.h>.
5971         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5972         (__rintl): Call fegetround instead of __fegetround.
5974 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
5976         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5977         arrays.
5979 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
5981         [BZ #17775]
5982         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5983         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5984         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5986 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
5988         * sysdeps/i386/tls-macros.h: Include <features.h>.
5989         (TLS_LE): Use non-PIC version for GCC >= 5.0.
5990         (TLS_IE): Likewise.
5991         (TLS_LD): Likewise.
5992         (TLS_GD): Likewise.
5993         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5994         define for GCC >= 5.0.
5996 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
5998         * math/test-fenv.c (test_single_exception, set_single_exc,
5999         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6000         feexcp_mask_test, feenable_test, fe_single_test): Add
6001         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6002         case where they are not used.
6003         * math/libm-test.inc: Likewise.
6004         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6005         unused in the absence of FP rounding/exception support.
6006         * stdio-common/tst-printf-round.c: Likewise.
6007         * stdlib/tst-strtod-round.c: Likewise.
6008         * stdlib/tst-strtod-underflow.c: Likewise.
6010 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6012         [BZ #17723]
6013         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6014         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6015         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6016         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6017         libm_hidden_weak.
6018         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6019         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6020         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6021         libm_hidden_def.
6022         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6023         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6024         libm_hidden_weak.
6025         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6026         Likewise.
6027         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6028         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6029         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6030         libm_hidden_weak.
6031         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6032         libm_hidden_def.
6033         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6034         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6035         (__feraiseexcept): Likewise.
6036         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6037         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6038         libm_hidden_weak.
6039         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6040         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6041         libm_hidden_def.
6042         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6043         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6044         Use libm_hidden_def.
6045         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6046         libm_hidden_def.
6047         (feraiseexcept): Define as weak not strong alias.  Use
6048         libm_hidden_weak.
6049         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6050         New inline function.  Factored out of ...
6051         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6052         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6053         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6054         feraiseexcept.
6055         * math/w_acos.c (__acos): Likewise.
6056         * math/w_asin.c (__asin): Likewise.
6057         * math/w_ilogb.c (__ilogb): Likewise.
6058         * math/w_j0.c (y0): Likewise.
6059         * math/w_j1.c (y1): Likewise.
6060         * math/w_jn.c (yn): Likewise.
6061         * math/w_log.c (__log): Likewise.
6062         * math/w_log10.c (__log10): Likewise.
6063         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6064         * sysdeps/aarch64/fpu/math_private.h
6065         (libc_feupdateenv_test_aarch64): Likewise.
6066         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6067         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6068         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6069         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6070         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6071         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6072         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6073         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6074         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6075         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6077 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6079         [BZ #17732]
6080         * io/test-utime.c (main): Replace %ld with %jd and cast to
6081         intmax_t.
6082         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6083         * nptl/tst-mutex5.c: Include <stdint.h>.
6084         (do_test): Replace %ld with %jd and cast to intmax_t.
6085         * posix/tst-regex.c (run_test): Likewise.
6086         (run_test_backwards): Likewise.
6087         * rt/tst-clock.c: Include <stdint.h>.
6088         (clock_test): Replace %ld with %jd and cast to intmax_t.
6089         * rt/tst-cpuclock1.c: Include <stdint.h>.
6090         (do_test): Replace %lu with %ju and cast to uintmax_t.
6091         * rt/tst-cpuclock2.c: Include <stdint.h>.
6092         (do_test): Replace %lu with %ju and cast to uintmax_t.
6093         * rt/tst-mqueue1.c: Include <stdint.h>.
6094         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6095         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6096         intmax_t.
6097         * rt/tst-mqueue4.c (do_test): Likewise.
6098         * rt/tst-timer4.c: Include <stdint.h>.
6099         (check_ts): Replace %ld with %jd and cast to intmax_t.
6100         (do_test): Likewise.
6101         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6102         and cast to intmax_t.
6103         * sysdeps/pthread/tst-timer.c (main): Likewise.
6104         * time/clocktest.c (main): Likewise.
6105         * time/tst-posixtz.c (do_test): Likewise.
6106         * timezone/tst-timezone.c (main): Likewise.
6108 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6109             H.J. Lu  <hongjiu.lu@intel.com>
6111         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6112         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6113         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6114         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6115         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6116         version if bit_Fast_Unaligned_Load is set.
6117         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6118         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6119         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6120         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6121         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6122         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6123         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6124         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6125         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6126         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6127         to 4.
6128         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6129         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6130         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6131         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6133 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6135         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6136         instead of #if to avoid a Wundef warning.
6137         * stdlib/tst-limits.c (do_test): Likewise.
6139         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6140         parallel other exception macros.
6141         (fegetenv): Convert from macro to extern inline so that it applies
6142         retroactively to inline functions already seen by the compiler.
6143         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6145         * posix/Makefile (before-compile): Use $(objpfx) for
6146         posix-conf-vars-def.h.
6148 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6150         * posix/getconf.c (main): Use size_t for type of I.
6151         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6152         NSPEC.
6154         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6155         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6156         * posix/posix-envs.def: Likewise.
6157         * sysdeps/posix/sysconf.c: Likewise.
6158         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6159         (specs): Remove array.
6160         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6161         array.
6163         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6164         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6165         (__sysconf): Use CONF_IS_* macros.
6167         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6168         ($(objpfx)posix-conf-vars-def.h): New target.
6169         * posix/posix-conf-vars.list: New file.
6170         * posix/posix-conf-vars.h: New file.
6171         * posix/confstr.c: Include posix-conf-vars.h.
6172         (confstr): Use CONF_IS_* macros.
6173         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6174         CONF_IS_* macros.
6175         * scripts/gen-posix-conf-vars.awk: New file.
6177 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6179         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6180         fegetround): Add no-op macros to avoid linknamespace issues.
6182         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6183         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6185         * sysdeps/unix/sysv/linux/tile/sysdep.h
6186         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6187         assembly-specific section to avoid a redefinition warning.
6189         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6190         long before casting to pointer to avoid a cast warning.
6192 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6194         * sysdeps/tile/tilegx/Implies: New file.
6196 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6198         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6200 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6202         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6204 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6207         not define.
6208         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6209         <kernel-features.h>.
6210         (__utimes) [__NR_utimes]: Make code unconditional.
6211         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6212         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6213         (__ASSUME_UTIMES): Do not undefine.
6214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6215         (__ASSUME_UTIMES): Likewise.
6216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6217         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6218         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6219         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6221 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6223         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6225 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6227         [BZ #17747]
6228         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6229         alias to weak alias for j0l, y0l.
6230         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6231         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6233         [BZ #17746]
6234         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6235         conversion.
6237 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6239         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6240         to zero if not already defined.
6242 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6244         [BZ #17724]
6245         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6246         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6247         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6248         (char *) casts added.
6249         * sysdeps/ieee754/k_standardf.c: New file.
6250         * sysdeps/ieee754/k_standardl.c: Likewise.
6251         * math/Makefile (libm-support): Remove k_standard.
6252         (libm-calls): Add k_standard.
6254 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6256         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6257         Optimize to avoid an unnecessary FPCR read.
6259 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6261         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6262         Optimize to reduce FPCR/FPSR accesses.
6264 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6266         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6267         Call libc_fetestexcept_aarch64.
6269 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6271         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6272         Call libc_fesetround_aarch64.
6274 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #17733]
6277         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6278         (__bind): Do not define as weak alias.
6279         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6280         define.
6281         (__getsockname): Do not define as weak alias.
6283 2014-12-22  Will Newton  <will.newton@linaro.org>
6285         * manual/install.texi: Document that we require bison 2.7
6286         or above.
6287         * INSTALL: Regenerate.
6288         * configure.ac: Use AC_CHECK_PROG_VER instead of
6289         AC_PATH_PROG when checking for bison and check for
6290         version 2.7 or above.
6291         * configure: Regenerate.
6293 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6295         [BZ #17745]
6296         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6297         * sysdeps/tile/ffsll.c (ffsll): To here.
6299         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6301 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6303         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6304         if not defined.
6305         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6306         definition.
6307         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6308         hidden ___tls_get_addr.
6309         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6310         hidden __tls_get_addr.
6311         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6312         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6313         Likewise.
6315 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6317         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6318         _dl_init call.
6320 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6322         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6323         from "call _dl_init@PLT".
6324         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6326 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6328         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6329         guarantees.
6331 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6333         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6335 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6337         [BZ #17744]
6338         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6339         strnlen.
6341 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6343         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6344         of multu on MIPSr6.
6345         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6346         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6347         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6348         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6349         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6351 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6353         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6354         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6355         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6356         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6357         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6358         mips32r6/mips64r6.
6359         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6361 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6363         * string/strncat.c (STRNCAT): Simplify implementation.
6365 2014-12-19  David S. Miller  <davem@davemloft.net>
6367         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6368         access the quad as both a long double and as a series of 4 words.
6370         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6371         link_map->l_info array access.
6373 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6375         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6377         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6378         * math/atest-exp2.c (TIMEOUT): Likewise.
6379         * math/atest-sincos.c (TIMEOUT): Likewise.
6381 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6383         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6384         -Wno-error with -fno-builtin-lround.
6386 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6388         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6389         Contains futex constants and functions moved over from ...
6390         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6391         <lowlevellock-futex.h>.
6392         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6393         (lll_timedwait_tid): Add comments and parentheses around macro
6394         arguments.
6396 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6398         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6399         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6400         (__lll_private_flag): Remove.
6401         (lll_futex_wait): Likewise.
6402         (lll_futex_timed_wait): Likewise.
6403         (lll_futex_wake): Likewise.
6404         (lll_futex_requeue): Likewise.
6405         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6406         (__lll_timedwait_tid): Spell out argument names.
6407         (lll_timedwait_tid): Add comments and parentheses around macro
6408         arguments.
6409         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6410         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6412 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6414         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6415         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6416         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6417         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6418         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6419         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6420         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6421         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6422         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6423         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6424         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6426         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6427         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6428         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6429         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6430         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6431         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6432         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6434 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6436         * sysdeps/x86_64/x32/Makefile: New file.
6438 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6440         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6441         1L with (mp_limb_t) 1.
6443 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6445         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6446         * nptl/libc_pthread_init.c: ... here.
6447         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6448         * nptl/register-atfork.c: ... here.
6450         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6451         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6452         Use assert_perror to check its return value.
6453         (__gai_create_helper_thread): Likewise.
6455         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6457         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6459 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6461         [BZ #17725]
6462         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6463         __profil_counter.
6464         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6465         Likewise.
6466         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6467         Likewise.
6468         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6469         Likewise.
6470         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6471         (profil_counter): Likewise.
6472         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6473         (profil_counter): Likewise.
6474         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6475         Likewise.
6476         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6477         Likewise.
6478         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6479         (profil_counter): Likewise.
6480         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6481         Likewise.
6482         [!__profil_counter] (profil_counter): Define as weak alias of
6483         __profil_counter.
6484         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6485         (profil_counter): Rename to __profil_counter.
6486         [!__profil_counter] (profil_counter): Define as weak alias of
6487         __profil_counter.
6488         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6489         (profil_counter): Rename to __profil_counter.
6490         [!__profil_counter] (profil_counter): Define as weak alias of
6491         __profil_counter.
6492         * sysdeps/posix/profil.c: Update comment referring to
6493         profil_counter.
6494         (__profil): Use __profil_counter instead of profil_counter.
6495         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6496         __profil_counter.  Use __profil_counter_ushort and
6497         __profil_counter_uint in definitions.
6498         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6499         instead of profil_counter_uint and profil_counter_ushort.
6501         [BZ #17722]
6502         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6503         define as weak alias of __inet_makeaddr.
6504         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6505         as weak alias of __inet_addr.
6506         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6507         as weak alias of __inet_pton.  Use libc_hidden_weak.
6508         * include/arpa/inet.h (__inet_pton): Declare.  Use
6509         libc_hidden_proto.
6510         (inet_makeaddr): Don't use libc_hidden_proto.
6511         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6512         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6513         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6514         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6515         Remove variable.
6516         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6517         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6519 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6521         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6523 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6525         * stdio-common/bug-vfprintf-nargs.c (do_test):
6526         Cast value to intptr_t to avoid format warning
6527         for usage with PRIdPTR printing macro.
6529 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6531         * libio/tst-widetext.c (do_test):
6532         Use format type %td instead of %Zd for ptrdiff_t
6533         in order to avoid format warning.
6535 2014-12-17  Andreas Schwab  <schwab@suse.de>
6537         * nscd/mem.c (gc): Add size_t cast to match printf format.
6539 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6541         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6542         (init): Apply PTR_MANGLE to pointers before storing them.
6543         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6544         before using them.
6546 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6548         [BZ #17719]
6549         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6550         define as weak alias of __memrchr.
6551         (__memrchr): Do not define as strong alias of memrchr.
6552         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6553         Remove variable.
6554         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6555         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6556         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6558         [BZ #17717]
6559         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6560         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6561         (if_indextoname): Rename to __if_indextoname and define as weak
6562         alias of __if_indextoname.  Use libc_hidden_weak.
6563         (if_freenameindex): Rename to __if_freenameindex and define as
6564         weak alias of __if_freenameindex.
6565         (if_nameindex): Rename to __if_nameindex and define as weak alias
6566         of __if_nameindex.
6567         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6568         __if_nametoindex and define as weak alias of __if_nametoindex.
6569         Use libc_hidden_weak.
6570         (if_freenameindex): Rename to __if_freenameindex and define as
6571         weak alias of __if_freenameindex.
6572         (if_nameindex): Rename to __if_nameindex and define as weak alias
6573         of __if_nameindex.
6574         (if_indextoname): Rename to __if_indextoname and define as weak
6575         alias of __if_indextoname.  Use libc_hidden_weak.
6576         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6577         __if_nametoindex and define as weak alias of __if_nametoindex.
6578         Use libc_hidden_weak.
6579         (if_freenameindex): Rename to __if_freenameindex and define as
6580         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6581         (if_nameindex_netlink): Use __if_freenameindex instead of
6582         if_freenameindex.
6583         (if_nameindex): Rename to __if_nameindex and define as weak alias
6584         of __if_nameindex.  Use libc_hidden_weak.
6585         (if_indextoname): Rename to __if_indextoname and define as weak
6586         alias of __if_indextoname.  Use libc_hidden_weak.
6587         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6588         libc_hidden_proto.
6589         [!_ISOMAC] (__if_freenameindex): Likewise.
6590         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6591         if_nametoindex.
6592         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6593         variable.
6594         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6595         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6596         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6597         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6598         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6599         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6600         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6602         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6603         Remove variable.
6604         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6605         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6607 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6609         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6610         subscript above bounds'
6612         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6613         bounds.
6615 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6617         * libio/tst-fopenloc.c: Use test-skeleton.c.
6619         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6620         (entry): Rename to ITEM.
6621         (do_test, comp): Adjust.
6623         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6625 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6627         * string/tester.c: Include <libc-internal.h>.
6628         (test_memset): Ignore -Wmemset-transposed-args.
6630 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6632         * misc/tst-mntent2.c (do_test): Fix warning.
6634 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6636         * elf/tst-unique4lib.cc(a): Mark as used.
6638 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6640         [BZ #17630]
6641         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6642         names.
6644 2014-12-16  Allan McRae  <allan@archlinux.org>
6646         * stdio-common/Makefile (tests): Re-add bug26.
6648 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6650         [BZ #17657]
6651         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6652         static array.
6654 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6656         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6657         (__lll_lock_wait): Likewise.
6658         (__lll_timedlock_wait): Likewise.
6659         (__lll_timedwait_tid): Likewise.
6660         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6661         (__lll_robust_timedlock_wait): Likewise.
6662         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6663         (lll_cond_trylock): Likewise.
6664         (__lll_lock): Likewise.
6665         (__lll_robust_lock): Likewise.
6666         (__lll_cond_lock): Likewise.
6667         (lll_robust_cond_lock): Likewise.
6668         (__lll_timedlock): Likewise.
6669         (__lll_robust_timedlock): Likewise.
6670         (__lll_unlock): Likewise.
6671         (__lll_robust_unlock): Likewise.
6672         (lll_wait_tid): Likewise.
6673         (lll_timedwait_tid): Likewise.
6675 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6677         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6679 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6681         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6683 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6685         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6686         * stdio-common/tst-sprintf.c: Likewise.
6688 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6690         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6692 2014-12-15  Jeff Law  <law@redhat.com>
6694         [BZ #16617]
6695         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6696         on the heap.  (CVE-2012-3406)
6697         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6698         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6699         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6701 2014-12-15  Will Newton  <will.newton@linaro.org>
6703         * manual/install.texi: Bump required version of texinfo
6704         to 4.7 from 4.5.
6705         * INSTALL: Regenerated.
6706         * configure.ac: Check for makeinfo version 4.7 and above.
6707         * configure: Regenerated.
6709 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6711         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6712         PREFIX, string constant to insert between directory and name.
6713         * sysdeps/posix/shm_open.c: Update caller.
6714         * sysdeps/posix/shm_unlink.c: Likewise.
6715         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6716         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6717         (SEM_SHM_PREFIX): New macro.
6718         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6719         [$(have-thread-library) = no].
6720         * nptl/Makefile (libpthread-routines): Add shm-directory.
6721         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6722         * sysdeps/nptl/shm-directory.h: New file.
6723         * sysdeps/posix/shm-directory.c
6724         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6725         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6726         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6727         INTERNAL_SYSCALL.
6728         (__where_is_shmfs): Function removed.
6729         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6730         Variables removed.
6731         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6732         Use SHM_GET_NAME.
6733         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6735         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6736         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6737         unconditional for use inside libpthread.
6738         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6740 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6742         * nptl/pthread_getaffinity.c: New file.
6743         * nptl/pthread_setaffinity.c: New file.
6744         * nptl/pthread_getname.c: New file.
6745         * nptl/pthread_setname.c: New file.
6747         * nptl/pthread_create.c (START_THREAD_DEFN)
6748         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6750 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6751             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6753         * resolv/res_send.c (send_vc): Disable warning resplen may
6754         be used uninitialized.
6756 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6758         * nptl/tst-mutex6.c
6759         (ATTR_NULL): New define checks ATTR against NULL.
6760         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6761         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6763 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6765         [BZ #17581]
6766         * malloc/hooks.c
6767         (mem2mem_check): Revert my previous change.
6768         (malloc_check_get_size): Revert my previous change.
6769         (mem2chunk_check): Revert my previous change.
6771 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6773         * sysdeps/posix/shm-directory.c: New file.
6774         * sysdeps/posix/shm-directory.h: New file.
6775         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6776         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6777         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6778         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6779         Transmute EPERM to EACCES.
6780         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6781         from ...
6782         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6783         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6785 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6787         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6788         pointer and cast to uintptr_t.
6789         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6790         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6791         Add cast to avoid warning.
6792         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6794 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6796         * nptl/semaphore.h: Move to ...
6797         * sysdeps/pthread/semaphore.h: ... here.
6798         * Makefile (installed-headers): Change nptl/semaphore.h to
6799         sysdeps/pthread/semaphore.h.
6801 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6803         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6804         generated error format strings.
6806         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6807         -Wformat-extra-args warnings for scanf formats.
6808         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6809         test of zero-length format (duh).
6810         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6811         corner-case scanf format test.
6812         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6813         generated fprintf format string.
6814         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6815         corner-case sprintf format tests.
6816         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6817         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6818         -Wformat-extra-args warnings throughout.
6819         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6820         (CFLAGS-scanf4.c): Likewise.
6821         (CFLAGS-scanf7.c): Likewise.
6822         (CFLAGS-tst-sprintf.c): Likewise.
6823         (CFLAGS-tst-printf.c): Likewise.
6824         (CFLAGS-tst-printfsz.c): Likewise.
6826 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6828         * include/cpio.h: New file.
6829         * include/fmtmsg.h: Likewise.
6831         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6832         corresponding format argument to size_t.
6833         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6834         arguments.
6835         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6836         corresponding format argument to size_t.
6837         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6838         arguments.
6839         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6840         corresponding format argument to size_t.
6841         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6842         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6843         (CFLAGS-tst-mbswcs2.c): Likewise.
6844         (CFLAGS-tst-mbswcs3.c): Likewise.
6845         (CFLAGS-tst-mbswcs4.c): Likewise.
6846         (CFLAGS-tst-mbswcs5.c): Likewise.
6847         (CFLAGS-tst-trans.c): Likewise
6849 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6851         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6852         rather than assuming they won't contain any '%'s.
6854 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6856         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6857         inhibit_loop_to_libcall to avoid recursive calls.
6858         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6859         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6861 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6863         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6864         prototype.
6866 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6868         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6869         integer value instead of boolean.
6871 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6873         * malloc/malloc.c: Fix powerof2 check.
6875 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6877         * locale/programs/locfile.h (maybe_swap_uint32):
6878         Remove inline and add unused attribute.
6880 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6882         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6883         Truncating assembler expression to a .long expression.
6885 2014-12-11  Andreas Schwab  <schwab@suse.de>
6887         * elf/rtld.c (struct map_args): Constify str member.
6888         (do_preload): Constify fname argument.
6890 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6892         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6893         constants definition.
6895 2014-12-11  Andreas Schwab  <schwab@suse.de>
6897         [BZ #16657]
6898         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6899         FORCE_ELISION instead of DO_ELISION.
6900         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6901         Remove.
6902         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6903         Likewise.
6905         * iconvdata/gconv-modules: Remove duplicate entry.
6907 2014-12-11  Will Newton  <will.newton@linaro.org>
6909         Merge gettext 0.19.3 into intl/.
6911         This involves a number of cosmetic changes to comments
6912         and ANSI function definitions and prototypes throughout
6913         all the files. The gettext copyright header is used but
6914         with the date ranges taken from the glibc copy.
6916         * NEWS: Add gettext merge to 2.21.
6917         * intl/bindtextdom.c: Switch to gettext copyright.
6918         Use ANSI definitions and prototypes.
6919         Use gl_* locking primitives rather than __libc_* ones.
6920         Use __builtin_expect rather than __glibc_likely/unlikely.
6921         * intl/dcgettext.c: Switch to gettext copyright.
6922         Use ANSI definitions and prototypes.
6923         * intl/dcigettext.c: Switch to gettext copyright.
6924         Use ANSI definitions and prototypes.
6925         (INTDIV0_RAISES_SIGFPE): New define.
6926         Use gl_* locking primitives rather than __libc_* ones.
6927         Include eval-plural.h instead of plural-eval.c.
6928         Use __builtin_expect rather than __glibc_likely/unlikely.
6929         * intl/dcngettext.c: Switch to gettext copyright.
6930         Use ANSI definitions and prototypes.
6931         * intl/dgettext.c: Likewise.
6932         * intl/dngettext.c: Likewise.
6933         * intl/plural-eval.c: Renamed to...
6934         * intl/eval-plural.h: ...this.
6935         * intl/explodename.c: Switch to gettext copyright.
6936         Use ANSI definitions and prototypes.
6937         (_nl_explode_name): Use strchr instead of __rawmemchr.
6938         * intl/finddomain.c: Switch to gettext copyright.
6939         Use ANSI definitions and prototypes.
6940         Use gl_* locking primitives rather than __libc_* ones.
6941         (_nl_find_domain): Use malloc rather than alloca for
6942         allocation of temporary locale name.
6943         * intl/gettext.c: Switch to gettext copyright.
6944         Use ANSI definitions and prototypes.
6945         * intl/gettextP.h: Switch to gettext copyright.
6946         Use ANSI definitions and prototypes.
6947         Use gl_* locking primitives rather than __libc_* ones.
6948         * intl/gmo.h: Switch to gettext copyright.
6949         (struct sysdep_string): Move struct segment_pair outside of
6950         struct definition.
6951         * intl/hash-string.c: Use ANSI definitions and prototypes.
6952         * intl/hash-string.h: Switch to gettext copyright.
6953         Use ANSI definitions and prototypes.
6954         * intl/l10nflist.c: Switch to gettext copyright.
6955         Use ANSI definitions and prototypes.
6956         (_nl_normalize_codeset): Avoid integer overflow.
6957         * intl/loadinfo.h: Switch to gettext copyright.
6958         Use ANSI definitions and prototypes.
6959         (LIBINTL_DLL_EXPORTED): New define.
6960         (PATH_SEPARATOR): New define.
6961         * intl/loadmsgcat.c: Switch to gettext copyright.
6962         * intl/localealias.c: Switch to gettext copyright.
6963         Use ANSI definitions and prototypes.
6964         (_nl_expand_alias): Use PATH_SEPARATOR.
6965         * intl/ngettext.c: Switch to gettext copyright.
6966         Use ANSI definitions and prototypes.
6967         * intl/plural-exp.c: Likewise.
6968         * intl/plural-exp.h: Switch to gettext copyright.
6969         Use ANSI definitions and prototypes.
6970         (struct expression): Move definition of enum operator outside
6971         of struct definition.
6972         * intl/plural.c: Regenerate.
6973         * intl/plural.y: Switch to gettext copyright.
6974         Use ANSI definitions and prototypes.
6975         Port to bison 3.0.
6976         * intl/textdomain.c: Switch to gettext copyright.
6977         Use ANSI definitions and prototypes.
6978         Use gl_* locking primitives rather than __libc_* ones.
6980 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
6982         * debug/warning-nop.c: Add used atrribute.
6984 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6986         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6988         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6989         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6990         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6992 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
6993             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6995         [BZ #17634]
6996         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6997         Undefine after defining function.  Define as weak alias of
6998         __wcschr.  Use libc_hidden_weak.
6999         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7000         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7001         (libc_hidden_def): Also define __GI___wcschr alias.
7002         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7003         __wcschr and define as weak alias of __wcschr.
7004         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7005         __wcschr.
7006         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7007         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7008         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7009         libc_hidden_weak.  Do not use libc_hidden_def.
7010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7011         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7012         __GI___wcschr alias.
7013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7014         [IS_IN (libc)] (wcschr): Define as macro expanding to
7015         __redirect_wcschr.
7016         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7017         [IS_IN (libc)] (__wcschr_power6): Likewise.
7018         [IS_IN (libc)] (__wcschr_power7): Likewise.
7019         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7020         instead of wcschr.
7021         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7022         __libc_wcschr.
7023         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7024         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7025         __wcschr and define as weak alias of __wcschr.  Use
7026         libc_hidden_builtin_def.
7027         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7028         as weak alias of __wcschr.  Use libc_hidden_weak.
7029         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7030         wcschr.
7031         * time/era.c (_nl_init_era_entries): Likewise.
7032         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7033         variable.
7034         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7035         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7037 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7039         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7040         format for long int variable.
7042 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7044         [BZ #10672]
7045         * manual/search.texi: (Array Sort Function): Remove claim how to make
7046         qsort stable.
7048 2014-12-10  Andreas Schwab  <schwab@suse.de>
7050         [BZ #12847]
7051         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7052         user-controlled locks.
7054 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7056         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7057         register.
7059 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7061         * configure.ac (--disable-werror): New configure option.
7062         (enable_werror): New AC_SUBST.
7063         * configure: Regenerated.
7064         * config.make.in (enable-werror): New variable.
7065         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7066         -Wno-error=undef.
7067         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7068         * manual/install.texi (Configuring and compiling): Document
7069         --disable-werror.
7070         * INSTALL: Regenerated.
7071         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7072         (CFLAGS-tst-chk2.c): Likewise.
7073         (CFLAGS-tst-chk3.c): Likewise.
7074         (CFLAGS-tst-chk4.cc): Likewise.
7075         (CFLAGS-tst-chk5.cc): Likewise.
7076         (CFLAGS-tst-chk6.cc): Likewise.
7077         (CFLAGS-tst-lfschk1.c): Likewise.
7078         (CFLAGS-tst-lfschk2.c): Likewise.
7079         (CFLAGS-tst-lfschk3.c): Likewise.
7080         (CFLAGS-tst-lfschk4.cc): Likewise.
7081         (CFLAGS-tst-lfschk5.cc): Likewise.
7082         (CFLAGS-tst-lfschk6.cc): Likewise.
7084         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7085         (main): Disable -Wdeprecated-declarations around calls to
7086         register_printf_function.
7088         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7089         (do_test): Disable -Wdiv-by-zero around some calls to
7090         fwrite_unlocked and fread_unlocked.
7092         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7093         (DIAG_POP_NEEDS_COMMENT): Likewise.
7094         (_DIAG_STR1): Likewise.
7095         (_DIAG_STR): Likewise.
7096         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7097         * stdio-common/bug21.c: Include <libc-internal.h>.
7098         (do_test): Disable -Wformat around call to sscanf.
7099         * stdio-common/scanf14.c: Include <libc-internal.h>.
7100         (main): Disable -Wformat around some calls to scanf functions.
7102 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7104         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7106 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7108         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7109         stack variable alignment.
7111 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7113         [BZ #17682]
7114         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7115         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7116         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7117         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7118         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7119         __getrlimit instead of getrlimit.
7120         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7121         __gettimeofday instead of gettimeofday.
7122         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7123         Likewise.
7124         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7125         Likewise.
7126         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7127         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7128         Remove variable.
7129         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7130         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7132 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7134         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7135         for wide-character tests.
7137 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7139         * io/openat64.c: #include <libc-internal.h>
7140         (__openat64): Prototypify.  Use ignore_value on MODE.
7141         * io/openat.c: Likewise.
7142         * misc/reboot.c: #include <libc-internal.h>
7143         (reboot): Prototypify.  Use ignore_value on HOWTO.
7144         * misc/ptrace.c: #include <libc-internal.h>
7145         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7147 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7149         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7150         XPG4, UNIX98 and XOPEN2K.
7151         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7152         Remove variable.
7153         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7155 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7157         * libio/fileops.c: Use ISO C style for function definitions.
7158         * libio/iofopen.c: Likewise.
7159         * libio/wfileops.c: Likewise.
7161         [BZ #17653]
7162         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7163         offset on EOF.
7164         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7165         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7166         (fgets_func): Function pointer to fgets and fgetws.
7167         (do_ftell_test): Add test to verify ftell value after read
7168         EOF.
7169         (do_test): Set fgets_func.
7171         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7172         O_TRUNC flag for w and w+ modes.
7173         (do_rewind_test): Likewise.
7174         (do_ftell_test): Likewise.
7175         (do_write_test): Likewise.
7177         [BZ #17647]
7178         * libio/fileops.c (do_ftell): Seek only when there are
7179         unflushed writes.
7180         * libio/wfileops.c (do_ftell_wide): Likewise.
7181         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7182         test case.
7183         (do_one_test): Call it.
7185 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7187         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7188         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7189         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7190         Remove variable.
7191         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7192         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7193         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7195 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7197         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7198         Remove variable.
7199         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7201         [BZ #17668]
7202         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7203         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7204         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7205         __freeifaddrs.  Use libc_hidden_weak.
7206         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7207         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7208         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7209         __freeifaddrs.  Use libc_hidden_weak.
7210         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7211         __getifaddrs and define as weak alias of __getifaddrs.  Use
7212         libc_hidden_weak.
7213         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7214         __freeifaddrs.  Use libc_hidden_weak.
7215         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7216         Remove variable.
7217         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7218         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7220 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7222         [BZ #17601]
7223         * sysdeps/mips/start.S (__start): Use indirect jump to call
7224         __libc_start_main.
7226 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7228         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7230         * nptl/tst-mutex1.c: Include <stdbool.h>.
7231         [!ATTR] (ATTR_NULL): New macro.
7232         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7233         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7234         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7236         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7237         to char *.
7239         [BZ #17665]
7240         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7241         Change conditional to [__USE_MISC].
7243         [BZ #17664]
7244         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7245         fgets_unlocked.
7246         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7247         __fgets_unlocked.
7248         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7249         fgets_unlocked.
7250         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7251         Remove variable.
7252         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7253         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7254         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7255         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7256         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7257         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7258         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7259         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7260         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7262         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7264 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7266         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7267         Remove strpbrk objects.
7268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7269         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7270         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7271         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7272         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7273         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7276         Remove strcspn objects.
7277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7278         (__libc_ifunc_impl_list): Remove strcspn implementation.
7279         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7280         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7281         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7282         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7285         Remove strspn objetcs.
7286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7287         (__libc_ifunc_impl_list): Remove strspn implementation.
7288         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7289         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7290         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7291         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7293 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7295         [BZ #17581]
7296         * malloc/hooks.c
7297         (mem2mem_check): Add a terminator to the chain of checking blocks.
7298         (malloc_check_get_size): Use it here.
7299         (mem2chunk_check): Ditto.
7301 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7303         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7304         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7306 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7308         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7310         * nptl/nptl-init.c: Include libc-internal.h.
7311         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7313         * elf/ldconfig.c (search_dir): Expand comment.
7315 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7317         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7318         variable.
7319         (linknamespace-symlist-stdlibs-tests): Likewise.
7320         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7321         instead of $(objpfx)symlist-stdlibs.
7322         (linknamespace-libs-isoc): New variable.
7323         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7324         (linknamespace-libs-ISO): New variable.
7325         (linknamespace-libs-ISO99): Likewise.
7326         (linknamespace-libs-ISO11): Likewise.
7327         (linknamespace-libs-XPG3): Likewise.
7328         (linknamespace-libs-XPG4): Likewise.
7329         (linknamespace-libs-POSIX): Likewise.
7330         (linknamespace-libs-UNIX98): Likewise.
7331         (linknamespace-libs-XOPEN2K): Likewise.
7332         (linknamespace-libs-POSIX2008): Likewise.
7333         (linknamespace-libs-XOPEN2K8): Likewise.
7334         ($(objpfx)symlist-stdlibs): Replace by
7335         $(linknamespace-symlist-stdlibs-tests).  Use
7336         $(linknamespace-libs-$*) as set of libraries.
7337         ($(linknamespace-header-tests)): Update dependencies.  Use
7338         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7339         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7340         * conform/linknamespace.pl: Remove comment about considering
7341         definitions of symbols from irrelevant libraries.
7343 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7345         [BZ #13862]
7346         * elf/dl-tls.c: Include <atomic.h>.
7347         (oom): Remove #ifdef SHARED/#endif.
7348         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7349         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7350         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7351         big enough.
7352         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7353         * nptl/Makefile (tests): Add tst-stack4.
7354         (modules-names): Add tst-stack4mod.
7355         ($(objpfx)tst-stack4): New.
7356         (tst-stack4mod.sos): Likewise.
7357         ($(objpfx)tst-stack4.out): Likewise.
7358         ($(tst-stack4mod.sos)): Likewise.
7359         (clean): Likewise.
7360         * nptl/tst-stack4.c: New file.
7361         * nptl/tst-stack4mod.c: Likewise.
7363 2014-11-27  J. Brown  <jb999@gmx.de>
7365         * sysdeps/x86/bits/string.h: Add recent CPUs.
7367 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7369         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7370         sigblock.
7372         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7373         feof.
7375         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7376         variable.
7378 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7380         * nscd/connections.c: Include libc-internal.h because of macro
7381         usage ignore_value.
7383 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7385         * string/bits/string3.h (__warn_memset_zero_len): Don't
7386         declare for gcc newer than 5.0.
7387         (memset): Don't test for zero-length __LEN for gcc newer than
7388         5.0.
7390 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7392         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7393         size_t for %zu format.
7395         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7396         difference, not %ju.
7398 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7400         * include/libc-internal.h (ignore_value): New macro.
7401         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7402         with ignore_value.
7404         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7405         definition.
7407         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7408         pthread_cleanup_push to void *.
7410         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7411         Undefine.
7413         [BZ #16619]
7414         [BZ #16740]
7415         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7416         instead of 1L << 52.
7418         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7419         * libio/bug-rewind2.c (do_test): Likewise.
7421         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7422         * debug/test-strcpy_chk-ifunc.c: Likewise.
7423         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7424         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7425         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7426         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7427         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7428         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7429         * Rules [$(multi-arch) = no] (tests): Do not filter out
7430         $(tests-ifunc).
7431         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7432         * debug/Makefile (tests-ifunc): Remove variable.
7433         (tests): Do not add $(tests-ifunc).
7434         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7435         (tests): Do not add $(tests-ifunc).
7436         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7437         [TEST_IFUNC]: Remove conditionals.
7438         * string/test-string.h (TEST_IFUNC): Remove macro.
7439         [TEST_IFUNC]: Remove conditionals.
7441         * string/test-strchr.c [!WIDE] (L): New macro.
7442         [WIDE] (L): Likewise.
7443         (check1): Use CHAR instead of char.  Use L on string and character
7444         constants.
7446 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7448         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7449         tests.
7450         * sysdeps/powerpc/bits/atomic.h
7451         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7452         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7453         (atomic_exchange_and_add_acq): Likewise.
7454         (atomic_exchange_and_add_rel): Likewise.
7455         * sysdeps/powerpc/powerpc32/bits/atomic.h
7456         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7457         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7458         * sysdeps/powerpc/powerpc64/bits/atomic.h
7459         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7460         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7462 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7464         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7465         Change synchronization of __sched_fifo_min_prio and
7466         __sched_fifo_max_prio.
7467         * nptl/pthread_mutexattr_getprioceiling.c
7468         (pthread_mutexattr_getprioceiling): Likewise.
7469         * nptl/pthread_mutexattr_setprioceiling.c
7470         (pthread_mutexattr_setprioceiling): Likewise.
7471         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7472         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7473         Likewise.
7475 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7477         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7478         void.
7480 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7482         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7483         third argument const.
7485 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7487         fnmatch: work around GCC compiler warning bug with uninit var
7488         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7489         This works around a bug with x86-64 GCC 4.9.2 and earlier
7490         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7491         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7492         used uninitialized in this function [-Wmaybe-uninitialized]".
7494 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7496         * posix/bug-regex31.c (main): Return RES not 0.
7498 2014-11-25  Anton Blanchard <anton@samba.org>
7500         * sysdeps/powerpc/bits/atomic.h
7501         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7503 2014-11-24  Sterling Augustine  <saugustine@google.com>
7505         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7507 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7509         [BZ #17608]
7510         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7512 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7514         [BZ #17633]
7515         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7516         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7517         variable.
7518         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7519         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7521 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7523         * string/strncpy.c (strncpy): Improve performance by using memset.
7525 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7527         * string/strcpy.c (strcpy):
7528         Improve performance by using strlen and memcpy.
7530 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7532         * string/strcoll_l.c (get_next_seq): __always_inline.
7533         * string/strcoll_l.c (do_compare): __always_inline.
7535 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7537         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7538         defined.
7539         * include/mqueue.h: Likewise.
7540         * include/stdlib.h: Likewise.
7542         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7543         (get_null_defines): Adjust.
7544         * sunrpc/Makefile: Adjust comment.
7545         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7546         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7547         (CFLAGS-interp.c): Likewise.
7548         (CFLAGS-ldconfig.c): Likewise.
7549         (CPPFLAGS-.os): Likewise.
7550         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7551         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7552         * extra-modules.mk (extra-modules.mk): Likewise.
7553         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7554         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7555         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7556         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7557         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7558         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7559         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7560         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7561         * iconvdata/Makefile (CPPFLAGS): Likewise.
7562         (cpp-srcs-left): Add libof for all iconvdata routines.
7563         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7564         * include/assert.h: Likewise.
7565         * include/ctype.h: Likewise.
7566         * include/errno.h: Likewise.
7567         * include/libc-symbols.h: Likewise.
7568         * include/math.h: Likewise.
7569         * include/netdb.h: Likewise.
7570         * include/resolv.h: Likewise.
7571         * include/stdio.h: Likewise.
7572         * include/stdlib.h: Likewise.
7573         * include/string.h: Likewise.
7574         * include/sys/stat.h: Likewise.
7575         * include/wctype.h: Likewise.
7576         * intl/l10nflist.c: Likewise.
7577         * libidn/idn-stub.c: Likewise.
7578         * libio/libioP.h: Likewise.
7579         * nptl/libc_multiple_threads.c: Likewise.
7580         * nptl/pthreadP.h: Likewise.
7581         * posix/regex_internal.h: Likewise.
7582         * resolv/res_hconf.c: Likewise.
7583         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7584         * sysdeps/arm/memmove.S: Likewise.
7585         * sysdeps/arm/sysdep.h: Likewise.
7586         * sysdeps/generic/_itoa.h: Likewise.
7587         * sysdeps/generic/symbol-hacks.h: Likewise.
7588         * sysdeps/gnu/errlist.awk: Likewise.
7589         * sysdeps/gnu/errlist.c: Likewise.
7590         * sysdeps/i386/i586/memcpy.S: Likewise.
7591         * sysdeps/i386/i586/memset.S: Likewise.
7592         * sysdeps/i386/i686/memcpy.S: Likewise.
7593         * sysdeps/i386/i686/memmove.S: Likewise.
7594         * sysdeps/i386/i686/mempcpy.S: Likewise.
7595         * sysdeps/i386/i686/memset.S: Likewise.
7596         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7597         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7598         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7599         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7600         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7601         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7602         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7603         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7604         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7605         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7606         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7607         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7608         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7609         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7610         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7611         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7612         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7613         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7614         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7615         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7616         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7617         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7618         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7619         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7620         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7621         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7622         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7623         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7624         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7625         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7626         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7627         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7629         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7630         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7631         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7632         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7633         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7634         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7635         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7636         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7637         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7638         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7639         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7640         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7641         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7642         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7643         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7644         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7645         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7646         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7647         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7648         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7649         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7650         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7651         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7652         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7653         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7654         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7655         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7656         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7657         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7658         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7659         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7660         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7661         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7662         * sysdeps/posix/closedir.c: Likewise.
7663         * sysdeps/posix/opendir.c: Likewise.
7664         * sysdeps/posix/readdir.c: Likewise.
7665         * sysdeps/posix/rewinddir.c: Likewise.
7666         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7667         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7668         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7669         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7670         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7671         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7672         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7673         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7674         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7675         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7676         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7678         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7679         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7680         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7681         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7682         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7683         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7685         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7686         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7688         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7689         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7691         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7693         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7694         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7701         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7702         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7703         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7704         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7705         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7706         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7707         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7708         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7709         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7710         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7711         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7712         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7713         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7714         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7715         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7716         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7717         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7718         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7720         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7722         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7723         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7724         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7725         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7726         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7727         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7728         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7729         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7730         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7731         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7732         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7733         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7734         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7735         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7736         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7737         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7738         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7739         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7740         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7741         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7742         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7743         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7744         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7745         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7746         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7747         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7748         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7749         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7750         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7751         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7752         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7753         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7754         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7756         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7757         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7758         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7759         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7760         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7761         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7762         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7763         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7764         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7765         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7767         * sysdeps/unix/alpha/sysdep.S: Likewise.
7768         * sysdeps/unix/alpha/sysdep.h: Likewise.
7769         * sysdeps/unix/make-syscalls.sh: Likewise.
7770         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7771         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7772         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7773         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7774         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7775         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7776         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7777         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7778         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7779         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7780         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7781         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7782         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7783         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7784         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7785         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7786         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7787         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7788         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7789         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7790         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7791         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7792         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7793         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7794         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7795         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7796         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7799         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7800         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7804         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7808         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7809         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7810         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7811         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7812         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7813         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7814         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7817         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7819         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7820         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7821         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7822         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7823         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7824         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7826         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7828         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7829         * sysdeps/x86_64/memcpy.S: Likewise.
7830         * sysdeps/x86_64/memmove.c: Likewise.
7831         * sysdeps/x86_64/memset.S: Likewise.
7832         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7833         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7834         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7835         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7836         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7837         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7838         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7839         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7840         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7841         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7842         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7843         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7844         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7845         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7846         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7847         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7848         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7849         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7850         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7851         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7852         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7853         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7854         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7855         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7856         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7857         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7858         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7859         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7860         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7861         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7862         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7863         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7864         * sysdeps/x86_64/strcmp.S: Likewise.
7866         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7868         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7869         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7870         * elf/rtld-Rules: Likewise.
7871         * elf/setup-vdso.h: Likewise.
7872         * include/assert.h: Likewise.
7873         * include/bits/stdlib-float.h: Likewise.
7874         * include/errno.h: Likewise.
7875         * include/sys/stat.h: Likewise.
7876         * include/unistd.h: Likewise.
7877         * sysdeps/aarch64/setjmp.S: Likewise.
7878         * sysdeps/alpha/setjmp.S: Likewise.
7879         * sysdeps/arm/__longjmp.S: Likewise.
7880         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7881         * sysdeps/arm/setjmp.S: Likewise.
7882         * sysdeps/arm/sysdep.h: Likewise.
7883         * sysdeps/generic/_itoa.h: Likewise.
7884         * sysdeps/generic/dl-sysdep.h: Likewise.
7885         * sysdeps/generic/ldsodefs.h: Likewise.
7886         * sysdeps/i386/dl-tls.h: Likewise.
7887         * sysdeps/i386/setjmp.S: Likewise.
7888         * sysdeps/m68k/setjmp.c: Likewise.
7889         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7890         * sysdeps/mach/hurd/opendir.c: Likewise.
7891         * sysdeps/posix/getcwd.c: Likewise.
7892         * sysdeps/posix/opendir.c: Likewise.
7893         * sysdeps/posix/profil.c: Likewise.
7894         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7895         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7897         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7898         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7899         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7900         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7901         * sysdeps/s390/dl-tls.h: Likewise.
7902         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7903         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7904         * sysdeps/sh/sh3/setjmp.S: Likewise.
7905         * sysdeps/sh/sh4/setjmp.S: Likewise.
7906         * sysdeps/unix/alpha/sysdep.h: Likewise.
7907         * sysdeps/unix/arm/sysdep.S: Likewise.
7908         * sysdeps/unix/i386/sysdep.S: Likewise.
7909         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7910         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7911         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7912         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7913         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7914         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7915         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7916         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7917         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7918         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7919         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7920         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7924         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7925         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7926         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7927         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7928         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7929         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7931         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7933         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7936         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7937         * sysdeps/x86_64/setjmp.S: Likewise.
7939         * include/math.h: Use IS_IN instead of IS_IN_libm.
7940         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7941         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7942         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7943         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7945         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7946         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7947         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7949         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7950         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7951         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7952         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7953         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7954         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7955         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7956         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7957         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7958         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7959         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7960         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7961         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7962         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7963         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7964         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7965         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7966         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7967         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7968         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7969         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7970         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7971         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7972         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7974         Likewise.
7975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7976         Likewise.
7977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7978         Likewise.
7979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7980         Likewise.
7981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7982         Likewise.
7983         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7984         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7985         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7986         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7987         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7988         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7994         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7995         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7996         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7997         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7998         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7999         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8001         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8002         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8003         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8004         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8006         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8007         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8009         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8011         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8012         * nptl/pthreadP.h: Likewise.
8013         * nptl_db/structs.def: Likewise.
8014         * sysdeps/arm/sysdep.h: Likewise.
8015         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8016         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8017         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8018         * sysdeps/unix/alpha/sysdep.h: Likewise.
8019         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8021         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8022         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8023         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8024         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8026         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8027         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8028         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8029         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8030         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8031         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8032         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8035         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8037         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8038         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8040         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8041         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8042         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8043         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8044         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8046         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8047         * nptl/pthreadP.h: Likewise.
8048         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8049         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8050         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8051         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8052         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8053         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8054         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8055         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8056         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8057         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8058         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8059         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8061         Likewise.
8062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8063         Likewise.
8064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8066         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8069         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8070         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8071         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8073         * dlfcn/dladdr.c: Use IS_IN.
8074         * dlfcn/dladdr1.c: Likewise.
8075         * dlfcn/dlclose.c: Likewise.
8076         * dlfcn/dlerror.c: Likewise.
8077         * dlfcn/dlinfo.c: Likewise.
8078         * dlfcn/dlmopen.c: Likewise.
8079         * dlfcn/dlopen.c: Likewise.
8080         * dlfcn/dlsym.c: Likewise.
8081         * dlfcn/dlvsym.c: Likewise.
8083         * include/ifaddrs.h: Use IS_IN.
8084         * inet/check_pf.c: Likewise.
8085         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8086         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8088         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8089         IS_IN_ldconfig.
8090         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8091         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8093         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8094         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8095         IS_IN (libc).
8097         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8099         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8100         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8101         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8102         * include/libc-symbols.h (IS_IN_LIB): New macro.
8103         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8104         * include/netdb.h: Likewise.
8105         * include/stap-probe.h: Remove all uses of IN_LIB.
8107         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8108         instead of IN_MODULE.
8109         * include/libc-symbols.h (IN_MODULE): Define using
8110         MODULE_NAME.
8111         (PASTE_NAME, PASTE_NAME1): New macros.
8112         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8113         of IN_LIB.
8114         (STAP_PROBE_ASM): Likewise.
8116 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8118         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8119         __mach_init in dlopened libc.
8121 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8123         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8124         * sysdeps/arm/preconfigure: Regenerate.
8126 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8128         * nptl/pthread_create.c (__pthread_create_2_1): Set
8129         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8130         when copying values from IATTR into PD.
8132 2014-11-21  Will Newton  <will.newton@linaro.org>
8133             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8135         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8136         Refactor inline-asm.  Also add comment.
8138         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8139         ElfW macro instead of hardcoded Elf64 types.
8140         (la_aarch64_gnu_pltenter): Likewise.
8141         * sysdeps/aarch64/dl-machine.h
8142         (elf_machine_runtime_setup): Use ElfW(Addr).
8144         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8145         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8146         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8147         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8148         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8149         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8150         (R_AARCH64_TLS_DTPMOD): This.
8151         (R_AARCH64_TLS_DTPREL64): Rename to ...
8152         (R_AARCH64_TLS_DTPREL): This.
8153         (R_AARCH64_TLS_TPREL64): Rename to ...
8154         (R_AARCH64_TLS_TPREL): This.
8155         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8156         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8157         R_AARCH64_TLS_TPREL64.
8158         (elf_machine_rela): Likewise.
8160 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8162         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8163         by setting it to 0.  64b atomics are not supported currently.
8165 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8167         [BZ #16469]
8168         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8169         search domain names.
8171 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8173         [BZ #16469]
8174         * NEWS: Update.
8175         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8176         trailing dot.
8177         * posix/tst-getaddrinfo5.c: New.
8178         * posix/Makefile (tests): Add it.
8180 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8182         [BZ #14498]
8183         * NEWS: Fixed.
8184         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8185         after parsing line but before break_if_match.
8186         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8187         if there is a protocol mismatch.
8189 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8191         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8192         because the potential race is on the user-supplied stream.
8194 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8196         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8197         string literal if not passed a buffer.
8198         * manual/job.texi (ctermid): Update reasoning, note deviation
8199         from posix, suggest mtasurace when not passed a buffer, for
8200         future non-preliminary safety notes.
8202 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8204         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8205         of not passing it a buffer.
8206         Reported by Peng Haitao.
8208 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8210         * manual/Makefile ($(objpfx)stamp-summary): Require
8211         check-safety.sh to pass.
8212         * manual/check-safety.sh: Wish for verification that every
8213         @deftypefn and @deftypefun is followed by a @safety remark.
8215 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8217         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8219         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8220         PTHREAD_CANCEL_ASYNCHRONOUS.
8221         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8222         send SIGCANCEL.
8224         * nptl/default-sched.h: New file.
8225         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8226         * nptl/pthread_create.c: Include it.
8227         (__pthread_create_2_1): Use collect_default_sched instead of making
8228         Linux syscalls here directly.
8230 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8232         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8233         __pthread_once): Use C11 atomics.
8235 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8237         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8239 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8241         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8242         atomic_thread_fence_acquire, atomic_thread_fence_release,
8243         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8244         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8245         atomic_compare_exchange_weak_relaxed,
8246         atomic_compare_exchange_weak_acquire,
8247         atomic_compare_exchange_weak_release,
8248         atomic_exchange_acquire, atomic_exchange_release,
8249         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8250         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8251         atomic_fetch_and_acquire,
8252         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8254 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8256         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8257         USE_ATOMIC_COMPILER_BUILTINS): Define.
8258         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8260         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8261         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8262         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8264         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8266         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8267         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8268         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8269         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8270         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8271         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8272         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8273         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8274         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8275         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8276         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8277         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8278         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8279         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8280         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8281         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8282         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8283         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8284         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8285         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8286         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8287         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8288         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8289         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8290         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8291         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8292         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8293         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8294         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8295         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8296         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8297         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8299 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8301         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8302         the sched_priority value here.  It was already checked when the user
8303         called pthread_attr_setschedparam.
8305         * nptl/tst-bad-schedattr.c: New file.
8306         * nptl/Makefile (tests): Add it.
8308 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8309             Florian Weimer  <fweimer@redhat.com>
8310             Joseph Myers  <joseph@codesourcery.com>
8311             Adam Conrad  <adconrad@0c3.net>
8312             Andreas Schwab  <schwab@suse.de>
8313             Brooks  <bmoses@google.com>
8315         [BZ #17625]
8316         * wordexp-test.c (__dso_handle): Add prototype.
8317         (__register_atfork): Likewise.
8318         (__app_register_atfork): New function.
8319         (registered_forks): New global.
8320         (register_fork): New function.
8321         (test_case): Add 3 new tests for WRDE_CMDSUB.
8322         (main): Call __app_register_atfork.
8323         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8324         fork count is non-zero fail the test.
8325         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8326         is set.
8327         (parse_dollars): Remove check for WRDE_NOCMD.
8328         (parse_dquote): Likewise.
8330 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8332         * Makeconfig (built-modules): List non-library modules to be
8333         built.
8334         (module-cppflags): Include libc-modules.h for
8335         everything except shlib-versions.v.i.
8336         (CPPFLAGS): Use it.
8337         (before-compile): Add libc-modules.h.
8338         ($(common-objpfx)libc-modules.h,
8339         $(common-objpfx)libc-modules.stmp): New targets.
8340         (common-generated): Add libc-modules.h and libc-modules.stmp.
8341         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8342         * include/libc-symbols.h: Don't include libc-modules.h.
8343         * include/libc-modules.h: Remove file.
8344         * scripts/gen-libc-modules.awk: New script to generate
8345         libc-modules.h.
8346         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8347         Depend on libc-modules.stmp.
8349         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8351         * Makeconfig (in-module): Get value of libof set for the
8352         translation unit.
8353         (CPPFLAGS): Use $(in-module).
8354         * Makerules: Don't suffix routine names for nonlib.
8355         * include/libc-modules.h: New file.
8356         * include/libc-symbols.h: Include libc-modules.h
8357         (IS_IN): New macro to replace IS_IN_* macros.
8358         * elf/Makefile: Set libof-* for each routine.
8359         * elf/rtld-Rules: Likewise.
8360         * extra-modules.mk: Likewise.
8361         * iconv/Makefile: Likewise.
8362         * iconvdata/Makefile: Likewise.
8363         * locale/Makefile: Likewise.
8364         * malloc/Makefile: Likewise.
8365         * nss/Makefile: Likewise.
8366         * sysdeps/gnu/Makefile: Likewise.
8367         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8368         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8369         * sysdeps/s390/s390-64/Makefile: Likewise.
8370         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8371         CPPFLAGS for nscd instead of nonlib.
8373 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8375         * nptl/createthread.c: New file.
8377         * nptl/createthread.c: Moved ...
8378         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8380         * nptl/createthread.c: Add proper top-line comment.
8381         (do_clone): Folded into ...
8382         (create_thread): ... here.  Take new arguments STOPPED_START and
8383         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8384         increment __nptl_threads, do event-reporting logic, do
8385         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8386         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8387         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8388         just send SIGCANCEL.
8389         * nptl/pthread_create.c: Forward-declare create_thread before
8390         including createthread.c.
8391         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8392         declaration, and new macro START_THREAD_SELF to replace argument.
8393         Remove return statement.
8394         (report_thread_creation): New function.
8395         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8396         synchronization logic, and __nptl_nthreads increment here, around
8397         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8398         PD->parent_cancelhandling here, before create_thread.  When
8399         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8400         __deallocate_stack, and ENOMEM translation here.
8402 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8404         [BZ #17616]
8405         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8406         (mptwo): Rename to __mptwo.
8407         (__inv): Use __mptwo instead of mptwo.
8408         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8409         (mptwo): Rename to __mptwo.
8410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8411         of mpone and __mptwo instead of mptwo.
8412         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8413         instead of mpone.
8414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8415         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8416         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8417         of mpone and __mptwo instead of mptwo.
8418         (__mpranred): Use __mpone instead of mpone.
8419         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8420         variable.
8421         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8422         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8423         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8424         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8425         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8426         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8427         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8428         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8429         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8430         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8431         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8432         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8433         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8434         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8435         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8436         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8437         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8438         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8439         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8441 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8443         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8444         replace BSD Handler xref with BSD Signal Handling.
8446 2014-11-17  Richard Henderson  <rth@redhat.com>
8448         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8449         (_FP_PACK_RAW_2): Remove.
8450         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8451         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8452         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8453         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8454         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8455         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8456         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8457         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8458         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8459         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8460         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8461         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8462         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8463         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8464         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8465         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8467 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8469         * signal/signal.h [__USE_MISC]
8470         (struct sigvec): Remove type.
8471         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8472         (sigvec): Remove declaration.
8473         * sysdeps/posix/sigvec.c: Moved ...
8474         * signal/sigvec.c: ... here, replacing old file.
8475         (struct sigvec): New type, copied from old signal.h definition.
8476         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8477         (__sigvec): Convert definition to prototype.
8478         (sigvec): Replace weak_alias with compat_symbol.
8479         * signal/Versions (libc: GLIBC_2.21): New version set.
8480         * include/signal.h: Remove __sigvec declaration.
8481         * sysdeps/unix/bsd/sigvec.c: Remove file.
8482         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8483         * manual/signal.texi (BSD Handler): Remove subsection.
8484         Move siginterrupt up to ...
8485         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8486         (Blocking in BSD): Fold subsection into its parent.
8487         * NEWS: Mention sigvec removal.
8489 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8491         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8492         (DLA_FMS): Make definition conditional only on [__FMA4__].
8493         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8494         definition.
8496         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8497         Make definition conditional only on [PROF].
8498         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8499         definition.
8500         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8501         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8503         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8504         !__GNUC__].
8505         * include/signal.h (__sigpause): Move declaration above call to
8506         libc_hidden_proto.
8507         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8508         variable.
8509         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8510         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8512 2014-11-14  David S. Miller  <davem@davemloft.net>
8514         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8515         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8517 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8519         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8520         * configure: Regenerated.
8521         * manual/install.texi (Tools for Compilation): Document a
8522         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8523         compiler verified to work.
8524         * INSTALL: Regenerated.
8526         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8527         redeclare with asm name.
8528         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8529         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8530         including <string.h>.
8531         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8532         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8533         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8534         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8535         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8536         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8537         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8539 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8541         * stdlib/strtol.c (__strtol): Use prototype definition.
8543         [BZ #17594]
8544         * stdlib/strtol.c (SYM__): New macro.
8545         (SYM__1): Likewise.
8546         (__strtol): Likewise.
8547         (strtol): Rename to __strtol and define as weak alias of
8548         __strtol.  Use libc_hidden_weak.
8550 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8552         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8553         Use numbered labels in inline assembly.
8555 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8557         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8558         Add setjmp LIBC_PROBE.
8559         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8560         Likewise.
8561         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8562         Add longjmp, longjmp_target LIBC_PROBE.
8563         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8564         Likewise.
8566 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8568         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8569         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8570         to get rid of unused variable warning.
8572 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8574         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8575         Check for unwind_backtrace ==  NULL only in SHARED case.
8576         (__backchain_backtrace): Compile only in SHARED case.
8577         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8578         Likewise.
8579         (__backchain_backtrace): Declare as static.
8581 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8583         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8584         (__libc_multiple_threads_ptr): Variable moved ...
8585         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8587 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8589         * conform/GlibcConform.pm: New file.
8590         * conform/conformtest.pl: Use GlibcConform module.
8591         * conform/linknamespace.pl: New file.
8592         * conform/list-header-symbols.pl: Likewise.
8593         * conform/Makefile (linknamespace-symlists-base): New variable.
8594         (linknamespace-symlists-tests): Likewise.
8595         (linknamespace-header-base): Likewise.
8596         (linknamespace-header-tests): Likewise.
8597         (tests-special): Add new tests.
8598         ($(linknamespace-symlists-tests)): New rule.
8599         (linknamespace-libs): New variable.
8600         ($(objpfx)symlist-stdlibs): New rule.
8601         ($(linknamespace-header-tests)): Likewise.
8602         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8603         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8604         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8605         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8606         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8607         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8608         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8609         (test-xfail-ISO/math.h/linknamespace): Likewise.
8610         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8611         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8612         (test-xfail-ISO/time.h/linknamespace): Likewise.
8613         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8614         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8615         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8616         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8617         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8618         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8619         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8620         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8621         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8622         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8623         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8624         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8625         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8626         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8627         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8628         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8629         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8630         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8631         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8632         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8633         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8634         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8635         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8636         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8637         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8638         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8639         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8640         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8641         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8642         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8643         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8644         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8645         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8646         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8647         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8648         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8649         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8650         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8651         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8652         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8653         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8654         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8655         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8656         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8657         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8658         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8659         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8660         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8661         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8662         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8663         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8664         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8665         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8666         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8667         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8668         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8669         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8670         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8671         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8672         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8673         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8674         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8675         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8676         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8677         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8678         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8679         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8680         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8681         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8682         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8683         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8684         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8685         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8686         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8687         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8688         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8689         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8690         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8691         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8692         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8693         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8694         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8695         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8696         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8697         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8698         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8699         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8700         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8701         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8702         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8703         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8704         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8705         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8706         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8707         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8708         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8709         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8710         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8711         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8712         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8713         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8714         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8715         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8716         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8717         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8718         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8719         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8720         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8721         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8722         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8723         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8724         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8725         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8726         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8727         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8728         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8729         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8730         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8731         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8732         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8733         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8734         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8735         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8736         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8737         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8738         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8739         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8740         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8741         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8742         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8743         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8744         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8745         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8746         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8747         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8748         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8749         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8750         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8751         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8752         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8753         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8754         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8755         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8756         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8757         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8758         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8759         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8760         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8761         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8762         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8764         [BZ #17589]
8765         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8766         of fgets_unlocked.
8768         [BZ #17585]
8769         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8770         (memmem): Rename to __memmem and define as weak alias of
8771         __memmem.  Use libc_hidden_weak.
8772         (__memmem): Use libc_hidden_def.
8773         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8774         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8775         memmem.
8777         [BZ #17582]
8778         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8779         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8780         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8781         and define as weak alias of __fgets_unlocked.  Use
8782         libc_hidden_weak.
8783         (__fgets_unlocked): Use libc_hidden_def.
8784         * include/stdio.h (__fgets_unlocked): Declare.  Use
8785         libc_hidden_proto.
8786         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8787         __fgets_unlocked instead of fgets_unlocked.
8788         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8789         (GET_NPROCS_CONF_PARSER): Likewise.
8790         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8791         (GET_NPROCS_CONF_PARSER): Likewise.
8793         [BZ #17574]
8794         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8795         weak alias of __wmemset.  Use libc_hidden_weak.
8796         (__wmemset): Use libc_hidden_def.
8797         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8798         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8799         of wmemset.
8801         [BZ #17573]
8802         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8803         with asm name __mempcpy.
8804         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8806         [BZ #17572]
8807         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8808         and define as weak alias of __rawmemchr.
8809         (__rawmemchr): Do not define as strong alias of rawmemchr.
8811         [BZ #17571]
8812         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8813         alias of __qsort_r.
8814         (qsort): Call __qsort_r instead of qsort_r.
8815         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8816         (__qsort_r): Declare.  Call libc_hidden_proto.
8817         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8818         instead of qsort_r.
8819         * nscd/gai.c (__qsort_r): Define to qsort_r.
8820         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8821         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8822         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8824         [BZ #17570]
8825         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8826         define as weak alias of __malloc_info.
8828         [BZ #17584]
8829         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8830         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8831         (__rewinddir): Use libc_hidden_def.
8832         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8833         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8834         (__rewinddir): Use libc_hidden_def.
8835         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8836         weak alias of __rewinddir.  Don't use libc_hidden_def.
8837         (__rewinddir): Use libc_hidden_def.
8838         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8839         (__rewinddir): Use libc_hidden_proto.
8840         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8841         rewinddir.
8842         (__getcwd): Use __rewinddir instead of rewinddir.
8844         [BZ #17583]
8845         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8846         alias of __fileno.  Use libc_hidden_weak.
8847         (__fileno): Use libc_hidden_def.
8848         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8849         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8850         alias of __ftello.
8851         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8852         __ftello.
8853         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8854         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8855         libc_hidden_def.
8856         (fread_unlocked): Don't use libc_hidden_ver.
8857         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8858         and define as weak alias of __fread_unlocked.  Don't use
8859         libc_hidden_def.
8860         (__fread_unlocked): Use libc_hidden_def.
8861         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8862         (ftello): Don't use libc_hidden_proto.
8863         (__ftello): Declare.  Use libc_hidden_proto.
8864         (fread_unlocked): Don't use libc_hidden_proto.
8865         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8866         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8867         and __ftello instead of fileno, fread_unlocked and ftello.
8869 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8871         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8872         GOT12.
8873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8874         Likewise.
8875         (_dl_start_user): Likewise.
8876         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8878 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8879             Siddhesh Poyarekar  <siddhesh@redhat.com>
8881         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8882         Move argv and envp down instead of moving argc up.
8883         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8885 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8887         [BZ #17506]
8888         * test-skeleton.c (main): Return successful if one of
8889         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8890         * string/tst-strcoll-overflow.c: Define expected status.
8892 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8894         [BZ #17475]
8895         * locale/iso-639.def: Define Bhili and Tulu language codes.
8897 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8899         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8901 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8903         [BZ #17555]
8904         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8906 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8908         * configure.ac: Updated check of minimal required version to
8909         2.22.
8910         * manual/install.texi (Tools for Compilation): Updated version
8911         number.
8912         * configure: Regenerated.
8913         * INSTALL: Likewise.
8915 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8917         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8918         __tls_get_addr.
8920 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8922         * include/sys/wait.h (__libc_waitpid): Remove declaration.
8923         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8924         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8925         libc_hidden_weak.
8926         (waitpid): Define as alias of __waitpid.
8927         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8928         __waitpid.
8929         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8930         libc_hidden_weak.
8931         (waitpid): Define as alias of __waitpid.
8932         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8933         __libc_waitpid alias.
8934         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8935         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8938         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8939         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8940         alias.
8941         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8942         __waitpid.
8943         (__waitpid): Don't define as alias.  Use libc_hidden_def not
8944         libc_hidden_weak.
8945         (waitpid): Define as alias of __waitpid.
8947 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
8949         * manual/llio.texi: Add comment that write safety has been
8950         fixed in Linux.
8952         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8953         (localplt-build-dso): Add elf/ld.so.
8954         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8955         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8956         and free for ld.so.
8957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8958         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8962         Likewise.
8963         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8964         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8965         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8966         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8967         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8968         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8969         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8970         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8971         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8972         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8973         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8975 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
8977         [BZ #14132]
8978         * include/libc-symbols.h (INTUSE): Remove macro.
8979         (INTDEF): Likewise.
8980         (INTVARDEF): Likewise.
8981         (_INTVARDEF): Likewise.
8982         (INTDEF2): Likewise.
8983         (INTVARDEF2): Likewise.
8984         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8985         rtld_hidden_def instead of INTVARDEF.
8986         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8987         (_dl_starting_up_internal): Remove declaration.
8988         (_dl_starting_up): Use rtld_hidden_proto.
8989         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8990         declaration.
8991         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8992         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8993         _dl_starting_up.
8994         * elf/dl-writev.h (_dl_writev): Likewise.
8995         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8996         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8997         _dl_starting_up_internal.
8999 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9001         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9002         test-skeleton.c.
9004 2014-11-05  Will Newton  <will.newton@linaro.org>
9006         * benchtests/Makefile: (bench-malloc): Add malloc thread
9007         scalability benchmark.
9008         * benchtests/bench-malloc-threads.c: New file.
9010 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9012         * sysdeps/aarch64/strchrnul.S: New file.
9014 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9016         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9017         definition.
9018         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9019         Likwise.
9020         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9021         Likewise.
9022         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9023         Likewise.
9024         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9025         Likewise.
9026         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9027         Likewise.
9029 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9031         * catgets/test-gencat.c: Use test-skeleton.c.
9032         * catgets/tst-catgets.c: Likewise.
9033         * csu/tst-empty.c: Likewise.
9034         * elf/tst-audit2.c: Likewise.
9035         * elf/tst-global1.c: Likewise.
9036         * elf/tst-pathopt.c: Likewise.
9037         * elf/tst-piemod1.c: Likewise.
9038         * elf/tst-tls10.c: Likewise.
9039         * elf/tst-tls11.c: Likewise.
9040         * elf/tst-tls12.c: Likewise.
9041         * gnulib/tst-gcc.c: Likewise.
9042         * iconvdata/tst-e2big.c: Likewise.
9043         * iconvdata/tst-loading.c: Likewise.
9044         * iconv/tst-iconv1.c: Likewise.
9045         * iconv/tst-iconv2.c: Likewise.
9046         * inet/test-inet6_opt.c: Likewise.
9047         * inet/tst-gethnm.c: Likewise.
9048         * inet/tst-network.c: Likewise.
9049         * inet/tst-ntoa.c: Likewise.
9050         * intl/tst-codeset.c: Likewise.
9051         * intl/tst-gettext2.c: Likewise.
9052         * intl/tst-gettext3.c: Likewise.
9053         * intl/tst-ngettext.c: Likewise.
9054         * intl/tst-translit.c: Likewise.
9055         * io/test-stat.c: Likewise.
9056         * libio/test-fmemopen.c: Likewise.
9057         * libio/tst-freopen.c: Likewise.
9058         * libio/tst-sscanf.c: Likewise.
9059         * libio/tst-ungetwc1.c: Likewise.
9060         * libio/tst-ungetwc2.c: Likewise.
9061         * libio/tst-widetext.c: Likewise.
9062         * localedata/tst-ctype.c: Likewise.
9063         * localedata/tst-digits.c: Likewise.
9064         * localedata/tst-leaks.c: Likewise.
9065         * localedata/tst-mbswcs1.c: Likewise.
9066         * localedata/tst-mbswcs2.c: Likewise.
9067         * localedata/tst-mbswcs3.c: Likewise.
9068         * localedata/tst-mbswcs4.c: Likewise.
9069         * localedata/tst-mbswcs5.c: Likewise.
9070         * localedata/tst-setlocale.c: Likewise.
9071         * localedata/tst-trans.c: Likewise.
9072         * localedata/tst-wctype.c: Likewise.
9073         * localedata/tst-xlocale1.c: Likewise.
9074         * login/tst-grantpt.c: Likewise.
9075         * malloc/tst-calloc.c: Likewise.
9076         * malloc/tst-malloc.c: Likewise.
9077         * malloc/tst-mallocstate.c: Likewise.
9078         * malloc/tst-mcheck.c: Likewise.
9079         * malloc/tst-mtrace.c: Likewise.
9080         * malloc/tst-obstack.c: Likewise.
9081         * math/atest-exp2.c: Likewise.
9082         * math/atest-exp.c: Likewise.
9083         * math/atest-sincos.c: Likewise.
9084         * math/test-matherr.c: Likewise.
9085         * math/test-misc.c: Likewise.
9086         * math/test-powl.c: Likewise.
9087         * math/tst-definitions.c: Likewise.
9088         * misc/tst-dirname.c: Likewise.
9089         * misc/tst-efgcvt.c: Likewise.
9090         * misc/tst-fdset.c: Likewise.
9091         * misc/tst-hsearch.c: Likewise.
9092         * misc/tst-mntent2.c: Likewise.
9093         * nptl/tst-sem7.c: Likewise.
9094         * nptl/tst-sem8.c: Likewise.
9095         * nptl/tst-sem9.c: Likewise.
9096         * nss/test-netdb.c: Likewise.
9097         * posix/tst-fnmatch.c: Likewise.
9098         * posix/tst-getlogin.c: Likewise.
9099         * posix/tst-gnuglob.c: Likewise.
9100         * posix/tst-mmap.c: Likewise.
9101         * pwd/tst-getpw.c: Likewise.
9102         * resolv/tst-inet_ntop.c: Likewise.
9103         * rt/tst-timer.c: Likewise.
9104         * stdio-common/test-fseek.c: Likewise.
9105         * stdio-common/test-popen.c: Likewise.
9106         * stdio-common/test-vfprintf.c: Likewise.
9107         * stdio-common/tst-cookie.c: Likewise.
9108         * stdio-common/tst-fileno.c: Likewise.
9109         * stdio-common/tst-gets.c: Likewise.
9110         * stdio-common/tst-obprintf.c: Likewise.
9111         * stdio-common/tst-perror.c: Likewise.
9112         * stdio-common/tst-sprintf2.c: Likewise.
9113         * stdio-common/tst-sprintf3.c: Likewise.
9114         * stdio-common/tst-sprintf.c: Likewise.
9115         * stdio-common/tst-swprintf.c: Likewise.
9116         * stdio-common/tst-tmpnam.c: Likewise.
9117         * stdio-common/tst-unbputc.c: Likewise.
9118         * stdio-common/tst-wc-printf.c: Likewise.
9119         * stdlib/tst-environ.c: Likewise.
9120         * stdlib/tst-fmtmsg.c: Likewise.
9121         * stdlib/tst-limits.c: Likewise.
9122         * stdlib/tst-rand48-2.c: Likewise.
9123         * stdlib/tst-rand48.c: Likewise.
9124         * stdlib/tst-random2.c: Likewise.
9125         * stdlib/tst-random.c: Likewise.
9126         * stdlib/tst-strtol.c: Likewise.
9127         * stdlib/tst-strtoll.c: Likewise.
9128         * stdlib/tst-tls-atexit.c: Likewise.
9129         * stdlib/tst-xpg-basename.c: Likewise.
9130         * string/test-ffs.c: Likewise.
9131         * string/tst-bswap.c: Likewise.
9132         * string/tst-inlcall.c: Likewise.
9133         * string/tst-strtok.c: Likewise.
9134         * string/tst-strxfrm.c: Likewise.
9135         * sysdeps/x86_64/tst-audit10.c: Likewise.
9136         * sysdeps/x86_64/tst-audit3.c: Likewise.
9137         * sysdeps/x86_64/tst-audit4.c: Likewise.
9138         * sysdeps/x86_64/tst-audit5.c: Likewise.
9139         * time/tst-ftime_l.c: Likewise.
9140         * time/tst-getdate.c: Likewise.
9141         * time/tst-mktime3.c: Likewise.
9142         * time/tst-mktime.c: Likewise.
9143         * time/tst-posixtz.c: Likewise.
9144         * time/tst-strptime2.c: Likewise.
9145         * time/tst-strptime3.c: Likewise.
9146         * wcsmbs/tst-btowc.c: Likewise.
9147         * wcsmbs/tst-mbrtowc.c: Likewise.
9148         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9149         * wcsmbs/tst-wchar-h.c: Likewise.
9150         * wcsmbs/tst-wcpncpy.c: Likewise.
9151         * wcsmbs/tst-wcrtomb.c: Likewise.
9152         * wcsmbs/tst-wcsnlen.c: Likewise.
9153         * wcsmbs/tst-wcstof.c: Likewise.
9155 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9157         [BZ #14132]
9158         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9159         INTDEF.
9160         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9161         declaration.
9162         (_dl_mcount): Use rtld_hidden_proto.
9163         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9164         _dl_mcount.
9165         * elf/rtld.c (_rtld_global_ro): Likewise.
9167         [BZ #14132]
9168         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9169         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9170         of _dl_init_internal.
9171         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9172         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9173         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9174         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9175         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9176         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9177         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9178         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9179         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9180         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9181         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9182         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9183         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9184         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9185         * sysdeps/tile/dl-start.S (_start): Likewise.
9186         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9187         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9189         [BZ #14132]
9190         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9191         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9192         (rtld_progname): Make macro definition unconditional.
9193         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9194         INTDEF.
9195         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9196         (dl_main): Likewise.
9197         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9198         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9199         instead of _dl_argv_internal.
9200         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9201         __GI__dl_argv instead of INTUSE(_dl_argv).
9202         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9203         __GI__dl_argv instead of _dl_argv_internal.
9205         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9206         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9207         macro.
9208         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9209         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9210         New macro.
9211         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9212         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9213         macro.
9214         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9215         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9217 2014-11-04  Andreas Schwab  <schwab@suse.de>
9219         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9221 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9223         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9224         mtvsrd instruction in binary form.
9226 2014-11-03  Andreas Schwab  <schwab@suse.de>
9228         [BZ #17522]
9229         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9230         for less than MB_LEN_MAX use a local buffer of that size.
9231         * libio/tst-fputws.c: New file.
9232         * libio/Makefile (tests): Add tst-fputws.
9234 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9236         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9237         the size of the fpu_fr.fpu_dregs[] array.
9239 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9241         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9242         (__nanosleep): Do not define as alias.
9243         (nanosleep): Define as alias of __nanosleep.
9244         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9245         __libc_nanosleep name.
9247 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9249         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9250         install.texi in comment.
9252 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9254         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9255         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9256         ... add here and use lwsync or sync ...
9257         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9258         ... and add here using lwsync.
9260 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9262         * elf/dl-machine-reject-phdr.h: New file.
9263         * elf/dl-load.c: #include that.
9264         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9265         if that returned true.
9267 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9269         [BZ #17496]
9270         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9271         gen-as-const-headers chunk.  Add a big scare comment after the last
9272         safe place to touch before-compile.
9274 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9276         * manual/install.texi (Tools for Compilation): Update autoconf
9277         version requirements.
9278         * INSTALL: Regenerated.
9280         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9281         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9282         (__libc_pselect): Likewise.
9284         [BZ #14138]
9285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9290 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9292         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9293         correct barrier instruction.
9294         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9295         Likewise.
9296         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9297         Likewise.
9299 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9301         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9302         after defining inlines.  Instead, just use parens to defeat macro
9303         expansion of __isctype in its declaration.
9305 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9307         * include/sys/uio.h (__libc_readv): Remove declaration.
9308         (__libc_writev): Likewise.
9309         * misc/readv.c (__libc_readv): Rename to __readv.
9310         (__readv): Do not define as alias.
9311         (readv): Define as alias of __readv.
9312         * misc/writev.c (__libc_writev): Rename to __writev.
9313         (__writev): Do not define as alias.
9314         (writev): Define as alias of __writev.
9315         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9316         (__readv): Do not define as alias.
9317         (readv): Define unconditionally as alias of __readv.
9318         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9319         (__writev): Do not define as alias.
9320         (writev): Define unconditionally as alias of __writev.
9321         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9322         name.
9323         (writev): Do not define __libc_writev name.
9325 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9327         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9328         (convert_charseq): New function, broken out of ...
9329         (use_from_charmap): ... here.  Call it.
9330         (use_to_charmap): Use convert_charseq and free instead of duplicating
9331         its code with a variable-length stack struct.
9333 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9335         * include/fcntl.h (__libc_creat): Remove declaration.
9336         * io/creat.c (__libc_creat): Rename to creat.
9337         (creat): Do not define as alias.
9338         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9339         of creat instead of __libc_creat.
9340         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9341         to creat.
9342         (creat): Do not define as alias.
9343         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9344         __libc_creat.
9345         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9346         __libc_creat name.
9347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9348         Likewise.
9350 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9352         * manual/llio.texi: Add comments discussing why write() may be
9353         considered MT-unsafe on Linux.
9355 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9357         * dl-load.c (local_strdup): Remove.
9358         (expand_dynamic_string_token): Use __strdup.
9359         (decompose_rpath): Likewise.
9360         (_dl_map_object): Likewise.
9362 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #14132]
9365         * sysdeps/generic/unwind-dw2-fde.c
9366         (__register_frame_info_bases_internal): Do not declare.
9367         (__register_frame_info_table_bases_internal): Likewise.
9368         (__deregister_frame_info_bases_internal): Likewise.
9369         (__register_frame_info_bases): Declare and use hidden_proto before
9370         definition.  Use hidden_def instead of INTDEF.
9371         (__register_frame_info_table_bases): Likewise.
9372         (__deregister_frame_info_bases): Likewise.
9373         (__register_frame_info): Do not use INTUSE.
9374         (__register_frame): Likewise.
9375         (__register_frame_info_table): Likewise.
9376         (__register_frame_table): Likewise.
9377         (__deregister_frame_info): Likewise.
9378         (__deregister_frame): Likewise.
9380 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9383         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9384         not undefine.
9385         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9386         Likewise.
9387         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9388         Likewise.
9390 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9392         [BZ #14138]
9393         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9394         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9395         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9396         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9397         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9398         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9399         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9400         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9401         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9402         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9403         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9404         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9405         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9406         syscall.
9407         (setfsuid): Likewise.
9408         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9409         (setfsuid): Likewise.
9410         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9411         (setfsuid): Likewise.
9412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9413         Likewise.
9414         (setfsuid): Likewise.
9415         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9416         (setfsuid): Likewise.
9417         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9418         Likewise.
9419         (setfsuid): Likewise.
9421 2014-10-27  Andreas Schwab  <schwab@suse.de>
9423         [BZ #17501]
9424         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9425         check for Slow_SSE4_2 feature bit.
9426         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9427         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9428         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9429         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9431 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9433         * configure.ac: Validate compiler version with a empirical test of
9434         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9435         $CC -v output.
9436         * configure: Regenerated.
9438         * inet/htons.c (htons): Prototypify.
9439         * inet/htonl.c (htonl): Likewise.
9441 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9443         * string/strncat.c (strncat): Improve performance by using strlen.
9445 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9447         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9449 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9451         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9452         Call libc_fetestexcept_aarch64.
9454 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9456         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9457         Call libc_feholdexcept_aarch64.
9459 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9461         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9462         Call get_rounding_mode.
9464 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9466         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9467         Simplify logic.
9469 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9471         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9472         Simplify logic.
9474 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9476         [BZ #14138]
9477         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9478         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9479         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9480         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9481         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9482         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9483         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9484         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9485         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9486         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9487         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9488         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9489         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9490         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9491         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9492         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9493         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9494         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9495         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9496         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9497         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9498         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9499         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9500         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9501         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9502         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9503         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9504         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9505         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9506         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9507         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9508         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9509         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9510         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9511         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9512         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9513         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9515         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9517         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9518         syscall.
9519         (geteuid): Likewise.
9520         (getgid): Likewise.
9521         (getuid): Likewise.
9522         (getresgid): Likewise.
9523         (getresuid): Likewise.
9524         (getgroups): Likewise.
9525         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9526         (geteuid): Likewise.
9527         (getgid): Likewise.
9528         (getuid): Likewise.
9529         (getresgid): Likewise.
9530         (getresuid): Likewise.
9531         (getgroups): Likewise.
9532         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9533         (geteuid): Likewise.
9534         (getgid): Likewise.
9535         (getuid): Likewise.
9536         (getresgid): Likewise.
9537         (getresuid): Likewise.
9538         (getgroups): Likewise.
9539         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9540         Likewise.
9541         (geteuid): Likewise.
9542         (getgid): Likewise.
9543         (getuid): Likewise.
9544         (getresgid): Likewise.
9545         (getresuid): Likewise.
9546         (getgroups): Likewise.
9547         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9548         (geteuid): Likewise.
9549         (getgid): Likewise.
9550         (getuid): Likewise.
9551         (getresgid): Likewise.
9552         (getresuid): Likewise.
9553         (getgroups): Likewise.
9554         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9555         Likewise.
9556         (geteuid): Likewise.
9557         (getgid): Likewise.
9558         (getuid): Likewise.
9559         (getgroups): Likewise.
9561         [BZ #14138]
9562         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9563         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9564         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9565         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9566         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9567         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9568         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9569         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9570         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9571         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9572         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9573         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9574         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9575         __chown.
9576         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9577         (lchown): Likewise.
9578         (fchown): Likewise.
9579         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9580         Likewise.
9581         (lchown): Likewise.
9582         (fchown): Likewise.
9583         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9584         (lchown): Likewise.
9585         (fchown): Likewise.
9586         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9587         Likewise.
9588         (lchown): Likewise.
9589         (fchown): Likewise.
9591 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9593         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9594         Simplify logic.
9596 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9598         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9599         Cleanup logic.
9601 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9603         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9604         Remove unused include.
9606 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9608         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9609         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9610         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9611         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9613 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9614             Helge Deller <deller@gmx.de>
9616         [BZ #17508]
9617         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9618         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9619         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9621 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9623         [BZ #14132]
9624         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9625         Remove macro definition.
9626         (__ashrdi3_v_glibc20): Likewise.
9627         (__lshrdi3_v_glibc20): Likewise.
9628         (__cmpdi2_v_glibc20): Likewise.
9629         (__ucmpdi2_v_glibc20): Likewise.
9630         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9631         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9632         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9633         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9634         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9635         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9637 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9639         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9640         old GNU extension [0] syntax.
9641         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9642         alloca rather than an array member with variable length.
9643         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9644         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9645         (parse_opt): ... here.  Likewise use alloca there.
9646         Validate the -i argument before checking for rootness.
9647         (send_shutdown): New function, broken out of ...
9648         (parse_opt): ... here.
9650 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9652         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9653         macro to get at the _rt_local_ro field.
9654         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9655         ([PIC] case) or _dl_hwcap ([!PIC] case).
9656         * sysdeps/arm/setjmp.S: Likewise.
9658         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9659         * sysdeps/arm/configure.ac: New check to define it.
9660         * sysdeps/arm/configure: Regenerated.
9661         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9662         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9663         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9664         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9665         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9666         Use move/movt pair instead of a load.
9667         (LDST_GLOBAL): Macro removed.
9668         (LDR_GLOBAL): New macro replaces it.
9669         (LDR_HIDDEN): New macro.
9670         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9671         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9673         * setjmp/tst-setjmp-static.c: New file.
9674         * setjmp/Makefile (tests): Add it.
9675         (tests-static): New variable.
9677 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9679         [BZ #17485]
9680         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9682 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9684         [BZ #14132]
9685         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9687 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9689         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9691 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9693         * io/fts.c (dirent_not_directory): New function.
9694         (fts_build): Call it.
9696 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9698         * nptl/version.c (__nptl_main): Use normal __write rather than
9699         INTERNAL_SYSCALL.
9700         (banner): Update copyright years.
9702         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9703         gettimeofday.
9704         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9705         * nptl/pthread_cond_timedwait.c: Likewise.
9706         * nptl/pthread_mutex_timedlock.c: Likewise.
9707         * nptl/sem_timedwait.c: Likewise.
9709         * sysdeps/nptl/bits/libc-lock.h
9710         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9711         (__libc_lock_init_recursive): Return void, not 0.
9712         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9713         (__libc_rwlock_init): Likewise.
9714         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9716 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9718         [BZ #15215]
9719         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9720         (__pthread_once_slow): ... here.
9721         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9722         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9724 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9726         [BZ #15215]
9727         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9728         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9729         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9730         * nptl/pthread_once.c (__pthread_once): Likewise.
9731         Update comments.
9733 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9735         [BZ #14138]
9736         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9737         name.
9738         (writev): Use __libc_writev as strong name.
9739         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9740         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9742 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9744         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9746         * sysdeps/i386/nptl/tls.h
9747         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9748         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9749         New macros.
9750         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9751         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9752         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9753         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9754         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9755         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9757         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9758         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9759         on [__NR_futex].
9760         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9761         broken out of ...
9762         (__pthread_mutex_init): ... here.  Call it.
9763         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9764         Conditionalize PI cases on [__NR_futex].
9765         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9766         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9767         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9769         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9770         conditional on [SIGSETXID].
9771         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9772         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9773         is defined.  Likewise for SIGSETXID.
9774         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9775         Conditionalize definitions on [SIGSETXID].
9776         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9777         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9778         unblocking on [SIGCANCEL].
9780         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9781         [__NR_set_robust_list].
9783 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9785         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9786         (do_compare): Likewise.
9788 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9790         [BZ #15884]
9791         * string/strcoll_l.c: Don't include stdio.h.
9792         (coll_seq): Remove members idxarr and rulearr.
9793         (get_next_seq_cached): Remove function.
9794         (get_next_seq): Likewise.
9795         (get_next_seq_nocache): Rename to get_next_seq.
9796         (do_compare): Remove function.
9797         (do_compare_nocache): Rename to do_compare.
9798         (STRCOLL): Remove weight and rules cache.
9800 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9802         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9803         * sysdeps/arm/sfp-machine.h: ... to here.
9804         * sysdeps/arm/Implies: Remove arm/soft-fp.
9806 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9808         * conform/data/sys/utsname.h-data (*_t): Allow.
9809         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9810         [POSIX] (WEXITED): Do not expect constant.
9811         [POSIX] (WSTOPPED): Likewise.
9812         [POSIX] (WNOHANG): Likewise.
9813         [POSIX] (WNOWAIT): Likewise.
9814         [POSIX] (siginfo_t): Do not expect type or elements.
9815         [POSIX] (pid_t): Do not expect type.
9816         [POSIX] (signal.h): Do not allow header.
9817         [POSIX] (sys/resource.h): Likewise.
9818         [POSIX] (si_*): Do not allow pattern.
9819         [POSIX] (W*): Likewise.
9820         [POSIX] (P_*): Likewise.
9821         [POSIX] (BUS_*): Likewise.
9822         [POSIX] (CLD_*): Likewise.
9823         [POSIX] (FPE_*): Likewise.
9824         [POSIX] (ILL_*): Likewise.
9825         [POSIX] (POLL_*): Likewise.
9826         [POSIX] (SEGV_*): Likewise.
9827         [POSIX] (SI_*): Likewise.
9828         [POSIX] (TRAP_*): Likewise.
9829         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9830         variable.
9832 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9834         [BZ #12926]
9835         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9836         infinite loop when __recvmsg returns 0.
9838 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9840         * CANCEL-FCT-WAIVE: Remove file.
9841         * CANCEL-FILE-WAIVE: Likewise.
9843         [BZ #14132]
9844         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9845         instead of INTVARDEF.
9846         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9847         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9848         rtld_hidden_data_def instead of INTVARDEF.
9849         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9850         * elf/dl-deps.c (expand_dst): Likewise.
9851         * elf/dl-load.c (_dl_dst_count): Likewise.
9852         (_dl_dst_substitute): Likewise.
9853         (decompose_rpath): Likewise.
9854         (_dl_init_paths): Likewise.
9855         (open_path): Likewise.
9856         (_dl_map_object): Likewise.
9857         * elf/rtld.c (dl_main): Likewise.
9858         (process_dl_audit): Likewise.
9859         (process_envvars): Likewise.
9860         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9861         Remove declaration.
9862         (__libc_enable_secure): Use rtld_hidden_proto.
9864 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9866         * elf/dl-load.c
9867         (add_path): New function broken out of _dl_rtld_di_serinfo.
9868         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9870 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9872         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9873         parentheses around macro arguments.
9874         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9876         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9880         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9884         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9885         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9888         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9889         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9890         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9892         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9894         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9898         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9901         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9902         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9903         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9905         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9906         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9907         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9908         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9909         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9910         Likewise.
9911         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9912         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9913         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9914         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9915         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9916         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9917         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9918         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9919         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9920         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9921         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9922         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9923         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9924         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9926         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9928         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9931         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9932         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9933         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9934         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9935         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9936         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9937         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9938         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9939         (_FP_FRAC_SRS_1): Likewise.
9940         (_FP_FRAC_CLZ_1): Likewise.
9941         (_FP_MUL_MEAT_1_imm): Likewise.
9942         (_FP_MUL_MEAT_1_wide): Likewise.
9943         (_FP_MUL_MEAT_1_hard): Likewise.
9944         (_FP_SQRT_MEAT_1): Likewise.
9945         (_FP_FRAC_ASSEMBLE_1): Likewise.
9946         (_FP_FRAC_DISASSEMBLE_1): Likewise.
9947         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9948         (__FP_CLZ_2): Likewise.
9949         (_FP_MUL_MEAT_2_wide): Likewise.
9950         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9951         (_FP_MUL_MEAT_2_gmp): Likewise.
9952         (_FP_MUL_MEAT_2_120_240_double): Likewise.
9953         (_FP_SQRT_MEAT_2): Likewise.
9954         (_FP_FRAC_ASSEMBLE_2): Likewise.
9955         (_FP_FRAC_DISASSEMBLE_2): Likewise.
9956         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9957         (_FP_FRAC_CLZ_4): Likewise.
9958         (_FP_MUL_MEAT_4_wide): Likewise.
9959         (_FP_MUL_MEAT_4_gmp): Likewise.
9960         (_FP_SQRT_MEAT_4): Likewise.
9961         (_FP_FRAC_ASSEMBLE_4): Likewise.
9962         (_FP_FRAC_DISASSEMBLE_4): Likewise.
9963         * soft-fp/op-common.h (_FP_CMP): Likewise.
9964         (_FP_CMP_EQ): Likewise.
9965         (_FP_CMP_UNORD): Likewise.
9966         (_FP_TO_INT): Likewise.
9967         (_FP_FROM_INT): Likewise.
9968         [!__FP_CLZ] (__FP_CLZ): Likewise.
9969         (_FP_DIV_HELP_imm): Likewise.
9970         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9971         Likewise.
9972         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9974         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9976         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9977         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9978         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9979         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9980         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9981         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9982         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9983         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9984         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9985         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9986         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9987         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9988         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9989         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9990         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9994         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9995         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9996         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9997         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9998         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9999         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10000         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10001         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10002         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10003         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10004         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10005         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10006         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10007         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10008         (FP_UNPACK_RAW_SP): Likewise.
10009         (FP_PACK_RAW_S): Likewise.
10010         (FP_PACK_RAW_SP): Likewise.
10011         (FP_UNPACK_S): Likewise.
10012         (FP_UNPACK_SP): Likewise.
10013         (FP_UNPACK_SEMIRAW_S): Likewise.
10014         (FP_UNPACK_SEMIRAW_SP): Likewise.
10015         (FP_PACK_S): Likewise.
10016         (FP_PACK_SP): Likewise.
10017         (FP_PACK_SEMIRAW_S): Likewise.
10018         (FP_PACK_SEMIRAW_SP): Likewise.
10019         (_FP_SQRT_MEAT_S): Likewise.
10020         (FP_CMP_S): Likewise.
10021         (FP_CMP_EQ_S): Likewise.
10022         (FP_CMP_UNORD_S): Likewise.
10023         (FP_TO_INT_S): Likewise.
10024         (FP_FROM_INT_S): Likewise.
10026         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10028         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10029         (FP_EX_INVALID_IMZ): Likewise.
10030         (FP_EX_INVALID_IMZ_FMA): Likewise.
10031         (FP_EX_INVALID_ISI): Likewise.
10032         (FP_EX_INVALID_ZDZ): Likewise.
10033         (FP_EX_INVALID_IDI): Likewise.
10034         (FP_EX_INVALID_SQRT): Likewise.
10035         (FP_EX_INVALID_CVI): Likewise.
10036         (FP_EX_INVALID_VC): Likewise.
10037         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10038         "invalid" exceptions.
10039         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10040         (_FP_ADD_INTERNAL): Likewise.
10041         (_FP_MUL): Likewise.
10042         (_FP_FMA): Likewise.
10043         (_FP_DIV): Likewise.
10044         (_FP_CMP_CHECK_NAN): Likewise.
10045         (_FP_SQRT): Likewise.
10046         (_FP_TO_INT): Likewise.
10047         (FP_EXTEND): Likewise.
10049 2014-10-09  Allan McRae  <allan@archlinux.org>
10051         * po/fr.po: Update French translation from translation project.
10053 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10055         [BZ #14132]
10056         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10057         of INTDEF.
10058         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10059         (__cxa_atexit): Use libc_hidden_proto.
10060         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10062         [BZ #14132]
10063         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10064         declaration.
10065         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10066         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10067         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10068         [!_ISOMAC] (__iswctype_internal): Likewise.
10069         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10070         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10071         alias.
10072         (fcntl): Remove __fcntl_internal alias.
10073         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10074         __connect_internal alias.
10075         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10076         Likewise.
10078         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10080         FP_DENORM_ZERO.
10081         (_FP_CHECK_FLUSH_ZERO): New macro.
10082         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10083         (_FP_CMP): Likewise.
10084         (_FP_CMP_EQ): Likewise.
10085         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10086         FP_DENORM_ZERO.
10087         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10088         (FP_TRUNC): Likewise.
10090         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10091         treated as invalid conversion, not as normal exponent.
10093         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10094         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10095         (_FP_CMP_EQ): Likewise.
10096         (_FP_CMP_UNORD): Likewise.
10097         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10098         (FP_CMP_EQ_D): Likewise.
10099         (FP_CMP_UNORD_D): Likewise.
10100         * soft-fp/extended.h (FP_CMP_E): Likewise.
10101         (FP_CMP_EQ_E): Likewise.
10102         (FP_CMP_UNORD_E): Likewise.
10103         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10104         (FP_CMP_EQ_Q): Likewise.
10105         (FP_CMP_UNORD_Q): Likewise.
10106         * soft-fp/single.h (FP_CMP_S): Likewise.
10107         (FP_CMP_EQ_S): Likewise.
10108         (FP_CMP_UNORD_S): Likewise.
10109         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10110         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10111         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10112         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10113         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10114         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10115         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10116         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10117         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10118         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10119         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10120         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10121         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10122         to FP_CMP_Q.
10123         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10124         FP_CMP_Q.
10125         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10126         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10127         FP_CMP_EQ_Q.
10128         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10129         FP_CMP_Q.
10130         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10131         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10132         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10133         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10134         FP_CMP_EQ_Q.
10135         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10136         FP_CMP_Q.
10137         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10138         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10139         FP_CMP_EQ_Q.
10140         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10141         FP_CMP_Q.
10142         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10143         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10144         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10145         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10146         FP_CMP_EQ_Q.
10148         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10149         a subnormal result, set the underflow exception if trapping on
10150         underflow is enabled.
10151         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10152         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10153         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10154         redefine to 0.
10155         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10156         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10157         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10158         * soft-fp/extendxftf2.c (__extendxftf2): Use
10159         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10161         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10162         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10163         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10164         FP_HANDLE_EXCEPTIONS.
10165         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10166         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10167         FP_HANDLE_EXCEPTIONS.
10168         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10169         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10170         FP_HANDLE_EXCEPTIONS.
10171         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10172         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10173         FP_HANDLE_EXCEPTIONS.
10175 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10177         [BZ #14132]
10178         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10179         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10180         use INTUSE.
10181         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10182         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10183         Remove alias.
10184         (__adjtimex): Define using libc_hidden_ver.
10185         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10186         Remove declaration.
10187         (ntp_gettime): Call __adjtimex directly.
10188         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10189         Remove declaration.
10190         (ntp_gettimex): Call __adjtimex directly.
10191         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10192         __adjtimex_internal alias.
10194 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10196         [BZ #17460]
10197         * nscd/nscd.c (more_help): Rewrite list of tables collection
10198         using xstrdup and asprintf.
10200         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10202 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10203             Roland McGrath  <roland@hack.frob.com>
10205         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10206         (do_lookup_unique): ... local function 'enter' here; update callers.
10208 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10210         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10211         compat_symbol calls on [SHARED].
10212         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10213         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10214         Remove.
10215         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10216         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10217         (oldsetrlimit): Remove.
10218         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10220         (lchown): New syscall entry.
10221         (oldsetrlimit): Remove.
10222         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10224         (oldsetrlimit): Remove.
10225         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10227         [BZ #14138]
10228         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10229         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10230         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10231         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10232         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10233         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10234         (fchown): Likewise.
10235         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10236         (fchown): Likewise.
10237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10238         Likewise.
10240 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10243         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10244         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10245         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10246         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10247         Likewise.
10248         (__old_sem_post): Likewise.
10250 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10252         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10253         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10254         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10255         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10256         Use INLINE_VSYSCALL macro.
10257         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10258         __vdso_clock_gettime.
10259         * sysdeps/unix/sysv/linux/tile/init-first.c
10260         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10261         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10262         __vdso_clock_gettime.
10264         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10265         to set up frame more cleanly.
10267         * sysdeps/tile/memcmp.c: New file.
10269         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10271         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10272         * sysdeps/tile/tilegx/strcasestr.c: New file.
10273         * sysdeps/tile/tilegx/strnlen.c: New file.
10274         * sysdeps/tile/tilegx/strstr.c: New file.
10276         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10278 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10280         * nptl/tst-setuid3.c: Write errors to stdout.
10282 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10284         * elf/dl-deps.c
10285         (preload): New functions broken out of _dl_map_object_deps.
10286         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10288 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10290         [BZ #14138]
10291         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10292         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10294 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10296         * sysdeps/mips/strcmp.S: New.
10298 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10300         [BZ #14138]
10301         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10302         (linkat): Likewise.
10303         (mkdirat): Likewise.
10304         (readlinkat): Likewise.
10305         (renameat): Likewise.
10306         (symlinkat): Likewise.
10307         (unlinkat): Likewise.
10308         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10309         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10310         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10311         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10312         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10313         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10314         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10316 2014-09-30  Will Newton  <will.newton@linaro.org>
10318         * math/math.h: Define long double math functions if
10319         _LIBC_TEST is defined.
10320         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10322         * localedata/Makefile: Move assignment to tests-special
10323         into an ifdef testing run-built-tests.
10324         * timezone/Makefile: Likewise.
10326 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10328         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10329         with $(BASH) not $(SHELL).
10331 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10332             Matthew LeGendre  <legendre1@llnl.gov>
10334         [BZ #17411]
10335         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10336         l_reloc_result.
10338 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10340         * stdio-common/printf_fp.c
10341         (hack_digit): New function, broken out of ...
10342         (__printf_fp): ... local function here.  Update call sites.
10343         hack_digit now takes an additional parameter that is a pointer
10344         to a struct of the referenced locals.  Those locals moved inside
10345         the struct and references updated.
10347 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10349         * aclocal.m4: Require autoconf 2.69.
10350         * configure: Regenerated.
10351         * sysdeps/aarch64/configure: Likewise.
10352         * sysdeps/alpha/configure: Likewise.
10353         * sysdeps/arm/armv7/configure: Likewise.
10354         * sysdeps/arm/configure: Likewise.
10355         * sysdeps/ia64/configure: Likewise.
10356         * sysdeps/mach/configure: Likewise.
10357         * sysdeps/mips/configure: Likewise.
10358         * sysdeps/s390/configure: Likewise.
10359         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10362         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10363         file.
10364         * sysdeps/ia64/configure.ac: Likewise.
10366 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10369         specify symbol version for ld.so.  Do not include entry for
10370         libpthread.
10371         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10372         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10373         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10375         [BZ #14171]
10376         * Makeconfig [$(build-shared) = yes]
10377         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10378         makefiles.
10379         [$(build-shared) = yes && $(soversions.mk-done) = t]
10380         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10381         [$(build-shared) = yes && $(soversions.mk-done) = t]
10382         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10383         to Makerules.
10384         [$(build-shared) = yes && $(soversions.mk-done) = t]
10385         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10386         here.
10387         [$(build-shared) = yes && $(soversions.mk-done) = t]
10388         (common-generated): Don't append gnu/lib-names.h and
10389         gnu/lib-names.stmp here.
10390         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10391         (lib-names-h-abi): New variable.
10392         [$(build-shared) = yes && $(soversions.mk-done) = t]
10393         (lib-names-stmp-abi): Likewise.
10394         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10395         abi-variants] (before-compile): Append
10396         $(common-objpfx)$(lib-names-h-abi).
10397         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10398         abi-variants] (common-generated): Append gnu/lib-names.h.
10399         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10400         abi-variants] (install-others-nosubdir): Depend on
10401         $(inst_includedir)/$(lib-names-h-abi).
10402         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10403         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10404         [$(build-shared) = yes && $(soversions.mk-done) = t]
10405         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10406         [$(build-shared) = yes && $(soversions.mk-done) = t]
10407         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10408         [$(build-shared) = yes && $(soversions.mk-done) = t]
10409         (common-generated): Append $(lib-names-h-abi) and
10410         $(lib-names-stmp-abi).
10411         * scripts/lib-names.awk: Do not handle multi being set.
10412         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10413         Remove variable.
10414         (abi-lp64_be-ld-soname): Likewise.
10415         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10416         Likewise.
10417         (abi-hard-ld-soname): Likewise.
10418         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10419         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10420         Remove variable.
10421         (abi-o32_hard-ld-soname): Likewise.
10422         (abi-o32_soft_2008-ld-soname): Likewise.
10423         (abi-o32_hard_2008-ld-soname): Likewise.
10424         (abi-n32_soft-ld-soname): Likewise.
10425         (abi-n32_hard-ld-soname): Likewise.
10426         (abi-n32_soft_2008-ld-soname): Likewise.
10427         (abi-n32_hard_2008-ld-soname): Likewise.
10428         (abi-n64_soft-ld-soname): Likewise.
10429         (abi-n64_hard-ld-soname): Likewise.
10430         (abi-n64_soft_2008-ld-soname): Likewise.
10431         (abi-n64_hard_2008-ld-soname): Likewise.
10432         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10433         Likewise.
10434         (abi-64-v2-ld-soname): Likewise.
10435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10436         ld.so entries.
10437         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10438         variable.
10439         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10440         entry.
10441         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10442         variable.
10443         (abi-64-ld-soname): Likewise.
10444         (abi-x32-ld-soname): Likewise.
10445         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10446         entry.
10447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10449 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10451         [BZ #14138]
10452         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10453         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10454         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10455         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10456         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10457         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10458         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10459         syscall entry for GLIBC_2.2 symbol version.
10460         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10463         (setrlimit): Likewise.
10464         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10465         Likewise.
10467 2014-09-23  Will Newton  <will.newton@linaro.org>
10469         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10470         _LINUX_ARM_SYSDEP_H include guard too.
10471         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10472         define.
10474 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10476         * sysdeps/unix/sysv/linux/eventfd.c:
10477         Make first argument unsigned.
10478         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10479         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10481 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10483         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10484         * socket/sys/socket.h: Likewise
10485         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10487 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10489         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10491 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10493         * time/tst-ftime.c: New test.
10494         * time/Makefile (tests): Add tst-ftime.
10496 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10498         * soft-fp/extended.h: Fix comment formatting.
10499         * soft-fp/op-1.h: Likewise.
10500         * soft-fp/op-2.h: Likewise.
10501         * soft-fp/op-4.h: Likewise.
10502         * soft-fp/op-8.h: Likewise.
10503         * soft-fp/op-common.h: Likewise.
10504         * soft-fp/soft-fp.h: Likewise.
10506         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10508 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10510         [BZ #6652]
10511         * Makeconfig (soversions-default-setname): Remove variable.
10512         ($(common-objpfx)soversions.i): Don't pass default_setname to
10513         soversions.awk.
10514         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10515         oldest_abi to abi-versions.awk.
10516         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10517         * config.make.in (oldest-abi): Remove variable.
10518         * configure.ac (--enable-oldest-abi): Remove configure option.
10519         * configure: Regenerated.
10520         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10521         text.
10522         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10523         * scripts/soversions.awk: Do not handle default_setname variable.
10524         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10525         variable.
10526         * sysdeps/mach/hurd/configure: Regenerated.
10527         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10528         variable.
10529         * sysdeps/unix/sysv/linux/configure: Regenerated.
10531 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10533         * elf/Makefile (CFLAGS-interp.c): Remove.
10534         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10535         path string.
10536         * elf/interp.c: Include generated runtime-linker.h
10538         * Makerules (lib%.so): Don't include $(+interp) in
10539         prerequisites.
10540         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10541         * dlfcn/eval.c: Remove file.
10543         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10544         macros.
10546         [BZ #17266]
10547         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10548         4.2 and newer.
10550         [BZ #17370]
10551         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10553 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10554             Jakub Jelinek  <jakub@redhat.com>
10556         [BZ #17266]
10557         * libio/stdio.h: Check definition of __fortify_function
10558         instead of __extern_always_inline to include bits/stdio2.h.
10559         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10560         check if __extern_always_inline is defined.
10561         [__USE_MISC || __USE_XOPEN]: Likewise.
10562         [__USE_ISOC99] Likewise.
10563         * misc/sys/cdefs.h (__fortify_function): Define only if
10564         __extern_always_inline is defined.
10565         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10566         __extern_always_inline and __extern_inline only for g++-4.3
10567         and newer or a compatible gcc.
10569 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10571         [BZ #17371]
10572         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10573         last change to handle zero prefix length.
10575 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10577         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10578         _SC_REGEX_VERSION.
10580         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10581         _POSIX_RAW_SOCKETS.
10583 2014-09-13  Allan McRae  <allan@archlinux.org>
10585         * po/ru.po: Update Russian translation from translation project.
10587 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10589         * locale/programs/locale.c (show_locale_vars): Inline local function
10590         into its sole call site.  Clean up some style nits.
10591         (print_item): New function, broken out of ...
10592         (show_info): ... local function here.  Clean up style nits.
10594         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10595         out of ...
10596         (set_class_defaults): ... local function set_default here.
10597         Define set_default as a macro locally to pass constant parameters.
10598         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10599         rather than a shared local.
10601         * stdlib/rpmatch.c (try): New function, broken out of ...
10602         (rpmatch): ... local function here.  Also, prototypify definition.
10604 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10606         * scripts/soversions.awk: Do not handle configuration names.
10607         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10608         vendor and os variables to soversions.awk.
10609         * configure.ac: Do not modify gnu-* host_os.
10610         * configure: Regenerated
10611         * shlib-versions: Remove first column with configuration names.
10612         * nptl/shlib-versions: Likewise.
10613         * nptl_db/shlib-versions: Likewise.
10614         * sysdeps/hppa/shlib-versions: Likewise.
10615         * sysdeps/m68k/shlib-versions: Likewise.
10616         * sysdeps/mach/hurd/shlib-versions: Likewise.
10617         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10618         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10619         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10620         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10621         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10622         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10623         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10624         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10626         Likewise.
10627         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10628         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10629         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10630         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10631         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10632         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10633         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10634         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10637         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10639         Regenerated.
10640         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10642         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10644         * shlib-versions: Remove OS-specific entries.  Moved to files in
10645         sysdeps.
10646         * sysdeps/mach/hurd/shlib-versions: New file.
10647         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10649         * nptl/shlib-versions: Remove architecture-specific entries.
10650         Moved to files in sysdeps.
10651         * shlib-versions: Likewise.
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10653         file.
10654         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10655         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10656         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10657         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10659         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10660         (UDP_NO_CHECK6_RX): Likewise.
10662 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664         * sysdeps/posix/sysconf.c (__sysconf): Spell
10665         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10667 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10669         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10670         loading.
10671         * iconv/Versions (__gconv_transliterate): Export for use from
10672         gconv modules.
10673         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10674         (struct __gconv_trans_data, __gconv_trans_fct,
10675         __gconv_trans_context_fct, __gconv_trans_query_fct,
10676         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10677         definitions.
10678         (struct __gconv_step_data): Remove __trans member.
10679         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10680         longer hidden.  Remove unused trans_data argument.
10681         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10682         (__gconv_translit_find): Remove declaration.
10683         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10684         prototype.
10685         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10686         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10687         trans_data argument.  Add hidden definition.
10688         (__gconv_translit_find): Remove.
10689         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10690         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10691         * iconv/skeleton.c: Remove transliteration initialization.
10692         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10693         __gconv_step_data initialization.
10694         * libio/iofwide.c (__libio_translit_): Remove.
10695         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10696         * wcsmbs/btowc.c (__btowc): Likewise.
10697         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10698         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10699         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10700         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10701         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10702         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10703         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10704         * wcsmbs/wctob.c (wctob): Likewise.
10706 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10708         [BZ #16194]
10709         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10710         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10711         register usage.
10712         * sysdeps/x86/Makefile: Adjust.
10714 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10715             Roland McGrath  <roland@hack.frob.com>
10717         * locale/weight.h: Add include guard.
10718         (findidx): Make static rather than auto; take new parameters
10719         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10720         * locale/weightwc.h: Likewise.
10721         * posix/fnmatch_loop.c
10722         (FCT): Change type of EXTRA from int32_t to wint_t.
10723         Don't include either header inside the function.
10724         Call FINDIDX rather than findidx, and pass new arguments.
10725         #undef FINDIDX at the end of the file.
10726         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10727         FINDIDX before including fnmatch_loop.c for the non-wide version.
10728         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10729         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10730         for the wide version.
10731         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10732         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10733         Pass new arguments to findidx.
10734         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10735         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10736         Don't #include it inside the function.  Pass new arguments to findidx.
10737         * posix/regex_internal.h
10738         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10739         (re_string_elem_size_at): Don't #include it inside the function.
10740         Pass new arguments to findidx.
10741         * string/strcoll_l.c: #include WEIGHT_H at top level.
10742         (get_next_seq): Don't #include it inside the function.
10743         Pass new arguments to findidx.
10744         (get_next_seq_nocache): Likewise.
10745         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10746         (STRXFRM): Don't #include it inside the function.
10747         Pass new arguments to findidx.
10749 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10751         [BZ #17344]
10752         * malloc/malloc.c (unlink): Turn asserts into a call to
10753         malloc_printerr.
10755 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10757         [BZ #17370]
10758         * libio/wfileops (do_ftell_wide): Free OUT.
10760 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10762         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10764 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10766         [BZ #17363]
10767         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10768         group if the current group is empty.
10770 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10772         * benchtests/bench-memset.c (test_main): Add more test from size
10773         from 32 to 512 bytes.
10774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10775         Add POWER8 memset object.
10776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10777         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10778         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10779         implementation.
10780         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10781         Likewise.
10782         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10783         multiarch POWER8 memset optimization.
10784         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10785         POWER8 memset optimization.
10787         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10788         Remove bzero multiarch objects.
10789         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10790         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10791         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10792         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10793         Remove define.
10794         [__bzero]: Redefine to specific name.
10795         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10796         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10797         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10798         define.
10799         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10800         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10802 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10804         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10805         warnings into errors.
10807         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10808         __cxa_thread_atexit_impl prototype.
10810 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10812         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10813         Fix capitalization of error message.
10815 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10817         * sysdeps/mips/preconfigure: Modify ABI tests.
10819 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10821         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10823 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10824             Carlos O'Donell  <carlos@systemhalted.org>
10826         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10827         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10828         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10829         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10830         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10831         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10832         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10833         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10834         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10835         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10836         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10837         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10838         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10839         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10840         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10841         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10843         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10844         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10845         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10847         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10848         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10849         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10850         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10851         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10852         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10853         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10854         Deconditionalize the code that was previously under [RESET_PID].
10855         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10856         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10857         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10858         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10859         include sysdep.h.
10861 2014-09-08  Allan McRae  <allan@archlinux.org>
10863         * version.h (RELEASE): Set to "development".
10864         (VERSION): Set to "2.20.90"
10866 2014-09-07  Allan McRae  <allan@archlinux.org
10868         * version.h (RELEASE): Set to "stable".
10869         (VERSION): Set to "2.20"
10870         * include/features.h (__GLIBC_MINOR__): Set to 20.
10872         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10873         Liebler.
10875         * po/ko.po: Update Korean translation from translation project.
10877 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10879         [BZ #17354]
10880         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10881         macro for handling signed relocations.
10883 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10885         [BZ #17325]
10886         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10887         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10888         assert.
10889         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10890         * iconvdata/ibm935.c (BODY): Likewise.
10891         * iconvdata/ibm937.c (BODY): Likewise.
10892         * iconvdata/ibm939.c (BODY): Likewise.
10893         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10894         assert.
10895         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10896         script.
10897         * iconvdata/run-iconv-test.sh: New test loop for checking for
10898         decoder crashers.
10900 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10903         libm_hidden_ver.
10905 2014-09-01  Allan McRae  <allan@archlinux.org>
10907         * po/eo.po: Update Esperanto translation from translation project.
10909         * po/ca.po: Update Catalan translation from translation project.
10911 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10913         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10914         __proc_dostop call.
10916 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10918         [BZ #17319]
10919         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10920         to call set_thread_area instead of hand written asm.
10921         (__NR_set_thread_area): Removed define.
10922         (TLS_FLAG_WRITABLE): Likewise.
10923         (__ASSUME_SET_THREAD_AREA): Remove check.
10924         (TLS_EBX_ARG): Remove define.
10925         (TLS_LOAD_EBX): Likewise.
10927 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10929         Simplify atomicity of socket creation in bind.
10931         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10932         looking up the name after linking the file.
10934 2014-08-27  Allan McRae  <allan@archlinux.org>
10936         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10938 2014-08-26  Florian Weimer  <fweimer@redhat.com>
10940         [BZ #17187]
10941         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10942         trans_compare, open_translit, __gconv_translit_find):
10943         Remove module loading code.
10945 2014-08-26  Allan McRae  <allan@archlinux.org>
10947         * po/vi.po: Update Vietnamese translation from translation project.
10949         * po/uk.po: Update Ukrainian translation from translation project.
10951         * po/fr.po: Update French translation from translation project.
10953         * po/ru.po: Update Russian translation from translation project.
10955         * po/pl.po: Update Polish translation from translation project.
10957         * po/cs.po: Update Czech translation from translation project.
10959         * po/de.po: Update German translation from translation project.
10961         * po/bg.po: Update Bulgarian translation from translation project.
10963         * po/sv.po: Update Sweedish translation from translation project.
10965         * po/nl.po: Update Dutch translation from translation project.
10967         * po/es.po: Update Spanish translation from translation project.
10969 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10971         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10973         * catgets/Makefile (CPPFLAGS-gencat): Remove.
10974         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10975         (CPPFLAGS-iconvconfig): Likewise.
10976         * timezone/Makefile (CPPFLAGS-zic): Likewise.
10978         * include/libc-symbols.h: Remove unnecessary check for
10979         NOT_IN_libc.
10980         * nptl/pthreadP.h: Likewise.
10981         * sysdeps/aarch64/setjmp.S: Likewise.
10982         * sysdeps/alpha/setjmp.S: Likewise.
10983         * sysdeps/arm/sysdep.h: Likewise.
10984         * sysdeps/i386/setjmp.S: Likewise.
10985         * sysdeps/m68k/setjmp.c: Likewise.
10986         * sysdeps/posix/getcwd.c: Likewise.
10987         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10988         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10989         * sysdeps/s390/s390-32/setjmp.S: Likewise.
10990         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10991         * sysdeps/sh/sh3/setjmp.S: Likewise.
10992         * sysdeps/sh/sh4/setjmp.S: Likewise.
10993         * sysdeps/unix/alpha/sysdep.h: Likewise.
10994         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10996         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10997         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11000         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11001         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11002         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11003         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11004         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11005         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11006         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11007         * sysdeps/x86_64/setjmp.S: Likewise.
11009 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11011         [BZ #17263]
11012         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11013         <stdint.h>.
11014         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11015         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11017 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11019         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11021         [BZ #17262]
11022         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11023         and __x86_64__ when disabling x87 inline functions.
11025 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11027         [BZ #17259]
11028         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11029         asm statement with __cpuid_count.
11031 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11033         * configure.ac: Change __ehdr_start code to dereference the struct.
11034         Run readelf on the output to look for relocations.
11035         * configure: Regenerated.
11037 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11039         [BZ #17261]
11040         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11041         value to 0.
11042         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11044 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11046         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11048 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11050         [BZ #16892]
11051         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11052         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11054 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11056         * malloc/malloc.c: Fix typo in comment.
11058 2014-08-09  Allan McRae  <allan@archlinux.org>
11060         * Regenerate libc.po.
11062 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11064         * intl/tst-gettext2.sh: Check every lang file for creation.
11066 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11068         * sysdeps/aarch64/fpu/math_private.h
11069         (libc_feholdsetround_noex_aarch64_ctx): New function.
11071 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11073         * sysdeps/arm/armv6/strcpy.S (strcpy):
11074         Fix performance issue in misaligned cases.
11076 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11078         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11079         Move definition from termios.h.
11080         (struct termio): Likewise.
11081         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11082         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11083         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11084         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11087         Move definition to ioctl-types.h
11088         (struct termio): Likewise.
11089         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11090         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11091         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11092         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11093         Likewise.
11095 2014-08-05  Richard Henderson  <rth@redhat.com>
11097         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11098         exceptions.
11099         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11100         Add fraiseexcpt.
11101         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11102         Use __feraiseexcept.
11103         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11104         Protect libm symbols with IS_IN_libm.
11106         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11108 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11110         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11112 2014-08-04  Will Newton  <will.newton@linaro.org>
11114         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11115         file.
11117 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11119         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11120         variants for each function.
11122 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11124         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11125         appended ...
11126         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11127         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11128         appended ...
11129         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11130         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11131         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11132         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11133         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11134         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11135         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11136         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11137         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11138         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11139         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11140         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11141         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11142         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11143         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11144         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11145         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11146         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11147         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11148         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11149         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11150         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11151         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11152         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11153         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11154         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11155         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11156         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11157         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11158         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11159         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11160         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11161         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11162         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11163         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11164         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11165         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11166         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11167         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11168         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11169         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11171         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11173         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11175         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11176         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11177         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11178         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11179         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11180         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11181         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11182         Update #include.
11183         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11184         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11186 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11188         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11189         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11190         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11191         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11192         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11193         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11195 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11197         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11198         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11199         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11200         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11202 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11204         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11205         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11206         (__libc_vfork): Define function under this name.
11207         (__vfork): Define as an alias.
11208         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11209         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11211 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11213         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11214         that was previously under [RESET_PID].
11215         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11217 2014-08-04  Andreas Schwab  <schwab@suse.de>
11219         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11221 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11223         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11224         (main): Likewise.
11226 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11228         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11230 2014-08-01  Richard Henderon  <rth@redhat.com>
11232         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11233         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11234         typo in exact zero test.
11235         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11236         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11239 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11241         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11242         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11243         * sysdeps/arm/sysdep.h: ... here.
11244         [!__ASSEMBLER__]: Include <stdint.h>.
11246 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11248         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11249         (HAVE_WCTYPE_H): Likewise.
11250         (HAVE_ISWCTYPE): Likewise.
11251         (ENABLE_NLS): Likewise.
11252         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11253         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11255         * posix/regex_internal.c: Check if DEBUG is defined and is
11256         set.
11258         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11259         (HAVE_MBSRTOWCS): Likewise.
11260         * posix/fnmatch.c: Include string.h unconditionally.
11262 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11264         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11265         reversal.
11267 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11269         * sysdeps/generic/safe-fatal.h: New file.
11270         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11271         * nptl/forward.c: Include it.
11272         (__pthread_unwind): Use __safe_fatal as default action, rather
11273         than a bogus use of INTERNAL_SYSCALL that could never work.
11275         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11276         * configure.ac (libc_cv_builtin_trap): New test.
11277         * configure: Regenerated.
11278         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11279         (ABORT_INSTRUCTION): Define using __builtin_trap.
11281         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11282         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11283         * sysdeps/nptl/nptl-signals.h: New file.
11284         * nptl/pthreadP.h: Include <nptl-signals.h>.
11286 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11288         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11289         (ONE_DIRECTION): Define.
11290         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11291         (ONE_DIRECTION): Define.
11292         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11293         (ONE_DIRECTION): Define.
11295 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11297         * sysdeps/s390/Makefile: Delete file.
11298         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11299         * sysdeps/s390/__longjmp.c: Delete file.
11300         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11301         Remove fields __flags and __reserved.
11302         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11303         and add versioning.
11304         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11305         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11306         * sysdeps/s390/rtld-setjmp.S: Likewise.
11307         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11308         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11309         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11310         * sysdeps/s390/s390-32/setjmp.S: ... here.
11311         Add versioning.
11312         (__sigsetjmp): Remove setting __flags field.
11313         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11314         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11315         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11316         * sysdeps/s390/s390-64/setjmp.S: ... here.
11317         Add versioning.
11318         (__sigsetjmp): Remove setting __flags field.
11319         * sysdeps/s390/setjmp.S: Delete file.
11320         * sysdeps/s390/sigjmp.c: Likewise.
11321         * sysdeps/s390/v1-longjmp.c: Likewise.
11322         * sysdeps/s390/v1-setjmp.h: Likewise.
11323         * sysdeps/s390/v1-sigjmp.c: Likewise.
11324         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11325         Remove v1-longjmp_chk.
11326         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11327         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11328         Include debug/longjmp_chk.c and add versioning.
11329         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11330         Include nptl/pt-longjmp.c and add versioning.
11331         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11332         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11333         Include __longjmp.c.
11334         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11335         Move to ...
11336         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11337         (__getcontext): Remove setting __flags field.
11338         Add versioning.
11339         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11340         Don't restore upper high grps.
11341         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11342         Likewise.
11343         (__swapcontext): Remove setting uc_flags field.
11344         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11345         Delete file.
11346         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11347         Include __longjmp.c.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11349         Move to ...
11350         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11351         (__getcontext): Remove setting __flags field.
11352         Add versioning.
11353         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11354         (__swapcontext): Remove setting uc_flags field.
11355         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11356         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11357         Remove fields uc_high_gprs and __reserved.
11358         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11359         New file with reverted content.
11360         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11361         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11362         Regenerated.
11363         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11364         Regenerated.
11366 2014-07-31  Andreas Schwab  <schwab@suse.de>
11368         * config.h.in (HAVE_IFUNC): Define to 0.
11369         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11370         definedness.
11372 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11375         memmove-avx-unaligned, memcpy-avx-unaligned and
11376         mempcpy-avx-unaligned.
11377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11378         Add tests for AVX memcpy functions.
11379         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11380         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11381         memcpy_chk.
11382         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11383         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11384         memmove_chk.
11385         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11386         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11387         mempcpy_chk.
11388         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11389         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11390         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11392 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11394         [BZ #17213]
11395         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11396         powerpc64le.
11398 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11400         [BZ #16839]
11401         * manual/llio.texi: Add section about open file description locks.
11402         * manual/examples/ofdlocks.c: Example of open file description
11403         lock usage.
11404         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11405         F_OFD_SETLK, and F_OFD_SETLKW.
11407 2014-07-23  Allan McRae  <allan@archlinux.org>
11409         * po/es.po: Update Spanish translation from translation project.
11411 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11413         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11415 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11417         [BZ #17078]
11418         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11419         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11420         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11422 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11424         [BZ #17088]
11425         * math/fesetenv.c (__fesetenv)
11426         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11427         * math/feupdateenv.c (__feupdateenv)
11428         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11430         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11431         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11432         (__ASSUME_SOCKETCALL): Do not define.
11434         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11435         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11436         (__ASSUME_SOCKETCALL): Do not define.
11437         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11438         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11439         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11440         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11441         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11442         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11443         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11444         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11446         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11447         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11448         (__ASSUME_SOCKETCALL): Do not define.
11449         (__ASSUME_IPC64): Define unconditionally.
11450         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11451         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11452         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11454         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11455         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11456         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11457         Likewise.
11459         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11460         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11461         (__ASSUME_SOCKETCALL): Do not define.
11462         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11463         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11464         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11465         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11466         (__ASSUME_REQUEUE_PI): Define unconditionally.
11467         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11468         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11469         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11470         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11471         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11472         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11474         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11475         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11476         (__ASSUME_SOCKETCALL): Do not define.
11477         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11478         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11479         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11480         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11482         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11484         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11485         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11486         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11487         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11488         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11489         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11490         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11491         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11492         (__ASSUME_GETCPU_SYSCALL): Likewise.
11494         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11495         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11496         cases for individual architectures.
11497         * sysdeps/gnu/configure: Regenerated.
11498         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11499         LIBC_SLIBDIR_RTLDDIR.
11500         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11501         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11502         LIBC_SLIBDIR_RTLDDIR.
11503         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11505         LIBC_SLIBDIR_RTLDDIR.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11507         Regenerated.
11508         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11509         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11510         file.
11511         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11512         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11513         file.
11514         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11515         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11516         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11517         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11519         * sysdeps/aarch64/shlib-versions: Move to ...
11520         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11521         * sysdeps/alpha/shlib-versions: Move to ...
11522         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11523         * sysdeps/arm/shlib-versions: Move to ...
11524         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11525         * sysdeps/hppa/shlib-versions: Move all contents except for
11526         libgcc_s entry to ...
11527         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11528         entry from ...
11529         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11530         * sysdeps/ia64/shlib-versions: Move to ...
11531         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11532         entry from ...
11533         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11534         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11535         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11536         * sysdeps/microblaze/shlib-versions: Move to ...
11537         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11538         * sysdeps/mips/shlib-versions: Move to ...
11539         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11540         entry from ...
11541         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11542         * sysdeps/tile/shlib-versions: Move to ...
11543         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11544         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11545         from ...
11546         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11547         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11548         entry from ...
11549         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11551 2014-07-17  Will Newton  <will.newton@linaro.org>
11553         * sysdeps/arm/bits/atomic.h
11554         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11555         (__arch_compare_and_exchange_bool_16_int): Likewise.
11556         (__arch_compare_and_exchange_bool_64_int): Likewise.
11558         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11559         into an #else block.
11561 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11563         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11564         just Linux configurations.  Test empirically that the compiler sets
11565         __ARM_EABI__, rather than using the tuple to decide.
11566         * sysdeps/arm/preconfigure: Regenerated.
11567         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11568         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11569         contents appended ...
11570         * sysdeps/arm/configure.ac: ... here.
11571         * sysdeps/arm/configure: Regenerated.
11573 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11575         * nptl/pthread_kill.c: New file.
11576         * nptl/pthread_sigmask.c: New file.
11577         * nptl/pthread_sigqueue.c: New file.
11579         * sysdeps/nptl/lowlevellock.h: New file.
11580         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11581         * sysdeps/nptl/lowlevellock-futex.h: New file.
11583         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11584         Remove dead declarations.
11586 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11588         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11589         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11590         config-cflags-avx2.
11591         * sysdeps/x86_64/configure.ac: Likewise.
11592         * sysdeps/i386/configure: Regenerated.
11593         * sysdeps/x86_64/configure: Likewise.
11594         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11595         memset-avx2 only if config-cflags-avx2 is yes.
11596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11597         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11598         defined.
11599         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11600         only if HAVE_AVX2_SUPPORT is defined.
11601         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11603 2014-07-14  Alan Modra  <amodra@gmail.com>
11605         [BZ #17153]
11606         * elf/elf.h (DT_PPC64_NUM): Correct value.
11607         * NEWS: Add to fixed bug list.
11609 2014-07-13  Jim Meyering  <meyering@fb.com>
11611         [BZ 17150]
11612         regex: don't deref NULL upon heap allocation failure
11613         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11614         failure in one more place.
11615         To trigger the segfault, configure grep -with-included-regex,
11616         build it, and run these commands:
11617         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11619 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11621         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11623 2014-07-11  Richard Henderson  <rth@redhat.com>
11625         * sysdeps/aarch64/libm-test-ulps: Update.
11627 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11629         [BZ #17135]
11630         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11631         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11632         (__nptl_setxid): Initialize error member.  Call
11633         __nptl_setxid_error.
11634         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11635         * nptl/descr.h (struct xid_command): Add error member.
11636         * nptl/tst-setuid3.c: New file.
11637         * nptl/Makefile (tests): Add it.
11639 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11641         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11642         New define.
11643         (__lll_trylock): Use __lll_base_trylock.
11644         (__lll_cond_trylock): Likewise.
11646 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11648         * nptl/pthread_create.c (start_thread): Use atomic_or and
11649         lll_futex_wake directly rather than lll_robust_dead.
11650         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11651         (lll_robust_dead): Macro removed.
11652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11653         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11654         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11655         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11657         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11658         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11659         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11660         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11662         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11664         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11665         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11666         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11668         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11669         Use atomic_compare_and_exchange_val_acq directly rather than
11670         lll_robust_trylock.
11671         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11672         (__lll_robust_trylock, lll_robust_trylock): Removed.
11673         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11674         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11675         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11677         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11678         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11679         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11680         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11682         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11683         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11684         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11688 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11690         * manual/locale.texi (Locale Names): New section documenting
11691         locale name syntax.  Adjust menu and node chaining accordingly.
11692         (Choosing Locale): Reference Locale Names, Locale Categories.
11693         Mention setting LC_ALL=C.  Reflect that name syntax is now
11694         documented.
11695         (Locale Categories): New section title.  Reference Locale Names.
11696         LC_ALL is an environment variable, but not a category.
11697         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11698         description, now in Locale Name.  Reference that section.  Locale
11699         name syntax is now documented.
11701 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11703         [BZ #17137]
11704         * locale/findlocale.c (name_present, valid_locale_name): New
11705         functions.
11706         (_nl_find_locale): Use the loc_name variable to store name
11707         candidates.  Call name_present and valid_locale_name to check and
11708         validate locale names.  Return an error if the locale is invalid.
11710 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11712         * locale/setlocale.c (setlocale): Use strdup for allocating
11713         composite name copy.
11715 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11717         Sync up with gnulib.
11718         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11719         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11720         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11721         and _GL_ARG_NONNULL.
11722         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11723         [!_LIBC]: Include code for Windows and Cygwin.
11724         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11725         Include prototype for int strerror_r.
11726         [!_LIBC] (is_open): New function.
11727         (flush_stdout): New function.
11728         (print_errno_message): Use it.
11729         (error): Likewise.
11730         (error_at_line): Likewise.
11731         (error_tail) Add function attribute macros.  Use
11732         __builtin_expect.
11734         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11736         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11738         * io/ftw.c: Include sys/param.h unconditionally.
11740         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11742         [BZ #17125]
11743         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11744         libc_freeres_ptr.
11745         (freecache): New function to free CACHE on exit.
11747         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11748         initialization.
11750 2014-07-09  David S. Miller  <davem@davemloft.net>
11752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11754         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11755         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11756         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11757         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11758         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11759         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11760         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11761         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11762         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11763         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11764         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11765         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11766         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11768 2014-07-09  Andreas Schwab  <schwab@suse.de>
11770         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11771         output.
11772         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11773         (do_test): Likewise.
11775         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11777 2014-07-09  Will Newton  <will.newton@linaro.org>
11779         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11780         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11781         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11782         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11783         * sysdeps/hppa/start.S (_start): Likewise.
11785 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11789         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11790         defined.
11792 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11795         after checking that it is non-NULL.
11797         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11799 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11801         * sysdeps/powerpc/memmove.c: Remove file.
11802         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11803         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11804         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11805         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11806         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11807         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11808         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11809         string memmove instead of removed powerpc one.
11811         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11812         [weak_alias]: Fix compiler warning due trailing data.
11813         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11814         [weak_alias]: Likewise.
11815         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11816         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11819         (__libc_ifunc_impl_list): Add memmove functions.
11821 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11823         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11824         Remove code.
11825         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11826         Likewise
11827         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11828         Likewise
11829         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11830         Likewise
11831         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11832         Likewise
11833         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11834         Likewise
11835         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11836         Likewise
11837         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11838         Likewise
11839         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11840         Likewise
11841         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11842         Likewise
11843         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11844         Likewise
11845         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11846         Likewise
11847         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11848         Likewise
11849         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11850         Likewise
11851         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11852         Likewise
11853         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11854         Likewise
11855         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11856         Likewise
11858 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11860         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11861         to avoid alignment traps in non-cacheable memory.
11862         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11865         multiarch objects.
11866         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11867         file: multiarch power7 memmove.
11868         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11869         multiarch default memmove.
11870         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11871         multiarch memove for powerpc32/power4.
11873         * string/bcopy.c: Use full path to include memmove.c.
11874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11875         multiarch objects.
11876         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11877         bcopy for powerpc64.
11878         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11879         bcopy for powerpc64.
11880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11881         and memmove implementations.
11882         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11883         optimized multiarch memmove for POWER7/powerpc64.
11884         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11885         default multiarch memmove for powerpc64.
11886         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11887         multiarch for powerpc64.
11888         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11889         for POWER7/powerpc64.
11890         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11891         memmove for POWER7/powerpc64.
11893         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11894         glibc default one.
11896         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11897         __ELF_NATIVE_CLASS equal to 64.
11899 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11901         * sysdeps/nptl/lowlevellock.h: File removed.
11903         * NEWS: NPTL is no longer an add-on!
11904         * nptl/internaltypes.h: Moved ...
11905         * sysdeps/nptl/internaltypes.h: ... here.
11906         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11907         * sysdeps/nptl/fork.c: Likewise.
11908         * sysdeps/nptl/gai_misc.h: Likewise.
11909         * sysdeps/nptl/librt-cancellation.c: Likewise.
11910         * sysdeps/nptl/jmp-unwind.c: Likewise.
11911         * sysdeps/nptl/setxid.h: Likewise.
11912         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11913         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11914         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11915         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11916         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11917         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11918         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11919         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11920         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11921         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11922         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11923         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11924         * sysdeps/unix/sysv/linux/sh/Implies: New file.
11925         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11926         * sysdeps/unix/sysv/linux/tile/Implies: New file.
11927         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11928         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11929         * nptl/Makeconfig: Moved ...
11930         * sysdeps/nptl/Makeconfig: ... here.
11931         * nptl/configure: File removed.
11932         * nptl/ANNOUNCE: File removed.
11933         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11934         * sysdeps/unix/sysv/linux/configure: Regenerated.
11936         * nptl/Makefile (routines): Add libc_pthread_init,
11937         libc_multiple_threads, register-atfork and unregister-atfork.
11938         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11939         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11940         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11941         pthread-pi-defines.sym, structsem.sym.
11942         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11943         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11944         [$(subdir) = nptl] (tests): Add tst-setgetname.
11945         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11946         * sysdeps/unix/sysv/linux/sigaction.c: Just include
11947         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11948         [!LIBC_SIGACTION]: Remove aliases.
11949         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11950         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11951         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11952         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11953         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11954         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11955         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11956         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11958         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11959         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11960         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11961         __libc_allocate_rtsig_private.
11962         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11963         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11964         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11965         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11966         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11967         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11968         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11969         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11970         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11971         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11972         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11973         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11974         * nptl/internaltypes.h: ... here.
11975         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11976         * sysdeps/nptl/jmp-unwind.c: ... here.
11977         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11978         * nptl/libc-lowlevellock.c: ... here.
11979         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11980         * nptl/libc_multiple_threads.c: ... here.
11981         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11982         * nptl/libc_pthread_init.c: ... here.
11983         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11984         * nptl/lowlevelbarrier.sym: ... here.
11985         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11986         * nptl/lowlevelcond.sym: ... here.
11987         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11988         * nptl/lowlevellock.c: ... here.
11989         * nptl/lowlevellock.h: Moved ...
11990         * sysdeps/nptl/lowlevellock.h: ... here.
11991         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11992         * nptl/lowlevelrobustlock.c: ... here.
11993         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11994         * nptl/lowlevelrobustlock.sym: ... here.
11995         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11996         * nptl/lowlevelrwlock.sym: ... here.
11997         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11998         * nptl/pt-fork.c: ... here.
11999         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12000         * nptl/pthread-pi-defines.sym: ... here.
12001         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12002         * nptl/pthread_attr_getaffinity.c: ... here.
12003         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12004         * nptl/pthread_attr_setaffinity.c: ... here.
12005         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12006         * nptl/pthread_mutex_cond_lock.c: ... here.
12007         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12008         Update #include.
12009         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12010         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12011         * nptl/pthread_once.c: ... here, replacing old file.
12012         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12013         * nptl/pthread_yield.c: ... here.
12014         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12015         * nptl/register-atfork.c: ... here.
12016         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12017         * nptl/sem_post.c: ... here.
12018         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12019         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12020         * nptl/sem_timedwait.c: ... here.
12021         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12022         * nptl/sem_trywait.c: ... here.
12023         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12024         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12025         * nptl/sem_wait.c: ... here.
12026         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12027         * nptl/structsem.sym: ... here.
12028         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12029         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12030         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12031         * nptl/unregister-atfork.c: ... here.
12032         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12033         * nptl/unwindbuf.sym: ... here.
12034         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12035         * sysdeps/nptl/fork.c: ... here.
12036         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12037         * sysdeps/nptl/fork.h: ... here.
12038         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12039         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12040         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12041         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12042         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12043         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12044         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12045         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12046         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12047         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12048         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12049         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12050         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12051         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12052         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12053         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12054         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12055         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12056         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12057         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12058         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12059         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12060         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12061         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12062         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12063         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12064         * sysdeps/unix/sysv/linux/raise.c: ... here.
12065         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12066         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12067         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12068         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12069         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12070         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12071         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12072         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12073         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12074         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12075         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12076         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12077         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12078         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12079         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12081 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12083         * sysdeps/generic/memcopy.h: Add comment for
12084         MEMCPY_OK_FOR_FWD_MEMMOVE.
12086 2014-07-04  Will Newton  <will.newton@linaro.org>
12088         * string/memchr.c: Merge from gnulib.
12089         [_LIBC]: Remove conditionals.
12090         (__ptr_t): Remove define.
12091         (LONG_MAX_32_BITS): Likewise.
12092         (LONG_MAX): Likewise.
12093         (MEMCHR): Use ANSI prototype and optimize algorithm.
12095         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12097 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12099         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12100         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12102         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12103         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12104         in a bare environment with no <stdlib.h> installed.
12105         * sysdeps/nptl/configure: Regenerated.
12107         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12109         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12110         AC_EGREP_CPP for kernel header checks, so they only succeed if
12111         including <linux/version.h> actually works right.
12112         * sysdeps/unix/sysv/linux/configure: Regenerated.
12114         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12115         value so it's not diagnosed as unused.
12117         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12118         thing) with "ifeq ($(subdir),rt)".
12120 2014-07-03  Richard Henderson  <rth@redhat.com>
12122         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12123         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12124         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12126         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12127         (math_force_eval): New.
12129         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12130         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12132         * sysdeps/alpha/fpu/s_round.c: Remove file.
12133         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12135         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12136         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12137         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12138         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12139         (_dl_start, print_statistics): Likewise.
12140         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12141         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12143         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12144         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12145         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12146         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12148         (HP_SMALL_TIMING_AVAIL): Define.
12149         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12150         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12151         (HP_SMALL_TIMING_AVAIL): Define.
12152         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12153         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12155         * sysdeps/aarch64/hp-timing.h: New file.
12157         * sysdeps/generic/hp-timing.h: Remove dead comment.
12158         * sysdeps/generic/hp-timing-common.h: New file.
12159         * sysdeps/alpha/hp-timing.h: Include it.
12160         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12161         * sysdeps/i386/i686/hp-timing.h: Likewise.
12162         * sysdeps/ia64/hp-timing.h: Likewise.
12163         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12164         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12165         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12166         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12167         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12168         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12169         (hp_timing_t): New.
12171         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12172         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12173         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12174         * elf/rtld.c (_dl_start_final): Likewise.
12175         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12176         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12177         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12178         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12179         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12180         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12181         (HP_TIMING_DIFF_INIT): Remove.
12182         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12183         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12184         (HP_TIMING_DIFF_INIT): Remove.
12185         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12186         * sysdeps/i386/i686/hp-timing.c: Remove file.
12187         * sysdeps/x86_64/hp-timing.c: Remove file.
12188         * sysdeps/ia64/hp-timing.c: Remove file.
12189         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12190         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12192         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12194         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12195         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12196         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12197         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12198         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12199         (HP_TIMING_ACCUM): Remove.
12200         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12201         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12202         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12204         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12205         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12206         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12207         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12208         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12209         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12210         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12211         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12213         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12215 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12217         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12219 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12221         Sync up with gettext.
12222         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12223         [_MSC_VER]: Include malloc.h
12224         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12225         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12226         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12227         TEMP_FAILURE_RETRY.  Cast return of alloca.
12228         [!_LIBC] Call gl_rwlock_init.
12229         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12231 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12233         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12234         before checking its value.
12236 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12238         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12240         * debug/memcpy_chk.c: Don't include pagecopy.h.
12241         * debug/mempcpy_chk.c: Likewise.
12242         * string/memcpy.c: Likewise.
12243         * string/memmove.c: Likewise.
12244         * sysdeps/powerpc/memmove.c: Likewise.
12245         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12246         definition of PAGE_COPY_FWD_MAYBE here...
12247         * sysdeps/generic/pagecopy.h: ... from here.
12248         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12250 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12251             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12253         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12255         optimizations.
12256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12257         (__libc_ifunc_impl_list): Likewise.
12258         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12259         multiarch strcat for PPC64.
12260         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12261         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12263 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12265         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12267 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12269         * intl/loadmsgcat.c: Remove declaration of
12270         get_sysdep_segment_value.
12271         (get_sysdep_segment_value): Use ISO C style.
12272         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12273         semicolon.  Fix typo and formatting in comment.
12274         (_nl_unload_domain): Use ISO C style.
12276         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12278 2014-07-02  Will Newton  <will.newton@linaro.org>
12280         * malloc/obstack.c: Merge from gnulib master.
12281         [HAVE_CONFIG_H]: Remove conditional code.
12282         [!_LIBC]: Include config.h.
12283         [!ELIDE_CODE]: Don't include inttypes.h, include
12284         stdint.h unconditionally.
12285         (print_and_abort): Mark as _Noreturn.
12286         (_obstack_allocated_p): Mark as __attribute_pure__.
12287         (obstack_free): Rename to __obstack_free.
12288         [!__attribute__]: Remove conditional code.
12289         * malloc/obstack.h: Merge from gnulib master.
12290         [__cplusplus]: Move conditional down.
12291         [!__attribute_pure__]: Define __attribute_pure__ here
12292         if it is not already defined.
12293         (_obstack_memory_used): Mark as __attribute_pure__.
12294         [!__obstack_free]: Define as obstack_free.
12295         [__GNUC__]: Remove check for ancient NeXT gcc.
12297 2014-07-02  Will Newton  <will.newton@linaro.org>
12298             Paul Eggert  <eggert@cs.ucla.edu>
12300         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12302 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12304         * resolv/gethnamaddr.c: Add comment warning that the file is
12305         not maintained.
12307 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12309         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12310         entries.
12312         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12313         entry for aio_cancel and aio_cancel64.
12314         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12315         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12316         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12317         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12318         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12319         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12320         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12321         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12322         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12323         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12324         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12325         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12326         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12328 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12330         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12331         * nptl/pthread_mutex_lock.c: Likewise.
12332         * nptl/pthread_mutex_timedlock.c: Likewise.
12333         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12335 2014-07-01  Richard henderson  <rth@redhat.com>
12337         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12338         (__isnan, __isnanl): Remove.
12339         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12341         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12343 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12345         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12347 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12349         * resolv/nss_dns/dns-host.c (getanswer_r)
12350         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12352 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12355         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12356         undefine.
12357         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12358         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12360 2014-07-01  Roland McGrath <roland@hack.frob.com>
12362         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12363         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12365         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12366         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12368         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12369         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12370         ... here.
12371         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12372         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12374         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12375         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12376         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12377         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12379         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12380         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12381         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12382         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12383         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12384         Moved ...
12385         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12386         ... here.
12387         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12388         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12389         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12390         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12391         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12392         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12393         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12394         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12395         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12396         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12397         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12398         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12400         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12401         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12402         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12403         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12404         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12405         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12406         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12407         ... here.
12408         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12409         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12410         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12411         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12412         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12413         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12414         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12415         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12417 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12419         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12420         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12421         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12422         Add sysdep.
12424 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12428 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12430         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12431         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12433         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12435         * sysdeps/arm/libm-test-ulps: Regenerated.
12437 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12438             Roland McGrath <roland@hack.frob.com>
12440         * test-skeleton.c (signal_handler): Kill the whole process group
12441         before killing the child individually.
12442         (main): Report any failure on `setpgid'.
12444 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12446         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12447         from _TLS_H to _ARM_NPTL_TLS_H.
12448         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12449         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12451 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12453         [BZ #16539]
12454         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12455         (__expm1l): Return argument unchanged when small but not
12456         subnormal.
12458         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12459         include macro name.
12460         (_FP_UNPACK_RAW_1_P): Likewise.
12461         (_FP_PACK_RAW_1): Likewise.
12462         (_FP_PACK_RAW_1_P): Likewise.
12463         (_FP_MUL_MEAT_1_wide): Likewise.
12464         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12465         (_FP_MUL_MEAT_1_hard): Likewise.
12466         (_FP_DIV_MEAT_1_imm): Likewise.
12467         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12468         (_FP_DIV_MEAT_1_udiv): Likewise.
12469         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12470         (_FP_UNPACK_RAW_2): Likewise.
12471         (_FP_UNPACK_RAW_2_P): Likewise.
12472         (_FP_PACK_RAW_2): Likewise.
12473         (_FP_PACK_RAW_2_P): Likewise.
12474         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12475         (_FP_MUL_MEAT_2_wide): Likewise.
12476         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12477         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12478         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12479         (_FP_MUL_MEAT_2_gmp): Likewise.
12480         (_FP_DIV_MEAT_2_udiv): Likewise.
12481         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12482         (_FP_FRAC_SRL_4): Likewise.
12483         (_FP_FRAC_SRST_4): Likewise.
12484         (_FP_FRAC_SRS_4): Likewise.
12485         (_FP_UNPACK_RAW_4): Likewise.
12486         (_FP_UNPACK_RAW_4_P): Likewise.
12487         (_FP_PACK_RAW_4): Likewise.
12488         (_FP_PACK_RAW_4_P): Likewise.
12489         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12490         (_FP_MUL_MEAT_4_wide): Likewise.
12491         (_FP_MUL_MEAT_4_gmp): Likewise.
12492         (umul_ppppmnnn): Likewise.
12493         (_FP_DIV_MEAT_4_udiv): Likewise.
12494         (__FP_FRAC_ADD_4): Likewise.
12495         (__FP_FRAC_SUB_3): Likewise.
12496         (__FP_FRAC_SUB_4): Likewise.
12497         (__FP_FRAC_DEC_3): Likewise.
12498         (__FP_FRAC_DEC_4): Likewise.
12499         (__FP_FRAC_ADDI_4): Likewise.
12500         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12501         (_FP_FRAC_SRL_8): Likewise.
12502         (_FP_FRAC_SRS_8): Likewise.
12504         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12505         include macro name.
12506         (FP_UNPACK_RAW_EP): Likewise.
12507         (FP_PACK_RAW_E): Likewise.
12508         (FP_PACK_RAW_EP): Likewise.
12509         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12510         (_FP_ISSIGNAN): Likewise.
12511         (_FP_ADD_INTERNAL): Likewise.
12512         (_FP_FMA): Likewise.
12513         (_FP_CMP): Likewise.
12514         (_FP_SQRT): Likewise.
12515         (_FP_TO_INT): Likewise.
12516         (_FP_FROM_INT): Likewise.
12517         (FP_EXTEND): Likewise.
12518         (_FP_DIV_MEAT_N_loop): Likewise.
12520 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12522         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12523         throughout.
12525 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12527         [BZ #17097]
12528         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12529         result with correct sign in case of exponents that produce
12530         overflow except for X very close to 1.
12532 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12534         mktime: merge #if/#ifdef usage from glibc
12535         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12536         as that works with both Glibc's and Gnulib's style.
12537         See thread starting at Siddhesh Poyarekar's bug report at:
12538         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12540 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12542         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12543         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12544         * sysdeps/tile/tilegx/memmove.c: Remove file.
12546 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12548         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12549         abi-name definition.
12550         * scripts/soversions.awk: Do not handle or generate ABI lines.
12551         * shlib-versions: Remove ABI entries.
12552         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12553         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12555 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12558         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12559         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12560         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12562         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12564         Moved ...
12565         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12566         ... here.
12567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12568         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12570         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12572         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12574         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12576         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12578         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12579         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12580         Moved ...
12581         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12582         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12583         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12585         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12587         Moved ...
12588         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12590         Moved ...
12591         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12593         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12595         Moved ...
12596         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12598         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12600         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12602         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12604         Moved ...
12605         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12607         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12608         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12609         Moved ...
12610         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12612         Moved ...
12613         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12614         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12617         Moved ...
12618         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12619         ... here.
12620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12621         Identical file removed.
12622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12623         Moved ...
12624         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12626         Identical file removed.
12627         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12628         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12630         Moved ...
12631         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12633         Identical file removed.
12634         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12635         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12636         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12637         Identical file removed.
12638         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12639         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12641         Identical file removed.
12642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12643         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12644         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12645         Identical file removed.
12646         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12647         Moved ...
12648         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12649         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12650         Identical file removed.
12651         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12652         Moved ...
12653         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12654         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12655         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12657         Identical file removed.
12658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12659         Moved ...
12660         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12661         ... here.
12662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12663         Identical file removed.
12664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12665         Moved ...
12666         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12667         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12668         Identical file removed.
12669         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12670         Moved ...
12671         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12673         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12675         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12676         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12677         Moved ...
12678         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12679         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12680         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12682         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12683         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12684         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12685         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12686         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12688 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12690         [BZ #17092]
12691         * nscd/nscd.c (monitor_child): Return exit status of child
12692         instead of return value from wait syscall.
12694 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12696         * configure.ac (libc_commonpagesize): Remove variable.
12697         (libc_relro_required): Likewise.
12698         (libc_cv_z_relro): Remove configure test.
12699         * configure: Regenerated.
12700         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12701         variable.
12702         (libc_relro_required): Likewise.
12703         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12704         (libc_relro_required): Likewise.
12705         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12706         (libc_relro_required): Likewise.
12707         * sysdeps/arm/preconfigure: Regenerated.
12708         * sysdeps/ia64/preconfigure: Remove file.
12709         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12710         variable.
12711         (libc_relro_required): Likewise.
12713         [BZ #16561]
12714         [BZ #16562]
12715         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12716         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12717         recompute overflowing results in original rounding mode.
12718         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12719         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12720         recompute overflowing results in original rounding mode.
12721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12722         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12723         recompute overflowing results in original rounding mode.
12724         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12725         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12726         recompute overflowing results in original rounding mode.
12727         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12728         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12729         recompute overflowing results in original rounding mode.
12730         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12731         (libc_feholdsetround_ctx): New macro.
12732         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12733         * sysdeps/i386/fpu/libm-test-ulps: Update.
12734         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12736 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12738         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12739         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12740         corresponding .cpsetup call.
12742 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12744         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12745         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12746         * sysdeps/arm/Makefile [$(subdir) = csu]
12747         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12748         (static-only-routines): Add aeabi_read_tp here.
12749         (shared-only-routines): Add libc-aeabi_read_tp here.
12750         (CFLAGS-libc-start.c): Add -fexceptions here.
12751         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12752         (sysdep_routines, static-only-routines, shared-only-routines):
12753         Don't add to these here.
12754         (CFLAGS-libc-start.c): Likewise.
12756         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12757         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12758         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12759         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12760         * sysdeps/arm/Makefile [$(subdir) = rt]
12761         (librt-sysdep_routines, librt-shared-only-routines):
12762         Append rt-aeabi_unwind_cpp_pr1 here.
12763         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12764         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12765         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12766         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12767         Append nptl-aeabi_unwind_cpp_pr1 here.
12768         (tests): Filter out tst-cleanupx4 here.
12769         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12770         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12771         Don't do those here.
12773 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12775         * scripts/list-sources.sh: Do not handle ports specially.
12777 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12779         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12780         * sysdeps/arm/feupdateenv.c: Likewise.
12782         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12784 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12786         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12787         trailing whitespace removed.
12788         * scripts/config.guess: Update to version 2014-03-23.
12789         * scripts/config.sub: Update to version 2014-05-01
12790         * scripts/install-sh: Update to version 2013-12-25.23.
12791         * scripts/move-if-change: Update from gnulib.
12793 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12795         * debug/memmove_chk.c: Remove pagecopy.h include.
12797 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12799         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12800         identical to gnulib mktime.
12802 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12804         * configure.ac: Do not test for machine being rs6000.  Do not test
12805         for powerpc*-*soft.
12806         * configure: Regenerated.
12808         [BZ #11505]
12809         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12810         test.
12811         * configure: Regenerated.
12812         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12813         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12814         Remove configure test.
12815         * sysdeps/arm/configure: Regenerated.
12816         * sysdeps/nptl/configure.ac: Do not check
12817         libc_cv_asm_cfi_directives.
12818         * sysdeps/nptl/configure: Regenerated.
12819         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12820         * sysdeps/x86_64/nptl/configure: Remove generated file.
12821         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12822         unconditional.
12823         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12825 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12827         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12828         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12829         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12830         it is defined.
12832         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12833         instead of whether it is defined.
12834         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12835         * sysdeps/hppa/dl-machine.h: Likewise.
12836         * sysdeps/ia64/dl-machine.h: Likewise.
12837         * sysdeps/m68k/dl-machine.h: Likewise.
12838         * sysdeps/microblaze/dl-machine.h: Likewise.
12839         * sysdeps/mips/dl-machine.: Likewise.
12840         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12841         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12842         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12843         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12844         * sysdeps/sh/dl-machine.h: Likewise.
12845         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12846         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12847         * sysdeps/tile/dl-machine.h: Likewise.
12848         * sysdeps/x86_64/dl-machine.h: Likewise.
12850         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12851         code.
12852         (verify_persistent_db): Likewise.
12854 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12857         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12859         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12861         Moved ...
12862         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12863         ... here.
12864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12865         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12867         Identical file removed.
12868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12869         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12871         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12873         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12875         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12877         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12879         Moved ...
12880         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12882         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12884         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12886         Moved ...
12887         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12889         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12891         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12893         Identical file removed.
12894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12895         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12897         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12899         Moved ...
12900         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12901         ... here.
12902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12903         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12905         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12907         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12909         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12911         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12913         Moved ...
12914         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12916         Moved ...
12917         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12919         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12921         Moved ...
12922         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12924         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12926         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12927         folded into ...
12928         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12929         * sysdeps/unix/sysv/linux/s390/Versions
12930         (libpthread: GLIBC_2.19): New version set.
12931         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12932         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12933         (librt: GLIBC_2.3.3): New version set.
12934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12935         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12936         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12937         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12938         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12939         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12940         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12941         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12942         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12943         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12944         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12945         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12946         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12947         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12948         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12949         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12950         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12951         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12952         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12953         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12954         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12955         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12956         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12957         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12958         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12960         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12961         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12962         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12963         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12964         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12965         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12966         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12967         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12968         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12970         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12971         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12972         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12974         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12975         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12976         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12978         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12980         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12981         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12982         (__libc_vfork): Define the function under this name.
12983         [!NOT_IN_libc] (__vfork): Make this an alias.
12984         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12985         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12986         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12987         (__libc_vfork): Define the function under this name.
12988         [!NOT_IN_libc] (__vfork): Make this an alias.
12989         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12990         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12991         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12992         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12994         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12996         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12997         code that was previously under [RESET_PID].
12998         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12999         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13000         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13002         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13003         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13004         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13005         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13006         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13007         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13008         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13009         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13010         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13011         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13012         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13013         Moved ...
13014         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13015         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13016         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13017         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13018         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13019         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13020         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13021         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13022         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13023         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13024         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13025         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13026         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13027         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13028         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13029         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13030         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13031         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13032         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13033         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13034         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13035         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13036         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13037         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13038         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13039         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13040         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13041         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13042         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13044 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13046         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13047         that was previously under [RESET_PID].
13048         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13050 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13052         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13053         not undefine and redefine.
13054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13055         [O_CLOEXEC]: Make code unconditional.
13056         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13057         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13058         <kernel-features.h>.
13059         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13060         conditional variable definition.
13061         (shm_open) [O_CLOEXEC]: Make code unconditional.
13062         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13063         code.
13065         * configure.ac (USE_REGPARMS): Don't define here.
13066         * configure: Regenerated.
13067         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13068         * sysdeps/i386/configure: Regenerated.
13070         * nptl/createthread.c: Don't include kernel-features.h.
13071         * nptl/pthread_cancel.c: Likewise.
13072         * nptl/pthread_condattr_setclock.c: Likewise.
13073         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13074         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13075         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13076         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13077         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13078         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13079         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13080         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13081         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13082         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13083         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13084         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13085         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13086         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13087         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13088         * nscd/gai.c: Likewise.
13089         * nss/nss_db/db-open.c: Likewise.
13090         * sysdeps/generic/ldsodefs.h: Likewise.
13091         * sysdeps/sh/nptl/tls.h: Likewise.
13092         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13093         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13094         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13095         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13096         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13097         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13098         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13099         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13100         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13101         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13102         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13103         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13104         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13105         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13106         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13107         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13108         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13109         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13110         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13111         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13113         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13114         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13115         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13116         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13118         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13120         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13121         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13122         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13123         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13124         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13125         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13126         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13127         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13128         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13129         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13130         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13131         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13132         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13133         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13134         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13135         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13136         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13137         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13138         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13139         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13140         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13141         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13142         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13143         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13144         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13145         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13146         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13147         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13148         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13149         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13172         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13173         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13174         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13175         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13176         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13177         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13178         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13179         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13180         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13181         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13182         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13183         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13184         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13185         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13186         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13187         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13188         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13189         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13190         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13191         * sysdeps/unix/sysv/linux/system.c: Likewise.
13192         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13193         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13194         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13195         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13196         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13197         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13198         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13200         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13201         * configure: Regenerated.
13202         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13204         * configure.ac (base_machine): Do not set specially for particular
13205         machines here.
13206         * configure: Regenerated.
13207         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13208         settings from configure.ac.
13209         * sysdeps/i386/preconfigure: New file.
13210         * sysdeps/s390/preconfigure: Likewise.
13211         * sysdeps/sh/preconfigure: Likewise.
13212         * sysdeps/sparc/preconfigure: Likewise.
13214 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13216         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13217         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13218         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13219         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13220         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13221         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13222         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13223         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13224         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13225         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13226         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13227         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13228         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13229         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13230         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13231         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13232         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13233         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13234         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13236         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13237         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13238         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13239         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13240         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13241         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13242         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13243         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13244         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13245         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13246         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13247         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13248         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13249         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13250         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13251         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13252         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13253         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13254         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13255         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13256         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13257         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13258         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13259         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13260         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13261         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13263         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13264         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13265         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13266         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13267         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13268         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13269         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13270         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13271         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13272         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13273         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13276         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13278         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13280         Moved ...
13281         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13282         ... here.
13283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13284         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13286         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13288         Moved ...
13289         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13291         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13293         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13295         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13297         Moved ...
13298         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13300         Moved ...
13301         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13303         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13305         Moved ...
13306         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13308         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13310         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13312         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13314         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13316         Moved ...
13317         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13318         ... here.
13319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13320         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13322         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13324         Moved ...
13325         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13327         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13329         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13331         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13333         Moved ...
13334         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13336         Moved ...
13337         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13339         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13341         Moved ...
13342         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13344         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13346         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13348 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13350         * timezone/checktab.awk: Update from tzcode 2014e.
13351         * timezone/private.h: Likewise.
13352         * timezone/tzfile.h: Likewise.
13353         * timezone/zdump.c: Likewise.
13354         * timezone/zic.c: Likewise.
13356         * sysdeps/unix/sysv/linux/kernel-features.h
13357         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13358         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13359         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13360         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13361         Remove conditional code.
13363 2014-06-25  Will Newton  <will.newton@linaro.org>
13365         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13366         (_dl_arm_cap_flags): Add HWCAP2 values.
13367         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13368         (_DL_HWCAP_COUNT): Increase to 37.
13369         (_DL_HWCAP_LAST): New define.
13370         (_DL_HWCAP2_LAST): New define.
13371         (_dl_procinfo): Add support for printing
13372         AT_HWCAP2 entries.
13373         (_dl_string_hwcap): Use _dl_hwcap_string.
13375 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13379 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13381         * README: Do not mention ports directory.
13383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13384         Remove macro.
13385         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13386         <kernel-features.h>.
13387         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13388         conditional variable definition.
13389         (__futimes): Update comment.
13390         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13391         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13393         [BZ #16560]
13394         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13395         arguments close to 0.
13396         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13397         Likewise.
13398         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13399         Likewise.
13400         * math/auto-libm-test-in: Add more tests of exp10.
13401         * math/auto-libm-test-out: Regenerated.
13402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13404         * sysdeps/unix/sysv/linux/kernel-features.h
13405         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13406         * sysdeps/unix/sysv/linux/readv.c: Do not include
13407         <kernel-features.h>.
13408         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13409         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13410         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13411         unconditional.
13412         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13413         conditional code.
13414         * sysdeps/unix/sysv/linux/writev.c: Do not include
13415         <kernel-features.h>.
13416         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13417         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13418         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13419         unconditional.
13420         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13421         conditional code.
13423 2014-06-25  Will Newton  <will.newton@linaro.org>
13425         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13426         comment changes throughout the file.  Remove checks
13427         for HAVE_*_H definitions that are not required.
13428         (__gen_tempname): Call abort if an unknown kind value is
13429         passed.
13431 2014-06-25  Andreas Schwab  <schwab@suse.de>
13433         [BZ #17086]
13434         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13435         scalbln, scalblnf, scalblnl in libc.
13437 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13439         [BZ #17086]
13440         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13441         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13442         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13444 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13446         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13447         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13448         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13449         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13450         Update #include.
13451         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13452         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13453         Update #include.
13454         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13455         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13456         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13457         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13458         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13459         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13460         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13461         * sysdeps/x86/bits/semaphore.h: ... here.
13462         * sysdeps/x86/nptl/elide.h: Moved ...
13463         * sysdeps/x86/elide.h: ... here.
13464         * sysdeps/x86_64/nptl/Implies: File removed.
13465         * sysdeps/i386/nptl/Implies: File removed.
13467 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13469         [BZ #16539]
13470         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13471         return the argument for normal arguments with exponent below -64.
13472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13473         Likewise.
13474         * math/auto-libm-test-in: Add another test of expm1.
13475         * math/auto-libm-test-out: Regenerated.
13477         [BZ #16287]
13478         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13479         calling __erfcl for arguments at least 16.
13480         * math/auto-libm-test-in: Add more tests of erf.
13481         * math/auto-libm-test-out: Regenerated.
13483         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13484         individual architectures.
13485         * sysdeps/unix/sysv/linux/configure: Regenerated.
13486         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13487         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13488         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13489         (ldd_rewrite_script): Define variable.
13490         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13492         file.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13494         generated file.
13495         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13496         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13497         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13498         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13499         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13500         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13501         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13502         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13504 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13506         [BZ #17084]
13507         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13508         Rename member __data.d to __data.__elision_data.
13510 2014-06-24  Wilco  <wdijkstr@arm.com>
13512         * NEWS: Add 16918 to fixed bug list.
13514 2014-06-24  Wilco  <wdijkstr@arm.com>
13516         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13518 2014-06-24  Wilco  <wdijkstr@arm.com>
13520         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13521         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13522         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13523         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13524         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13525         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13526         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13527         Use _FPU_MASK_RM.
13529 2014-06-24  Wilco  <wdijkstr@arm.com>
13531         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13533 2014-06-24  Wilco  <wdijkstr@arm.com>
13535         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13536         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13537         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13538         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13540 2014-06-24  Wilco  <wdijkstr@arm.com>
13542         [BZ #16918]
13543         * sysdeps/arm/feupdateenv.c (feupdateenv):
13544         Rewrite to reduce FPSCR accesses and fix return value.
13546 2014-06-24  Wilco  <wdijkstr@arm.com>
13548         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13549         Optimize to avoid unnecessary FPSCR writes.
13550         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13551         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13552         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13553         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13555 2014-06-24  Wilco  <wdijkstr@arm.com>
13557         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13558         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13559         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13560         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13561         Call libc_fetestexcept_vfp.
13562         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13563         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13564         __SOFTFP__ ifdef so that they can be built for softfp.
13566 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13568         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13569         argument type signed char.
13571         * Makerules (check-abi): Dump diff of symlist if the test
13572         fails.
13574 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13576         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13577         using abort.
13579         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13580         Remove unused variable ST.
13582 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13584         [BZ #16354]
13585         [BZ #17061]
13586         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13587         small arguments before calling __expm1.
13588         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13589         small arguments before calling __expm1f.
13590         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13591         small arguments before calling __expm1l.
13592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13593         Likewise.
13594         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13595         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13596         spurious underflow for some cosh tests.
13597         * math/auto-libm-test-out: Regenerated.
13598         * sysdeps/i386/fpu/libm-test-ulps: Update.
13600         [BZ #17050]
13601         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13602         (__ieee754_y1): Set errno if return value overflows.
13603         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13604         (__ieee754_y1f): Set errno if return value overflows.
13605         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13606         (__ieee754_y1l): Set errno if return value overflows.
13607         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13608         (__ieee754_y1l): Set errno if return value overflows.
13609         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13610         * math/auto-libm-test-out: Regenerated.
13612         * math/gen-auto-libm-tests.c: Document use of
13613         ignore-zero-inf-sign.
13614         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13615         (input_flags): Add ignore-zero-inf-sign.
13616         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13617         * math/gen-libm-test.pl (generate_testfile): Handle
13618         ignore-zero-inf-sign.
13619         * math/auto-libm-test-in: Mark some cpow tests with
13620         ignore-zero-inf-sign and some with xfail-rounding.
13621         * math/auto-libm-test-out: Regenerated.
13622         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13623         * sysdeps/i386/fpu/libm-test-ulps: Update.
13624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13626         [BZ #16315]
13627         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13628         overflowing or underflowing operations take place with sign of
13629         result.
13630         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13631         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13632         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13633         (__ieee754_pow): Recompute overflowing and underflowing results in
13634         original rounding mode.
13635         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13636         (__powl_helper): Allow negative argument X and scale negated value
13637         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13638         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13639         overflowing or underflowing operations take place with sign of
13640         result.
13641         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13642         Include <math.h>.
13643         * math/auto-libm-test-in: Add more tests of pow.
13644         * math/auto-libm-test-out: Regenerated.
13645         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13646         (pow_tonearest_test_data): Remove.
13647         (pow_test_tonearest): Likewise.
13648         (pow_towardzero_test_data): Likewise.
13649         (pow_test_towardzero): Likewise.
13650         (pow_downward_test_data): Likewise.
13651         (pow_test_downward): Likewise.
13652         (pow_upward_test_data): Likewise.
13653         (pow_test_upward): Likewise.
13654         (main): Don't call removed functions.
13655         * sysdeps/i386/fpu/libm-test-ulps: Update.
13656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13658 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13661         Moved ...
13662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13664         Moved ...
13665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13667         Moved ...
13668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13670         Moved ...
13671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13673         File removed.
13674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13675         File removed.
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13677         File removed.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13679         File removed.
13680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13681         File removed.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13683         File removed.
13684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13685         File removed.
13686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13687         File removed.
13688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13689         File removed.
13690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13691         File removed.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13693         File removed.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13695         File removed.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13697         Moved ...
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13700         Moved ...
13701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13702         ... here.
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13704         Moved ...
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13707         Moved ...
13708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13710         Moved ...
13711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13713         Moved ...
13714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13716         Moved ...
13717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13719         Moved ...
13720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13722         Moved ...
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13726         ... here.
13727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13728         Moved ...
13729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13731         Moved ...
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13733         ... here.
13734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13735         Moved ...
13736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13737         ... here.
13738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13739         Moved ...
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13741         ... here.
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13743         Moved ...
13744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13746         Moved ...
13747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13751         Moved ...
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13753         ... here.
13754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13755         Moved ...
13756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13757         ... here.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13759         Moved ...
13760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13762         Moved ...
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13765         Moved ...
13766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13768         Moved ...
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13771         Moved ...
13772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13773         ... here.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13775         Moved ...
13776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13778         Moved ...
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13781         Moved ...
13782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13784         Moved ...
13785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13789         Moved ...
13790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13792         Moved ...
13793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13795         Moved ...
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13797         ... here.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13801         ... here.
13802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13803         Moved ...
13804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13805         ... here.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13807         Moved ...
13808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13810         Moved ...
13811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13813         Moved ...
13814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13816         Moved ...
13817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13818         ... here.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13820         Moved ...
13821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13822         ... here.
13823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13824         Moved ...
13825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13826         ... here.
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13828         Moved ...
13829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13831         Moved ...
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13834 2014-06-23  Will Newton  <will.newton@linaro.org>
13835             Wilco  <wdijkstr@arm.com>
13837         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13838         implementation.  Include get-rounding-mode.h.
13839         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13840         [!libc_feholdsetround_noex_ctx]: Define
13841         libc_feholdsetround_noex_ctx.
13842         [!libc_feholdsetround_noexf_ctx]: Define
13843         libc_feholdsetround_noexf_ctx.
13844         [!libc_feholdsetround_noexl_ctx]: Define
13845         libc_feholdsetround_noexl_ctx.
13846         (libc_feholdsetround_ctx): New function.
13847         (libc_feresetround_ctx): New function.
13848         (libc_feholdsetround_noex_ctx): New function.
13849         (libc_feresetround_noex_ctx): New function.
13851 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13853         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13854         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13855         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13856         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13857         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13858         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13860         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13861         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13862         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13863         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13864         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13865         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13867         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13869         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13870         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13871         Moved ...
13872         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13873         ... here.
13874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13875         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13877         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13878         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13879         Moved ...
13880         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13881         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13882         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13883         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13884         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13885         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13886         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13887         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13888         Moved ...
13889         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13891         Moved ...
13892         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13893         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13894         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13895         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13896         Moved ...
13897         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13899         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13900         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13901         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13902         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13903         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13904         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13905         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13907         Moved ...
13908         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13909         ... here.
13910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13911         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13912         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13913         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13914         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13915         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13916         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13917         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13918         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13919         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13921         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13923         Moved ...
13924         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13926         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13928         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13929         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13930         Moved ...
13931         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13933         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13934         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13935         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13937         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13938         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13939         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13940         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13941         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13942         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13943         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13944         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13945         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13946         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13947         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13948         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13949         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13950         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13951         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13952         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13953         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13954         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13955         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13956         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13957         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13958         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13959         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13960         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13961         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13962         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13963         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13964         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13966 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13968         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13969         (FALLOC_FL_COLLAPSE_RANGE): New macro.
13970         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13971         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13972         (IPV6_PMTUDISC_INTERFACE): Likewise.
13973         (IPV6_PMTUDISC_OMIT): Likewise.
13975 2014-06-23  Andreas Schwab  <schwab@suse.de>
13977         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13978         Remove unused errout label.
13980 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13982         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13983         macro: hardware supports Vector Crypto instructions.
13985 2014-06-23  Will Newton  <will.newton@linaro.org>
13987         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13988         rather than __builtin_expect.
13990         * elf/dl-lookup.c (undefined_msg): Remove variable.
13991         (_dl_lookup_symbol_x): Replace undefined_msg with string
13992         literal.
13994         * elf/dl-lookup.c (do_lookup_unique): New function.
13995         (do_lookup_x): Move STB_GNU_UNIQUE handling code
13996         to a separate function.
13998 2014-06-23  Andreas Schwab  <schwab@suse.de>
14000         [BZ #17079]
14001         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14002         before reading the next line.
14004 2014-06-23  Will Newton  <will.newton@linaro.org>
14006         * test-skeleton.c (signal_handler): Use printf and %m
14007         rather than perror.  Use printf rather than fprintf to
14008         stderr.  Use puts rather than fputs to stderr.
14009         (main): Likewise.
14011 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14013         * nscd/nscd.c (thread_info_t): Remove typedef.
14014         (thread_info): Remove variable.
14016 2014-06-21  Allan McRae  <allan@archlinux.org>
14018         * NEWS: Mention CVE-2014-4043.
14020 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14022         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14023         * nptl/smp.h: ... here.
14025         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14027         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14028         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14029         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14030         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14032         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14033         * nptl/stack-aliasing.h: New file.
14034         * sysdeps/i386/i686/stack-aliasing.h: New file.
14035         * sysdeps/i386/i686/nptl/Makefile: File removed.
14036         * sysdeps/x86_64/stack-aliasing.h: New file.
14037         * sysdeps/x86_64/nptl/Makefile
14038         (CFLAGS-pthread_create.c): Variable removed.
14040         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14041         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14042         old file.
14043         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14044         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14045         old file.
14047 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14049         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14050         (__ASSUME_SIGFRAME_V2): Remove macro.
14051         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14052         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14053         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14054         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14055         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14056         Declare as function.  Remove conditional macro definitions.
14057         (__default_rt_sa_restorer): Likewise.
14058         (__default_sa_restorer_v1): Remove declaration.
14059         (__default_sa_restorer_v2): Likewise.
14060         (__default_rt_sa_restorer_v1): Likewise.
14061         (__default_rt_sa_restorer_v2): Likewise.
14062         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14063         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14064         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14066 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14068         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14069         (libpthread-routines): Add sysdep.
14070         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14071         * sysdeps/unix/sysv/linux/sparc/Versions
14072         (libpthread: GLIBC_2.3.3): New version set.
14073         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14074         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14075         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14076         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14077         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14078         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14079         Moved ...
14080         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14081         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14082         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14083         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14084         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14085         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14086         * sysdeps/sparc/nptl/sem_init.c: ... here.
14087         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14088         * sysdeps/sparc/nptl/sem_post.c: ... here.
14089         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14090         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14091         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14092         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14093         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14094         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14095         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14096         (libpthread-routines): Add cpu_relax.
14097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14098         File removed.
14099         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14100         (librt: GLIBC_2.3.3): New version set.
14101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14102         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14103         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14104         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14107         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14109         Moved ...
14110         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14111         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14112         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14114         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14115         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14116         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14118         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14119         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14120         Moved ...
14121         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14122         Update #include.
14123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14124         Moved ...
14125         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14126         Update #include.
14127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14128         Moved ...
14129         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14130         Update #include.
14131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14132         Moved ...
14133         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14134         Update #include.
14135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14136         Moved ...
14137         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14138         Update #include.
14139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14140         Moved ...
14141         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14142         Update #include.
14143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14144         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14148         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14150         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14152         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14154         Moved ...
14155         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14157         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14159         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14161 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14163         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14164         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14165         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14166         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14167         * nscd/nscd.c: Likewise.
14168         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14169         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14170         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14171         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14173         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14174         <kernel-features.h>.
14175         (init_mq_netlink): Remove conditional have_sock_cloexec
14176         definitions.  Remove code conditional on have_sock_cloexec < 0.
14177         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14178         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14179         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14180         <kernel-features.h>.
14181         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14182         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14184 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14187         Add tests for memset_chk and memset.
14189         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14190         with AVX2_Usable.
14192 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14194         [BZ #16046]
14195         * elf/tst-dl-iter-static.c: New file.
14196         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14198         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14199         error.
14201 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14203         * sysdeps/unix/sysv/linux/kernel-features.h
14204         (__ASSUME_F_GETOWN_EX): Remove macro.
14205         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14206         <kernel-features.h>.
14207         (miss_F_GETOWN_EX): Remove variable or macro.
14208         (do_fcntl): Do not check miss_F_GETOWN_EX.
14209         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14211         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14212         Remove macro.
14213         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14214         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14215         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14217         * sysdeps/unix/sysv/linux/kernel-features.h
14218         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14219         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14220         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14221         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14223 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14225         [BZ #17075]
14226         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14227         Fix calculation of the symbol's value.
14228         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14229         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14230         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14231         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14232         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14233         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14234         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14235         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14236         (modules-names): Add `tst-armtlsdescmod',
14237         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14238         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14239         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14240         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14241         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14242         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14243         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14244         ($(objpfx)tst-armtlsdescloc): New dependency.
14245         ($(objpfx)tst-armtlsdescextnow): Likewise.
14246         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14247         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14248         TLS scheme support.
14249         * sysdeps/arm/configure: Regenerate.
14251 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14253         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14254         (__atfct_seterrno_2): Likewise.
14255         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14256         <kernel-features.h>.
14257         (__ASSUME_ATFCTS): Do not undefine and redefine.
14258         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14259         (__have_atfcts): Remove conditional definition.
14260         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14261         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14262         unreachable if [__ASSUME_ATFCTS].
14263         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14264         not undefine and redefine.
14265         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14266         <kernel-features.h>.
14267         (faccessat) [__NR_faccessat]: Make code unconditional.
14268         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14269         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14270         <kernel-features.h>.
14271         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14272         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14273         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14274         <kernel-features.h>.
14275         (fchownat) [__NR_fchownat]: Make code unconditional.
14276         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14277         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14278         <kernel-features.h>.
14279         (futimesat) [__NR_futimesat]: Make code unconditional.
14280         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14281         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14282         <kernel-features.h>.
14283         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14284         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14285         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14286         <kernel-features.h>.
14287         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14288         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14289         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14290         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14291         <kernel-features.h>.
14292         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14293         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14294         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14295         <kernel-features.h>.
14296         (linkat) [__NR_linkat]: Make code unconditional.
14297         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14298         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14299         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14300         <kernel-features.h>.
14301         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14302         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14303         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14304         <kernel-features.h>.
14305         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14306         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14307         * sysdeps/unix/sysv/linux/openat.c: Do not include
14308         <kernel-features.h>.
14309         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14310         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14311         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14312         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14313         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14314         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14315         <kernel-features.h>.
14316         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14317         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14318         result of INLINE_SYSCALL directly, not via int variable.
14319         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14320         <kernel-features.h>.
14321         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14322         (renameat) [__NR_renameat]: Make code unconditional.
14323         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14324         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14325         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14326         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14327         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14328         (__ASSUME_ATFCTS): Do not undefine and redefine.
14329         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14330         <kernel-features.h>.
14331         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14332         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14333         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14334         <kernel-features.h>.
14335         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14336         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14337         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14338         (__ASSUME_ATFCTS): Do not undefine and redefine.
14339         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14340         <kernel-features.h>.
14341         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14342         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14343         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14344         <kernel-features.h>.
14345         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14346         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14348 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14350         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14352 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14354         [BZ #17069]
14355         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14356         constructed tree before returning error.
14357         * posix/bug-regexp36.c: Expand test case.
14359 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14361         [BZ #6803]
14362         * math/libm-test.inc (scalbln_test_date):
14363         Add errno expectations.
14364         * math/w_scalblnf.c: New File.
14365         Add wrapper which checks for setting errno to ERANGE.
14366         Add weak_alias for corresponding scalbln function.
14367         * math/w_scalbln.c: Likewise.
14368         * math/w_scalblnl.c: Likewise.
14369         * math/Makefile (libm-calls): Add w_scalbln.
14370         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14371         Remove weak_alias for corresponding scalbln function.
14372         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14373         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14374         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14375         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14376         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14377         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14378         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14379         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14380         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14381         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14382         Remove long_double_symbol for scalblnl function in libm, libc.
14383         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14384         Add wrapper which checks for setting errno to ERANGE.
14385         Add long_double_symbol for scalblnl function in libm, libc.
14386         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14387         Remove long_double_symbol for scalblnl in libm.
14388         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14389         Add wrapper which checks for setting errno to ERANGE.
14390         Add long_double_symbol for scalblnl function in libm.
14391         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14392         Do not use wrapper because of own implementation.
14394 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14396         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14397         3 bytes for __pad1 for x32.
14398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14400 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14401             H.J. Lu  <hongjiu.lu@intel.com>
14403         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14404         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14405         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14407         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14409 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14411         [BZ #17069]
14412         * posix/regcomp.c (parse_expression): Deallocate partially
14413         constructed tree before returning error.
14414         * posix/Makefile.c (tests): Add bug-regex36.
14415         (generated): Add bug-regex36.mtrace.
14416         (tests-special): Add $(objpfx)bug-regex36-mem.out
14417         (bug-regex36-ENV): New variable.
14418         ($(objpfx)bug-regex36-mem.out): New rule.
14419         * posix/bug-regex36.c: New file.
14421 2014-06-19  Will Newton  <will.newton@linaro.org>
14423         * malloc/malloc.c (systrim): If extra is zero then return
14424         early.
14426 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14428         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14430 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14432         * sysdeps/aarch64/strchr.S: New file.
14434 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14436         [BZ #17022]
14437         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14438         from arguments -2 or below.
14439         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14440         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14442 2014-06-18  Andreas Schwab  <schwab@suse.de>
14444         [BZ #17062]
14445         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14446         of a bracket expr not to run off the end of the string.
14447         * posix/Makefile (tests): Add tst-fnmatch3.
14448         * posix/tst-fnmatch3.c: New file.
14450 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14452         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14453         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14454         [$(cross-compiling) = no]: Likewise.
14455         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14456         [$(cross-compiling) = no]: Likewise.
14458 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14460         [BZ #17031]
14461         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14462         double, adjusted for any remainder from the high double.
14463         * math/libm-test.inc (nearbyint): Add tests.
14464         (rint): Likewise.
14466 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14468         * nptl/sysdeps/powerpc/Makefile: Moved ...
14469         * sysdeps/powerpc/nptl/Makefile: ... here.
14470         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14471         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14472         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14473         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14474         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14475         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14476         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14477         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14478         * nptl/sysdeps/powerpc/tls.h: Moved ...
14479         * sysdeps/powerpc/nptl/tls.h: ... here.
14481 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14483         [BZ #16681]
14484         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14485         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14486         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14487         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14488         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14489         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14490         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14491         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14492         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14494 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14496         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14498 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14500         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14501         defined operator.
14503         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14504         $TIMEOUTFACTOR.
14506 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14508         [BZ #17058]
14509         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14510         non-executed part of the test.
14512 2014-06-16  Andreas Schwab  <schwab@suse.de>
14514         * string/bits/string2.h (strdup, strndup): Update feature guard.
14516 2014-06-14  David S. Miller  <davem@davemloft.net>
14518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14520 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14522         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14523         that was previously under [RESET_PID].
14524         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14526         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14527         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14528         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14529         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14530         (__libc_vfork): New strong alias.
14531         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14533 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14535         * sysdeps/generic/elide.h: New file.
14537 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14539         * Makefile (installed-headers): Adjust path of pthread.h header.
14541 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14543         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14544         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14545         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14546         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14548         * nptl/sysdeps/s390/Makefile: Moved ...
14549         * sysdeps/s390/nptl/Makefile: ... here.
14550         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14551         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14552         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14553         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14554         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14555         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14556         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14557         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14558         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14559         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14560         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14561         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14562         * nptl/sysdeps/s390/tls.h: Moved ...
14563         * sysdeps/s390/nptl/tls.h: ... here.
14565         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14566         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14568 2014-06-13  David S. Miller  <davem@davemloft.net>
14570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14573         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14577         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14578         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14579         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14580         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14581         Remove RESET_PID cpp guards.
14582         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14583         Remove RESET_PID cpp guards.
14584         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14586 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14588         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14589         __sp to uintptr_t.
14591 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14593         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14594         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14595         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14597         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14598         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14599         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14600         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14601         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14602         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14603         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14604         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14605         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14606         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14607         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14608         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14609         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14611         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14614         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14615         (pthread_rwlock_rdlock): Add elision.
14616         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14617         (pthread_rwlock_wrlock): Add elision.
14618         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14619         (pthread_rwlock_trywrlock): Add elision.
14620         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14621         (pthread_rwlock_tryrdlock): Add elision.
14622         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14623         (pthread_rwlock_tryrdlock): Add elision unlock.
14624         * nptl/sysdeps/pthread/pthread.h:
14625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14626         (PTHREAD_RWLOCK_INITIALIZER,
14627         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14628         Handle new elision field.
14629         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14630         * sysdeps/arm/nptl/bits/pthreadtypes.h
14631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14632         * sysdeps/sh/nptl/bits/pthreadtypes.h
14633         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14634         * sysdeps/tile/nptl/bits/pthreadtypes.h
14635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14636         * sysdeps/a/nptl/bits/pthreadtypes.h
14637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14638         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14640         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14642         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14644         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14646         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14648         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14650         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14652         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14654         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14655         (elision_init): Set try_xbegin to zero when no RTM.
14656         * sysdeps/x86/nptl/bits/pthreadtypes.h
14657         (pthread_rwlock_t): Change __pad1 to __rwelision.
14658         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14660 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14662         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14663         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14664         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14665         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14667 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14669         [BZ #16996]
14670         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14671         that the cached result has been set before returning it.
14673 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14675         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14676         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14677         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14678         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14679         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14680         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14682         * nptl/sysdeps/sparc/Makefile: Moved ...
14683         * sysdeps/sparc/nptl/Makefile: ... here.
14684         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14685         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14686         * nptl/sysdeps/sparc/tls.h: Moved ...
14687         * sysdeps/sparc/nptl/tls.h: ... here.
14688         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14689         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14690         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14691         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14692         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14693         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14694         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14695         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14696         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14697         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14698         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14699         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14700         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14701         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14702         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14703         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14704         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14706         Update #include.
14707         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14709         Update #include.
14710         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14712         Update #include.
14713         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14714         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14715         Update #include.
14717         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14719         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14720         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14722         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14723         (struct list_links): Type removed.
14724         (struct thread_node, struct timer_node): Replace struct list_links
14725         with struct list_head.
14726         (list_unlink_ip): Likewise.
14727         * sysdeps/pthread/timer_routines.c
14728         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14729         (list_append, list_insbefore): Likewise.
14730         (list_init): Function removed.
14731         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14732         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14733         * sysdeps/pthread/Makefile: ... here, new file.
14735         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14736         * sysdeps/nptl/Implies: ... here.
14737         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14738         * nptl/sysdeps/pthread/list.h: Moved ...
14739         * include/list.h: ... here.
14740         * nptl/sysdeps/pthread/createthread.c: Moved ...
14741         * nptl/createthread.c: ... here.
14742         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14743         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14744         * nptl/pt-longjmp.c: ... here.
14745         * nptl/sysdeps/pthread/Makefile: Moved ...
14746         * sysdeps/nptl/Makefile: ... here.
14747         * nptl/sysdeps/pthread/Subdirs: Moved ...
14748         * sysdeps/nptl/Subdirs: ... here.
14749         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14750         * sysdeps/nptl/aio_misc.h: ... here.
14751         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14752         * sysdeps/nptl/bits/libc-lock.h: ... here.
14753         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14754         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14755         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14756         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14757         * nptl/sysdeps/pthread/configure: Moved ...
14758         * sysdeps/nptl/configure: ... here.
14759         * nptl/sysdeps/pthread/configure.ac: Moved ...
14760         * sysdeps/nptl/configure.ac: ... here.
14761         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14762         * sysdeps/nptl/gai_misc.h: ... here.
14763         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14764         * sysdeps/nptl/librt-cancellation.c: ... here.
14765         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14766         * sysdeps/nptl/malloc-machine.h: ... here.
14767         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14768         * sysdeps/nptl/pthread-functions.h: ... here.
14769         * nptl/sysdeps/pthread/pthread.h: Moved ...
14770         * sysdeps/nptl/pthread.h: ... here.
14771         * nptl/sysdeps/pthread/setxid.h: Moved ...
14772         * sysdeps/nptl/setxid.h: ... here.
14773         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14774         * sysdeps/nptl/sigfillset.c: ... here.
14775         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14776         * sysdeps/nptl/tcb-offsets.h: ... here.
14777         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14778         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14779         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14780         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14781         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14782         * sysdeps/pthread/allocalim.h: ... here.
14783         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14784         * sysdeps/pthread/bits/sigthread.h: ... here.
14785         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14786         * sysdeps/pthread/flockfile.c: ... here.
14787         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14788         * sysdeps/pthread/ftrylockfile.c: ... here.
14789         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14790         * sysdeps/pthread/funlockfile.c: ... here.
14791         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14792         * sysdeps/pthread/posix-timer.h: ... here.
14793         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14794         * sysdeps/pthread/timer_create.c: ... here.
14795         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14796         * sysdeps/pthread/timer_delete.c: ... here.
14797         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14798         * sysdeps/pthread/timer_getoverr.c: ... here.
14799         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14800         * sysdeps/pthread/timer_gettime.c: ... here.
14801         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14802         * sysdeps/pthread/timer_routines.c: ... here.
14803         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14804         * sysdeps/pthread/timer_settime.c: ... here.
14805         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14806         * sysdeps/pthread/tst-timer.c: ... here.
14807         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14808         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14810         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14811         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14813         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14814         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14815         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14816         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14817         Update #include target.
14818         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14819         * sysdeps/i386/i686/nptl/Makefile: ... here.
14820         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14821         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14822         Update #include target.
14823         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14824         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14825         * nptl/sysdeps/i386/Makefile: Moved ...
14826         * sysdeps/i386/nptl/Makefile: ... here.
14827         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14828         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14829         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14830         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14831         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14832         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14833         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14834         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14835         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14836         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14837         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14838         * nptl/sysdeps/i386/tls.h: Moved ...
14839         * sysdeps/i386/nptl/tls.h: ... here.
14841         * sysdeps/sh/Makefile [$(subdir) = csu]
14842         (gen-as-const-headers): Add tcb-offsets.sym.
14843         * nptl/sysdeps/sh/Makefile: File removed.
14844         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14845         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14846         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14847         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14848         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14849         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14850         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14851         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14852         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14853         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14854         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14855         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14856         * nptl/sysdeps/sh/tls.h: Moved ...
14857         * sysdeps/sh/nptl/tls.h: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14859         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14860         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14861         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14862         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14863         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14864         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14865         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14866         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14867         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14868         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14869         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14870         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14871         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14872         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14873         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14874         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14875         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14876         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14877         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14879         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14880         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14882         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14883         Moved ...
14884         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14885         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14886         Moved ...
14887         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14889         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14891         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14892         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14893         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14894         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14895         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14896         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14897         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14898         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14899         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14900         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14901         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14903         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14904         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14905         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14907 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14909         * posix/spawn_faction_addopen.c: Include string.h.
14911 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14913         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14914         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14915         * nptl/sysdeps/x86_64/Makefile: Moved ...
14916         * sysdeps/x86_64/nptl/Makefile: ... here.
14917         * nptl/sysdeps/x86_64/configure: Moved ...
14918         * sysdeps/x86_64/nptl/configure: ... here.
14919         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14920         * sysdeps/x86_64/nptl/configure.ac: ... here.
14921         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14922         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14923         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14924         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14925         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14926         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14927         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14928         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14929         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14930         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14931         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14932         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14933         * nptl/sysdeps/x86_64/tls.h: Moved ...
14934         * sysdeps/x86_64/nptl/tls.h: ... here.
14935         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14936         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14937         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14938         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14940         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14942 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14946 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
14948         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14949         type.
14950         [POSIX] (off_t): Likewise.
14951         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14952         [POSIX] (S_ISBLK): Require macro.
14953         [POSIX] (S_ISCHR): Likewise.
14954         [POSIX] (S_ISDIR): Likewise.
14955         [POSIX] (S_ISFIFO): Likewise.
14956         [POSIX] (S_ISREG): Likewise.
14957         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14958         optional-macro.
14959         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14960         type.
14961         [POSIX] (time_t): Likewise.
14962         [POSIX] (timer_t): Likewise.
14964 2014-06-11  Florian Weimer  <fweimer@redhat.com>
14966         [BZ #17048]
14967         * posix/spawn_int.h (struct __spawn_action): Make the path string
14968         non-const to support deallocation.
14969         * posix/spawn_faction_addopen.c
14970         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14971         * posix/spawn_faction_destroy.c
14972         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
14973         path in all spawn_do_open actions.
14974         * posix/tst-spawn.c (do_test): Exercise the copy operation in
14975         posix_spawn_file_actions_addopen.
14977 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
14979         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14980         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14981         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14982         conditional code always true.
14983         (__libc_vfork): New alias.
14985 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14987         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14988         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14990         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14992         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14993         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14995         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14996         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14998         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14999         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15001 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15003         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15004         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15005         multiarch strcmp for PPC64.
15006         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15007         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15009         multiarch optimizations.
15010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15011         (__libc_ifunc_impl_list): Likewise.
15013 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15015         * benchtests/scripts/validate_benchout.py: New script.
15016         * benchtests/Makefile (bench-func): Call it.
15017         * benchtests/scripts/benchout.schema.json: New file.
15019 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15021         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15022         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15023         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15024         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15025         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15026         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15027         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15028         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15029         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15030         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15031         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15032         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15033         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15034         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15035         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15036         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15038         Moved ...
15039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15040         ... here.
15041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15042         Moved ...
15043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15045         Moved ...
15046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15047         ... here.
15048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15049         Moved ...
15050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15051         ... here.
15052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15053         Moved ...
15054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15056         Moved ...
15057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15058         ... here.
15059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15060         Moved ...
15061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15062         ... here.
15063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15064         Moved ...
15065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15067         Moved ...
15068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15069         ... here.
15070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15071         Moved ...
15072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15073         ... here.
15074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15075         Moved ...
15076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15077         ... here.
15078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15079         Moved ...
15080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15082         Moved ...
15083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15084         ... here.
15085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15086         Moved ...
15087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15088         ... here.
15089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15090         Moved ...
15091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15092         ... here.
15093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15094         Moved ...
15095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15097         Moved ...
15098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15099         ... here.
15100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15101         Moved ...
15102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15103         ... here.
15104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15105         Moved ...
15106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15108         Moved ...
15109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15110         ... here.
15111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15112         Moved ...
15113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15115         Moved ...
15116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15118         Moved ...
15119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15120         ... here.
15121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15122         Moved ...
15123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15124         ... here.
15125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15126         Moved ...
15127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15128         ... here.
15129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15130         Moved ...
15131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15133         Moved ...
15134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15135         ... here.
15136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15137         Moved ...
15138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15139         ... here.
15140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15141         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15143         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15145         Moved ...
15146         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15147         ... here.
15148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15149         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15151         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15152         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15153         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15155         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15157         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15159         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15161         Moved ...
15162         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15163         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15164         Moved ...
15165         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15167         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15169         Moved ...
15170         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15171         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15172         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15173         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15174         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15175         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15176         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15178 2014-06-10  Wilco  <wdijkstr@arm.com>
15180         * math/test-fenv-return.c: New file.
15181         * math/Makefile: Add new test test-fenv-return.
15183 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15185         [BZ #17042]
15186         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15187         when x - 1 is zero.
15188         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15189         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15190         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15191         0.0L for an argument of 1.0L.
15192         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15193         Likewise.
15194         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15195         value when x - 1 is zero.
15196         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15197         * sysdeps/i386/fpu/libm-test-ulps: Update.
15198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15202         [BZ #15119]
15203         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15205 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15207         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15208         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15210 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15212         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15213         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15215         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15216         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15218         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15219         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15221         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15222         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15224         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15225         if not already defined.
15226         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15227         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15228         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15229         (TLS_INIT_TP): Use it.
15230         (TLS_DEFINE_INIT_TP): New macro.
15231         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15233 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15235         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15236         constant.
15237         [POSIX] (IXANY): Likewise.
15238         [POSIX] (OLCUC): Likewise.
15239         [POSIX || POSIX2008] (CBAUD): Do not allow.
15240         [POSIX || POSIX2008] (DEFECHO): Likewise.
15241         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15242         [POSIX || POSIX2008] (ECHOKE): Likewise.
15243         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15244         [POSIX || POSIX2008] (EXTA): Likewise.
15245         [POSIX || POSIX2008] (EXTB): Likewise.
15246         [POSIX || POSIX2008] (FLUSHO): Likewise.
15247         [POSIX || POSIX2008] (LOBLK): Likewise.
15248         [POSIX || POSIX2008] (PENDIN): Likewise.
15249         [POSIX || POSIX2008] (SWTCH): Likewise.
15250         [POSIX || POSIX2008] (VDISCARD): Likewise.
15251         [POSIX || POSIX2008] (VDSUSP): Likewise.
15252         [POSIX || POSIX2008] (VLNEXT): Likewise.
15253         [POSIX || POSIX2008] (VREPRINT): Likewise.
15254         [POSIX || POSIX2008] (VSTATUS): Likewise.
15255         [POSIX || POSIX2008] (VWERASE): Likewise.
15256         (B*): Change to B[0123456789]*.
15257         * conform/data/time.h-data [POSIX || UNIX98]
15258         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15259         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15260         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15261         [POSIX] (tm_*): Do not allow.
15263 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15265         * Makefile (install): Don't set LANGUAGE.
15266         * Makefile.in (install): Likewise.
15267         * assert/Makefile (test-assert-ENV): Remove variable.
15268         (test-assert-perr-ENV): Likewise.
15269         * elf/Makefile (neededtest4-ENV): Likewise.
15270         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15271         [$(cross-compiling) = no]: Don't set LANGUAGE.
15272         * io/ftwtest-sh (LANG): Remove variable.
15273         * libio/Makefile (tst-widetext-ENV): Likewise.
15274         * manual/install.texi (Running make install): Don't refer to
15275         environment settings for make install.
15276         * INSTALL: Regenerated.
15277         * nptl/tst-tls6.sh: Don't set LANG.
15278         * posix/globtest.sh (LANG): Remove variable.
15279         * string/Makefile (tester-ENV): Likewise.
15280         (inl-tester-ENV): Likewise.
15281         (noinl-tester-ENV): Likewise.
15282         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15283         [$(cross-compiling) = no]: Don't set LANGUAGE.
15284         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15285         without explicit environment settings.
15287 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15289         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15290         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15291         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15292         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15294 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15296         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15297         other files in the crypt directory.
15298         * crypt/crypt.c: Remove duplicate includes.
15299         * crypt/crypt-entry.c: Likewise.
15300         * crypt/crypt_util.c: Likewise.
15302 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15304         * Makeconfig (run-program-env): New variable.
15305         (run-program-prefix-before-env): Likewise.
15306         (run-program-prefix-after-env): Likewise.
15307         (run-program-prefix): Define in terms of new variables.
15308         (built-program-cmd-before-env): New variable.
15309         (built-program-cmd-after-env): Likewise.
15310         (built-program-cmd): Define in terms of new variables.
15311         (test-program-prefix-before-env): New variable.
15312         (test-program-prefix-after-env): Likewise.
15313         (test-program-prefix): Define in terms of new variables.
15314         (test-program-cmd-before-env): New variable.
15315         (test-program-cmd-after-env): Likewise.
15316         (test-program-cmd): Define in terms of new variables.
15317         * Rules (make-test-out): Use $(run-program-env).
15318         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15319         (help): Do not mention environment variables.  Mention
15320         --timeoutfactor option.
15321         (timeoutfactor): New variable.
15322         (blacklist_exports): Remove function.
15323         (exports): Remove variable.
15324         (command): Do not include ${exports}.
15325         * manual/install.texi (Configuring and compiling): Do not mention
15326         test wrappers preserving environment variables.  Mention that last
15327         assignment to a variable must take precedence.
15328         * INSTALL: Regenerated.
15329         * benchtests/Makefile (run-bench): Use $(run-program-env).
15330         * catgets/Makefile ($(objpfx)test1.cat): Use
15331         $(built-program-cmd-before-env), $(run-program-env) and
15332         $(built-program-cmd-after-env).
15333         ($(objpfx)test2.cat): Do not specify environment variables
15334         explicitly.
15335         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15336         $(run-program-env) and $(built-program-cmd-after-env).
15337         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15338         $(run-program-env) and $(test-program-cmd-after-env).
15339         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15340         explicitly.
15341         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15342         run_program_env and test_program_cmd_after_env arguments.
15343         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15344         * elf/tst-pathopt.sh: Use run_program_env argument.
15345         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15346         $(test-wrapper-env) and $(run-program-env).
15347         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15348         run_program_env arguments.
15349         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15350         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15351         $(test-program-prefix-before-env), $(run-program-env) and
15352         $(test-program-prefix-after-env).
15353         ($(objpfx)tst-gettext2.out): Likewise.
15354         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15355         run_program_env and test_program_prefix_after_env arguments.
15356         * intl/tst-gettext2.sh: Likewise.
15357         * intl/tst-gettext4.sh: Do not set environment variables
15358         explicitly.
15359         * intl/tst-gettext6.sh: Likewise.
15360         * intl/tst-translit.sh: Likewise.
15361         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15362         $(test-program-prefix-before-env), $(run-program-env) and
15363         $(test-program-prefix-after-env).
15364         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15365         run_program_env and test_program_prefix_after_env arguments.
15366         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15367         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15368         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15369         explicitly with each use of ${test_wrapper_env}.
15370         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15371         $(test-program-prefix-before-env), $(run-program-env) and
15372         $(test-program-prefix-after-env).
15373         * posix/tst-getconf.sh: Do not set environment variables
15374         explicitly.
15375         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15376         run_program_env and test_program_prefix_after_env arguments.
15377         * stdio-common/tst-printf.sh: Do not set environment variables
15378         explicitly.
15379         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15380         $(test-program-prefix-before-env), $(run-program-env) and
15381         $(test-program-prefix-after-env).
15382         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15383         run_program_env and test_program_prefix_after_env arguments.
15384         Split $test calls into $test_pre and $test.
15385         * timezone/Makefile (build-testdata): Use
15386         $(built-program-cmd-before-env), $(run-program-env) and
15387         $(built-program-cmd-after-env).
15389 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15391         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15392         strlen for non SHARED builds.
15394 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15396         * nptl/allocatestack.c (check_list): Inlined function...
15397         (__reclaim_stacks): ... here.
15399 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15401         [BZ #15698]
15402         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15403         memory overrun.
15405 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15407         * Rules (make-test-out): Include
15408         LOCPATH=$(common-objpfx)localedata in default environment.
15409         * debug/Makefile (tst-chk1-ENV): Remove variable.
15410         (tst-chk2-ENV): Likewise.
15411         (tst-chk3-ENV): Likewise.
15412         (tst-chk4-ENV): Likewise.
15413         (tst-chk5-ENV): Likewise.
15414         (tst-chk6-ENV): Likewise.
15415         (tst-lfschk1-ENV): Likewise.
15416         (tst-lfschk2-ENV): Likewise.
15417         (tst-lfschk3-ENV): Likewise.
15418         (tst-lfschk4-ENV): Likewise.
15419         (tst-lfschk5-ENV): Likewise.
15420         (tst-lfschk6-ENV): Likewise.
15421         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15422         (tst-iconv7-ENV): Likewise.
15423         * intl/Makefile (LOCPATH-ENV): Likewise.
15424         (tst-codeset-ENV): Likewise.
15425         (tst-gettext3-ENV): Likewise.
15426         (tst-gettext5-ENV): Likewise.
15427         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15428         (tst-fopenloc-ENV): Likewise.
15429         (tst-fgetws-ENV): Remove variable.
15430         (tst-ungetwc1-ENV): Likewise.
15431         (tst-ungetwc2-ENV): Likewise.
15432         (bug-ungetwc2-ENV): Likewise.
15433         (tst-swscanf-ENV): Likewise.
15434         (bug-ftell-ENV): Likewise.
15435         (tst-fgetwc-ENV): Likewise.
15436         (tst-fseek-ENV): Likewise.
15437         (tst-ftell-partial-wide-ENV): Likewise.
15438         (tst-ftell-active-handler-ENV): Likewise.
15439         (tst-ftell-append-ENV): Likewise.
15440         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15441         (tst-regexloc-ENV): Likewise.
15442         (bug-regex1-ENV): Likewise.
15443         (tst-regex-ENV): Likewise.
15444         (tst-regex2-ENV): Likewise.
15445         (bug-regex5-ENV): Likewise.
15446         (bug-regex6-ENV): Likewise.
15447         (bug-regex17-ENV): Likewise.
15448         (bug-regex18-ENV): Likewise.
15449         (bug-regex19-ENV): Likewise.
15450         (bug-regex20-ENV): Likewise.
15451         (bug-regex22-ENV): Likewise.
15452         (bug-regex23-ENV): Likewise.
15453         (bug-regex25-ENV): Likewise.
15454         (bug-regex26-ENV): Likewise.
15455         (bug-regex30-ENV): Likewise.
15456         (bug-regex32-ENV): Likewise.
15457         (bug-regex33-ENV): Likewise.
15458         (bug-regex34-ENV): Likewise.
15459         (bug-regex35-ENV): Likewise.
15460         (tst-rxspencer-ENV): Likewise.
15461         (tst-rxspencer-no-utf8-ENV): Likewise.
15462         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15463         (tst-sscanf-ENV): Likewise.
15464         (tst-swprintf-ENV): Likewise.
15465         (tst-swscanf-ENV): Likewise.
15466         (test-vfprintf-ENV): Likewise.
15467         (scanf13-ENV): Likewise.
15468         (bug14-ENV): Likewise.
15469         (tst-grouping-ENV): Likewise.
15470         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15471         (tst-strtod3-ENV): Likewise.
15472         (tst-strtod4-ENV): Likewise.
15473         (tst-strtod5-ENV): Likewise.
15474         (testmb2-ENV): Likewise./
15475         * string/Makefile (tst-strxfrm-ENV): Likewise.
15476         (tst-strxfrm2-ENV): Likewise.
15477         (bug-strcoll1-ENV): Likewise.
15478         (test-strcasecmp-ENV): Likewise.
15479         (test-strncasecmp-ENV): Likewise.
15480         * time/Makefile (tst-strptime-ENV): Likewise.
15481         (tst-ftime_l-ENV): Likewise.
15482         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15483         (tst-mbrtowc-ENV): Likewise.
15484         (tst-wcrtomb-ENV): Likewise.
15485         (tst-mbrtowc2-ENV): Likewise.
15486         (tst-c16c32-1-ENV): Likewise.
15487         (tst-mbsnrtowcs-ENV): Likewise.
15489 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15491         * manual/resource.texi (How to get information about the memory
15492         subsystem?): Fix typo.
15493         Reported by Peon de la Parra Ivan <peon@keba.com>
15495 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15497         [BZ #16882]
15498         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15499         (pthread_spin_lock): Branch out of spin loop to proper location.
15500         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15501         (pthread_spin_lock): Likewise.
15503         * nptl/tst-spin4.c: New test.
15504         * nptl/Makefile (tests): Add tst-spin4.
15506 2014-06-03  Andreas Schwab  <schwab@suse.de>
15508         [BZ #15946]
15509         * resolv/res_send.c (send_dg): Reload file descriptor after
15510         calling reopen.
15512 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15514         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15516 2014-06-03  Richard Henderson  <rth@redhat.com>
15518         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15519         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15520         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15521         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15522         in the SAVE_PID block.
15523         (__libc_vfork): New alias.
15524         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15526         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15527         child in registers, not on the stack.  Remove RESET_PID conditionals.
15528         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15530 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15532         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15534 2014-06-03  Wilco  <wdijkstr@arm.com>
15536         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15537         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15538         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15539         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15540         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15541         Likewise.
15543 2014-06-03  Wilco  <wdijkstr@arm.com>
15545         * sysdeps/aarch64/fpu/math_private.h
15546         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15547         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15548         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15549         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15550         Fix declarations.
15552 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15554         * crypt/crypt-private.h: Include ufc-crypt.h.
15555         (__b64_from_24bit): Declare extern.
15556         * crypt/crypt_util.c(__b64_from_24bit): New function.
15557         (b64t): New static const variable.
15558         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15559         (b64t): Remove variable.
15560         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15561         * crypt/sha256-crypt.c: Include crypt-private.h.
15562         (b64t): Remove variable.
15563         (__sha256_crypt_r): Remove b64_from_24bit and replace
15564         with __b64_from_24bit.
15565         * crypt/sha512-crypt.c: Likewise.
15567 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15569         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15570         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15571         Label the code __libc_vfork rather than __vfork.
15572         [!NOT_IN_libc] (vfork): Define as weak alias.
15573         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15574         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15575         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15577 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15579         * malloc/malloc.c (malloc_info): Fix format specifier for
15580         n_mmaps.
15582 2014-06-02  Wilco  <wdijkstr@arm.com>
15584         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15585         FPCR write.
15587 2014-06-02  Wilco  <wdijkstr@arm.com>
15589         [BZ #17009]
15590         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15591         Rewrite to reduce FPCR/FPSR accesses.
15593 2014-06-01  David S. Miller  <davem@davemloft.net>
15595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15597 2014-05-31  David S. Miller  <davem@davemloft.net>
15599         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15600         to occur in round to nearest mode when |x| >= 2.0
15602 2014-05-30  Richard Henderson  <rth@twiddle.net>
15604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15605         (PSEUDO_RET_NOERRNO): Remove.
15606         (ret): Don't redefine.
15607         (ret_NOERRNO): Define in terms of ret.
15608         (ret_ERRVAL): Likewise.
15610         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15611         use of PSEUDO_RET; perform the error check directly.
15613 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15615         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15616         with __int128_t.
15618 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15620         * malloc/malloc (malloc_info): Fix formatting.
15622 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15623             Roland McGrath  <roland@hack.frob.com>
15625         * malloc/malloc (malloc_info): Also print mmapped statistics.
15627 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15629         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15630         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15632 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15634         * malloc/malloc.c (malloc_info): Inline mi_arena.
15636 2014-05-29  Richard Henderson  <rth@twiddle.net>
15638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15639         Remove comma before expanding ASM_ARGS_##nr.
15640         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15641         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15642         of ASM_ARGS_##nr.
15643         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15644         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15645         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15646         (ASM_ARGS_1): Add leading comma.
15648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15649         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15650         to __errno_location.
15651         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15652         Remove the expected plt for __errno_location.
15654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15655         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15656         call to __read_tp.
15658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15659         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15660         it and break it down.
15661         (DOCARGS_0, DOCARGS_1): Do nothing.
15662         (DOCARGS_2): Update to store into the new stack frame.
15663         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15664         (UNDOCARGS_1): Update to restore from the new stack frame.
15665         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15666         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15669         (SINGLE_THREAD_P): New parameter for result regno.
15670         (PSEUDO): Update to match; use cbz instead of beq.
15672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15673         Use ENTRY to define the _nocancel entry point.  Share the syscall
15674         and syscall error check paths with the cancel path.
15675         (PSEUDO_END): New.
15677         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15678         whitespace; tabs before and after asm mnemonics.
15680 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15682         [BZ #15132]
15683         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15684         Call fstat64 or stat64 internally, depending on arguments passed.
15685         Replace stat buffer argument with file descriptor argument.
15686         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15687         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15688         Pass fd to __internal_statvfs instead of calling fstat64.
15689         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15690         Pass fd to __internal_statvfs64 instead of calling fstat64.
15691         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15692         Pass -1 to __internal_statvfs instead of calling stat64.
15693         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15694         Pass -1 to __internal_statvfs64 instead of calling stat64.
15696 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15698         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15699         that was previously under [RESET_PID].
15700         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15702         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15703         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15705 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15707         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15709         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15710         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15712 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15714         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15716 2014-05-27  Andreas Schwab  <schwab@suse.de>
15718         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15719         TLS_INIT_TP macro.
15720         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15721         * elf/rtld.c (init_tls, dl_main): Likewise.
15722         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15723         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15724         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15725         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15726         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15727         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15728         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15729         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15730         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15731         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15732         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15733         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15734         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15735         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15736         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15737         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15738         * sysdeps/generic/tls.h: Update description.
15740 2014-05-27  Will Newton  <will.newton@linaro.org>
15742         [BZ #16990]
15743         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15744         and restore r2 rather than just restoring.
15746 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15748         [BZ #16724]
15749         * libio/tst-ftell-append.c: New test case.
15750         * libio/Makefile (tests): Add test case.
15751         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15752         append mode.
15753         * libio/wfileops.c (do_ftell_wide): Likewise.
15755 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15759         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15760         ...
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15763         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15764         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15766         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15767         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15768         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15770         Moved ...
15771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15773         Moved ...
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15775         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15776         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15777         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15778         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15779         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15780         ...
15781         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15782         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15783         Moved ...
15784         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15785         here.
15786         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15787         ...
15788         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15789         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15790         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15792         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15793         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15794         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15795         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15798         merge into ...
15799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15801         ...
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15804         ...
15805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15806         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15807         Moved ...
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15809         here.
15810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15811         Moved ...
15812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15814         Moved ...
15815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15818         conditional [RESET_PID].
15819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15821         removed.
15822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15823         removed.
15825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15826         <tcb-offsets.h>.
15827         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15828         (__libc_vfork): New strong alias.
15829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15830         removed.
15831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15832         Removed.
15834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15835         <tcb-offsets.h>.
15836         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15837         (__libc_vfork): New strong alias.
15838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15839         removed.
15840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15841         removed.
15843 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15845         * malloc/malloc.c (mi_arena): New function.
15846         (malloc_info): Remove nested function mi_arena. Call non-nosted
15847         function mi_arena.
15849 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15851         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15852         by insrwi.
15853         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15854         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15855         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15856         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15857         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15858         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15859         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15861 2014-05-26  Andreas Schwab  <schwab@suse.de>
15863         [BZ #16984]
15864         * locale/programs/repertoire.c (repertoire_read): Add slash
15865         between I18NPATH element and file name.
15866         * locale/programs/locfile.c (locfile_read): Likewise.
15868 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15870         * nptl/pthread_mutexattr_settype.c
15871         (__pthread_mutexattr_settype):
15872         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15874 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15876         * nptl/tst-mutex5 (do_test):
15877         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15879 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15881         * benchtests/README: Document 'init' directive.
15882         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15883         BENCH_INIT.
15884         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15885         (parse_file): Recognize 'init' directive.
15887 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15889         [BZ #16796]
15890         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15891         alignment of struct pthread.
15893 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15895         [BZ #16878]
15896         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15897         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15898         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15899         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15901 2014-05-25  Richard Henderson  <rth@twiddle.net>
15903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15904         (SINGLE_THREAD_P_PIC): Remove.
15905         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15906         (SINGLE_THREAD_P_PIC): Remove.
15908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15909         branch to syscall error ...
15910         (PSEUDO): ... here.
15911         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15912         from __local_syscall_error to .Lsyscall_error.
15913         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15914         (SYSCALL_ERROR): Update label name.
15916         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15917         Do not use DOARGS/UNDOARGS.
15918         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15919         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15920         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15921         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15922         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15925         block comment.
15927         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15928         define if !NOT_IN_libc.
15929         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15930         define with non-default symbol versions.
15932 2014-05-23  Richard Henderson  <rth@twiddle.net>
15934         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15935         (vfork, __vfork): Define via compat_symbol.
15937         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15938         [!HAVE_IFUNC] (vfork_compat): Remove.
15939         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15941 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
15943         [BZ #16978]
15944         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15945         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15946         variable.
15948 2014-05-23  Richard Henderson  <rth@twiddle.net>
15950         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15951         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15952         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15953         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15955         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15956         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15957         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15958         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15959         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15960         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15961         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15962         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15963         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15964         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15965         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15966         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15967         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15968         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15969         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15970         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15971         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15972         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15973         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15974         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15975         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15976         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15977         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15978         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15979         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15980         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15981         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15982         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15983         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15984         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15985         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15986         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15987         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15988         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15989         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15990         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15991         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15992         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15993         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15994         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15995         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15996         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15997         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15998         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15999         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16000         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16001         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16002         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16003         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16004         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16005         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16006         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16007         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16008         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16009         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16010         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16012         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16013         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16014         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16015         before exiting on error.
16016         (__libc_vfork): New strong alias.
16017         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16018         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16020         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16021         that was previously under [RESET_PID].
16022         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16024         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16026 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16028         [BZ #16977]
16029         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16030         value when x - 1 is zero.
16031         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16032         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16033         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16034         0.0L for an argument of 1.0L.
16035         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16036         Likewise.
16037         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16038         value when x - 1 is zero.
16039         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16040         * sysdeps/i386/fpu/libm-test-ulps: Update.
16041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16045         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16046         alphasort and versionsort.
16048 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16050         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16051         macro.
16052         [copysignf]: Likewise.
16054 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16056         * crypt/md5-crypt.c: Fix formatting.
16058 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16060         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16061         (b64_from_24bit): New function.
16063 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16065         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16066         libc_hidden_builtin_def to ifunc.
16067         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16068         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16070 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16072         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16073         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16075 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16077         * nscd/Depend (linuxthreads): Remove.
16078         (nptl): Add.
16079         * resolv/Depend (linuxthreads): Remove.
16080         * rt/Depend (linuxthreads): Remove.
16082         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16083         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16084         $(common-objpfx)elf/.
16085         (link-libc-before-gnulib): Likewise.
16086         (elfobjdir): Remove variable.
16087         * Makefile (install): Use $(elf-objpfx) instead of
16088         $(common-objpfx)elf/.
16089         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16090         $(elfobjdir)/.
16091         (link-libc-deps): Likewise.
16092         ($(common-objpfx)libc.so): Likewise.
16093         ($(common-objpfx)linkobj/libc.so): Likewise.
16094         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16095         instead of $(common-objpfx)elf/.
16096         (symbolic-link-list): Likewise.
16097         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16098         [$(cross-compiling) = no]: Likewise.
16099         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16100         $(elfobjdir)/.
16101         (static-gnulib-arch): Likewise.
16102         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16103         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16104         $(common-objpfx)elf/.
16106 2014-05-21  Richard Henderson  <rth@redhat.com>
16108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16109         (SINGLE_THREAD_P): Use the correct width load.  Fold
16110         into the ldr offset.
16112         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16113         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16115 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16117         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16118         (libgcc_s_resume): Use __attribute_used__.
16119         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16120         Likewise.
16122 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16124         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16125         optimization when used with float constants.
16127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16129 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16131         [BZ #16915]
16132         * locale/nl_langinfo_l.c: Make direct reference to every
16133         _nl_current_CATEGORY symbol.
16134         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16135         (tests-static): Add tst-langinfo-static.
16136         (tests-special): Add tst-langinfo-static.out.
16137         ($(objpfx)tst-langinfo.out): Redirect output.
16138         ($(objpfx)tst-langinfo-static.out): New.
16139         * localedata/tst-langinfo.sh: Send output to stdout.
16140         * localedata/tst-langinfo-static.c: New file.
16142         [BZ #16965]
16143         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16144         when the shift amount is modulo the limb size.
16146 2014-05-20  Richard Henderson  <rth@redhat.com>
16148         [BZ #16967]
16149         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16150         Change type of sa_flags from unsigned int to int.
16152         [BZ #16966]
16153         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16155         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16157 2014-05-20  Will Newton  <will.newton@linaro.org>
16159         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16160         Test the return value of the system call in the nocancel case.
16162 2014-05-20  Will Newton  <will.newton@linaro.org>
16163             Yvan Roux  <yvan.roux@linaro.org>
16165         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16166         #include of asm/ptrace.h.
16167         (PTRACE_GET_THREAD_AREA): Remove #undef.
16168         (PTRACE_GETHBPREGS): Likewise.
16169         (PTRACE_SETHBPREGS): Likewise.
16170         (struct user_regs_struct): New structure.
16171         (struct user_fpsimd_struct): New structure.
16172         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16173         #include of asm/ptrace.h and second #include of sys/user.h.
16174         (PTRACE_GET_THREAD_AREA): Remove #undef.
16175         (PTRACE_GETHBPREGS): Likewise.
16176         (PTRACE_SETHBPREGS): Likewise.
16177         (ELF_NGREG): Use new struct user_regs_struct.
16178         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16180 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16182         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16183         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16185 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16187         [BZ #16958]
16188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16189         membar to avoid block loads/stores to overlap previous stores.
16191 2014-05-17  Richard Henderson  <rth@redhat.com>
16193         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16194         Create the __##syscall_name##_nocancel entry point.
16195         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16196         Remove; let the sysdep-cancel.h code create it.
16198 2014-05-17  David S. Miller  <davem@davemloft.net>
16200         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16201         Protect with __USE_GNU.
16202         (TIOCSET_TEMPT): Likewise.
16203         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16204         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16205         these are already provided in bits/ioctl-types.h
16207 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16209         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16210         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16212         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16213         Use wait4 regardless of [__NR_waitpid].
16215 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16217         PR libgcc/60166
16218         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16219         (_FP_NANSIGN_Q): Set the quiet bit.
16221 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16223         * benchtests/Makefile
16224         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16225         not $(common-objpfx)math/libm.so.
16226         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16227         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16228         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16229         $(common-objpfx)dlfcn/libdl.so.
16230         ($(objpfx)tst-audit8): Depend on $(libm), not
16231         $(common-objpfx)math/libm.so.
16232         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16233         not $(common-objpfx)dlfcn/libdl.so.
16234         * math/Makefile
16235         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16236         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16237         [$(build-shared) = yes].
16238         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16239         $(common-objpfx)nptl/libpthread.so.
16240         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16241         $(common-objpfx)math/libm.so$(libm.so-version) or
16242         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16243         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16244         $(common-objpfx)dlfcn/libdl.so.
16245         * setjmp/Makefile (link-libm): Remove variable.
16246         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16247         * stdio-common/Makefile (link-libm): Remove variable.
16248         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16249         * stdlib/Makefile (link-libm): Remove variable.
16250         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16251         ($(objpfx)tst-strtod-round): Likewise.
16252         ($(objpfx)tst-tininess): Likewise.
16253         ($(objpfx)tst-strtod-underflow): Likewise.
16254         ($(objpfx)tst-strtod6): Likewise.
16255         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16256         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16257         $(common-objpfx)dlfcn/libdl.so.
16259 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16261         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16262         BSD terminal modes definitions.
16264 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16266         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16267         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16269         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16270         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16271         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16272         Don't do #include_next.
16273         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16274         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16275         Don't do #include_next.
16276         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16277         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16278         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16279         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16281 2014-05-16  Allan McRae  <allan@archlinux.org>
16283         * po/sv.po: Update Swedish translation from translation project.
16285         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16286         in sed expression.
16288 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16290         [BZ #16917]
16291         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16292         errno if the TIOCGPTN ioctl fails with an error different than
16293         EINVAL.
16294         * login/tst-ptsname.c: New file.
16295         * login/Makefile (tests): Add tst-ptsname.
16297         [BZ #16943]
16298         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16299         and prlimit64.
16301 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16303         [BZ #16849]
16304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16305         herrno to return EAI_AGAIN.
16307 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16309         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16310         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16311         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16312         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16313         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16314         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16315         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16316         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16317         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16318         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16319         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16320         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16322         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16323         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16324         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16325         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16326         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16328         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16329         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16330         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16331         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16332         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16333         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16334         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16335         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16336         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16337         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16338         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16340         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16342         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16344         Moved ...
16345         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16347         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16349         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16351         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16353         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16357         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16359         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16361         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16363         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16365         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16367         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16369         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16371         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16373         Moved ...
16374         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16376         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16378         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16380         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16382         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16384         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16385         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16386         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16388         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16392         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16394         Moved ...
16395         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16399         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16400         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16401         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16402         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16403         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16404         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16405         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16406         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16407         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16408         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16409         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16411         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16412         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16413         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16414         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16415         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16416         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16417         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16418         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16419         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16420         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16421         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16422         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16423         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16424         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16425         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16426         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16427         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16428         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16429         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16431         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16432         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16434         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16435         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16436         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16437         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16438         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16440         Moved ...
16441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16442         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16443         Moved ...
16444         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16445         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16446         Moved ...
16447         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16449         Moved ...
16450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16451         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16452         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16453         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16454         Moved ...
16455         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16456         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16457         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16458         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16459         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16460         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16461         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16462         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16463         Moved ...
16464         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16468         ... here.
16469         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16470         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16471         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16472         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16473         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16474         Moved ...
16475         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16476         ... here.
16477         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16478         Moved ...
16479         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16480         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16481         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16482         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16483         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16485         Moved ...
16486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16487         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16488         Moved ...
16489         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16490         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16491         Moved ...
16492         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16494         Moved ...
16495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16496         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16497         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16498         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16499         Moved ...
16500         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16501         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16502         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16503         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16504         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16505         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16506         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16507         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16508         Moved ...
16509         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16513         ... here.
16514         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16515         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16516         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16517         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16518         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16519         Moved ...
16520         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16521         ... here.
16522         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16523         Moved ...
16524         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16525         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16526         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16527         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16528         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16529         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16531         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16532         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16533         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16534         Moved ...
16535         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16536         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16537         Moved ...
16538         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16540         Moved ...
16541         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16543         Moved ...
16544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16545         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16546         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16547         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16548         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16550         Moved ...
16551         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16552         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16553         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16554         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16555         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16556         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16557         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16558         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16559         Moved ...
16560         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16562         Moved ...
16563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16564         ... here.
16565         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16566         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16567         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16568         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16569         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16570         Moved ...
16571         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16572         ... here.
16573         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16574         Moved ...
16575         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16576         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16577         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16578         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16579         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16580         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16581         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16582         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16583         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16585         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16587         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16588         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16590         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16591         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16593         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16594         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16595         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16596         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16597         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16598         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16599         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16600         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16601         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16602         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16604         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16605         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16606         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16607         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16609         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16611         Moved ...
16612         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16614         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16616         Moved ...
16617         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16619         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16621         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16623         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16625         Moved ...
16626         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16627         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16628         Moved ...
16629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16631         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16633         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16635         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16637         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16639         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16640         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16641         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16642         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16643         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16644         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16645         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16647         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16648         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16649         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16650         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16651         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16653         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16654         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16655         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16656         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16657         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16658         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16659         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16660         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16661         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16662         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16664         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16665         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16667         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16668         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16669         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16670         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16671         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16672         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16673         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16674         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16675         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16676         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16677         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16678         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16679         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16680         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16682         Update #include.
16683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16684         Likewise.
16685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16686         Likewise.
16687         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16688         Likewise.
16689         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16690         Likewise.
16691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16692         Likewise.
16693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16694         Likewise.
16695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16696         Likewise.
16697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16698         Likewise.
16699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16700         Likewise.
16701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16703         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16705         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16706         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16707         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16708         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16709         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16710         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16711         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16712         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16713         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16714         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16715         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16717         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16718         that was previously under [RESET_PID].
16719         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16720         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16721         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16723         * sysdeps/i386/nptl/Implies: New file.
16724         * sysdeps/x86_64/nptl/Implies: New file.
16725         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16726         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16727         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16728         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16730         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16731         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16732         (__libc_vfork): New strong alias.
16733         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16734         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16736         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16737         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16738         (__libc_vfork): New strong alias.
16739         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16740         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16742         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16743         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16744         (__libc_vfork): New strong alias.
16745         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16746         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16747         * nptl/pt-vfork.c: New file.
16748         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16749         (libpthread: GLIBC_2.20): New version set (empty).
16751 2014-05-14  Will Newton  <will.newton@linaro.org>
16753         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16754         rather than #if.
16756 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16758         [BZ #16564]
16759         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16760         arguments with exponent 65 or above.
16761         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16762         arguments 0x1p113L or above.
16763         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16764         to arguments 0x1p107L or above.
16765         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16766         positive arguments with exponent 65 or above.
16767         * math/auto-libm-test-in: Add more tests of log1p.
16768         * math/auto-libm-test-out: Regenerated.
16770         [BZ #16928]
16771         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16772         non-finite arguments is +0.
16773         * math/s_cacosf.c (__cacosf): Likewise.
16774         * math/s_cacosl.c (__cacosl): Likewise.
16775         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16776         * sysdeps/i386/fpu/libm-test-ulps: Update.
16777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16779         [BZ #16927]
16780         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16781         value.
16782         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16783         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16784         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16785         for explicit high bit of mantissa when testing for argument equal
16786         to 1.
16787         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16788         * sysdeps/i386/fpu/libm-test-ulps: Update.
16789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16791         [BZ #16516]
16792         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16793         (__erf): Scale by 16 instead of 8 in potentially underflowing
16794         case.  Ensure exception if result actually underflows.
16795         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16796         (__erff): Scale by 16 instead of 8 in potentially underflowing
16797         case.  Ensure exception if result actually underflows.
16798         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16799         (efx8): Remove variable.
16800         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16801         case.  Ensure exception if result actually underflows.
16802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16803         (efx8): Remove variable.
16804         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16805         case.  Ensure exception if result actually underflows.
16806         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16807         (efx8): Remove variable.
16808         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16809         case.  Ensure exception if result actually underflows.
16810         * math/auto-libm-test-in: Add more tests of erf.
16811         * math/auto-libm-test-out: Regenerated.
16813 2014-05-14  Andreas Schwab  <schwab@suse.de>
16815         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16816         Remove code conditionalized on USE___THREAD.
16818         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16819         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16820         not definedness.
16822 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16825         Define unconditionally.
16826         (__ASSUME_O_CLOEXEC): Likewise.
16827         (__ASSUME_SOCK_CLOEXEC): Likewise.
16828         (__ASSUME_IN_NONBLOCK): Likewise.
16829         (__ASSUME_PIPE2): Likewise.
16830         (__ASSUME_EVENTFD2): Likewise.
16831         (__ASSUME_SIGNALFD4): Likewise.
16832         (__ASSUME_DUP3): Likewise.
16833         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16834         (__ASSUME_DUP3): Do not define.
16835         (__ASSUME_EVENTFD2): Likewise.
16836         (__ASSUME_IN_NONBLOCK): Likewise.
16837         (__ASSUME_O_CLOEXEC): Likewise.
16838         (__ASSUME_PIPE2): Likewise.
16839         (__ASSUME_SIGNALFD4): Likewise.
16840         (__ASSUME_SOCK_CLOEXEC): Likewise.
16841         (__ASSUME_UTIMES): Undefine.
16842         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16843         (__ASSUME_UTIMES): Do not define.
16844         (__ASSUME_O_CLOEXEC): Likewise.
16845         (__ASSUME_SOCK_CLOEXEC): Likewise.
16846         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16847         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16848         0x020621].
16849         (__ASSUME_PIPE2): Likewise.
16850         (__ASSUME_EVENTFD2): Likewise.
16851         (__ASSUME_SIGNALFD4): Likewise.
16852         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16853         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16854         Do not define.
16855         (__ASSUME_EVENTFD2): Likewise.
16856         (__ASSUME_SIGNALFD4): Likewise.
16857         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16858         (__ASSUME_32BITUIDS): Likewise.
16859         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16860         (__ASSUME_IPC64): Likewise.
16861         (__ASSUME_ST_INO_64_BIT): Likewise.
16862         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16863         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16864         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16865         (__ASSUME_UTIMES): Do not define.
16866         (__ASSUME_PSELECT): Likewise.
16867         (__ASSUME_PPOLL): Likewise.
16868         (__ASSUME_O_CLOEXEC): Likewise.
16869         (__ASSUME_SOCK_CLOEXEC): Likewise.
16870         (__ASSUME_IN_NONBLOCK): Likewise.
16871         (__ASSUME_PIPE2): Likewise.
16872         (__ASSUME_EVENTFD2): Likewise.
16873         (__ASSUME_SIGNALFD4): Likewise.
16874         (__ASSUME_DUP3): Likewise.
16875         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16876         (__ASSUME_UTIMES): Likewise.
16877         (__ASSUME_O_CLOEXEC): Likewise.
16878         (__ASSUME_SOCK_CLOEXEC): Likewise.
16879         (__ASSUME_IN_NONBLOCK): Likewise.
16880         (__ASSUME_PIPE2): Likewise.
16881         (__ASSUME_EVENTFD2): Likewise.
16882         (__ASSUME_SIGNALFD4): Likewise.
16883         (__ASSUME_DUP3): Likewise.
16884         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16885         (__ASSUME_UTIMES): Likewise.
16886         (__ASSUME_O_CLOEXEC): Likewise.
16887         (__ASSUME_SOCK_CLOEXEC): Likewise.
16888         (__ASSUME_IN_NONBLOCK): Likewise.
16889         (__ASSUME_PIPE2): Likewise.
16890         (__ASSUME_EVENTFD2): Likewise.
16891         (__ASSUME_SIGNALFD4): Likewise.
16892         (__ASSUME_DUP3): Likewise.
16893         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16894         Likewise.
16895         (__ASSUME_UTIMES): Likewise.
16896         (__ASSUME_EVENTFD2): Likewise.
16897         (__ASSUME_SIGNALFD4): Likewise.
16898         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16899         (__ASSUME_O_CLOEXEC): Likewise.
16900         (__ASSUME_SOCK_CLOEXEC): Likewise.
16901         (__ASSUME_IN_NONBLOCK): Likewise.
16902         (__ASSUME_PIPE2): Likewise.
16903         (__ASSUME_EVENTFD2): Likewise.
16904         (__ASSUME_SIGNALFD4): Likewise.
16905         (__ASSUME_DUP3): Likewise.
16906         (__ASSUME_UTIMES): Undefine.
16908         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16909         feclearexcept.  Remove symbol versioning code.
16910         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16911         symbol versioning code.
16912         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16913         symbol versioning code.
16914         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16915         feupdateenv.  Remove symbol versioning code.
16916         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16917         fegetexceptflag.  Remove symbol versioning code.
16918         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16919         fesetexceptflag.  Remove symbol versioning code.
16920         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16921         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16922         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16923         (__posix_fadvise64_l32): Remove prototype.
16924         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16925         code.
16927 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16929         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16930         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16931         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16932         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16934 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
16936         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16937         current working directory
16939 2014-05-13  Roland McGrath  <roland@hack.frob.com>
16941         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16942         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16943         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16944         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16945         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16946         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16947         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16948         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16949         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16950         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16951         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16952         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16953         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16954         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16955         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16956         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16957         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16958         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16959         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16960         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16961         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16962         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16963         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16964         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16965         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16966         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16968         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16969         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16970         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16971         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16972         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16973         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16974         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16975         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16976         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16977         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16978         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16979         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16980         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16981         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16982         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16984         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16985         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16987         * sysdeps/unix/sysv/linux/arm/Makefile
16988         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16989         Add rt-aeabi_unwind_cpp_pr1.
16990         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16991         Add nptl-aeabi_unwind_cpp_pr1.
16992         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16993         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16994         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16995         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16996         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16997         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16999         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17000         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17001         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17002         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17004         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17005         Deconditionalize the code that was previously under [RESET_PID].
17006         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17008         * sysdeps/generic/exit-thread.h: New file.
17009         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17010         * include/unistd.h (__exit_thread): Remove declaration.
17011         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17012         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17013         * csu/libc-start.c: Include <exit-thread.h>.
17014         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17015         * nptl/pthread_create.c: Include <exit-thread.h>.
17016         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17017         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17018         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17019         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17020         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17021         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17022         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17023         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17024         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17025         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17026         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17027         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17028         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17029         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17030         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17031         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17032         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17034 2014-05-13  Andreas Schwab  <schwab@suse.de>
17036         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17038 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17041         (__ASSUME_UTIMES): Do not condition on kernel version.
17042         (__ASSUME_PSELECT): Define unconditionally.
17043         (__ASSUME_PPOLL): Likewise.
17044         (__ASSUME_ATFCTS): Likewise.
17045         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17046         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17047         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17048         (__ASSUME_UTIMENSAT): Define unconditionally.
17049         (__ASSUME_PRIVATE_FUTEX): Likewise.
17050         (__ASSUME_FALLOCATE): Likewise.
17051         (__ASSUME_O_CLOEXEC): Likewise.
17052         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17053         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17054         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17055         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17056         (__ASSUME_IN_NONBLOCK): Likewise.
17057         (__ASSUME_PIPE2): Likewise.
17058         (__ASSUME_EVENTFD2): Likewise.
17059         (__ASSUME_SIGNALFD4): Likewise.
17060         (__ASSUME_DUP3): Likewise.
17061         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17062         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17063         (__ASSUME_AT_RANDOM): Likewise.
17064         (__ASSUME_PREADV): Likewise.
17065         (__ASSUME_PWRITEV): Likewise.
17066         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17067         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17068         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17069         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17070         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17072         (__ASSUME_O_CLOEXEC): Define unconditionally.
17073         (__ASSUME_PSELECT): Do not undefine conditionally.
17074         (__ASSUME_PPOLL): Likewise.
17075         (__ASSUME_ATFCTS): Likewise.
17076         (__ASSUME_SET_ROBUST_LIST): Likewise.
17077         (__ASSUME_UTIMENSAT): Likewise.
17078         (__ASSUME_FDATASYNC): Define unconditionally.
17079         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17080         (__ASSUME_SIGFRAME_V2): Likewise.
17081         )__ASSUME_EVENTFD2): Likewise.
17082         (__ASSUME_SIGNALFD4): Likewise.
17083         (__ASSUME_PSELECT): Do not undefine conditionally.
17084         (__ASSUME_PPOLL): Likewise.
17085         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17086         (__ASSUME_PSELECT): Define unconditionally.
17087         (__ASSUME_PPOLL): Likewise.
17088         (__ASSUME_O_CLOEXEC): Likewise.
17089         (__ASSUME_SOCK_CLOEXEC): Likewise.
17090         (__ASSUME_IN_NONBLOCK): Likewise.
17091         (__ASSUME_PIPE2): Likewise.
17092         (__ASSUME_EVENTFD2): Likewise.
17093         (__ASSUME_SIGNALFD4): Likewise.
17094         (__ASSUME_DUP3): Likewise.
17095         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17096         (__ASSUME_O_CLOEXEC): Likewise.
17097         (__ASSUME_SOCK_CLOEXEC): Likewise.
17098         (__ASSUME_IN_NONBLOCK): Likewise.
17099         (__ASSUME_PIPE2): Likewise.
17100         (__ASSUME_EVENTFD2): Likewise.
17101         (__ASSUME_SIGNALFD4): Likewise.
17102         (__ASSUME_DUP3): Likewise.
17103         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17104         (__ASSUME_EVENTFD2): Likewise.
17105         (__ASSUME_SIGNALFD4): Likewise.
17106         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17108 2014-05-12  Andreas Schwab  <schwab@suse.de>
17110         [BZ #16932]
17111         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17112         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17113         than maximum RPC packet size.
17114         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17115         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17116         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17117         (_nss_nis_getservbyport_r): Likewise.
17119 2014-05-12  Will Newton  <will.newton@linaro.org>
17121         * malloc/Makefile (tests): Add tst-mallopt.
17122         * malloc/tst-mallopt.c: New file.
17124 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17126         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17127         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17129 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17131         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17132         (tst-tlsmod6.so): Likewise.
17134 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17136         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17138 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17140         [BZ #16064]
17141         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17142         and <dl-procinfo.h>.
17143         (__fegetenv): Save SSE state in envp->__eip if supported.
17144         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17145         envp->__eip if supported.
17146         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17147         and <dl-procinfo.h>.
17148         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17149         __data_offset and __data_selector in environment to 0.  Set SSE
17150         state if supported.
17151         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17152         test-fenv-sse.
17153         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17154         -mfpmath=sse.
17155         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17157 2014-05-09  Will Newton  <will.newton@linaro.org>
17159         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17160         and libc_relro_required for ARM.
17161         * sysdeps/arm/preconfigure: Regenerate.
17163 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17164             Stefan Liebler  <stli@linux.vnet.ibm.com>
17166         * config.make.in (enable-lock-elision): New Makefile variable.
17167         * configure.ac: Likewise.
17168         * configure: Regenerate.
17169         * sysdeps/s390/configure.ac:
17170         Add check for gcc transactions support.
17171         * sysdeps/s390/configure: Regenerate.
17172         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17173         Build elision files if enabled.
17174         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17175         Add lock elision support for s390.
17176         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17177         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17178         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17179         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17180         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17181         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17182         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17183         Likewise.
17184         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17185         Likewise.
17186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17187         Likewise.
17188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17189         Likewise.
17190         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17191         (__lll_timedlock_elision, __lll_lock_elision)
17192         (__lll_unlock_elision, __lll_trylock_elision)
17193         (lll_timedlock_elision, lll_lock_elision)
17194         (lll_unlock_elision, lll_trylock_elision): Add.
17195         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17196         (pthread_mutex_t): Add lock elision support for s390.
17198 2014-05-14  Wilco  <wdijkstr@arm.com>
17200         * sysdeps/arm/fclrexcpt.c: Cleanup.
17201         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17202         * sysdeps/arm/feenablxcpt.c: Cleanup.
17203         * sysdeps/arm/fegetenv.c: Cleanup.
17204         * sysdeps/arm/fegetexcept.c: Cleanup.
17205         * sysdeps/arm/fegetround.c: Cleanup.
17206         * sysdeps/arm/feholdexcpt.c: Cleanup.
17207         * sysdeps/arm/fesetenv.c: Cleanup.
17208         * sysdeps/arm/fesetround.c: Cleanup.
17209         * sysdeps/arm/feupdateenv.c: Cleanup.
17210         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17211         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17212         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17213         * sysdeps/arm/ftestexcept.c: Cleanup.
17214         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17215         * sysdeps/arm/setfpucw.c: Cleanup.
17217 2014-05-09  Will Newton  <will.newton@linaro.org>
17219         * sysdeps/arm/armv7/strcmp.S: New file.
17220         * NEWS: Mention addition of ARMv7 optimized strcmp.
17222 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17224         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17225         look for %.ac rather than %.in.
17227         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17228         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17229         * sysdeps/mach/hurd/configure: Regenerated.
17230         * sysdeps/unix/sysv/linux/configure: Regenerated.
17232         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17234 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17236         [BZ# 16922]
17237         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17238         (LONG_SUB): Ditto.
17239         (PTR_SUB): Ditto.
17241 2014-05-07  Andreas Schwab  <schwab@suse.de>
17243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17244         when skipping over non-matching result from nscd.
17246 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17248         [BZ #16876]
17249         * nptl/sockperf.c (client): Check socket return value.
17251         [BZ #16877]
17252         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17253         nscd security class.
17255 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17257         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17258         * sysdeps/arm/unwind.h: ... here.
17260 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17262         [BZ# 16916]
17263         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17264         Define.
17266 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17268         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17269         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17270         multiarch strncpy for PPC64.
17271         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17272         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17274         multiarch optimizations.
17275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17276         (__libc_ifunc_impl_list): Likewise.
17277         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17278         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17279         multiarch stpncpy for PPC64.
17280         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17281         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17283 2014-05-06  Andreas Schwab  <schwab@suse.de>
17285         [BZ #16912]
17286         * gmon/mcount.c (_MCOUNT_DECL): Use
17287         atomic_compare_and_exchange_bool_acq instead of
17288         catomic_compare_and_exchange_bool_acq.
17290 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17292         * elf/Makefile (others, install-bin): Remove pldd.
17293         (pldd-modules): Variable removed.
17294         ($(objpfx)pldd): Target removed.
17295         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17296         (others, install-bin): Append pldd here.
17297         ($(objpfx)pldd): New target.
17299         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17300         to 0, so the first #if test emitted later doesn't see it undefined.
17301         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17302         * sysdeps/gnu/errlist.c: Regenerated.
17304 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17307         [libc_hidden_builtin_def]: Define to empty value.
17308         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17309         [libc_hidden_builtin_def]: Likewise.
17310         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17311         [libc_hidden_builtin_def]: Likewise.
17312         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17313         [libc_hidden_builtin_def]: Likewise.
17314         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17315         __redirect_memcpy and define ifunc as default hidden symbol.
17316         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17317         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17319 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17321         * locale/iso-4217.def: Reintroduce XDR currency.
17323 2014-05-04  Allan McRae  <allan@archlinux.org>
17325         * po/eo.po: Update Esperanto translation from translation project.
17327 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17329         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17330         and FEATURE_INDEX_MAX to 1.
17331         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17333 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17335         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17336         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17337         * iconvdata/big5.c (ONE_DIRECTION): Define.
17338         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17339         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17340         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17341         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17342         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17343         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17344         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17345         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17346         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17347         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17348         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17349         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17350         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17351         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17352         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17353         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17354         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17355         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17356         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17357         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17358         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17359         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17360         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17361         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17362         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17363         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17364         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17365         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17366         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17367         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17368         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17369         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17370         * iconvdata/johab.c (ONE_DIRECTION): Define.
17371         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17372         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17373         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17374         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17375         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17376         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17377         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17378         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17379         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17380         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17382 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17384         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17385         (_IO_JUMPS_OFFSET): Define to 0.
17387         * nptl/sysdeps/pthread/bits/libc-lock.h
17388         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17389         (__libc_lock_define_initialized_recursive): Always define using
17390         initializer.  Modern compilers treat uninitialized (implicit zero) and
17391         explicit zero initializers the same (i.e. put the datum in bss).
17393 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17395         * nscd/nscd-client.h: Include <string.h>.
17397 2014-05-01  David S. Miller  <davem@davemloft.net>
17399         [BZ #16885]
17400         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17401         multiple zero bytes exist at the end of a string.
17402         Reported by Aurelien Jarno <aurelien@aurel32.net>
17404         * string/test-strcmp.c (check): Add explicit test for situations where
17405         there are multiple zero bytes after the first.
17407 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17409         [BZ #16890]
17410         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17411         when compiling wprintf.
17412         * stdio-common/tstdiomisc.c (t3): New function.
17413         (main): Call it.
17415 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17417         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17418         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17419         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17420         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17422 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17424         * stdlib/longlong.h: Updated from GCC.
17426 2014-05-01  Will Newton  <will.newton@linaro.org>
17427             Bernard Ogden  <bernie.ogden@linaro.org>
17429         * NEWS: Update fixed bug list.
17431         [BZ #15119]
17432         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17434 2014-04-30  David S. Miller  <davem@davemloft.net>
17436         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17437         (libc_feholdexcept_setround_sparc_ctx): New function.
17438         (libc_fesetenv_sparc_ctx): Likewise.
17439         (libc_feupdateenv_sparc_ctx): Likewise.
17440         (libc_feholdsetround_sparc_ctx): Likewise.
17441         (libc_feholdexcept_setround_ctx): Define.
17442         (libc_feholdexcept_setroundf_ctx): Likewise.
17443         (libc_feholdexcept_setroundl_ctx): Likewise.
17444         (libc_fesetenv_ctx): Likewise.
17445         (libc_fesetenvf_ctx): Likewise.
17446         (libc_fesetenvl_ctx): Likewise.
17447         (libc_feupdateenv_ctx): Likewise.
17448         (libc_feupdateenvf_ctx): Likewise.
17449         (libc_feupdateenvl_ctx): Likewise.
17450         (libc_feresetround_ctx): Likewise.
17451         (libc_feresetroundf_ctx): Likewise.
17452         (libc_feresetroundl_ctx): Likewise.
17453         (libc_feholdsetround_ctx): Likewise.
17454         (libc_feholdsetroundf_ctx): Likewise.
17455         (libc_feholdsetroundl_ctx): Likewise.
17457         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17458         with __USE_GNU instead of XOPEN cpp guards.
17460         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17461         0.
17463         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17464         with XOPEN cpp guards.
17466 2014-04-30  Julian Brown  <julian@codesourcery.com>
17468         [BZ #16888]
17469         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17470         handling.
17472 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17474         [BZ #9894]
17475         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17476         Change to 2.6.32.
17477         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17478         * sysdeps/unix/sysv/linux/configure: Regenerated.
17479         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17480         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17481         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17482         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17483         * README: Update reference to required Linux kernel version.
17484         * manual/install.texi (Linux): Update reference to required Linux
17485         kernel headers version.
17486         * INSTALL: Regenerated.
17488         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17489         header inclusion.
17490         [POSIX] (limits.h): Likewise.
17491         [POSIX] (math.h): Likewise.
17492         [POSIX] (sys/wait.h): Likewise.
17493         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17494         function.
17495         [POSIX] (stddef.h): Do not allow header inclusion.
17497 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17499         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17501 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17503         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17504         Return immediately after lll_futex_wake.
17506 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17508         [BZ #16791]
17509         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17510         structure.
17511         (datahead_init_pos): Call datahead_init_common early.
17512         (datahead_init_neg): Likewise.
17514         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17515         datahead_init_neg): New functions.
17516         * nscd/aicache.c (addhstaiX): Use them.
17517         * nscd/grpcache.c (cache_addgr): Likewise.
17518         * nscd/hstcache.c (cache_addhst): Likewise.
17519         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17520         * nscd/netgroupcache.c (do_notfound): Likewise.
17521         (addgetnetgrentX): Likewise.
17522         (addinnetgrX): Likewise.
17523         * nscd/pwdcache.c (cache_addpw): Likewise.
17524         * nscd/servicescache.c (cache_addserv): Likewise.
17526 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17527             Atsushi Onoe  <atsushi@onoe.org>
17529         [BZ #14308]
17530         [BZ #12994]
17531         [BZ #13651]
17532         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17533         one response is valid.
17534         * resolv/res_send.c (send_dg): Check for validity of other
17535         response if the current response is a referral.
17537 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17539         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17541 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17543         [BZ #16823]
17544         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17545         Always divide by positive zero when computing -Inf result.
17546         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17547         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17549 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17551         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17552         FPSCR if value do not change.
17553         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17554         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17555         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17556         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17557         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17558         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17559         function.
17561 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17563         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17564         * sysdeps/unix/sysv/linux/hppa: Move directory from
17565         ports/systeps/unix/sysv/linux/hppa.
17566         * README: Update listing for hppa-*-linux-gnu.
17568 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17570         [BZ #16754]
17571         * manual/stdio.texi (Hook functions): Fix types of stream hook
17572         functions.
17573         [BZ #16854]
17574         * socket/sys/socket.h: Fix typo in comment.
17576 2014-04-28  Wilco  <wdijkstr@arm.com>
17578         * sysdeps/arm/fenv_private.h: New file.
17579         * sysdeps/arm/math_private.h: New file.
17580         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17582 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17584         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17585         with __int128_t.
17586         (La_x86_64_retval): Likewise.
17588 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17590         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17591         fpsr if value didn't change.
17592         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17593         to fpcr if value didn't change.
17594         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17595         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17596         fpsr or fpcr if value didn't change.
17597         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17598         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17599         fpcr if value didn't change.
17600         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17601         to fpsr if value didn't change.
17603 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17605         * nptl/tst-sem3.c: Use test-skeleton.c
17606         (main): Rename to do_test.  Use return instead of
17607         exit.
17608         * nptl/tst-sem4.c: Use test-skeleton.c
17609         (main): Rename to do_test.
17611 2014-04-22  David S. Miller  <davem@davemloft.net>
17613         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17614         (struct sigaction): New struct member __glibc_reserved0, change
17615         type of sa_flags to int.
17617 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17619         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17620         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17622 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17624         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17625         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17627 2014-04-22  Will Newton  <will.newton@linaro.org>
17628             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17630         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17631         (__longjmp): Add longjmp and longjmp_target SystemTap
17632         probes.
17633         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17634         (__sigsetjmp): Add setjmp SystemTap probe.
17636 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17638         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17639         match manual order.
17641 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17643         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17645         * sysdeps/powerpc/fpu/fenv_private.h
17646         (libc_feholdexcept_setroundl_ctx): Define to
17647         libc_feholdexcept_setround_ppc_ctx.
17648         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17649         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17650         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17651         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17653 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17655         * sysdeps/aarch64/math-tests.h: New file.
17657 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17659         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17660         New.
17661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17662         Check and set bit_AVX2_Usable.
17663         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17664         macro.
17665         (bit_AVX2): Likewise.
17666         (index_AVX2_Usable): Likewise.
17667         (CPUID_AVX2): Likewise.
17668         (HAS_AVX2): Likewise.
17670 2014-04-17  Will Newton  <will.newton@linaro.org>
17672         * manual/setjmp.texi (System V contexts): Add note that
17673         calling setcontext on a context created by a call to a
17674         signal handler is undefined.  Update text to note that
17675         setcontext from a signal handler is possible but not
17676         recommended.
17678         [BZ #16629]
17679         * stdlib/tst-setcontext.c: Include signal.h.
17680         (main): Check that the signal stack before and
17681         after swapcontext is the same.
17683         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17684         Re-implement to restore registers in user code and avoid
17685         rt_sigreturn system call.
17687 2014-04-17  Wilco  <wdijkstr@arm.com>
17689         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17690         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17691         * math/test-fenv.c: Skip exception trap tests on targets which only
17692         support non-stop mode.
17694 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17695             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17697         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17698         (libc_feholdsetround_aarch64_ctx)
17699         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17700         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17701         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17702         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17703         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17704         (libc_feresetround_noexl_ctx): Define.
17706 2014-04-16  Richard Henderson  <rth@redhat.com>
17708         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17710         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17711         unwind tables.
17713         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17714         const from the non-libc, non-ldso copy.
17716         * sysdeps/alpha/libm-test-ulps: Regenerate.
17718 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17719             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17721         * sysdeps/aarch64/fpu/math_private.h: New file.
17723 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17725         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17727 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17729         [BZ #16275]
17730         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17731         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17733         Intel MPX bound registers before _dl_profile_fixup.
17734         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17735         registers after _dl_profile_fixup.  Save and restore bound
17736         registers bnd0/bnd1 when calling _dl_call_pltexit.
17737         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17738         (LR_BND_OFFSET): Likewise.
17739         (LRV_BND0_OFFSET): Likewise.
17740         (LRV_BND1_OFFSET): Likewise.
17742 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17744         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17745         to...
17746         * sysdeps/mach/hurd/i386/tls.h: ... here.
17747         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17748         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17749         fields.
17751 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17753         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17755 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17757         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17759 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17761         [BZ #14770]
17762         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17763         * sysdeps/s390/configure: Regenerate.
17765         [BZ #16824]
17766         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17767         Set round-to-nearest internally to reduce error accumulation.
17769 2014-04-16  Alan Modra  <amodra@gmail.com>
17771         [BZ #16740]
17772         [BZ #16619]
17773         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17774         * math/libm-test.inc (frexp_test_data): Add tests.
17775         * NEWS: Update fixed bug list.
17777 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17779         * benchtests/Makefile: Depend on libraries in build directory.
17780         (bench-math): Separate out math tests.
17781         (bench-pthread): Separate out pthread tests.
17782         (bench): Include math and pthread tests.
17784 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17786         [BZ #16831]
17787         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17788         _dl_debug_initialize.
17790         * configure.ac: Remove SELinux header check.
17791         * configure: Regenerate.
17792         * nscd/selinux.c (perms): Array of const char* to permission names.
17793         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17794         default policy. Call string_to_security_class and string_to_av_perm to
17795         translate strings. Enforce default policy and call avs_has_perm with
17796         results of translated strings.
17798 2014-04-13  David S. Miller  <davem@davemloft.net>
17800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17802 2014-04-12  Allan McRae  <allan@archlinux.org>
17804         [BZ #16838]
17805         * manual/string.texi (Collation Functions): Fix qsort argument
17806         order in example.
17807         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17809 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17811         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17812         Make the test a no-op if there are no exceptions defined.
17814 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17816         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17817         enable-hardcoded-path-in-tests
17819 2014-04-11  Will Newton  <will.newton@linaro.org>
17821         * benchtests/Makefile (extra-objs): Add json-lib.o.
17822         (bench-func): Tidy up JSON output.
17823         * benchtests/bench-skeleton.c: Include json-lib.h.
17824         (main): Use JSON library functions to do output of
17825         benchmark results.
17826         * benchtests/bench-timing-type.c (main): Output the
17827         timing type simply, leaving formatting to the user.
17828         * benchtests/json-lib.c: New file.
17829         * benchtests/json-lib.h: Likewise.
17831 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17833         [BZ #15215]
17834         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17835         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17836         memory barriers.  Add comments.
17837         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17838         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17839         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17840         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17841         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17842         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17844 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17846         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17847         * sysdeps/s390/s390-64/configure.ac: ... this ...
17848         * sysdeps/s390/configure.ac: ... to here.
17849         * sysdeps/s390/s390-32/configure: Delete file.
17850         * sysdeps/s390/s390-64/configure: Delete file.
17851         * sysdeps/s390/configure: Regenerate.
17853 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17855         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17857 2014-04-11  Will Newton  <will.newton@linaro.org>
17859         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17860         to zero if it is not defined elsewhere.  (mtrim): Test
17861         the value of MALLOC_DEBUG with #if rather than #ifdef.
17863 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17865         * benchtests/pthread_once-inputs: New file.
17866         * benchtests/pthread_once-source.c: New file.
17867         * benchtests/README: Update documentation.
17869 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17870             H.J. Lu  <hongjiu.lu@intel.com>
17872         [BZ #16275]
17873         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17874         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17875         * sysdeps/x86_64/configure: Regenerated.
17876         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17877         macro.
17878         (REGISTER_SAVE_RAX): Likewise.
17879         (REGISTER_SAVE_RCX): Likewise.
17880         (REGISTER_SAVE_RDX): Likewise.
17881         (REGISTER_SAVE_RSI): Likewise.
17882         (REGISTER_SAVE_RDI): Likewise.
17883         (REGISTER_SAVE_R8): Likewise.
17884         (REGISTER_SAVE_R9): Likewise.
17885         (REGISTER_SAVE_BND0): Likewise.
17886         (REGISTER_SAVE_BND1): Likewise.
17887         (REGISTER_SAVE_BND2): Likewise.
17888         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17889         bound registers when calling _dl_fixup.
17891 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17893         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17894         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17895         of its definition.
17896         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17897         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17898         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17899         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17900         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17901         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17902         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17904 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17906         [BZ #15514]
17907         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17908         pathconf(_PC_NAME_MAX).
17910 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17912         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17913         Remove macro usage.
17914         (__PTHREAD_SPINS): Move definition to ...
17915         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17916         (__PTHREAD_SPINS): ... here.
17917         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17918         (__PTHREAD_SPIN): Likewise.
17919         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17920         (__PTHREAD_SPIN): Likewise.
17921         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17922         (__PTHREAD_SPIN): Likewise.
17923         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17924         (__PTHREAD_SPIN): Likewise.
17925         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17926         (__PTHREAD_SPIN): Likewise.
17927         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17928         (__PTHREAD_SPIN): Likewise.
17929         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17930         (__PTHREAD_SPIN): Likewise.
17931         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17932         (__PTHREAD_SPIN): Likewise.
17933         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17934         (__PTHREAD_SPIN): Likewise.
17935         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17936         (__PTHREAD_SPIN): Likewise.
17937         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17938         (__PTHREAD_SPIN): Likewise.
17939         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17940         (__PTHREAD_SPIN): Likewise.
17942         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17943         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17944         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17945         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17946         imply folder.
17947         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17948         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17949         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17950         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17951         correct imply path.
17952         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17953         strlen symbol for non multi-arch builds.
17954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17955         missing hidden_def and weak_alias.
17957 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
17959         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17961 2014-04-07  Will Newton  <will.newton@linaro.org>
17963         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17964         and contents.  [!_LIBC] Remove #ifndef and contents.
17965         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
17966         * string/memccpy.c (__memccpy): Use ANSI prototype.
17967         * string/memfrob.c (memfrob): Likewise.
17968         * string/strcoll.c (STRCOLL): Likewise.
17969         * string/strlen.c (strlen): Likewise.
17970         * string/strtok.c (STRTOK): Likewise.
17971         * string/strcat.c: Remove unused #include of memcopy.h.
17972         (strcat): Use ANSI prototype.
17973         * string/strchr.c: Remove unused #include of memcopy.h.
17974         (strchr): Use ANSI prototype.
17975         * string/strcmp.c: Remove unused #include of memcopy.h.
17976         (strcmp): Use ANSI prototype.
17977         * string/strcpy.c: Remove unused #include of memcopy.h.
17978         (strcpy): Use ANSI prototype.
17980 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17982         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17983         * config.make.in (config-extra-cppflags): Set it from
17984         libc_extra_cppflags.
17985         * configure.ac (libc_extra_cflags): Make it accumulate over
17986         configure fragments.
17987         (libc_extra_cppflags): New flag.
17988         * configure. Regenerate.
17989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17990         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17991         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17994         [BZ #16815]
17995         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17996         result for FE_DOWNWARD rounding mode.
17997         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17998         Likewise.
17999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18001 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18003         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18004         in function argument name.
18006 2014-04-03  David Svoboda  <svoboda@cert.org>
18008         [BZ #5666]
18009         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18010         explicitly.
18012 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18014         * elf/dl-unmap-segments.h: New file.
18015         * sysdeps/generic/ldsodefs.h
18016         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18017         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18018         * elf/dl-fptr.c: Likewise.
18019         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18020         * sysdeps/aarch64/tlsdesc.c: Likewise.
18021         * sysdeps/arm/tlsdesc.c: Likewise.
18022         * sysdeps/i386/tlsdesc.c: Likewise.
18023         * sysdeps/tile/dl-runtime.c: Likewise.
18024         * sysdeps/x86_64/tlsdesc.c: Likewise.
18025         * elf/dl-load.h: New file.
18026         * elf/dl-load.c: Include it.
18027         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18028         Macros moved to dl-load.h.
18029         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18030         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18031         Use _dl_unmap_segments in place of __munmap.
18032         Break out segment-mapping loop into ...
18033         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18035 2014-04-03  Will Newton  <will.newton@linaro.org>
18037         * elf/dl-lookup.c (do_lookup_x): Remove comment
18038         referring to nested function and move variable
18039         declarations down to before first use.
18041 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18043         [BZ #16799]
18044         [BZ #16800]
18045         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18046         with 0 numerator.
18047         * math/s_catanf.c (__catanf): Likewise.
18048         * math/s_catanh.c (__catanh): Likewise.
18049         * math/s_catanhf.c (__catanhf): Likewise.
18050         * math/s_catanhl.c (__catanhl): Likewise.
18051         * math/s_catanl.c (__catanl): Likewise.
18052         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18053         by positive zero when computing -Inf result.
18054         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18055         (catanh_test): Likewise.
18056         * sysdeps/i386/fpu/libm-test-ulps: Update.
18057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059         [BZ #16789]
18060         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18061         instead of using underflowing value in computing result.
18062         * math/s_clog10.c (__clog10): Likewise.
18063         * math/s_clog10f.c (__clog10f): Likewise.
18064         * math/s_clog10l.c (__clog10l): Likewise.
18065         * math/s_clogf.c (__clogf): Likewise.
18066         * math/s_clogl.c (__clogl): Likewise.
18067         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18068         (clog10_test): Likewise.
18069         * sysdeps/i386/fpu/libm-test-ulps: Update.
18070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18072 2014-04-02  Alan Modra  <amodra@gmail.com>
18074         [BZ #16739]
18075         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18076         output when value is near a power of two.  Use int64_t for lx and
18077         remove casts.  Use decimal rather than hex exponent constants.
18078         Don't use long double multiplication when double will suffice.
18079         * math/libm-test.inc (nextafter_test_data): Add tests.
18080         * NEWS: Add 16739 and 16786 to bug list.
18082         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18084         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18086 2014-04-01  Will Newton  <will.newton@linaro.org>
18088         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18089         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18091 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18093         [BZ #13347]
18094         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18095         * nptl/tst-setuid2.c: New file.
18096         * nptl/Makefile (xtests): Add tst-setuid2.
18098 2014-04-01  Alan Modra  <amodra@gmail.com>
18100         [BZ #16786]
18101         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18103 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18105         [BZ #6803]
18106         [BZ #6804]
18107         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18108         set errno as appropriate.
18109         * math/w_scalbf.c (__scalbf): Likewise.
18110         * math/w_scalbl.c (__scalbl): Likewise.
18111         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18112         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18113         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18114         Add more NaN tests.
18116         [BZ #16349]
18117         * math/w_atan2.c: Include <errno.h>.
18118         (__atan2): Set errno for result underflowing to zero.
18119         * math/w_atan2f.c: Include <errno.h>.
18120         (__atan2f): Set errno for result underflowing to zero.
18121         * math/w_atan2l.c: Include <errno.h>.
18122         (__atan2l): Set errno for result underflowing to zero.
18123         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18124         tests.
18125         * math/auto-libm-test-out: Regenerated.
18127 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18130         Encode instruction correctly in little endian.
18131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18132         Likewise.
18133         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18134         Likewise.
18135         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18136         Likewise.
18137         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18138         Likewise.
18140 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18142         [BZ #9894]
18143         * sysdeps/unix/sysv/linux/kernel-features.h
18144         [__sparc__ && !__arch64__ && !__sparc_v9__]
18145         (__ASSUME_SET_ROBUST_LIST): Do not define.
18146         [__sparc__ && !__arch64__ && !__sparc_v9__]
18147         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18148         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18149         Likewise.
18150         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18151         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18152         (__ASSUME_REQUEUE_PI): Likewise.
18153         (__ASSUME_SET_ROBUST_LIST): Likewise.
18154         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18155         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18156         Undefine.
18157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18158         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18159         Likewise.
18160         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18161         Likewise.
18162         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18163         Likewise.
18164         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18165         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18166         Undefine.
18167         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18168         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18169         Likewise.
18171         [BZ #16648]
18172         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18173         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18174         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18176 2014-03-31  Will Newton  <will.newton@linaro.org>
18178         * benchtests/Makefile (bench): Add ffs and ffsll to list
18179         of tests.
18180         * benchtests/ffs-inputs: New file.
18181         * benchtests/ffsll-inputs: Likewise.
18183 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18185         [BZ #16770]
18186         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18187         too large before casting to int.
18188         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18189         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18190         * math/libm-test.inc (scalb_test_data): Add more tests.
18192 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18194         * benchtests/Makefile (DETAILED_OPT): New make option.
18195         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18196         set.
18197         * benchtests/bench-skeleton.c: Include stdbool.h.
18198         (main): Store and print timings per input.
18199         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18200         member to each argument value.
18201         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18202         (_print_arg_data): Initialize per-input timing to 0.
18204         * benchtests/Makefile (timing-type): New binary.
18205         (bench-clean): Also remove bench-timing-type.
18206         (bench): New target for timing-type.
18207         (bench-func): Print output in JSON format.
18208         * benchtests/bench-skeleton.c (main): Print output in JSON
18209         format.
18210         * benchtests/bench-timing-type.c: New file.
18211         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18212         (TIMING_PRINT_STATS): Remove.
18213         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18214         name separately.
18216         * benchtests/bench-modf.c: Remove.
18217         * benchtests/modf-inputs: New inputs file.
18219 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18221         [BZ #16362]
18222         * math/s_clog10.c (M_PI_LOG10E): New macro.
18223         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18224         imaginary parts are 0.
18225         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18226         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18227         imaginary parts are 0.
18228         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18229         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18230         imaginary parts are 0.
18231         * math/libm-test.inc (clog10_test_data): Update expected results
18232         for when real and imaginary parts are 0.
18234 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18236         * elf/dl-load.c: Finish conversion of __builtin_expect into
18237         __glibc_{un}likely.
18239 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18241         [BZ #16348]
18242         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18243         1+x for argument with exponent below -67.
18244         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18245         Likewise.
18246         * math/auto-libm-test-in: Add more tests of exp.
18247         * math/auto-libm-test-out: Regenerated.
18249 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18251         [BZ #16759]
18252         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18253         (nscd_getnetgrent): Use it.
18255         [BZ #16760]
18256         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18257         of stpcpy.
18259 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18261         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18262         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18263         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18264         (lll_robust_unlock): Remove out of line section. Use cfi
18265         intrinsics.
18266         (LLL_STUB_UNWIND_INFO*): Remove.
18267         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18268         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18269         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18270         (lll_robust_unlock): Remove out of line section. Use cfi
18271         intrinsics.
18272         (LLL_STUB_UNWIND_INFO*): Remove.
18274 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18276         [BZ #16758]
18277         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18278         blank values.
18280 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18282         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18284 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18286         [BZ #16198]
18287         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18288         fnstenv.
18289         * math/test-fenv-preserve.c: New file.
18290         * math/Makefile (tests): Add test-fenv-preserve.
18292 2014-03-26  Will Newton <will.newton@linaro.org>
18294         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18296 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18298         * scripts/versionlist.awk: Partition the version sets and emit all
18299         GLIBC_* (sorted) before all others (sorted).
18301 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18303         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18304         GLIBC_2.2.5 version.
18306 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18308         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18309         calls.
18311         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18312         previous change.
18314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18316 2014-03-25  Andreas Schwab  <schwab@suse.de>
18318         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18319         label to be used after in6ailist is initialized.
18321 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18323         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18324         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18326 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18328         [BZ #16357]
18329         [BZ #16599]
18330         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18331         min_plus_half.
18332         (fp_formats): Update initializers.
18333         (init_fp_formats): Initialize new field.
18334         (output_for_one_input_case): Allow underflow for results up to
18335         min_plus_half.
18336         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18337         * math/auto-libm-test-in: Don't mark some underflows from asin and
18338         atanh as spurious.
18339         * math/auto-libm-test-out: Regenerated.
18340         * sysdeps/i386/fpu/libm-test-ulps: Update.
18341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18343 2014-03-25  Andreas Schwab  <schwab@suse.de>
18345         * libio/Makefile (tst-ftell-partial-wide-ENV)
18346         (tst-ftell-active-handler-ENV): Define.
18348 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18350         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18352 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18354         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18356 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18358         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18359         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18360         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18362 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18364         [BZ #16634]
18365         * elf/dl-load.c (open_verify): Add mode parameter.
18366         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18367         (open_path): Change from boolean 'secure' to complete flag 'mode'
18368         (_dl_map_object): Adjust.
18369         * elf/Makefile (tests): Add tst-dlopen-aout.
18370         * elf/tst-dlopen-aout.c: New test.
18372 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18374         [BZ #16714]
18375         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18376         (struct stat): Rename member pad0 to __glibc_reserved0.
18378         [BZ #16712]
18379         * sysdeps/s390/s390-32/bits/wordsize.h
18380         (__WORDSIZE32_SIZE_ULONG): New define.
18381         * sysdeps/s390/s390-64/bits/wordsize.h
18382         (__WORDSIZE32_SIZE_ULONG): Likewise.
18383         * sysdeps/generic/stdint.h (SIZE_MAX):
18384         Define as UL if __WORDSIZE32_SIZE_ULONG.
18386         [BZ #16713]
18387         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18388         (__glibc_reserved0): New variable.
18389         (sa_flags): Change type to int.
18391         * posix/Makefile (before-compile): Use += before-compile instead
18392         of a :=.
18394         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18395         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18397 2014-03-20  Andreas Schwab  <schwab@suse.de>
18399         [BZ #16743]
18400         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18401         non-matching result from nscd.
18403 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18405         * scripts/bench.py: Moved to ...
18406         * benchtests/scripts/bench.py: ... here.
18407         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18409 2014-03-24  Andreas Schwab  <schwab@suse.de>
18411         [BZ #16002]
18412         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18413         alloca_account and account alloca use for struct in6ailist.
18415 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18417         [BZ #16284]
18418         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18419         rounding mode to recompute results that overflow to infinity or
18420         underflow to zero.
18421         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18422         bug 16284.
18423         * math/auto-libm-test-out: Regenerated.
18424         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18425         (ccosh_test): Likewise.
18426         (csin_test_data): Use plus_oflow.
18427         (csin_test): Use ALL_RM_TEST.
18428         (csinh_test_data): Use plus_oflow.
18429         (csinh_test): Use ALL_RM_TEST.
18430         * sysdeps/i386/fpu/libm-test-ulps: Update.
18431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18433 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18435         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18436         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18437         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18439         [BZ #16731]
18440         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18441         when x - 1 is zero.
18442         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18443         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18444         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18445         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18446         argument is 1.
18447         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18448         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18449         zero.
18450         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18451         * sysdeps/i386/fpu/libm-test-ulps: Update.
18452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18454 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456         * scripts/bench.pl: Remove file.
18457         * scripts/bench.py: New benchmark script.
18458         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18459         * benchtests/README: Mention python dependency.
18460         * scripts/pylintrc: New file.
18461         * scripts/pylint: New file.
18463         * bits/mathdef.h: Use #ifdef instead of #if.
18464         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18465         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18466         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18467         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18468         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18469         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18471 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18472             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18474         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18476         and strpbrk-ppc64 objects.
18477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18478         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18479         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18480         multiarch strpbrk for POWER7.
18481         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18482         multiarch strpbrk for PPC64.
18483         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18484         ifunc selector.
18485         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18486         strpbrk for POWER7.
18488 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18490         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18491         (atan_test): Likewise.
18492         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18493         (atanh_test): Use ALL_RM_TEST.
18494         (atan2_test_data): Likewise.
18495         (cabs_test): Likewise.
18496         (cacosh_test): Likewise.
18497         (carg_test): Likewise.
18498         (casin_test): Likewise.
18499         (casinh_test): Likewise.
18500         (cbrt_test): Likewise.
18501         (csqrt_test): Likewise.
18502         (erf_test): Likewise.
18503         (erfc_test): Likewise.
18504         (pow10_test): Likewise.
18505         (exp2_test): Likewise.
18506         (hypot_test): Likewise.
18507         (j0_test): Likewise.
18508         (j1_test): Likewise.
18509         (lgamma_test): Likewise.
18510         (gamma_test): Likewise.
18511         (sincos_test): Likewise.
18512         (tanh_test): Likewise.
18513         (y0_test): Likewise.
18514         (y1_test): Likewise.
18515         * sysdeps/i386/fpu/libm-test-ulps: Update.
18516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18518 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18520         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18522         and strcspn-ppc64 objects.
18523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18524         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18525         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18526         multiarch strcspn for POWER7.
18527         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18528         multiarch strcspn for PPC64.
18529         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18530         ifunc selector.
18531         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18532         strcspn for POWER7.
18534 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18536         * math/gen-libm-test.pl (generate_testfile): Expect only function
18537         name as argument to AUTO_TESTS_* and pass results for all rounding
18538         modes to parse_args.
18539         (parse_auto_input): Separate inputs of automatic tests from
18540         outputs before storing in %auto_tests.
18541         * math/libm-test.inc (acos_test_data): Update call to
18542         AUTO_TESTS_f_f.
18543         (acos_test): Use ALL_RM_TEST.
18544         (acos_tonearest_test_data): Remove.
18545         (acos_test_tonearest): Likewise.
18546         (acos_towardzero_test_data): Likewise.
18547         (acos_test_towardzero): Likewise.
18548         (acos_downward_test_data): Likewise.
18549         (acos_test_downward): Likewise.
18550         (acos_upward_test_data): Likewise.
18551         (acos_test_upward): Likewise.
18552         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18553         (asin_test_data): Likewise.
18554         (asin_test): Use ALL_RM_TEST.
18555         (asin_tonearest_test_data): Remove.
18556         (asin_test_tonearest): Likewise.
18557         (asin_towardzero_test_data): Likewise.
18558         (asin_test_towardzero): Likewise.
18559         (asin_downward_test_data): Likewise.
18560         (asin_test_downward): Likewise.
18561         (asin_upward_test_data): Likewise.
18562         (asin_test_upward): Likewise.
18563         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18564         (atan_test_data): Likewise.
18565         (atanh_test_data): Likewise.
18566         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18567         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18568         (carg_test_data): Likewise.
18569         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18570         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18571         (ccosh_test_data): Likewise.
18572         (cexp_test_data): Likewise.
18573         (clog_test_data): Likewise.
18574         (clog10_test_data): Likewise.
18575         (cos_test_data): Update call to AUTO_TESTS_f_f.
18576         (cos_test): Use ALL_RM_TEST.
18577         (cos_tonearest_test_data): Remove.
18578         (cos_test_tonearest): Likewise.
18579         (cos_towardzero_test_data): Likewise.
18580         (cos_test_towardzero): Likewise.
18581         (cos_downward_test_data): Likewise.
18582         (cos_test_downward): Likewise.
18583         (cos_upward_test_data): Likewise.
18584         (cos_test_upward): Likewise.
18585         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18586         (cosh_test): Use ALL_RM_TEST.
18587         (cosh_tonearest_test_data): Remove.
18588         (cosh_test_tonearest): Likewise.
18589         (cosh_towardzero_test_data): Likewise.
18590         (cosh_test_towardzero): Likewise.
18591         (cosh_downward_test_data): Likewise.
18592         (cosh_test_downward): Likewise.
18593         (cosh_upward_test_data): Likewise.
18594         (cosh_test_upward): Likewise.
18595         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18596         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18597         (ctan_test_data): Likewise.
18598         (ctan_test): Use ALL_RM_TEST.
18599         (ctan_tonearest_test_data): Remove.
18600         (ctan_test_tonearest): Likewise.
18601         (ctan_towardzero_test_data): Likewise.
18602         (ctan_test_towardzero): Likewise.
18603         (ctan_downward_test_data): Likewise.
18604         (ctan_test_downward): Likewise.
18605         (ctan_upward_test_data): Likewise.
18606         (ctan_test_upward): Likewise.
18607         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18608         (ctanh_test): Use ALL_RM_TEST.
18609         (ctanh_tonearest_test_data): Remove.
18610         (ctanh_test_tonearest): Likewise.
18611         (ctanh_towardzero_test_data): Likewise.
18612         (ctanh_test_towardzero): Likewise.
18613         (ctanh_downward_test_data): Likewise.
18614         (ctanh_test_downward): Likewise.
18615         (ctanh_upward_test_data): Likewise.
18616         (ctanh_test_upward): Likewise.
18617         (erf_test_data): Update call to AUTO_TESTS_f_f.
18618         (erfc_test_data): Likewise.
18619         (exp_test_data): Likewise.
18620         (exp_test): Use ALL_RM_TEST.
18621         (exp_tonearest_test_data): Remove.
18622         (exp_test_tonearest): Likewise.
18623         (exp_towardzero_test_data): Likewise.
18624         (exp_test_towardzero): Likewise.
18625         (exp_downward_test_data): Likewise.
18626         (exp_test_downward): Likewise.
18627         (exp_upward_test_data): Likewise.
18628         (exp_test_upward): Likewise.
18629         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18630         (exp10_test): Use ALL_RM_TEST.
18631         (exp10_tonearest_test_data): Remove.
18632         (exp10_test_tonearest): Likewise.
18633         (exp10_towardzero_test_data): Likewise.
18634         (exp10_test_towardzero): Likewise.
18635         (exp10_downward_test_data): Likewise.
18636         (exp10_test_downward): Likewise.
18637         (exp10_upward_test_data): Likewise.
18638         (exp10_test_upward): Likewise.
18639         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18640         (expm1_test_data): Likewise.
18641         (expm1_test): Use ALL_RM_TEST.
18642         (expm1_tonearest_test_data): Remove.
18643         (expm1_test_tonearest): Likewise.
18644         (expm1_towardzero_test_data): Likewise.
18645         (expm1_test_towardzero): Likewise.
18646         (expm1_downward_test_data): Likewise.
18647         (expm1_test_downward): Likewise.
18648         (expm1_upward_test_data): Likewise.
18649         (expm1_test_upward): Likewise.
18650         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18651         (fma_test): Use ALL_RM_TEST.
18652         (fma_towardzero_test_data): Remove.
18653         (fma_test_towardzero): Likewise.
18654         (fma_downward_test_data): Likewise.
18655         (fma_test_downward): Likewise.
18656         (fma_upward_test_data): Likewise.
18657         (fma_test_upward): Likewise.
18658         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18659         (j0_test_data): Update call to AUTO_TESTS_f_f.
18660         (j1_test_data): Likewise.
18661         (jn_test_data): Update call to AUTO_TESTS_if_f.
18662         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18663         (log_test_data): Update call to AUTO_TESTS_f_f.
18664         (log10_test_data): Likewise.
18665         (log1p_test_data): Likewise.
18666         (log2_test_data): Likewise.
18667         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18668         (pow_tonearest_test_data): Likewise.
18669         (sin_test_data): Update call to AUTO_TESTS_f_f.
18670         (sin_test): Use ALL_RM_TEST.
18671         (sin_tonearest_test_data): Remove.
18672         (sin_test_tonearest): Likewise.
18673         (sin_towardzero_test_data): Likewise.
18674         (sin_test_towardzero): Likewise.
18675         (sin_downward_test_data): Likewise.
18676         (sin_test_downward): Likewise.
18677         (sin_upward_test_data): Likewise.
18678         (sin_test_upward): Likewise.
18679         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18680         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18681         (sinh_test): Use ALL_RM_TEST.
18682         (sinh_tonearest_test_data): Remove.
18683         (sinh_test_tonearest): Likewise.
18684         (sinh_towardzero_test_data): Likewise.
18685         (sinh_test_towardzero): Likewise.
18686         (sinh_downward_test_data): Likewise.
18687         (sinh_test_downward): Likewise.
18688         (sinh_upward_test_data): Likewise.
18689         (sinh_test_upward): Likewise.
18690         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18691         (sqrt_test): Use ALL_RM_TEST.
18692         (sqrt_tonearest_test_data): Remove.
18693         (sqrt_test_tonearest): Likewise.
18694         (sqrt_towardzero_test_data): Likewise.
18695         (sqrt_test_towardzero): Likewise.
18696         (sqrt_downward_test_data): Likewise.
18697         (sqrt_test_downward): Likewise.
18698         (sqrt_upward_test_data): Likewise.
18699         (sqrt_test_upward): Likewise.
18700         (tan_test_data): Update call to AUTO_TESTS_f_f.
18701         (tan_test): Use ALL_RM_TEST.
18702         (tan_tonearest_test_data): Remove.
18703         (tan_test_tonearest): Likewise.
18704         (tan_towardzero_test_data): Likewise.
18705         (tan_test_towardzero): Likewise.
18706         (tan_downward_test_data): Likewise.
18707         (tan_test_downward): Likewise.
18708         (tan_upward_test_data): Likewise.
18709         (tan_test_upward): Likewise.
18710         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18711         (tgamma_test_data): Likewise.
18712         (y0_test_data): Likewise.
18713         (y1_test_data): Likewise.
18714         (yn_test_data): Update call to AUTO_TESTS_if_f.
18715         (main): Do not call removed functions.
18717 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18719         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18720         (ldexp_test_data): Remove.
18721         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18722         scalbn_test_data.
18723         (scalb_test): Use ALL_RM_TEST.
18725 2014-03-19  Andreas Schwab  <schwab@suse.de>
18727         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18729 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18731         [BZ #16649]
18732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18733         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18734         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18736         (__ASSUME_PREADV): Undefine.
18737         (__ASSUME_PWRITEV): Likewise.
18739 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18741         * bits/mman-linux.h: Add comment about non-Linux use.
18742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18743         bits/mman-linux.h resting place.
18745         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18746         * bits/mman-linux.h: ... here.
18748 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18750         * conform/conformtest.pl: Add standard definition when calling C
18751         preprocessor on data files.
18752         (checknamespace): Remove unused variable.
18754 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18756         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18757         minus_oflow, plus_uflow and minus_uflow in expected results.
18758         * math/libm-test.inc (scalbn_test_data): Add more tests of
18759         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18760         minus_uflow.
18761         (scalbn_test): Use ALL_RM_TEST.
18762         (scalbln_test_data): Add more tests of negative arguments.  Use
18763         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18764         (scalbln_test): Use ALL_RM_TEST.
18766 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18768         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18770 2014-03-18  Will Newton  <will.newton@linaro.org>
18772         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18773         inaccurate comment.
18775 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18777         * Makerules [!subdir] (check-abi): Exit with error status if a
18778         test failed.
18780 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18782         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18783         for rint.  Include results for all rounding modes.
18784         (nearbyint_test): Use ALL_RM_TEST.
18785         (rint_test_data): Include all tests used for nearbyint.
18787 2014-03-17  Will Newton  <will.newton@linaro.org>
18789         * nptl/sysdeps/pthread/pthread.h: Revert previous
18790         change.
18792         * sysdeps/generic/ldsodefs.h: Revert previous
18793         change.
18795         * libio/genops.c: Revert previous change.
18796         * libio/libioP.h: Likewise.
18797         * stdio-common/vfprintf.c: Likewise.
18799         * sysdeps/generic/math_private.h: Revert previous
18800         change.
18802         * sysdeps/generic/math_private.h: Check whether
18803         HAVE_RM_CTX is defined with #ifdef rather
18804         than #if.
18806         * argp/argp-fmtstream.h: Check whether
18807         __STRICT_ANSI__ is defined with #ifdef rather
18808         than #if.
18809         * argp/argp.h: Likewise.
18811         * libio/genops.c: Check whether
18812         _IO_JUMPS_OFFSET is defined with #ifdef rather
18813         than #if.
18814         * libio/libioP.h: Likewise.
18815         * stdio-common/vfprintf.c: Likewise.
18817         * sysdeps/generic/ldsodefs.h: Check whether
18818         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18819         than #if.
18821         * nptl/sysdeps/pthread/pthread.h: Check
18822         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18823         its value.
18825 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18827         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18828         setting O_APPEND.
18829         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18830         test case.
18832         [BZ #16680]
18833         * libio/fileops.c (_IO_file_open): Seek to end of file but
18834         don't cache the offset.
18835         (get_file_offset): Remove function.
18836         (do_ftell): Use cached offset when available.
18837         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18838         don't cache the offset.
18839         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18840         case.
18841         (do_one_test): Call it.
18842         (do_ftell_test): Fix up expected old offset for a+ mode.
18843         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18844         available.
18846         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18847         up test status with function return status.
18848         (do_write_test): Likewise.
18849         (do_append_test): Likewise.
18851         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18852         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18853         Remove.
18855 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18857         * math/gen-libm-test.pl (parse_args): Handle results specified for
18858         each rounding mode separately.
18859         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18860         tests and results from lrint_tonearest_test_data,
18861         lrint_towardzero_test_data, lrint_downward_test_data and
18862         lrint_upward_test_data.
18863         (lrint_test): Use ALL_RM_TEST.
18864         (lrint_tonearest_test_data): Remove.
18865         (lrint_test_tonearest): Likewise.
18866         (lrint_towardzero_test_data): Likewise.
18867         (lrint_test_towardzero): Likewise.
18868         (lrint_downward_test_data): Likewise.
18869         (lrint_test_downward): Likewise.
18870         (lrint_upward_test_data): Likewise.
18871         (lrint_test_upward): Likewise.
18872         (llrint_test_data): Merge in per-rounding-mode tests and results
18873         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18874         llrint_downward_test_data and llrint_upward_test_data.
18875         (llrint_test): Use ALL_RM_TEST.
18876         (llrint_tonearest_test_data): Remove.
18877         (llrint_test_tonearest): Likewise.
18878         (llrint_towardzero_test_data): Likewise.
18879         (llrint_test_towardzero): Likewise.
18880         (llrint_downward_test_data): Likewise.
18881         (llrint_test_downward): Likewise.
18882         (llrint_upward_test_data): Likewise.
18883         (llrint_test_upward): Likewise.
18884         (rint_test_data): Merge in per-rounding-mode tests and results
18885         from rint_tonearest_test_data, rint_towardzero_test_data,
18886         rint_downward_test_data and rint_upward_test_data.  Add
18887         per-rounding-mode results for tests not in those arrays.
18888         (rint_test): Use ALL_RM_TEST.
18889         (rint_tonearest_test_data): Remove.
18890         (rint_test_tonearest): Likewise.
18891         (rint_towardzero_test_data): Likewise.
18892         (rint_test_towardzero): Likewise.
18893         (rint_downward_test_data): Likewise.
18894         (rint_test_downward): Likewise.
18895         (rint_upward_test_data): Likewise.
18896         (rint_test_upward): Likewise.
18897         (main): Don't call removed functions.
18899 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18901         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18902         "Compiled on ..." crapola.  It is anti-useful.
18904 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18906         * scripts/evaluate-test.sh: Handle fourth argument to determine
18907         whether test run should stop on failure.
18908         * Makeconfig (stop-on-test-failure): New variable.
18909         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18910         $(stop-on-test-failure).
18911         * Makefile (tests): Give a summary of results from testing and
18912         exit with failure status if they include an ERROR or FAIL.
18913         (xtests): Likewise.
18914         * manual/install.texi (Configuring and compiling): Mention
18915         stop-on-test-failure=y.
18916         * INSTALL: Regenerated.
18918 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18920         * scripts/versionlist.awk: New file.
18921         * Makerules [$(build-shared) = yes]
18922         (postclean-generated): Add Versions.def, not Versions.def.v and
18923         Versions.def.v.i.
18924         ($(common-objpfx)Versions.def.v.i): Target removed.
18925         ($(common-objpfx)Versions.def): New target.
18926         ($(common-objpfx)Versions.all): Depend on that rather that
18927         $(common-objpfx)Versions.def.v.
18928         * Versions.def: File removed.
18930         * Makeconfig (+gccwarn): Add -Wundef.
18931         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18932         a dl-sysdep.h breaking its contract.
18933         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18934         * include/stackinfo.h: New file.
18935         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18936         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18937         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18938         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18939         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18940         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18941         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18942         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18943         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18944         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18945         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18946         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18947         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18948         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18949         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18951 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18953         [BZ #16707]
18954         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18955         implementation.
18956         * math/libm-test.inc (round_test_data): Add more tests.
18958         [BZ #16706]
18959         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18960         implementation.
18961         * math/libm-test.inc (nearbyint_test_data): Add more tests.
18963         [BZ #16701]
18964         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18965         implementation.
18966         * math/libm-test.inc (ceil_test_data): Add more tests.
18968         * math/libm-test.inc (trunc_test_data): Add more tests related to
18969         BZ#16414.
18971 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18973         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18974         with #if rather than #ifdef.
18975         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18977 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
18979         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18980         first.  Disable AVX-512 GCC support if assembler doesn't support
18981         it.
18982         * sysdeps/x86_64/configure: Regenerated.
18984 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
18986         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18987         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18988         (__old_pthread_attr_setstack): Likewise.
18989         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18990         [!_STACK_GROWS_DOWN]: Likewise.
18992 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
18994         * config.make.in (have-bash2): Delete.
18995         * configure.ac (libc_cv_have_bash2): Delete.
18996         * configure: Regenerate.
18997         * elf/Makefile (common-ldd-rewrite): Rename to ...
18998         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
18999         (sh-ldd-rewrite): Delete.
19000         (bash-ldd-rewrite): Delete.
19001         (have-bash2): Delete checks.
19002         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19003         ldd-rewrite.
19005         * config.make.in (have-ksh): Delete.
19006         (KSH): Delete.
19007         * configure.ac (libc_cv_have_ksh): Delete.
19008         * configure: Regenerate.
19010         * elf/Makefile: Delete $(have-ksh) check.
19011         ($(objpfx)sotruss): Change KSH to BASH.
19012         * elf/sotruss.ksh: Rename to ...
19013         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19014         function style to match POSIX.  Drop ksh vim mode setting.
19016         * manual/time.texi (Specifying the Time Zone with TZ): Change
19017         Tuesday to Thursday.
19019         * debug/tst-longjmp_chk2.c: Update header comment.
19020         (stackoverflow_handler): Add comment.  Call assert on pass value.
19022 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19024         [BZ #16194]
19025         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19026         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19027         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19028         (La_x86_64_vector): Add zmm.
19029         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19030         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19031         ($(objpfx)tst-audit10): New target.
19032         ($(objpfx)tst-audit10.out): Likewise.
19033         (tst-audit10-ENV): New.
19034         (AVX512-CFLAGS): Likewise.
19035         (CFLAGS-tst-audit10.c): Likewise.
19036         (CFLAGS-tst-auditmod10a.c): Likewise.
19037         (CFLAGS-tst-auditmod10b.c): Likewise.
19038         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19039         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19040         * sysdeps/x86_64/configure: Regenerated.
19041         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19042         AVX-512 zmm register support.
19043         (_dl_x86_64_save_sse): Likewise.
19044         (_dl_x86_64_restore_sse): Likewise.
19045         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19046         size vector registers.
19047         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19048         (ZMM_SIZE): Likewise.
19049         * sysdeps/x86_64/tst-audit10.c: New file.
19050         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19051         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19053 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19055         * configure.ac (HAVE_EHDR_START): New check.
19056         * configure: Regenerated.
19057         * config.h.in (HAVE_EHDR_START): New #undef.
19058         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19059         assuming the lowest-addressed segment maps the start of the file.
19061 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19063         * INSTALL: Regenerated.
19065 2014-03-13  Will Newton  <will.newton@linaro.org>
19067         * manual/setjmp.texi (System V contexts): Improve
19068         clarity and grammar of documentation.
19070 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19072         [BZ #16381]
19073         * elf/Makefile (tests): Add tst-pie2.
19074         (tests-pie): Add tst-pie2.
19075         * elf/tst-pie2.c: New file.
19076         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19077         for ET_EXEC.
19078         * elf/rtld.c (map_doit): Load executable as lt_executable.
19079         (dl_main): Likewise.
19081 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19083         [BZ #16642]
19084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19085         (__ASSUME_PSELECT): Undefine.
19087 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19089         [BZ #16689]
19090         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19091         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19092         static build.
19093         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19094         selector for static builds.
19096 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19098         [BZ #16695]
19099         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19100         key in the buffer.
19102 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19104         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19105         IFUNC selector for static builds.
19107 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19109         * sysdeps/mips/math_private.h [__mips_hard_float]
19110         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19111         libc_feresetround_mips_ctx.
19112         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19113         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19114         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19116         [BZ #16677]
19117         * math/s_nextafter.c (__nextafter): Do not return value from
19118         overflowing computation.
19119         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19120         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19121         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19122         Likewise.
19123         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19124         Likewise.
19125         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19126         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19128 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19130         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19131         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19132         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19133         the new mov targetting sp.
19135 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19137         [BZ #16683]
19138         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19139         Define it for static builds as well.
19140         (NO_BZERO_IMPL): Likewise.
19142 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19144         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19145         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19146         multiarch strspn for PPC64.
19147         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19148         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19150         (__libc_ifunc_impl_list): Likewise.
19151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19152         multiarch optimizations
19153         * string/strspn.c (strspn): Using macro to redefine symbol name.
19155 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19156             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19158         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19159         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19160         multiarch strncat for PPC64.
19161         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19162         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19164         (__libc_ifunc_impl_list): Likewise.
19165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19166         multiarch optimizations
19168 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19170         [BZ #16639]
19171         * nscd/nscd.service: Make service type forking.
19173 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19175         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19176         sign in non default rounding modes.
19177         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19179 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19181         * math/libm-test.inc (ALL_RM_TEST): New macro.
19182         (ceil_test): Use ALL_RM_TEST.
19183         (cimag_test): Likewise.
19184         (conj_test): Likewise.
19185         (copysign_test): Likewise.
19186         (cproj_test): Likewise.
19187         (creal_test): Likewise.
19188         (fabs_test): Likewise.
19189         (floor_test): Likewise.
19190         (fmax_test): Likewise.
19191         (fmin_test): Likewise.
19192         (fmod_test): Likewise.
19193         (fpclassify_test): Likewise.
19194         (frexp_test): Likewise.
19195         (ilogb_test): Likewise.
19196         (isfinite_test): Likewise.
19197         (finite_test): Likewise.
19198         (isgreater_test): Likewise.
19199         (isgreaterequal_test): Likewise.
19200         (isinf_test): Likewise.
19201         (isless_test): Likewise.
19202         (islessequal_test): Likewise.
19203         (islessgreater_test): Likewise.
19204         (isnan_test): Likewise.
19205         (isnormal_test): Likewise.
19206         (issignaling_test): Likewise.
19207         (isunordered_test): Likewise.
19208         (logb_test): Likewise.
19209         (logb_downward_test_data): Remove.
19210         (logb_test_downward): Likewise.
19211         (lround_test): Use ALL_RM_TEST.
19212         (llround_test): Likewise.
19213         (modf_test): Likewise.
19214         (nexttoward_test): Likewise.
19215         (remainder_test): Likewise.
19216         (drem_test): Likewise.
19217         (remainder_tonearest_test_data): Likewise.
19218         (remainder_test_tonearest): Likewise.
19219         (drem_test_tonearest): Likewise.
19220         (remainder_towardzero_test_data): Likewise.
19221         (remainder_test_towardzero): Likewise.
19222         (drem_test_towardzero): Likewise.
19223         (remainder_downward_test_data): Likewise.
19224         (remainder_test_downward): Likewise.
19225         (drem_test_downward): Likewise.
19226         (remainder_upward_test_data): Likewise.
19227         (remainder_test_upward): Likewise.
19228         (drem_test_upward): Likewise.
19229         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19230         (round_test): Use ALL_RM_TEST.
19231         (signbit_test): Likewise.
19232         (trunc_test): Likewise.
19233         (significand_test): Likewise.
19234         (main): Don't call removed functions.
19236 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19238         [BZ #16674]
19239         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19240         || __USE_XOPEN2K8].
19241         (ILL_ILLOPN): Likewise.
19242         (ILL_ILLADR): Likewise.
19243         (ILL_ILLTRP): Likewise.
19244         (ILL_PRVOPC): Likewise.
19245         (ILL_PRVREG): Likewise.
19246         (ILL_COPROC): Likewise.
19247         (ILL_BADSTK): Likewise.
19248         (FPE_INTDIV): Likewise.
19249         (FPE_INTOVF): Likewise.
19250         (FPE_FLTDIV): Likewise.
19251         (FPE_FLTOVF): Likewise.
19252         (FPE_FLTUND): Likewise.
19253         (FPE_FLTRES): Likewise.
19254         (FPE_FLTINV): Likewise.
19255         (FPE_FLTSUB): Likewise.
19256         (SEGV_MAPERR): Likewise.
19257         (SEGV_ACCERR): Likewise.
19258         (BUS_ADRALN): Likewise.
19259         (BUS_ADRERR): Likewise.
19260         (BUS_OBJERR): Likewise.
19261         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19262         (TRAP_TRACE): Likewise.
19263         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19264         __USE_XOPEN2K8].
19265         (CLD_KILLED): Likewise.
19266         (CLD_DUMPED): Likewise.
19267         (CLD_TRAPPED): Likewise.
19268         (CLD_STOPPED): Likewise.
19269         (CLD_CONTINUED): Likewise.
19270         (POLL_IN): Likewise.
19271         (POLL_OUT): Likewise.
19272         (POLL_MSG): Likewise.
19273         (POLL_ERR): Likewise.
19274         (POLL_PRI): Likewise.
19275         (POLL_HUP): Likewise.
19276         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19277         Likewise.
19278         (ILL_ILLOPN): Likewise.
19279         (ILL_ILLADR): Likewise.
19280         (ILL_ILLTRP): Likewise.
19281         (ILL_PRVOPC): Likewise.
19282         (ILL_PRVREG): Likewise.
19283         (ILL_COPROC): Likewise.
19284         (ILL_BADSTK): Likewise.
19285         (FPE_INTDIV): Likewise.
19286         (FPE_INTOVF): Likewise.
19287         (FPE_FLTDIV): Likewise.
19288         (FPE_FLTOVF): Likewise.
19289         (FPE_FLTUND): Likewise.
19290         (FPE_FLTRES): Likewise.
19291         (FPE_FLTINV): Likewise.
19292         (FPE_FLTSUB): Likewise.
19293         (SEGV_MAPERR): Likewise.
19294         (SEGV_ACCERR): Likewise.
19295         (BUS_ADRALN): Likewise.
19296         (BUS_ADRERR): Likewise.
19297         (BUS_OBJERR): Likewise.
19298         (BUS_MCEERR_AR): Likewise.
19299         (BUS_MCEERR_AO): Likewise.
19300         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19301         (TRAP_TRACE): Likewise.
19302         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19303         __USE_XOPEN2K8].
19304         (CLD_KILLED): Likewise.
19305         (CLD_DUMPED): Likewise.
19306         (CLD_TRAPPED): Likewise.
19307         (CLD_STOPPED): Likewise.
19308         (CLD_CONTINUED): Likewise.
19309         (POLL_IN): Likewise.
19310         (POLL_OUT): Likewise.
19311         (POLL_MSG): Likewise.
19312         (POLL_ERR): Likewise.
19313         (POLL_PRI): Likewise.
19314         (POLL_HUP): Likewise.
19315         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19316         (ILL_ILLOPN): Likewise.
19317         (ILL_ILLADR): Likewise.
19318         (ILL_ILLTRP): Likewise.
19319         (ILL_PRVOPC): Likewise.
19320         (ILL_PRVREG): Likewise.
19321         (ILL_COPROC): Likewise.
19322         (ILL_BADSTK): Likewise.
19323         (FPE_INTDIV): Likewise.
19324         (FPE_INTOVF): Likewise.
19325         (FPE_FLTDIV): Likewise.
19326         (FPE_FLTOVF): Likewise.
19327         (FPE_FLTUND): Likewise.
19328         (FPE_FLTRES): Likewise.
19329         (FPE_FLTINV): Likewise.
19330         (FPE_FLTSUB): Likewise.
19331         (SEGV_MAPERR): Likewise.
19332         (SEGV_ACCERR): Likewise.
19333         (BUS_ADRALN): Likewise.
19334         (BUS_ADRERR): Likewise.
19335         (BUS_OBJERR): Likewise.
19336         (BUS_MCEERR_AR): Likewise.
19337         (BUS_MCEERR_AO): 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/ia64/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         (ILL_BADIADDR): Likewise.
19363         (ILL_BREAK): Likewise.
19364         (FPE_INTDIV): Likewise.
19365         (FPE_INTOVF): Likewise.
19366         (FPE_FLTDIV): Likewise.
19367         (FPE_FLTOVF): Likewise.
19368         (FPE_FLTUND): Likewise.
19369         (FPE_FLTRES): Likewise.
19370         (FPE_FLTINV): Likewise.
19371         (FPE_FLTSUB): Likewise.
19372         (FPE_DECOVF): Likewise.
19373         (FPE_DECDIV): Likewise.
19374         (FPE_DECERR): Likewise.
19375         (FPE_INVASC): Likewise.
19376         (FPE_INVDEC): Likewise.
19377         (SEGV_MAPERR): Likewise.
19378         (SEGV_ACCERR): Likewise.
19379         (SEGV_PSTKOVF): Likewise.
19380         (BUS_ADRALN): Likewise.
19381         (BUS_ADRERR): Likewise.
19382         (BUS_OBJERR): Likewise.
19383         (BUS_MCEERR_AR): Likewise.
19384         (BUS_MCEERR_AO): Likewise.
19385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19386         (TRAP_TRACE): Likewise.
19387         (TRAP_BRANCH): Likewise.
19388         (TRAP_HWBKPT): Likewise.
19389         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19390         __USE_XOPEN2K8].
19391         (CLD_KILLED): Likewise.
19392         (CLD_DUMPED): Likewise.
19393         (CLD_TRAPPED): Likewise.
19394         (CLD_STOPPED): Likewise.
19395         (CLD_CONTINUED): Likewise.
19396         (POLL_IN): Likewise.
19397         (POLL_OUT): Likewise.
19398         (POLL_MSG): Likewise.
19399         (POLL_ERR): Likewise.
19400         (POLL_PRI): Likewise.
19401         (POLL_HUP): Likewise.
19402         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19403         (ILL_ILLOPN): Likewise.
19404         (ILL_ILLADR): Likewise.
19405         (ILL_ILLTRP): Likewise.
19406         (ILL_PRVOPC): Likewise.
19407         (ILL_PRVREG): Likewise.
19408         (ILL_COPROC): Likewise.
19409         (ILL_BADSTK): Likewise.
19410         (FPE_INTDIV): Likewise.
19411         (FPE_INTOVF): Likewise.
19412         (FPE_FLTDIV): Likewise.
19413         (FPE_FLTOVF): Likewise.
19414         (FPE_FLTUND): Likewise.
19415         (FPE_FLTRES): Likewise.
19416         (FPE_FLTINV): Likewise.
19417         (FPE_FLTSUB): Likewise.
19418         (SEGV_MAPERR): Likewise.
19419         (SEGV_ACCERR): Likewise.
19420         (BUS_ADRALN): Likewise.
19421         (BUS_ADRERR): Likewise.
19422         (BUS_OBJERR): Likewise.
19423         (BUS_MCEERR_AR): Likewise.
19424         (BUS_MCEERR_AO): Likewise.
19425         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19426         (TRAP_TRACE): Likewise.
19427         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19428         __USE_XOPEN2K8].
19429         (CLD_KILLED): Likewise.
19430         (CLD_DUMPED): Likewise.
19431         (CLD_TRAPPED): Likewise.
19432         (CLD_STOPPED): Likewise.
19433         (CLD_CONTINUED): Likewise.
19434         (POLL_IN): Likewise.
19435         (POLL_OUT): Likewise.
19436         (POLL_MSG): Likewise.
19437         (POLL_ERR): Likewise.
19438         (POLL_PRI): Likewise.
19439         (POLL_HUP): Likewise.
19440         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19441         (ILL_ILLOPN): Likewise.
19442         (ILL_ILLADR): Likewise.
19443         (ILL_ILLTRP): Likewise.
19444         (ILL_PRVOPC): Likewise.
19445         (ILL_PRVREG): Likewise.
19446         (ILL_COPROC): Likewise.
19447         (ILL_BADSTK): Likewise.
19448         (FPE_INTDIV): Likewise.
19449         (FPE_INTOVF): Likewise.
19450         (FPE_FLTDIV): Likewise.
19451         (FPE_FLTOVF): Likewise.
19452         (FPE_FLTUND): Likewise.
19453         (FPE_FLTRES): Likewise.
19454         (FPE_FLTINV): Likewise.
19455         (FPE_FLTSUB): Likewise.
19456         (SEGV_MAPERR): Likewise.
19457         (SEGV_ACCERR): Likewise.
19458         (BUS_ADRALN): Likewise.
19459         (BUS_ADRERR): Likewise.
19460         (BUS_OBJERR): Likewise.
19461         (BUS_MCEERR_AR): Likewise.
19462         (BUS_MCEERR_AO): Likewise.
19463         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19464         (TRAP_TRACE): Likewise.
19465         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19466         __USE_XOPEN2K8].
19467         (CLD_KILLED): Likewise.
19468         (CLD_DUMPED): Likewise.
19469         (CLD_TRAPPED): Likewise.
19470         (CLD_STOPPED): Likewise.
19471         (CLD_CONTINUED): Likewise.
19472         (POLL_IN): Likewise.
19473         (POLL_OUT): Likewise.
19474         (POLL_MSG): Likewise.
19475         (POLL_ERR): Likewise.
19476         (POLL_PRI): Likewise.
19477         (POLL_HUP): Likewise.
19478         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19479         (ILL_ILLOPN): Likewise.
19480         (ILL_ILLADR): Likewise.
19481         (ILL_ILLTRP): Likewise.
19482         (ILL_PRVOPC): Likewise.
19483         (ILL_PRVREG): Likewise.
19484         (ILL_COPROC): Likewise.
19485         (ILL_BADSTK): Likewise.
19486         (FPE_INTDIV): Likewise.
19487         (FPE_INTOVF): Likewise.
19488         (FPE_FLTDIV): Likewise.
19489         (FPE_FLTOVF): Likewise.
19490         (FPE_FLTUND): Likewise.
19491         (FPE_FLTRES): Likewise.
19492         (FPE_FLTINV): Likewise.
19493         (FPE_FLTSUB): Likewise.
19494         (SEGV_MAPERR): Likewise.
19495         (SEGV_ACCERR): Likewise.
19496         (BUS_ADRALN): Likewise.
19497         (BUS_ADRERR): Likewise.
19498         (BUS_OBJERR): Likewise.
19499         (BUS_MCEERR_AR): Likewise.
19500         (BUS_MCEERR_AO): Likewise.
19501         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19502         (TRAP_TRACE): Likewise.
19503         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19504         __USE_XOPEN2K8].
19505         (CLD_KILLED): Likewise.
19506         (CLD_DUMPED): Likewise.
19507         (CLD_TRAPPED): Likewise.
19508         (CLD_STOPPED): Likewise.
19509         (CLD_CONTINUED): Likewise.
19510         (POLL_IN): Likewise.
19511         (POLL_OUT): Likewise.
19512         (POLL_MSG): Likewise.
19513         (POLL_ERR): Likewise.
19514         (POLL_PRI): Likewise.
19515         (POLL_HUP): Likewise.
19516         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19517         (ILL_ILLOPN): Likewise.
19518         (ILL_ILLADR): Likewise.
19519         (ILL_ILLTRP): Likewise.
19520         (ILL_PRVOPC): Likewise.
19521         (ILL_PRVREG): Likewise.
19522         (ILL_COPROC): Likewise.
19523         (ILL_BADSTK): Likewise.
19524         (ILL_DBLFLT): Likewise.
19525         (ILL_HARDWALL): Likewise.
19526         (FPE_INTDIV): Likewise.
19527         (FPE_INTOVF): Likewise.
19528         (FPE_FLTDIV): Likewise.
19529         (FPE_FLTOVF): Likewise.
19530         (FPE_FLTUND): Likewise.
19531         (FPE_FLTRES): Likewise.
19532         (FPE_FLTINV): Likewise.
19533         (FPE_FLTSUB): Likewise.
19534         (SEGV_MAPERR): Likewise.
19535         (SEGV_ACCERR): Likewise.
19536         (BUS_ADRALN): Likewise.
19537         (BUS_ADRERR): Likewise.
19538         (BUS_OBJERR): Likewise.
19539         (BUS_MCEERR_AR): Likewise.
19540         (BUS_MCEERR_AO): Likewise.
19541         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19542         (TRAP_TRACE): Likewise.
19543         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19544         __USE_XOPEN2K8].
19545         (CLD_KILLED): Likewise.
19546         (CLD_DUMPED): Likewise.
19547         (CLD_TRAPPED): Likewise.
19548         (CLD_STOPPED): Likewise.
19549         (CLD_CONTINUED): Likewise.
19550         (POLL_IN): Likewise.
19551         (POLL_OUT): Likewise.
19552         (POLL_MSG): Likewise.
19553         (POLL_ERR): Likewise.
19554         (POLL_PRI): Likewise.
19555         (POLL_HUP): Likewise.
19556         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19557         (ILL_ILLOPN): Likewise.
19558         (ILL_ILLADR): Likewise.
19559         (ILL_ILLTRP): Likewise.
19560         (ILL_PRVOPC): Likewise.
19561         (ILL_PRVREG): Likewise.
19562         (ILL_COPROC): Likewise.
19563         (ILL_BADSTK): Likewise.
19564         (FPE_INTDIV): Likewise.
19565         (FPE_INTOVF): Likewise.
19566         (FPE_FLTDIV): Likewise.
19567         (FPE_FLTOVF): Likewise.
19568         (FPE_FLTUND): Likewise.
19569         (FPE_FLTRES): Likewise.
19570         (FPE_FLTINV): Likewise.
19571         (FPE_FLTSUB): Likewise.
19572         (SEGV_MAPERR): Likewise.
19573         (SEGV_ACCERR): Likewise.
19574         (BUS_ADRALN): Likewise.
19575         (BUS_ADRERR): Likewise.
19576         (BUS_OBJERR): Likewise.
19577         (BUS_MCEERR_AR): Likewise.
19578         (BUS_MCEERR_AO): Likewise.
19579         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19580         (TRAP_TRACE): Likewise.
19581         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19582         __USE_XOPEN2K8].
19583         (CLD_KILLED): Likewise.
19584         (CLD_DUMPED): Likewise.
19585         (CLD_TRAPPED): Likewise.
19586         (CLD_STOPPED): Likewise.
19587         (CLD_CONTINUED): Likewise.
19588         (POLL_IN): Likewise.
19589         (POLL_OUT): Likewise.
19590         (POLL_MSG): Likewise.
19591         (POLL_ERR): Likewise.
19592         (POLL_PRI): Likewise.
19593         (POLL_HUP): Likewise.
19594         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19595         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19597         [BZ #16670]
19598         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19599         before #include of <time.h>.
19600         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19601         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19602         (test-xfail-UNIX98/sched.h/conform): Likewise.
19604 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19606         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19607         error absence of trapping exception support.
19608         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19610 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19612         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19613         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19614         * timezone/Makefile (testdata): Move definition above include of
19615         Rules.
19616         (test-zones): New variable.
19617         (tests-special): Add zone files.
19618         (build-testdata): Use $(evaluate-test).
19620         * elf/Makefile (tests-special): Rename tests to end with .out.
19621         ($(objpfx)noload-mem): Likewise.
19622         ($(objpfx)tst-leaks1-mem): Likewise.
19623         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19624         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19625         $(objpfx)test-iconvconfig.out.
19626         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19627         set -e inside subshell and redirect output to file.
19628         * iconvdata/Makefile (generated): Rename tests to end with .out.
19629         Correct type.
19630         (tests-special): Rename tests to end with .out.
19631         ($(objpfx)mtrace-tst-loading): Likewise.
19632         * intl/Makefile (generated): Likewise.
19633         (tests-special): Likewise.
19634         ($(objpfx)mtrace-tst-gettext): Likewise.
19635         * misc/Makefile (generated): Likewise.
19636         (tests-special): Likewise.
19637         ($(objpfx)tst-error1-mem): Likewise.
19638         * nptl/Makefile (tests-special): Likewise.
19639         ($(objpfx)tst-stack3-mem): Likewise.
19640         (generated): Likewise.
19641         * posix/Makefile (generated): Likewise.
19642         (tests-special): Likewise.
19643         (xtests-special): Likewise.
19644         ($(objpfx)tst-fnmatch-mem): Likewise.
19645         ($(objpfx)bug-regex2-mem): Likewise.
19646         ($(objpfx)bug-regex14-mem): Likewise.
19647         ($(objpfx)bug-regex21-mem): Likewise.
19648         ($(objpfx)bug-regex31-mem): Likewise.
19649         ($(objpfx)tst-vfork3-mem): Likewise.
19650         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19651         ($(objpfx)tst-pcre-mem): Likewise.
19652         ($(objpfx)tst-boost-mem): Likewise.
19653         ($(objpfx)bug-ga2-mem): Likewise.
19654         ($(objpfx)bug-glob2-mem): Likewise.
19655         * resolv/Makefile (generate): Likewise.
19656         (tests-special): Likewise.
19657         (xtests-special): Likewise.
19658         (generated): Likewise.
19659         ($(objpfx)mtrace-tst-leaks): Likewise.
19660         ($(objpfx)mtrace-tst-leaks2): Likewise.
19662         * scripts/merge-test-results.sh: New file.
19663         * Makefile (tests-special-notdir): New variable.
19664         (tests): Run merge-test-results.sh.
19665         (xtests): Likewise.
19666         * Rules (tests-special-notdir): New variable.
19667         (xtests-special-notdir): Likewise.
19668         (tests): Run merge-test-results.sh
19669         (xtests): Likewise.
19671         * Makeconfig (test-xfail-name): New variable.
19672         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19673         compute variable name for expected failures.
19674         * conform/Makefile (conformtest-headers-data): New variable.
19675         (conformtest-standards): Likewise.
19676         (conformtest-headers-ISO): Likewise.
19677         (conformtest-headers-ISO99): Likewise.
19678         (conformtest-headers-ISO11): Likewise.
19679         (conformtest-headers-POSIX): Likewise.
19680         (conformtest-headers-XPG3): Likewise.
19681         (conformtest-headers-XPG4): Likewise.
19682         (conformtest-headers-UNIX98): Likewise.
19683         (conformtest-headers-XOPEN2K): Likewise.
19684         (conformtest-headers-POSIX2008): Likewise.
19685         (conformtest-headers-XOPEN2K8): Likewise.
19686         (conformtest-header-list-base): Likewise.
19687         (conformtest-header-list-tests): Likewise.
19688         (conformtest-header-base): Likewise.
19689         (conformtest-header-tests): Likewise.
19690         (tests-special): Add $(conformtest-header-list-tests).  If
19691         [$(fast-check) && !$(cross-compiling)], add
19692         $(conformtest-header-tests) instead of
19693         $(objpfx)run-conformtest.out.
19694         (generated): Add $(conformtest-header-list-base).  If
19695         [$(fast-check) && !$(cross-compiling)], add
19696         $(conformtest-header-base).  Remove previous setting.
19697         ($(conformtest-header-list-tests)): New target.
19698         (test-xfail-run-conformtest): Remove variable.
19699         ($(objpfx)run-conformtest.out): Remove target.
19700         (test-xfail-ISO11/complex.h/conform): New variable.
19701         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19702         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19703         (test-xfail-XPG3/varargs.h/conform): Likewise.
19704         (test-xfail-XPG4/varargs.h/conform): Likewise.
19705         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19706         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19707         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19708         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19709         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19710         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19711         (test-xfail-XPG3/ftw.h/conform): Likewise.
19712         (test-xfail-XPG3/grp.h/conform): Likewise.
19713         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19714         (test-xfail-XPG3/limits.h/conform): Likewise.
19715         (test-xfail-XPG3/pwd.h/conform): Likewise.
19716         (test-xfail-XPG3/search.h/conform): Likewise.
19717         (test-xfail-XPG3/signal.h/conform): Likewise.
19718         (test-xfail-XPG3/stdio.h/conform): Likewise.
19719         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19720         (test-xfail-XPG3/string.h/conform): Likewise.
19721         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19722         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19723         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19724         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19725         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19726         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19727         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19728         (test-xfail-XPG3/termios.h/conform): Likewise.
19729         (test-xfail-XPG3/time.h/conform): Likewise.
19730         (test-xfail-XPG3/unistd.h/conform): Likewise.
19731         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19732         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19733         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19734         (test-xfail-XPG4/netdb.h/conform): Likewise.
19735         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19736         (test-xfail-XPG4/signal.h/conform): Likewise.
19737         (test-xfail-XPG4/stdio.h/conform): Likewise.
19738         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19739         (test-xfail-XPG4/stropts.h/conform): Likewise.
19740         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19741         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19742         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19743         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19744         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19745         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19746         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19747         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19748         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19749         (test-xfail-XPG4/termios.h/conform): Likewise.
19750         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19751         (test-xfail-XPG4/unistd.h/conform): Likewise.
19752         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19753         (test-xfail-POSIX/sched.h/conform): Likewise.
19754         (test-xfail-POSIX/signal.h/conform): Likewise.
19755         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19756         (test-xfail-POSIX/tar.h/conform): Likewise.
19757         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19758         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19759         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19760         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19761         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19762         (test-xfail-UNIX98/sched.h/conform): Likewise.
19763         (test-xfail-UNIX98/signal.h/conform): Likewise.
19764         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19765         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19766         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19767         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19768         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19769         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19770         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19771         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19772         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19773         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19774         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19775         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19776         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19777         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19778         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19779         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19780         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19781         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19782         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19783         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19784         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19785         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19786         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19787         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19788         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19789         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19790         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19791         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19792         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19793         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19794         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19795         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19796         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19797         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19798         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19799         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19800         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19801         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19802         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19803         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19804         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19805         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19806         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19807         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19808         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19809         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19810         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19811         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19812         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19813         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19814         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19815         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19816         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19817         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19818         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19819         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19820         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19821         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19822         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19823         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19824         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19825         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19826         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19827         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19828         (conformtest-cc-flags): Likewise.
19829         ($(conformtest-header-tests): New target.
19830         * conform/check-header-lists.sh: New file.
19831         * conform/run-conformtest.sh: Remove.
19833         * conform/conformtest.pl: Allow ' and \ in values given for
19834         constants.
19835         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19836         inclusion.
19837         [POSIX] (sys/types.h): Likewise.
19838         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19839         inclusion.
19840         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19841         inclusion.
19842         * conform/data/signal.h-data (SIGIO): Remove expectation.
19843         [XPG3] (SIGBUS): Do not expect.
19844         [POSIX || XPG3] (SIGPOLL): Likewise.
19845         [POSIX || XPG3] (SIGPROF): Likewise.
19846         [POSIX || XPG3] (SIGSYS): Likewise.
19847         [XPG3] (SIGTRAP): Likewise.
19848         [POSIX || XPG3] (SIGURG): Likewise.
19849         [POSIX || XPG3] (SIGVTALRM): Likewise.
19850         [POSIX || XPG3] (SIGXCPU): Likewise.
19851         [POSIX || XPG3] (SIGXFSZ): Likewise.
19852         [POSIX] (SA_SIGINFO): Expect.
19853         [XPG3] (siginfo_t): Do not expect type or contents.
19854         [POSIX] (si_pid): Do not expect element.
19855         [POSIX] (si_uid): Likewise.
19856         [POSIX] (si_addr): Likewise.
19857         [POSIX] (si_status): Likewise.
19858         [POSIX] (si_band): Likewise.
19859         [XPG4] (si_value): Likewise.
19860         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19861         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19862         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19863         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19864         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19865         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19866         [POSIX || XPG3] (ILL_COPROC): Likewise.
19867         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19868         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19869         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19870         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19871         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19872         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19873         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19874         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19875         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19876         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19877         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19878         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19879         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19880         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19881         [POSIX || XPG3] (CLD_EXITED): Likewise.
19882         [POSIX || XPG3] (CLD_KILLED): Likewise.
19883         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19884         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19885         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19886         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19887         [POSIX || XPG3] (POLL_IN): Likewise.
19888         [POSIX || XPG3] (POLL_OUT): Likewise.
19889         [POSIX || XPG3] (POLL_MSG): Likewise.
19890         [POSIX || XPG3] (POLL_ERR): Likewise.
19891         [POSIX || XPG3] (POLL_PRI): Likewise.
19892         [POSIX || XPG3] (POLL_HUP): Likewise.
19893         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19894         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19895         (SIG*): Do not allow.
19896         [XPG3] (si_*): Likewise.
19897         [XPG3] (SI_*): Likewise.
19898         [XPG3 || XPG4] (sigev_*): Likewise.
19899         [XPG3 || XPG4] (SIGEV_*): Likewise.
19900         [XPG3 || XPG4] (sival_*): Likewise.
19901         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19902         [POSIX || XPG3] (BUS_*): Likewise.
19903         [POSIX || XPG3] (CLD_*): Likewise.
19904         [POSIX || XPG3] (FPE_*): Likewise.
19905         [POSIX || XPG3] (ILL_*): Likewise.
19906         [POSIX || XPG3] (POLL_*): Likewise.
19907         [POSIX || XPG3] (SEGV_*): Likewise.
19908         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19909         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19910         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19911         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19912         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19913         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19914         Specify type and value.
19915         (TVERSLEN): Likewise.
19916         (REGTYPE): Likewise.
19917         (AREGTYPE): Likewise.
19918         (LNKTYPE): Likewise.
19919         (SYMTYPE): Likewise.
19920         (CHRTYPE): Likewise.
19921         (BLKTYPE): Likewise.
19922         (DIRTYPE): Likewise.
19923         (FIFOTYPE): Likewise.
19924         (CONTTYPE): Likewise.
19925         (TSUID): Likewise.
19926         (TSGID): Likewise.
19927         (TSVTX): Likewise.
19928         (TUREAD): Likewise.
19929         (TUWRITE): Likewise.
19930         (TUEXEC): Likewise.
19931         (TGREAD): Likewise.
19932         (TGWRITE): Likewise.
19933         (TGEXEC): Likewise.
19934         (TOREAD): Likewise.
19935         (TOWRITE): Likewise.
19936         (TOEXEC): Likewise.
19937         [POSIX] (TSVTX): Expect constant.
19939 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
19941         * Makefile (tests): Change dependencies to ....
19942         (tests-special): ... additions to this variable.
19943         (tests): Depend on $(tests-special).
19944         * Makerules (check-abi-list): New variable.
19945         (check-abi): Depend on $(check-abi-list).
19946         [$(subdir) = elf] (tests-special): Add
19947         $(objpfx)check-abi-libc.out.
19948         [$(build-shared) = yes && subdir] (tests-special): Add
19949         $(check-abi-list).
19950         [$(build-shared) = yes && subdir] (tests): Do not depend on
19951         check-abi.
19952         * Rules (tests): Depend on $(tests-special).
19953         (xtests): Depend on $(xtests-special).
19954         * catgets/Makefile (tests): Change dependencies to ....
19955         (tests-special): ... additions to this variable.
19956         * conform/Makefile (tests): Change dependencies to ....
19957         (tests-special): ... additions to this variable.
19958         * elf/Makefile (tests): Change dependencies to ....
19959         (tests-special): ... additions to this variable.
19960         * grp/Makefile (tests): Change dependencies to ....
19961         (tests-special): ... additions to this variable.
19962         * iconv/Makefile (xtests): Change dependencies to ....
19963         (xtests-special): ... additions to this variable.
19964         * iconvdata/Makefile (tests): Change dependencies to ....
19965         (tests-special): ... additions to this variable.
19966         * intl/Makefile (tests): Change dependencies to ....
19967         (tests-special): ... additions to this variable.  Also add
19968         $(objpfx)tst-gettext.out.
19969         * io/Makefile (tests): Change dependencies to ....
19970         (tests-special): ... additions to this variable.
19971         * libio/Makefile (tests): Change dependencies to ....
19972         (tests-special): ... additions to this variable.
19973         * malloc/Makefile (tests): Change dependencies to ....
19974         (tests-special): ... additions to this variable.
19975         * misc/Makefile (tests): Change dependencies to ....
19976         (tests-special): ... additions to this variable.
19977         * nptl/Makefile (tests): Change dependencies to ....
19978         (tests-special): ... additions to this variable.
19979         * nptl_db/Makefile (tests): Change dependencies to ....
19980         (tests-special): ... additions to this variable.
19981         * posix/Makefile (tests): Change dependencies to ....
19982         (tests-special): ... additions to this variable.
19983         (xtests): Change dependencies to ....
19984         (xtests-special): ... additions to this variable.
19985         * resolv/Makefile (tests): Change dependencies to ....
19986         (tests-special): ... additions to this variable.
19987         (xtests): Change dependencies to ....
19988         (xtests-special): ... additions to this variable.
19989         * stdio-common/Makefile (tests): Change dependencies to ....
19990         (tests-special): ... additions to this variable.
19991         (do-tst-unbputc): Remove target.
19992         (do-tst-printf): Likewise.
19993         * stdlib/Makefile (tests): Change dependencies to ....
19994         (tests-special): ... additions to this variable.
19995         * string/Makefile (tests): Change dependencies to ....
19996         (tests-special): ... additions to this variable.
19997         * sysdeps/x86/Makefile (tests): Change dependencies to ....
19998         (tests-special): ... additions to this variable.
20000         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20001         whole file.
20002         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20003         whole file.
20004         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20005         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20007         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20008         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20009         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20010         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20011         * conform/data/libgen.h-data [XPG3]: Likewise.
20012         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20013         * conform/data/ndbm.h-data [XPG3]: Likewise.
20014         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20015         * conform/data/netdb.h-data [XPG3]: Likewise.
20016         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20017         * conform/data/poll.h-data [XPG3]: Likewise.
20018         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20019         * conform/data/strings.h-data [XPG3]: Likewise.
20020         * conform/data/stropts.h-data [XPG3]: Likewise.
20021         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20022         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20023         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20024         Likewise.
20025         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20026         * conform/data/sys/time.h-data [XPG3]: Likewise.
20027         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20028         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20029         * conform/data/sys/un.h-data [XPG3]: Likewise.
20030         * conform/data/syslog.h-data [XPG3]: Likewise.
20031         * conform/data/ucontext.h-data [XPG3]: Likewise.
20032         * conform/data/utmpx.h-data [XPG3]: Likewise.
20033         * conform/data/varargs.h-data [UNIX98]: Enable file.
20035         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20037         * math/libm-test.inc (struct test_f_f_data): Move expected results
20038         into structure for each rounding mode.
20039         (struct test_ff_f_data): Likewise.
20040         (struct test_ff_f_data_nexttoward): Likewise.
20041         (struct test_fi_f_data): Likewise.
20042         (struct test_fl_f_data): Likewise.
20043         (struct test_if_f_data): Likewise.
20044         (struct test_fff_f_data): Likewise.
20045         (struct test_c_f_data): Likewise.
20046         (struct test_f_f1_data): Likewise.
20047         (struct test_fF_f1_data): Likewise.
20048         (struct test_ffI_f1_data): Likewise.
20049         (struct test_c_c_data): Likewise.
20050         (struct test_cc_c_data): Likewise.
20051         (struct test_f_i_data): Likewise.
20052         (struct test_ff_i_data): Likewise.
20053         (struct test_f_l_data): Likewise.
20054         (struct test_f_L_data): Likewise.
20055         (struct test_fFF_11_data): Likewise.
20056         (RM_): New macro.
20057         (RM_FE_DOWNWARD): Likewise.
20058         (RM_FE_TONEAREST): Likewise.
20059         (RM_FE_TOWARDZERO): Likewise.
20060         (RM_FE_UPWARD): Likewise.
20061         (RUN_TEST_LOOP_f_f): Update references to expected results.
20062         (RUN_TEST_LOOP_2_f): Likewise.
20063         (RUN_TEST_LOOP_fff_f): Likewise.
20064         (RUN_TEST_LOOP_c_f): Likewise.
20065         (RUN_TEST_LOOP_f_f1): Likewise.
20066         (RUN_TEST_LOOP_fF_f1): Likewise.
20067         (RUN_TEST_LOOP_fI_f1): Likewise.
20068         (RUN_TEST_LOOP_ffI_f1): Likewise.
20069         (RUN_TEST_LOOP_c_c): Likewise.
20070         (RUN_TEST_LOOP_cc_c): Likewise.
20071         (RUN_TEST_LOOP_f_i): Likewise.
20072         (RUN_TEST_LOOP_f_i_tg): Likewise.
20073         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20074         (RUN_TEST_LOOP_f_b): Likewise.
20075         (RUN_TEST_LOOP_f_b_tg): Likewise.
20076         (RUN_TEST_LOOP_f_l): Likewise.
20077         (RUN_TEST_LOOP_f_L): Likewise.
20078         (RUN_TEST_LOOP_fFF_11): Likewise.
20079         * math/gen-libm-test.pl (parse_args): Output four copies of
20080         expected results for each test.
20082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20083         (__ASSUME_UTIMES): Remove.
20084         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20085         (__ASSUME_UTIMES): Likewise.
20087         * math/gen-auto-libm-tests.c: Update comment on output format.
20088         (output_for_one_input_case): Generate before-rounding and
20089         after-rounding information as conditions on output flags not
20090         floating-point format.
20091         * math/auto-libm-test-out: Regenerated.
20092         * math/gen-libm-test.pl (cond_value): New function.
20093         (or_cond_value): Use cond_value.
20094         (generate_testfile): Handle conditional exceptions.
20096 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20098         * math/libm-test.inc (max_valid_error): New variable.
20099         (init_max_error): Take new argument specifying whether function
20100         results are exactly determined.  Set max_valid_error and bound
20101         other variables for errors based on this argument.
20102         (set_max_error): Do not record results above max_valid_error.
20103         (check_float_internal): Only accept errors of up to 0.5ulps if
20104         also at most max_valid_error.
20105         (START): Take new argument EXACT and pass it to init_max_error.
20106         (acos_test): Update call to START.
20107         (acos_test_tonearest): Likewise.
20108         (acos_test_towardzero): Likewise.
20109         (acos_test_downward): Likewise.
20110         (acos_test_upward): Likewise.
20111         (acosh_test): Likewise.
20112         (asin_test): Likewise.
20113         (asin_test_tonearest): Likewise.
20114         (asin_test_towardzero): Likewise.
20115         (asin_test_downward): Likewise.
20116         (asin_test_upward): Likewise.
20117         (asinh_test): Likewise.
20118         (atan_test): Likewise.
20119         (atanh_test): Likewise.
20120         (atan2_test): Likewise.
20121         (cabs_test): Likewise.
20122         (cacos_test): Likewise.
20123         (cacosh_test): Likewise.
20124         (carg_test): Likewise.
20125         (casin_test): Likewise.
20126         (casinh_test): Likewise.
20127         (catan_test): Likewise.
20128         (catanh_test): Likewise.
20129         (cbrt_test): Likewise.
20130         (ccos_test): Likewise.
20131         (ccosh_test): Likewise.
20132         (ceil_test): Likewise.
20133         (cexp_test): Likewise.
20134         (cimag_test): Likewise.
20135         (clog_test): Likewise.
20136         (clog10_test): Likewise.
20137         (conj_test): Likewise.
20138         (copysign_test): Likewise.
20139         (cos_test): Likewise.
20140         (cos_test_tonearest): Likewise.
20141         (cos_test_towardzero): Likewise.
20142         (cos_test_downward): Likewise.
20143         (cos_test_upward): Likewise.
20144         (cosh_test): Likewise.
20145         (cosh_test_tonearest): Likewise.
20146         (cosh_test_towardzero): Likewise.
20147         (cosh_test_downward): Likewise.
20148         (cosh_test_upward): Likewise.
20149         (cpow_test): Likewise.
20150         (cproj_test): Likewise.
20151         (creal_test): Likewise.
20152         (csin_test): Likewise.
20153         (csinh_test): Likewise.
20154         (csqrt_test): Likewise.
20155         (ctan_test): Likewise.
20156         (ctan_test_tonearest): Likewise.
20157         (ctan_test_towardzero): Likewise.
20158         (ctan_test_downward): Likewise.
20159         (ctan_test_upward): Likewise.
20160         (ctanh_test): Likewise.
20161         (ctanh_test_tonearest): Likewise.
20162         (ctanh_test_towardzero): Likewise.
20163         (ctanh_test_downward): Likewise.
20164         (ctanh_test_upward): Likewise.
20165         (erf_test): Likewise.
20166         (erfc_test): Likewise.
20167         (exp_test): Likewise.
20168         (exp_test_tonearest): Likewise.
20169         (exp_test_towardzero): Likewise.
20170         (exp_test_downward): Likewise.
20171         (exp_test_upward): Likewise.
20172         (exp10_test): Likewise.
20173         (exp10_test_tonearest): Likewise.
20174         (exp10_test_towardzero): Likewise.
20175         (exp10_test_downward): Likewise.
20176         (exp10_test_upward): Likewise.
20177         (pow10_test): Likewise.
20178         (exp2_test): Likewise.
20179         (expm1_test): Likewise.
20180         (expm1_test_tonearest): Likewise.
20181         (expm1_test_towardzero): Likewise.
20182         (expm1_test_downward): Likewise.
20183         (expm1_test_upward): Likewise.
20184         (fabs_test): Likewise.
20185         (fdim_test): Likewise.
20186         (floor_test): Likewise.
20187         (fma_test): Likewise.
20188         (fma_test_towardzero): Likewise.
20189         (fma_test_downward): Likewise.
20190         (fma_test_upward): Likewise.
20191         (fmax_test): Likewise.
20192         (fmin_test): Likewise.
20193         (fmod_test): Likewise.
20194         (fpclassify_test): Likewise.
20195         (frexp_test): Likewise.
20196         (hypot_test): Likewise.
20197         (ilogb_test): Likewise.
20198         (isfinite_test): Likewise.
20199         (finite_test): Likewise.
20200         (isgreater_test): Likewise.
20201         (isgreaterequal_test): Likewise.
20202         (isinf_test): Likewise.
20203         (isless_test): Likewise.
20204         (islessequal_test): Likewise.
20205         (islessgreater_test): Likewise.
20206         (isnan_test): Likewise.
20207         (isnormal_test): Likewise.
20208         (issignaling_test): Likewise.
20209         (isunordered_test): Likewise.
20210         (j0_test): Likewise.
20211         (j1_test): Likewise.
20212         (jn_test): Likewise.
20213         (ldexp_test): Likewise.
20214         (lgamma_test): Likewise.
20215         (gamma_test): Likewise.
20216         (lrint_test): Likewise.
20217         (lrint_test_tonearest): Likewise.
20218         (lrint_test_towardzero): Likewise.
20219         (lrint_test_downward): Likewise.
20220         (lrint_test_upward): Likewise.
20221         (llrint_test): Likewise.
20222         (llrint_test_tonearest): Likewise.
20223         (llrint_test_towardzero): Likewise.
20224         (llrint_test_downward): Likewise.
20225         (llrint_test_upward): Likewise.
20226         (log_test): Likewise.
20227         (log10_test): Likewise.
20228         (log1p_test): Likewise.
20229         (log2_test): Likewise.
20230         (logb_test): Likewise.
20231         (logb_test_downward): Likewise.
20232         (lround_test): Likewise.
20233         (llround_test): Likewise.
20234         (modf_test): Likewise.
20235         (nearbyint_test): Likewise.
20236         (nextafter_test): Likewise.
20237         (nexttoward_test): Likewise.
20238         (pow_test): Likewise.
20239         (pow_test_tonearest): Likewise.
20240         (pow_test_towardzero): Likewise.
20241         (pow_test_downward): Likewise.
20242         (pow_test_upward): Likewise.
20243         (remainder_test): Likewise.
20244         (drem_test): Likewise.
20245         (remainder_test_tonearest): Likewise.
20246         (drem_test_tonearest): Likewise.
20247         (remainder_test_towardzero): Likewise.
20248         (drem_test_towardzero): Likewise.
20249         (remainder_test_downward): Likewise.
20250         (drem_test_downward): Likewise.
20251         (remainder_test_upward): Likewise.
20252         (drem_test_upward): Likewise.
20253         (remquo_test): Likewise.
20254         (rint_test): Likewise.
20255         (rint_test_tonearest): Likewise.
20256         (rint_test_towardzero): Likewise.
20257         (rint_test_downward): Likewise.
20258         (rint_test_upward): Likewise.
20259         (round_test): Likewise.
20260         (scalb_test): Likewise.
20261         (scalbn_test): Likewise.
20262         (scalbln_test): Likewise.
20263         (signbit_test): Likewise.
20264         (sin_test): Likewise.
20265         (sin_test_tonearest): Likewise.
20266         (sin_test_towardzero): Likewise.
20267         (sin_test_downward): Likewise.
20268         (sin_test_upward): Likewise.
20269         (sincos_test): Likewise.
20270         (sinh_test): Likewise.
20271         (sinh_test_tonearest): Likewise.
20272         (sinh_test_towardzero): Likewise.
20273         (sinh_test_downward): Likewise.
20274         (sinh_test_upward): Likewise.
20275         (sqrt_test): Likewise.
20276         (sqrt_test_tonearest): Likewise.
20277         (sqrt_test_towardzero): Likewise.
20278         (sqrt_test_downward): Likewise.
20279         (sqrt_test_upward): Likewise.
20280         (tan_test): Likewise.
20281         (tan_test_tonearest): Likewise.
20282         (tan_test_towardzero): Likewise.
20283         (tan_test_downward): Likewise.
20284         (tan_test_upward): Likewise.
20285         (tanh_test): Likewise.
20286         (tgamma_test): Likewise.
20287         (trunc_test): Likewise.
20288         (y0_test): Likewise.
20289         (y1_test): Likewise.
20290         (yn_test): Likewise.
20291         (significand_test): Likewise.
20293         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20294         individual tests in comment.
20295         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20296         (prev_max_error): New variable.
20297         (prev_real_max_error): Likewise.
20298         (prev_imag_max_error): Likewise.
20299         (compare_ulp_data): Don't refer to test names in comment.
20300         (find_test_ulps): Remove function.
20301         (find_function_ulps): Likewise.
20302         (find_complex_function_ulps): Likewise.
20303         (init_max_error): Take function name as argument.  Look up ulps
20304         for that function.
20305         (print_ulps): Remove function.
20306         (print_max_error): Use prev_max_error instead of calling
20307         find_function_ulps.
20308         (print_complex_max_error): Use prev_real_max_error and
20309         prev_imag_max_error instead of calling find_complex_function_ulps.
20310         (check_float_internal): Take max_ulp parameter instead of calling
20311         find_test_ulps.  Don't call print_ulps.
20312         (check_float): Update call to check_float_internal.
20313         (check_complex): Update calls to check_float_internal.
20314         (START): Pass argument to init_max_error.
20315         * math/gen-libm-test.pl (%results): Don't include "kind"
20316         information.
20317         (parse_ulps): Don't handle ulps of individual tests.
20318         (print_ulps_file): Likewise.
20319         (output_ulps): Likewise.
20320         * math/README.libm-test: Update.
20321         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20322         individual tests.
20323         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20324         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20325         * sysdeps/arm/libm-test-ulps: Likewise.
20326         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20327         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20328         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20329         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20330         * sysdeps/microblaze/libm-test-ulps: Likewise.
20331         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20332         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20334         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20335         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20336         * sysdeps/sh/libm-test-ulps: Likewise.
20337         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20338         * sysdeps/tile/libm-test-ulps: Likewise.
20339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20341 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20343         * math/libm-test.inc (print_complex_max_error): Check separately
20344         whether real and imaginary errors are within allowed range and
20345         pass 0 to print_complex_function_ulps instead of value within
20346         allowed range.
20348 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20351         formatting.
20352         (get_handles_fopen): Likewise.
20353         (do_write_test): Likewise.
20355         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20357         * libio/fileops.c (do_ftell): Use cached offset when
20358         available.
20359         * libio/iofwide.c (do_ftell_wide): Likewise.
20360         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20361         _IO_file_attach.
20362         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20364         [BZ #16532]
20365         * libio/libioP.h (get_file_offset): New function.
20366         * libio/fileops.c (get_file_offset): Likewise.
20367         (do_ftell): Likewise.
20368         (_IO_new_file_seekoff): Split out ftell logic.
20369         * libio/wfileops.c (do_ftell_wide): Likewise.
20370         (_IO_wfile_seekoff): Split out ftell logic.
20371         * libio/tst-ftell-active-handler.c: New test case.
20372         * libio/Makefile (tests): Add it.
20374 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20376         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20377         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20379 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20381         [BZ #16639]
20382         * nscd/connections.c (nscd_init): Call do_exit.
20383         (start_threads): Call do_exit and notify_parent.
20384         (begin_drop_privileges): Call do_exit.
20385         (finish_drop_privileges): Likewise.
20386         * nscd/selinux.c (preserve_capabilities): Likewise.
20387         (install_real_capabilities): Likewise.
20388         (nscd_selinux_enabled): Likewise.
20389         (avc_create_thread): Likewise.
20390         (avc_alloc_lock): Likewise.
20391         (nscd_avc_init): Likewise.
20392         * nscd/nscd.c (parent_fd): New static variable.
20393         (main): Create a pipe between parent and child processes.
20394         Skip closing parent_fd.
20395         (monitor_child): New function.
20396         (do_exit): Likewise.
20397         (notify_parent): Likewise.
20398         * nscd/nscd.h (notify_parent): Likewise.
20399         (do_exit): Likewise.
20401 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20403         * malloc/malloc.c (__libc_calloc): Revert last change.
20405 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20409 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20411         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20413         implementation.
20414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20415         (__libc_ifunc_impl_list): Likewise.
20416         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20417         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20418         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20419         * string/strrchr.c: Define STRRCHR.
20421 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20423         * benchtest/bench-strtok.c (simple_strtok): Delete.
20424         (strtok_string): Use as benchmark.
20425         * string/strtok (STRTOK): New macro.
20427 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20429         * manual/threads.texi: Add header and standard comments to all
20430         functions.
20432         * elf/dl-lookup.c (check_match): New function.
20433         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20434         (do_lookup_x): Remove nested function check_match. Use non-nested
20435         function check_match.
20437 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20439         * csu/Makefile (generated, before-compile): Use += rather than =.
20440         * catgets/Makefile (generated, generated-dirs): Likewise.
20441         * debug/Makefile (generated): Likewise.
20442         * dlfcn/Makefile (generated): Likewise.
20443         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20444         * iconvdata/Makefile (before-compile, generated): Likewise.
20445         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20446         * libio/Makefile (generated): Likewise.
20447         * malloc/Makefile (generated): Likewise.
20448         * manual/Makefile (generated, generated-dirs): Likewise.
20449         * misc/Makefile (generated): Likewise.
20450         * posix/Makefile (generated): Likewise.
20451         * resolv/Makefile (generated): Likewise.
20452         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20453         * timezone/Makefile (generated, generated-dirs): Likewise.
20455         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20457 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20460         power8 implementation.
20461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20462         file: POWER8 llround ifunc implementation.
20463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20464         (__lllround): Add POWER8 implementation.
20465         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20466         POWER8 llround implementation.
20468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20469         power8 implementation.
20470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20471         file: POWER8 llrint ifunc implementation.
20472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20473         Add POWER8 implementation.
20474         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20475         POWER8 llrint implementation.
20477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20478         power8 implementation.
20479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20480         file: POWER8 finite ifunc implementation.
20481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20482         Add POWER8 implementation.
20483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20484         Likewise.
20485         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20486         POWER8 finite implementation.
20487         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20490         power8 implementation.
20491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20492         file: POWER8 isinf ifunc implementation.
20493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20494         POWER8 implementation.
20495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20496         Likewise.
20497         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20498         isinf implementation.
20499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20501         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20502         (INIT_ARCH): Add hwcap2 initialization.
20503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20504         power8 implementation.
20505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20506         file: POWER8 isnan ifunc implementation.
20507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20508         POWER8 implementation.
20509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20510         Likewise.
20511         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20512         isnan implementation.
20513         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20515 2014-02-27  Joey Ye  <joey.ye@arm.com>
20517         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20518         (_FP_NANFRAC_Q): Set to zero.
20520 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20522         [BZ #16623]
20523         * math/auto-libm-test-in: New test inputs.
20524         * math/auto-libm-test-out: Regenerate.
20525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20526         and DA.
20527         (__cos): Likewise.
20528         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20530 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20532         * scripts/evaluate-test.sh: Take new argument indicating whether
20533         failure is expected.
20534         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20535         indicating whether failure is expected.
20536         * conform/Makefile (test-xfail-run-conformtest): New variable.
20537         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20538         level.
20539         * posix/Makefile (test-xfail-annexc): New variable.
20540         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20542 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20544         * argp/Makefile: Include Makeconfig immediately after defining
20545         subdir.
20546         * assert/Makefile: Likewise.
20547         * benchtests/Makefile: Likewise.
20548         * catgets/Makefile: Likewise.
20549         * conform/Makefile: Likewise.
20550         * crypt/Makefile: Likewise.
20551         * csu/Makefile: Likewise.
20552         (all): Remove target.
20553         * ctype/Makefile: Include Makeconfig immediately after defining
20554         subdir.
20555         * debug/Makefile: Likewise.
20556         * dirent/Makefile: Likewise.
20557         * dlfcn/Makefile: Likewise.
20558         * gmon/Makefile: Likewise.
20559         * gnulib/Makefile: Likewise.
20560         * grp/Makefile: Likewise.
20561         * gshadow/Makefile: Likewise.
20562         * hesiod/Makefile: Likewise.
20563         * hurd/Makefile: Likewise.
20564         (all): Remove target.
20565         * iconvdata/Makefile: Include Makeconfig immediately after
20566         defining subdir.
20567         * inet/Makefile: Likewise.
20568         * intl/Makefile: Likewise.
20569         * io/Makefile: Likewise.
20570         * libio/Makefile: Likewise.
20571         (all): Remove target.
20572         * locale/Makefile: Include Makeconfig immediately after defining
20573         subdir.
20574         * login/Makefile: Likewise.
20575         * mach/Makefile: Likewise.
20576         (all): Remove target.
20577         * malloc/Makefile: Include Makeconfig immediately after defining
20578         subdir.
20579         (all): Remove target.
20580         * manual/Makefile: Include Makeconfig immediately after defining
20581         subdir.
20582         * math/Makefile: Likewise.
20583         * misc/Makefile: Likewise.
20584         * nis/Makefile: Likewise.
20585         * nss/Makefile: Likewise.
20586         * po/Makefile: Likewise.
20587         (all): Remove target.
20588         * posix/Makefile: Include Makeconfig immediately after defining
20589         subdir.
20590         * pwd/Makefile: Likewise.
20591         * resolv/Makefile: Likewise.
20592         * resource/Makefile: Likewise.
20593         * rt/Makefile: Likewise.
20594         * setjmp/Makefile: Likewise.
20595         * shadow/Makefile: Likewise.
20596         * signal/Makefile: Likewise.
20597         * socket/Makefile: Likewise.
20598         * soft-fp/Makefile: Likewise.
20599         * stdio-common/Makefile: Likewise.
20600         * stdlib/Makefile: Likewise.
20601         * streams/Makefile: Likewise.
20602         * string/Makefile: Likewise.
20603         * sunrpc/Makefile: Likewise.
20604         (all): Remove target.
20605         * sysvipc/Makefile: Include Makeconfig immediately after defining
20606         subdir.
20607         * termios/Makefile: Likewise.
20608         * time/Makefile: Likewise.
20609         * timezone/Makefile: Likewise.
20610         (all): Remove target.
20611         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20612         subdir.
20613         * wctype/Makefile: Likewise.
20615 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20617         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20618         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20619         (libc_feholdexcept_setround_mips): Ditto.
20620         (libc_feholdsetround): New.
20621         (libc_feholdsetroundf): New.
20622         (libc_feholdsetroundl): New.
20623         (libc_feupdateenv_test_mips): New.
20624         (libc_feupdateenv_test): New.
20625         (libc_feupdateenv_testf): New.
20626         (libc_feupdateenv_testl): New.
20627         (libc_feresetround): New.
20628         (libc_feresetroundf): New.
20629         (libc_feresetroundl): New.
20630         (libc_fetestexcept_mips): New.
20631         (libc_fetestexcept): New.
20632         (libc_fetestexceptf): New.
20633         (libc_fetestexceptl): New.
20634         (HAVE_RM_CTX): New.
20635         (libc_feholdexcept_setround_mips_ctx): New.
20636         (libc_feholdexcept_setround_ctx): New.
20637         (libc_feholdexcept_setroundf_ctx): New.
20638         (libc_feholdexcept_setroundl_ctx): New.
20639         (libc_fesetenv_mips_ctx): New.
20640         (libc_fesetenv_ctx): New.
20641         (libc_fesetenv_ctxf): New.
20642         (libc_fesetenv_ctxl): New.
20643         (libc_feupdateenv_mips_ctx): New.
20644         (libc_feupdateenv_ctx): New.
20645         (libc_feupdateenvf_ctx): New.
20646         (libc_feupdateenvl_ctx): New.
20647         (libc_feholdsetround_mips_ctx): New.
20648         (libc_feholdsetround_ctx): New.
20649         (libc_feholdsetroundf_ctx): New.
20650         (libc_feholdsetroundl_ctx): New.
20651         (libc_feresetround_mips_ctx): New.
20652         (libc_feresetround_ctx): New.
20653         (libc_feresetroundf_ctx): New.
20654         (libc_feresetroundl_ctx): New.
20656 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20658         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20660         * manual/ipc.texi: New file.
20661         * manual/Makefile (chapters): Add ipc.
20662         * manual/job.texi: Add "Inter-Process Communication" to next.
20663         * manual/process.texi: Add "Inter-Process Communication" to prev.
20665 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20669 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20671         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20673         * manual/arith.texi: Fix spaces after sentences.
20674         * manual/charset.texi: Likewise.
20675         * manual/errno.texi: Likewise.
20676         * manual/install.texi: Likewise.
20677         * manual/llio.texi: Likewise.
20678         * manual/locale.texi: Likewise.
20679         * manual/maint.texi: Likewise.
20680         * manual/math.texi: Likewise.
20681         * manual/memory.texi: Likewise.
20682         * manual/message.texi: Likewise.
20683         * manual/probes.texi: Likewise.
20684         * manual/resource.texi: Likewise.
20685         * manual/signal.texi: Likewise.
20686         * manual/socket.texi: Likewise.
20687         * manual/stdio.texi: Likewise.
20688         * manual/string.texi: Likewise.
20689         * manual/time.texi: Likewise.
20690         * manual/users.texi: Likewise.
20692 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20694         [BZ #16632]
20695         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20696         _DEFAULT_SOURCE is defined.
20698 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20699             Carlos O'Donell  <carlos@redhat.com>
20701         [BZ #16613]
20702         * elf/dl-tls.c (_dl_count_modids): New function.
20703         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20704         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20705         audit library and increment generation counter.
20706         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20707         * elf/tst-audit9.c: New file.
20708         * elf/tst-auditmod9a.c: New file.
20709         * elf/tst-auditmod9b.c: New file.
20710         * elf/Makefile: Add rules to build and run tst-audit9.
20712 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20714         [BZ #15347]
20715         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20717 2014-02-25  Will Newton  <will.newton@linaro.org>
20719         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20720         (__longjmp): Restore sp and lr before restoring callee
20721         saved registers.  Add longjmp and longjmp_target
20722         SystemTap probe point.
20723         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20724         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20725         Define to zero to match jmpbuf layout.
20726         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20727         (__sigsetjmp): Save sp and lr before saving callee
20728         saved registers.  Add setjmp SystemTap probe point.
20730 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20732         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20734 2014-02-24  Andreas Schwab  <schwab@suse.de>
20736         [BZ #15804]
20737         * elf/pldd.c (wait_for_ptrace_stop): New function.
20738         (main): Call it after attaching.
20740 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20742         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20743         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20744         Versions files is now verboten.
20745         * hurd/Versions (libc: GLIBC_2.0):
20746         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20747         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20748         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20749         * mach/Versions: Likewise.
20751         * csu/Versions: Remove unused %include.
20752         * resolv/Versions: Likewise.
20754 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20756         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20757         ($(objpfx)check-local-headers.out): Likewise.
20758         ($(objpfx)begin-end-check.out): Likewise.
20759         * Makerules (check-abi-%.out): Likewise.
20760         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20761         ($(objpfx)test2.cat): Likewise.
20762         ($(objpfx)de/libc.cat): Likewise.
20763         ($(objpfx)test-gencat.out): Likewise.
20764         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20765         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20766         ($(objpfx)noload-mem): Likewise.
20767         ($(objpfx)tst-pathopt.out): Likewise.
20768         ($(objpfx)tst-rtld-load-self.out): Likewise.
20769         ($(objpfx)tst-array1-cmp.out): Likewise.
20770         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20771         ($(objpfx)tst-array2-cmp.out): Likewise.
20772         ($(objpfx)tst-array3-cmp.out): Likewise.
20773         ($(objpfx)tst-array4-cmp.out): Likewise.
20774         ($(objpfx)tst-array5-cmp.out): Likewise.
20775         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20776         ($(objpfx)check-textrel.out): Likewise.
20777         ($(objpfx)check-execstack.out): Likewise.
20778         ($(objpfx)check-localplt.out): Likewise.
20779         ($(objpfx)order2-cmp.out): Likewise.
20780         ($(objpfx)tst-leaks1-mem): Likewise.
20781         ($(objpfx)tst-leaks1-static-mem): Likewise.
20782         ($(objpfx)tst-initorder-cmp.out): Likewise.
20783         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20784         ($(objpfx)tst-unused-dep.out): Likewise.
20785         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20786         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20787         * iconv/Makefile (test-iconvconfig): Likewise.
20788         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20789         ($(objpfx)iconv-test.out): Likewise.
20790         ($(objpfx)tst-tables.out): Likewise.
20791         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20792         ($(objpfx)tst-gettext.out): Likewise.
20793         ($(objpfx)tst-translit.out): Likewise.
20794         ($(objpfx)tst-gettext2.out): Likewise.
20795         ($(objpfx)tst-gettext4.out): Likewise.
20796         ($(objpfx)tst-gettext6.out): Likewise.
20797         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20798         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20799         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20800         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20801         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20802         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20803         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20804         ($(objpfx)wordexp-tst.out): Likewise.
20805         ($(objpfx)annexc.out): Likewise.
20806         ($(objpfx)tst-fnmatch-mem): Likewise.
20807         ($(objpfx)bug-regex2-mem): Likewise.
20808         ($(objpfx)bug-regex14-mem): Likewise.
20809         ($(objpfx)bug-regex21-mem): Likewise.
20810         ($(objpfx)bug-regex31-mem): Likewise.
20811         ($(objpfx)tst-vfork3-mem): Likewise.
20812         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20813         ($(objpfx)tst-pcre-mem): Likewise.
20814         ($(objpfx)tst-boost-mem): Likewise.
20815         ($(objpfx)tst-getconf.out): Likewise.
20816         ($(objpfx)bug-ga2-mem): Likewise.
20817         ($(objpfx)bug-glob2-mem): Likewise.
20818         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20819         ($(objpfx)mtrace-tst-leaks2): Likewise.
20820         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20821         ($(objpfx)tst-printf.out): Likewise.
20822         ($(objpfx)tst-setvbuf1.out): Likewise.
20823         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20824         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20825         ($(objpfx)tst-fmtmsg.out): Likewise.
20826         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20827         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20829         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20830         * bits/sigaction.h [__USE_MISC]: Likewise.
20831         * bits/waitstatus.h: Update #endif comments.
20832         * ctype/ctype.h: Likewise.
20833         * dirent/dirent.h: Likewise.
20834         [__USE_MISC]: Remove redundant conditionals.
20835         * grp/grp.h: Update #endif comments.
20836         [__USE_GNU]: Remove redundant conditionals.
20837         [__USE_MISC]: Likewise.
20838         * inet/netinet/in.h [__USE_GNU]: Likewise.
20839         * io/sys/stat.h [__USE_MISC]: Likewise.
20840         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20841         * libio/bits/stdio.h: Update #endif comments.
20842         [__USE_MISC]: Remove redundant conditionals.
20843         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20844         * libio/stdio.h: Update #endif comments.
20845         [__USE_MISC]: Remove redundant conditionals.
20846         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20847         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20848         * math/math.h: Update #else and #endif comments.
20849         [__USE_MISC]: Remove redundant conditionals.
20850         * misc/sys/uio.h: Update #endif comments.
20851         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20852         * posix/glob.h [__USE_MISC]: Likewise.
20853         * posix/sys/types.h: Update #endif comments.
20854         [__USE_MISC]: Remove redundant conditionals.
20855         * posix/sys/wait.h: Update #endif comments.
20856         [__USE_MISC]: Remove redundant conditionals.
20857         * posix/unistd.h: Update #endif comments.
20858         [__USE_MISC]: Remove redundant conditionals.
20859         * pwd/pwd.h [__USE_GNU]: Likewise.
20860         [__USE_MISC]: Likewise.
20861         * resolv/netdb.h [__USE_GNU]: Likewise.
20862         * signal/signal.h: Update #endif comments.
20863         [__USE_MISC]: Remove redundant conditionals.
20864         * stdlib/stdlib.h: Update #else and #endif comments.
20865         [__USE_MISC]: Remove redundant conditionals.
20866         [__USE_GNU]: Likewise.
20867         * string/bits/string2.h [__USE_MISC]: Likewise.
20868         * string/string.h: Update #endif comments.
20869         [__USE_MISC]: Remove redundant conditionals.
20870         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20871         Likewise.
20872         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20873         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20874         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20877         Likewise.
20878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20879         comments.
20880         [__USE_MISC]: Remove redundant conditionals.
20881         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20882         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20883         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20884         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20885         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20886         Likewise.
20887         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20888         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20889         Likewise.
20890         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20892         Likewise.
20893         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20894         Likewise.
20895         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20896         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20897         Likewise.
20898         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20899         Likewise.
20900         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20901         * sysdeps/x86/bits/string.h: Update #endif comments.
20902         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20903         conditionals.
20904         * time/sys/time.h: Update #endif comments.
20905         * time/time.h: Likewise.
20906         [__USE_MISC]: Remove redundant conditionals.
20908 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20910         [BZ #16600]
20911         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20913 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20915         * Versions.def (librt): Add GLIBC_2.17.
20917 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20919         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20920         synonym for _SYS_AUXV_H to allow direct inclusion.
20921         * sysdeps/sparc/bits/hwcap.h: Likewise.
20922         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20923         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20924         * sysdeps/sparc/sysdep.h: Likewise.
20926 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20928         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20930 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20932         * benchtests/bench-strrchr.c: Print length instead of position.
20934 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #16611]
20937         * sysdeps/unix/sysv/linux/kernel-features.h
20938         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20939         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20940         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20941         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20942         Likewise.
20943         [__i386__ || __powerpc__ || __sh__ || __sparc__]
20944         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20945         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20946         (__ASSUME_SENDMMSG): Define instead of using previous
20947         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20948         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20949         (__ASSUME_SENDMMSG_SYSCALL): Define.
20950         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20951         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20952         Likewise.
20953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20954         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20955         Likewise.
20956         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20957         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20958         Likewise.
20959         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20960         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20961         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20962         [__ASSUME_SENDMMSG]: Change conditionals to
20963         [__ASSUME_SENDMMSG_SOCKETCALL].
20964         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20965         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20966         Define.
20967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20968         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20969         Likewise.
20970         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20971         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20972         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20973         [!__ASSUME_SENDMMSG]: Change conditional to
20974         [!__ASSUME_SENDMMSG_SOCKETCALL].
20975         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20976         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20977         Define.
20979         [BZ #16610]
20980         * sysdeps/unix/sysv/linux/kernel-features.h
20981         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20982         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20983         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20984         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20985         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20986         [__i386__ || __sparc__]
20987         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20988         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20989         (__ASSUME_RECVMMSG): Define instead of using previous
20990         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20992         (__ASSUME_RECVMMSG_SYSCALL): Define.
20993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20994         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20995         Likewise.
20996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20997         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20998         Likewise.
20999         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21000         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21001         Likewise.
21002         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21003         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21004         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21005         [__ASSUME_RECVMMSG]: Change condition to
21006         [__ASSUME_RECVMMSG_SOCKETCALL].
21007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21008         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21009         Define.
21010         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21011         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21013         Likewise.
21014         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21015         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21016         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21017         [!__ASSUME_RECVMMSG]: Change condition to
21018         [!__ASSUME_RECVMMSG_SOCKETCALL].
21019         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21020         (__ASSUME_RECVMMSG_SYSCALL): Define.
21022         [BZ #16609]
21023         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21024         __powerpc__ || __s390__ || __sh__ || __sparc__]
21025         (__ASSUME_SOCKETCALL): Define.
21026         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21027         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21028         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21029         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21030         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21031         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21032         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21033         (__ASSUME_ACCEPT4): Define instead of using previous
21034         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21035         __powerpc__ || __sparc__ || __s390__)] condition.
21036         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21037         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21038         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21039         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21040         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21041         [!__ASSUME_ACCEPT4]: Change condition to
21042         [!__ASSUME_ACCEPT4_SOCKETCALL].
21043         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21044         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21045         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21046         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21047         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21048         __ASSUME_ACCEPT4_SYSCALL.
21049         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21050         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21051         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21052         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21053         __ASSUME_ACCEPT4_SYSCALL.
21054         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21055         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21056         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21057         [__ASSUME_ACCEPT4]: Change condition to
21058         [__ASSUME_ACCEPT4_SOCKETCALL].
21059         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21060         (__ASSUME_SOCKETCALL): Define.
21061         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21063         (__ASSUME_SOCKETCALL): Define.
21064         (__ASSUME_ACCEPT4): Remove.
21065         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21066         Define.
21067         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21068         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21069         Likewise.
21070         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21071         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21073         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21074         macro.
21075         (HWCAP_ARM_LPAE): Likewise.
21076         (HWCAP_ARM_EVTSTRM): Likewise.
21077         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21078         Add vpfd32, lpae and evtstrm.
21079         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21080         Increase to 22.
21082 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21084         * math/auto-libm-test-in: Add tests of clog10.
21085         * math/auto-libm-test-out: Regenerated.
21086         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21087         * sysdeps/i386/fpu/libm-test-ulps: Update.
21088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21090 2014-02-18  Andreas Schwab  <schwab@suse.de>
21092         [BZ #16574]
21093         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21094         Store non-zero if the second buffer was newly allocated.
21095         (send_dg): Likewise.
21096         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21097         to send_vc and send_dg.
21098         (res_nsend): Pass NULL for ansp2_malloced.
21099         * resolv/res_query.c (__libc_res_nquery): Add parameter
21100         answerp2_malloced and pass it down to __libc_res_nsend.
21101         (res_nquery): Pass additional NULL to __libc_res_nquery.
21102         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21103         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21104         second answer buffer if answerp2_malloced was set.
21105         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21106         (__libc_res_nquerydomain): Add parameter
21107         answerp2_malloced and pass it down to __libc_res_nquery.
21108         (res_nquerydomain): Pass additional NULL to
21109         __libc_res_nquerydomain.
21110         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21111         additional NULL to __libc_res_nsend and __libc_res_nquery.
21112         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21113         additional NULL to __libc_res_nsearch.
21114         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21115         parameter of __libc_res_nsearch to check for separately allocated
21116         second buffer.
21117         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21118         __libc_res_nquery.
21119         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21120         additional NULL to __libc_res_nquery.
21121         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21122         __libc_res_nsearch.
21123         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21124         * include/resolv.h: Update prototypes of __libc_res_nquery,
21125         __libc_res_nsearch, __libc_res_nsend.
21127 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21129         * math/auto-libm-test-in: Add tests of fma.
21130         * math/auto-libm-test-out: Regenerated.
21131         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21132         (fma_towardzero_test_data): Likewise.
21133         (fma_downward_test_data): Likewise.
21134         (fma_upward_test_data): Likewise.
21135         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21136         mpc_mode.
21137         (rounding_modes): Add values for new field.
21138         (func_calc_method): Add value mpfr_fff_f.
21139         (func_calc_desc): Add mpfr_fff_f union field.
21140         (test_function): Add field exact_args.
21141         (FUNC): Add macro argument EXACT_ARGS.
21142         (FUNC_mpfr_f_f): Update call to FUNC.
21143         (FUNC_mpfr_f_f): Likewise.
21144         (FUNC_mpfr_ff_f): Likewise.
21145         (FUNC_mpfr_if_f): Likewise.
21146         (FUNC_mpc_c_f): Likewise.
21147         (FUNC_mpc_c_c): Likewise.
21148         (test_functions): Add fma.  Update calls to FUNC.
21149         (handle_input_arg): Add argument exact_args.
21150         (add_test): Update call to handle_input_arg.
21151         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21152         (output_for_one_input_case): Update call to calc_generic_results.
21153         Recalculate exact zero results in each rounding mode.
21155         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21156         non-negative before setting low bit.
21157         * math/auto-libm-test-in: Mark one asin test possibly having
21158         spurious underflow.
21159         * math/auto-libm-test-out: Regenerated.
21160         * sysdeps/i386/fpu/libm-test-ulps: Update.
21161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21163 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21165         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21166         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21167         ports/sysdeps/unix/sysv/linux/microblaze.
21168         * README: Add missing listing for microblaze*-*-linux-gnu.
21170 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21173         duplicate code
21175 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21177         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21178         * sysdeps/unix/sysv/linux/ia64: Move directory from
21179         ports/sysdeps/unix/sysv/linux/ia64.
21180         * README: Update listing for ia64-*-linux-gnu.
21182 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21183             Joseph Myers  <joseph@codesourcery.com>
21185         * Makeconfig (test-name): New variable.
21186         (evaluate-test): Likewise.
21187         * Makerules (do-test-clean): Remove .test-result files.
21188         (common-mostlyclean): Likewise.
21189         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21190         * scripts/evaluate-test.sh: New file.
21192 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21194         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21195         separate $(objpfx)tst-fopenloc-cmp.out and
21196         $(objpfx)tst-fopenloc-mem.out targets.
21197         (tests): Update dependencies.
21198         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21199         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21200         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21201         (tst-rxspencer-no-utf8-ARGS): New variable.
21202         (tst-rxspencer-no-utf8-ENV): Likewise.
21203         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21204         instead of $(objpfx)tst-rxspencer-mem.
21205         ($(objpfx)tst-rxspencer-mem): Change target to
21206         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21207         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21208         * posix/tst-rxspencer-no-utf8.c: New file.
21210         * elf/Makefile ($(objpfx)order.out): Remove rule.
21211         [$(run-built-tests) = yes] (tests): Depend on
21212         $(objpfx)order-cmp.out.
21213         ($(objpfx)order-cmp.out): New rule.
21214         [$(run-built-tests) = yes] (tests): Depend on
21215         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21216         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21217         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21218         $(objpfx)tst-array5-static-cmp.out.
21219         ($(objpfx)tst-array1.out): Remove rule.
21220         ($(objpfx)tst-array1-cmp.out): New rule.
21221         ($(objpfx)tst-array1-static.out): Remove rule.
21222         ($(objpfx)tst-array1-static-cmp.out): New rule.
21223         ($(objpfx)tst-array2.out): Remove rule.
21224         ($(objpfx)tst-array2-cmp.out): New rule.
21225         ($(objpfx)tst-array3.out): Remove rule.
21226         ($(objpfx)tst-array3-cmp.out): New rule.
21227         ($(objpfx)tst-array4.out): Remove rule.
21228         ($(objpfx)tst-array4-cmp.out): New rule.
21229         ($(objpfx)tst-array5.out): Remove rule.
21230         ($(objpfx)tst-array5-cmp.out): New rule.
21231         ($(objpfx)tst-array5-static.out): Remove rule.
21232         ($(objpfx)tst-array5-static-cmp.out): New rule.
21233         [$(run-built-tests) = yes] (tests): Depend on
21234         $(objpfx)order2-cmp.out.
21235         ($(objpfx)order2.out): Remove rule.
21236         ($(objpfx)order2-cmp.out): New rule.
21237         ($(objpfx)tst-initorder.out): Remove rule.
21238         [$(run-built-tests) = yes] (tests): Depend on
21239         $(objpfx)tst-initorder-cmp.out.
21240         ($(objpfx)tst-initorder-cmp.out): New rule.
21241         ($(objpfx)tst-initorder2.out): Remove rule.
21242         [$(run-built-tests) = yes] (tests): Depend on
21243         $(objpfx)tst-initorder2-cmp.out.
21244         ($(objpfx)tst-initorder2-cmp.out): New rule.
21245         [$(run-built-tests) = yes] (tests): Depend on
21246         $(objpfx)tst-unused-dep-cmp.out.
21247         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21248         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21249         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21250         on $(objpfx)tst-setvbuf1-cmp.out.
21251         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21252         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21253         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21254         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21255         ($(objpfx)tst-svc.out): Remove rule.
21256         ($(objpfx)tst-svc-cmp.out): New rule.
21258 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21260         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21261         * ctype/ctype.h [__USE_MISC]: Likewise.
21262         * dirent/dirent.h [__USE_MISC]: Likewise.
21263         * grp/grp.h [__USE_MISC]: Likewise.
21264         * io/fcntl.h [__USE_MISC]: Likewise.
21265         * io/sys/stat.h [__USE_MISC]: Likewise.
21266         * libio/stdio.h [__USE_MISC]: Likewise.
21267         * posix/unistd.h [__USE_MISC]: Likewise.
21268         * pwd/pwd.h [__USE_MISC]: Likewise.
21269         * stdlib.h [__USE_MISC]: Likewise.
21270         * string/bits/string2.h [__USE_MISC]: Likewise.
21271         * string/string.h [__USE_MISC]: Likewise.
21272         * time/time.h [__USE_MISC]: Likewise.
21274 2014-02-13  Andreas Schwab  <schwab@suse.de>
21276         [BZ #16574]
21277         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21278         second answer buffer if it was separately allocated.
21280 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21282         * sysdeps/mips/math-tests.h: Include <features.h>.
21283         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21284         (ROUNDING_TESTS_long_double): Do not define.
21285         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21286         (EXCEPTION_TESTS_long_double): Likewise.
21287         * sysdeps/mips/mips64/libm-test-ulps: Update.
21289         * include/features.h (__USE_BSD): Remove macro definitions.
21290         (__USE_SVID): Likewise.
21291         (_BSD_SOURCE): Likewise.
21292         (_SVID_SOURCE): Likewise.
21293         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21294         from definition of _DEFAULT_SOURCE.
21295         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21296         [_DEFAULT_SOURCE].
21297         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21298         * bits/mman.h [__USE_BSD]: Likewise.
21299         * bits/termios.h [__USE_BSD]: Likewise.
21300         * bits/waitstatus.h [__USE_BSD]: Likewise.
21301         * ctype/ctype.h [__USE_SVID]: Likewise.
21302         * dirent/dirent.h [__USE_BSD]: Likewise.
21303         * grp/grp.h [__USE_SVID]: Likewise.
21304         [__USE_BSD]: Likewise.
21305         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21306         * io/fcntl.h [__USE_BSD]: Likewise.
21307         * io/ftw.h [__USE_BSD]: Likewise.
21308         * io/sys/stat.h [__USE_BSD]: Likewise.
21309         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21310         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21311         * libio/stdio.h [__USE_SVID]: Likewise.
21312         [__USE_BSD]: Likewise.
21313         * math/math.h [__USE_SVID]: Likewise.
21314         [__USE_BSD]: Likewise.
21315         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21316         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21317         * misc/search.h [__USE_SVID]: Likewise.
21318         * misc/sys/mman.h [__USE_BSD]: Likewise.
21319         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21320         * misc/sys/uio.h [__USE_BSD]: Likewise.
21321         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21322         * posix/glob.h [__USE_BSD]: Likewise.
21323         * posix/regex.h [__USE_BSD]: Likewise.
21324         * posix/sys/types.h [__USE_BSD]: Likewise.
21325         [__USE_SVID]: Likewise.
21326         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21327         * posix/sys/wait.h [__USE_BSD]: Likewise.
21328         [__USE_SVID]: Likewise.
21329         * posix/unistd.h [__USE_BSD]: Likewise.
21330         [__USE_SVID]: Likewise.
21331         * pwd/pwd.h [__USE_SVID]: Likewise.
21332         * resolv/netdb.h [__USE_BSD]: Likewise.
21333         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21334         * signal/signal.h [__USE_BSD]: Likewise.
21335         [__USE_SVID]: Likewise.
21336         * socket/sys/socket.h [__USE_BSD]: Likewise.
21337         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21338         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21339         [__USE_SVID]: Likewise.
21340         * string/bits/string2.h [__USE_BSD]: Likewise.
21341         [__USE_SVID]: Likewise.
21342         * string/bits/string3.h [__USE_BSD]: Likewise.
21343         * string/endian.h [__USE_BSD]: Likewise.
21344         * string/string.h [__USE_SVID]: Likewise.
21345         [__USE_BSD]: Likewise.
21346         * string/strings.h [__USE_BSD]: Likewise.
21347         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21348         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21349         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21350         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21351         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21352         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21353         Likewise.
21354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21355         Likewise.
21356         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21357         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21358         Likewise.
21359         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21360         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21361         Likewise.
21362         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21363         Likewise.
21364         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21365         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21366         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21367         Likewise.
21368         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21369         Likewise.
21370         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21371         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21372         * termios/termios.h [__USE_BSD]: Likewise.
21373         * time/sys/time.h [__USE_BSD]: Likewise.
21374         * time/time.h [__USE_BSD]: Likewise.
21375         [__USE_SVID]: Likewise.
21377         * Makefile (subdir_targets): Remove subdir_lint.out.
21379         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21380         (do-tst-printf): Likewise.
21381         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21382         $(objpfx)tst-printf.out.
21384         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21386         * Makerules (check-abi-%): Change target to
21387         $(objpfx)check-abi-%.out.
21388         (check-abi target): Update dependencies.
21389         (check-abi-pattern variable): Redirect output of diff to $@.
21390         (check-abi variable): Likewise.
21391         * elf/Makefile (check-abi): Update dependencies.
21393         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21394         unused.
21395         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21396         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21397         subnormal range.
21398         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21399         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21400         value has largest subnormal exponent.
21401         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21402         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21403         * sysdeps/aarch64/soft-fp/sfp-machine.h
21404         (_FP_TININESS_AFTER_ROUNDING): New macro.
21405         * sysdeps/alpha/soft-fp/sfp-machine.h
21406         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21407         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21408         Likewise.
21409         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21410         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21411         * sysdeps/mips/soft-fp/sfp-machine.h
21412         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21413         * sysdeps/powerpc/soft-fp/sfp-machine.h
21414         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21415         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21416         Likewise.
21417         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21418         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21419         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21420         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21421         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21422         Likewise.
21424 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21426         [BZ #16545]
21427         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21428         model 1.
21430 2014-02-12  Richard Henderson  <rth@redhat.com>
21432         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21433         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21434         * sysdeps/unix/sysv/linux/alpha: Move directory from
21435         ports/sysdeps/unix/sysv/linux/alpha.
21436         * README: Update listing for alpha-*-linux-gnu.
21438 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21440         * include/features.h: Update comment documenting feature test
21441         macros.
21442         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21443         _DEFAULT_SOURCE.
21444         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21445         (_SVID_SOURCE): Likewise.
21446         (_DEFAULT_SOURCE): Update description of default features.
21447         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21448         with _GNU_SOURCE.
21449         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21450         (S_ISVTX): Likewise.
21451         * manual/math.texi (Mathematical Constants): Likewise.
21452         * manual/signal.texi (Interrupted Primitives): Likewise.
21453         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21454         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21455         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21456         Don't refer to _SVID_SOURCE in warning text.
21458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21460         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21461         already defined.
21462         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21463         * sysdeps/mips/dl-lookup.c: Remove.
21464         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21466 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21468         [BZ #16447]
21469         * math/auto-libm-test-in: Add testcase for expl.
21470         * math/auto-libm-test-out: Regenerate.
21471         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21472         calculation of unsafe.
21473         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21475 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21477         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21478         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21479         ports/sysdeps/unix/sysv/linux/aarch64.
21480         * README: Update listing for aarch64*-*-linux-gnu.
21482 2014-02-11  Will Newton  <will.newton@linaro.org>
21484         * manual/probes.texi (Mathematical Function Probes): Use
21485         "triggered" instead of "hit".
21487         * manual/probes.texi (Internal Probes): Add documentation
21488         of setjmp, longjmp and longjmp_target probes.
21490         * include/stap-probe.h: Add comment about probe argument
21491         format.
21493         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21494         definition.  (tr_where, tr_freehook, tr_mallochook,
21495         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21497 2014-02-11  David S. Miller  <davem@davemloft.net>
21499         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21500         processing int_tests.
21502 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21504         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21505         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21506         * sysdeps/unix/sysv/linux/mips: Move directory from
21507         ports/sysdeps/unix/sysv/linux/mips.
21508         * README: Update listing for mips-*-linux-gnu and
21509         mips64-*-linux-gnu.
21511 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21513         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21514         * sysdeps/unix/sysv/linux/m68k: Move directory from
21515         ports/sysdeps/unix/sysv/linux/m68k.
21516         * README: Update listing for m68k-*-linux-gnu.
21518 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21520         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21521         * sysdeps/unix/sysv/linux/generic: Move directory from
21522         ports/sysdeps/unix/sysv/linux/generic.
21523         * sysdeps/unix/sysv/linux/tile: Move directory from
21524         ports/sysdeps/unix/sysv/linux/tile.
21525         * README: Update listing for tile*-*-linux-gnu.
21527 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21529         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21530         __builtin_expect.
21531         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21532         * catgets/open_catalog.c (__open_catalog): Likewise.
21533         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21534         * debug/confstr_chk.c: Likewise.
21535         * debug/fread_chk.c (__fread_chk): Likewise.
21536         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21537         * debug/getgroups_chk.c: Likewise.
21538         * debug/mbsnrtowcs_chk.c: Likewise.
21539         * debug/mbsrtowcs_chk.c: Likewise.
21540         * debug/mbstowcs_chk.c: Likewise.
21541         * debug/memcpy_chk.c: Likewise.
21542         * debug/memmove_chk.c: Likewise.
21543         * debug/mempcpy_chk.c: Likewise.
21544         * debug/memset_chk.c: Likewise.
21545         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21546         * debug/strcat_chk.c (__strcat_chk): Likewise.
21547         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21548         * debug/strncat_chk.c (__strncat_chk): Likewise.
21549         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21550         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21551         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21552         * debug/wcpncpy_chk.c: Likewise.
21553         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21554         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21555         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21556         * debug/wcsncpy_chk.c: Likewise.
21557         * debug/wcsnrtombs_chk.c: Likewise.
21558         * debug/wcsrtombs_chk.c: Likewise.
21559         * debug/wcstombs_chk.c: Likewise.
21560         * debug/wmemcpy_chk.c: Likewise.
21561         * debug/wmemmove_chk.c: Likewise.
21562         * debug/wmempcpy_chk.c: Likewise.
21563         * debug/wmemset_chk.c: Likewise.
21564         * dirent/scandirat.c (SCANDIRAT): Likewise.
21565         * dlfcn/dladdr1.c (dladdr1): Likewise.
21566         * dlfcn/dladdr.c (dladdr): Likewise.
21567         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21568         * dlfcn/dlerror.c (__dlerror): Likewise.
21569         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21570         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21571         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21572         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21573         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21574         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21575         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21576         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21577         Likewise.
21578         * elf/dl-conflict.c: Likewise.
21579         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21580         * elf/dl-dst.h: Likewise.
21581         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21582         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21583         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21584         * elf/dl-init.c (call_init, _dl_init): Likewise.
21585         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21586         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21587         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21588         Likewise.
21589         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21590         Likewise.
21591         * elf/dl-minimal.c (__libc_memalign): Likewise.
21592         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21593         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21594         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21595         * elf/dl-sym.c (do_sym): Likewise.
21596         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21597         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21598         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21599         * elf/dl-writev.h (_dl_writev): Likewise.
21600         * elf/ldconfig.c (search_dir): Likewise.
21601         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21602         (dl_main): Likewise.
21603         * elf/setup-vdso.h (setup_vdso): Likewise.
21604         * grp/compat-initgroups.c (compat_call): Likewise.
21605         * grp/fgetgrent.c (fgetgrent): Likewise.
21606         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21607         * grp/putgrent.c (putgrent): Likewise.
21608         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21609         Likewise.
21610         * hurd/hurdinit.c: Likewise.
21611         * iconvdata/8bit-gap.c (struct): Likewise.
21612         * iconvdata/ansi_x3.110.c : Likewise.
21613         * iconvdata/big5.c : Likewise.
21614         * iconvdata/big5hkscs.c : Likewise.
21615         * iconvdata/cp1255.c: Likewise.
21616         * iconvdata/cp1258.c : Likewise.
21617         * iconvdata/cp932.c : Likewise.
21618         * iconvdata/euc-cn.c: Likewise.
21619         * iconvdata/euc-jisx0213.c : Likewise.
21620         * iconvdata/euc-jp.c: Likewise.
21621         * iconvdata/euc-jp-ms.c : Likewise.
21622         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21623         * iconvdata/gb18030.c : Likewise.
21624         * iconvdata/gbbig5.c (const): Likewise.
21625         * iconvdata/gbgbk.c: Likewise.
21626         * iconvdata/gbk.c : Likewise.
21627         * iconvdata/ibm1364.c : Likewise.
21628         * iconvdata/ibm930.c : Likewise.
21629         * iconvdata/ibm932.c: Likewise.
21630         * iconvdata/ibm933.c : Likewise.
21631         * iconvdata/ibm935.c : Likewise.
21632         * iconvdata/ibm937.c : Likewise.
21633         * iconvdata/ibm939.c : Likewise.
21634         * iconvdata/ibm943.c: Likewise.
21635         * iconvdata/iso_11548-1.c: Likewise.
21636         * iconvdata/iso-2022-cn.c : Likewise.
21637         * iconvdata/iso-2022-cn-ext.c : Likewise.
21638         * iconvdata/iso-2022-jp-3.c: Likewise.
21639         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21640         * iconvdata/iso-2022-kr.c : Likewise.
21641         * iconvdata/iso646.c (gconv_end): Likewise.
21642         * iconvdata/iso_6937-2.c : Likewise.
21643         * iconvdata/iso_6937.c : Likewise.
21644         * iconvdata/iso8859-1.c: Likewise.
21645         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21646         * iconvdata/shift_jisx0213.c : Likewise.
21647         * iconvdata/sjis.c : Likewise.
21648         * iconvdata/t.61.c : Likewise.
21649         * iconvdata/tcvn5712-1.c : Likewise.
21650         * iconvdata/tscii.c: Likewise.
21651         * iconvdata/uhc.c : Likewise.
21652         * iconvdata/unicode.c (gconv_end): Likewise.
21653         * iconvdata/utf-16.c (gconv_end): Likewise.
21654         * iconvdata/utf-32.c (gconv_end): Likewise.
21655         * iconvdata/utf-7.c (base64): Likewise.
21656         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21657         * iconv/gconv_close.c (__gconv_close): Likewise.
21658         * iconv/gconv_open.c (__gconv_open): Likewise.
21659         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21660         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21661         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21662         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21663         (ucs4le_internal_loop_single): Likewise.
21664         * iconv/iconv.c (iconv): Likewise.
21665         * iconv/iconv_close.c: Likewise.
21666         * iconv/loop.c (SINGLE): Likewise.
21667         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21668         * include/atomic.h: Likewise.
21669         * inet/inet6_option.c (option_alloc): Likewise.
21670         * intl/bindtextdom.c (set_binding_values): Likewise.
21671         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21672         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21673         * intl/localealias.c (read_alias_file): Likewise.
21674         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21675         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21676         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21677         * libio/fmemopen.c (fmemopen): Likewise.
21678         * libio/iofgets.c (_IO_fgets): Likewise.
21679         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21680         * libio/iofgetws.c (fgetws): Likewise.
21681         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21682         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21683         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21684         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21685         * locale/findlocale.c (_nl_find_locale): Likewise.
21686         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21687         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21688         Likewise.
21689         * locale/setlocale.c (setlocale): Likewise.
21690         * login/programs/pt_chown.c (main): Likewise.
21691         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21692         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21693         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21694         (mmap, mmap64, mremap, munmap): Likewise.
21695         * math/e_exp2l.c: Likewise.
21696         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21697         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21698         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21699         * math/s_catan.c (__catan): Likewise.
21700         * math/s_catanf.c (__catanf): Likewise.
21701         * math/s_catanh.c (__catanh): Likewise.
21702         * math/s_catanhf.c (__catanhf): Likewise.
21703         * math/s_catanhl.c (__catanhl): Likewise.
21704         * math/s_catanl.c (__catanl): Likewise.
21705         * math/s_ccosh.c (__ccosh): Likewise.
21706         * math/s_ccoshf.c (__ccoshf): Likewise.
21707         * math/s_ccoshl.c (__ccoshl): Likewise.
21708         * math/s_cexp.c (__cexp): Likewise.
21709         * math/s_cexpf.c (__cexpf): Likewise.
21710         * math/s_cexpl.c (__cexpl): Likewise.
21711         * math/s_clog10.c (__clog10): Likewise.
21712         * math/s_clog10f.c (__clog10f): Likewise.
21713         * math/s_clog10l.c (__clog10l): Likewise.
21714         * math/s_clog.c (__clog): Likewise.
21715         * math/s_clogf.c (__clogf): Likewise.
21716         * math/s_clogl.c (__clogl): Likewise.
21717         * math/s_csin.c (__csin): Likewise.
21718         * math/s_csinf.c (__csinf): Likewise.
21719         * math/s_csinh.c (__csinh): Likewise.
21720         * math/s_csinhf.c (__csinhf): Likewise.
21721         * math/s_csinhl.c (__csinhl): Likewise.
21722         * math/s_csinl.c (__csinl): Likewise.
21723         * math/s_csqrt.c (__csqrt): Likewise.
21724         * math/s_csqrtf.c (__csqrtf): Likewise.
21725         * math/s_csqrtl.c (__csqrtl): Likewise.
21726         * math/s_ctan.c (__ctan): Likewise.
21727         * math/s_ctanf.c (__ctanf): Likewise.
21728         * math/s_ctanh.c (__ctanh): Likewise.
21729         * math/s_ctanhf.c (__ctanhf): Likewise.
21730         * math/s_ctanhl.c (__ctanhl): Likewise.
21731         * math/s_ctanl.c (__ctanl): Likewise.
21732         * math/w_pow.c: Likewise.
21733         * math/w_powf.c: Likewise.
21734         * math/w_powl.c: Likewise.
21735         * math/w_scalb.c (sysv_scalb): Likewise.
21736         * math/w_scalbf.c (sysv_scalbf): Likewise.
21737         * math/w_scalbl.c (sysv_scalbl): Likewise.
21738         * misc/error.c (error_tail): Likewise.
21739         * misc/pselect.c (__pselect): Likewise.
21740         * nis/nis_callback.c (__nis_create_callback): Likewise.
21741         * nis/nis_call.c (__nisfind_server): Likewise.
21742         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21743         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21744         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21745         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21746         * nis/nis_lookup.c (nis_lookup): Likewise.
21747         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21748         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21749         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21750         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21751         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21752         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21753         * nis/nss_compat/compat-initgroups.c (add_group)
21754         (internal_getgrent_r): Likewise.
21755         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21756         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21757         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21758         (internal_getspnam_r): Likewise.
21759         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21760         (_nss_nis_getaliasbyname_r): Likewise.
21761         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21762         (_nss_nis_getntohost_r): Likewise.
21763         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21764         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21765         (_nss_nis_getgrgid_r): Likewise.
21766         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21767         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21768         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21769         (_nss_nis_gethostbyname4_r): Likewise.
21770         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21771         (initgroups_netid): Likewise.
21772         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21773         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21774         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21775         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21776         (_nss_nis_getprotobynumber_r): Likewise.
21777         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21778         (_nss_nis_getsecretkey): Likewise.
21779         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21780         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21781         (_nss_nis_getpwuid_r): Likewise.
21782         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21783         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21784         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21785         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21786         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21787         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21788         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21789         Likewise.
21790         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21791         (_nss_nisplus_getntohost_r): Likewise.
21792         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21793         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21794         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21795         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21796         Likewise.
21797         * nis/nss_nisplus/nisplus-initgroups.c
21798         (_nss_nisplus_initgroups_dyn): Likewise.
21799         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21800         (_nss_nisplus_getnetbyaddr_r): Likewise.
21801         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21802         (_nss_nisplus_getprotobynumber_r): Likewise.
21803         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21804         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21805         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21806         Likewise.
21807         * nis/nss_nisplus/nisplus-service.c
21808         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21809         (_nss_nisplus_getservbyport_r): Likewise.
21810         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21811         (_nss_nisplus_getspnam_r): Likewise.
21812         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21813         Likewise.
21814         * nscd/aicache.c (addhstaiX): Likewise.
21815         * nscd/cache.c (cache_search, prune_cache): Likewise.
21816         * nscd/connections.c (register_traced_file, send_ro_fd)
21817         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21818         (main_loop_epoll): Likewise.
21819         * nscd/grpcache.c (addgrbyX): Likewise.
21820         * nscd/hstcache.c (addhstbyX): Likewise.
21821         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21822         * nscd/mem.c (gc, mempool_alloc): Likewise.
21823         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21824         (addinnetgrX): Likewise.
21825         * nscd/nscd-client.h (__nscd_acquire_maplock)
21826         (__nscd_drop_map_ref): Likewise.
21827         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21828         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21829         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21830         Likewise.
21831         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21832         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21833         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21834         (__nscd_get_map_ref): Likewise.
21835         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21836         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21837         Likewise.
21838         * nscd/pwdcache.c (addpwbyX): Likewise.
21839         * nscd/selinux.c (preserve_capabilities): Likewise.
21840         * nscd/servicescache.c (addservbyX): Likewise.
21841         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21842         * posix/fnmatch.c (fnmatch): Likewise.
21843         * posix/getopt.c (_getopt_internal_r): Likewise.
21844         * posix/glob.c (glob, glob_in_dir): Likewise.
21845         * posix/wordexp.c (exec_comm_child): Likewise.
21846         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21847         (getanswer_r, gaih_getanswer_slice): Likewise.
21848         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21849         * resolv/res_init.c: Likewise.
21850         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21851         * resolv/res_query.c (__libc_res_nquery): Likewise.
21852         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21853         Likewise.
21854         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21855         * stdio-common/perror.c (perror): Likewise.
21856         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21857         * stdio-common/tmpnam.c (tmpnam): Likewise.
21858         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21859         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21860         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21861         Likewise.
21862         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21863         * stdlib/putenv.c (putenv): Likewise.
21864         * stdlib/setenv.c (__add_to_environ): Likewise.
21865         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21866         * stdlib/strtol_l.c (INTERNAL): Likewise.
21867         * string/memmem.c (memmem): Likewise.
21868         * string/strerror.c (strerror): Likewise.
21869         * string/strnlen.c (__strnlen): Likewise.
21870         * string/test-memmem.c (simple_memmem): Likewise.
21871         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21872         * sunrpc/pm_getport.c (__get_socket): Likewise.
21873         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21874         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21875         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21876         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21877         Likewise.
21878         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21879         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21880         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21881         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21882         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21883         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21884         Likewise.
21885         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21886         Likewise.
21887         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21888         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21889         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21890         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21891         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21893         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21894         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21895         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21896         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21897         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21898         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21899         Likewise.
21900         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21901         Likewise.
21902         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21903         Likewise.
21904         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21905         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21906         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21907         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21908         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21909         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21910         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21913         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21914         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21915         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21916         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21917         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21919         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21920         Likewise.
21921         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21922         Likewise.
21923         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21924         Likewise.
21925         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21926         Likewise.
21927         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21929         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21930         Likewise.
21931         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21932         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21933         * sysdeps/posix/opendir.c (__opendirat): Likewise.
21934         * sysdeps/posix/sleep.c: Likewise.
21935         * sysdeps/posix/tempname.c: Likewise.
21936         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21937         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21938         Likewise.
21939         * sysdeps/powerpc/powerpc32/dl-machine.h
21940         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21941         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21943         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21944         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21945         Likewise.
21946         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21947         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21948         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21949         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21950         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21951         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21952         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21953         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21954         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21955         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21956         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21957         (elf_machine_lazy_rel): Likewise.
21958         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21959         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21960         (elf_machine_lazy_rel): Likewise.
21961         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21962         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21963         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21964         * sysdeps/unix/grantpt.c (grantpt): Likewise.
21965         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21966         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21967         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21968         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21969         Likewise.
21970         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21971         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21972         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21973         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21974         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21975         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21976         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21977         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21978         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21979         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21980         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21981         Likewise.
21982         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21983         (__posix_fallocate64_l64): Likewise.
21984         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21985         (posix_fallocate): Likewise.
21986         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21987         Likewise.
21988         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21989         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21990         (getifaddrs_internal): Likewise.
21991         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21992         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21993         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21994         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21995         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21996         (__posix_fallocate64_l64): Likewise.
21997         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21998         Likewise.
21999         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22000         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22001         (__get_clockfreq): Likewise.
22002         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22003         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22004         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22005         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22006         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22007         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22008         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22009         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22010         Likewise.
22011         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22012         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22013         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22014         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22015         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22016         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22017         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22018         Likewise.
22019         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22020         (posix_fallocate): Likewise.
22021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22022         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22023         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22024         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22025         (elf_machine_rela, elf_machine_rela_relative)
22026         (elf_machine_lazy_rel): Likewise.
22027         * time/asctime.c (asctime_internal): Likewise.
22028         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22029         * time/tzset.c (__tzset_parse_tz): Likewise.
22030         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22031         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22032         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22033         * wcsmbs/wcsmbsload.h: Likewise.
22035         [BZ #15894]
22036         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22038         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22039         (arena_get2): Remove THREAD_STATS conditionals.
22040         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22041         (__malloc_stats, int): Likewise.
22043 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22045         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22046         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22048         * manual/setjmp.texi: Fix typos/grammar errors.
22050         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22051         Only return early when n is <= 0.  Delete unused return statement.
22053         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22054         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22055         * debug/tst-longjmp_chk3.c: New file.
22057         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22058         (test_main): Replace code with set_fortify_handler call.
22059         * debug/test-strcpy_chk.c: Likewise.
22060         * debug/tst-chk1.c: Likewise.
22061         * debug/tst-longjmp_chk.c: Likewise.
22062         * test-skeleton.c: Include fcntl.h & paths.h
22063         (set_fortify_handler): Define.
22065         * debug/tst-longjmp_chk.c: Add header comment and include
22066         ../test-skeleton.c.
22067         (do_test): Mark static.
22068         (TEST_FUNCTION): Define.
22070         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22071         (IP_PMTUDISC_INTERFACE): Likewise.
22072         (IP_MULTICAST_IF): Likewise.
22073         (IP_MULTICAST_TTL): Likewise.
22074         (IP_MULTICAST_LOOP): Likewise.
22075         (IP_ADD_MEMBERSHIP): Likewise.
22076         (IP_DROP_MEMBERSHIP): Likewise.
22077         (IP_UNBLOCK_SOURCE): Likewise.
22078         (IP_BLOCK_SOURCE): Likewise.
22079         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22080         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22081         (IP_MSFILTER): Likewise.
22082         (MCAST_JOIN_GROUP): Likewise.
22083         (MCAST_BLOCK_SOURCE): Likewise.
22084         (MCAST_UNBLOCK_SOURCE): Likewise.
22085         (MCAST_LEAVE_GROUP): Likewise.
22086         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22087         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22088         (MCAST_MSFILTER): Likewise.
22089         (IP_MULTICAST_ALL): Likewise.
22090         (IP_UNICAST_IF): Likewise.
22092         * timezone/Makefile: Delete $(have-ksh) check.
22093         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22094         * timezone/tzselect.ksh: Add +x mode bits.
22096         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22097         (ANON_INODE_FS_MAGIC): Likewise.
22098         (BDEVFS_MAGIC): Likewise.
22099         (BINFMTFS_MAGIC): Likewise.
22100         (BTRFS_TEST_MAGIC): Likewise.
22101         (CRAMFS_MAGIC_WEND): Likewise.
22102         (DEBUGFS_MAGIC): Likewise.
22103         (ECRYPTFS_SUPER_MAGIC): Likewise.
22104         (EXT3_SUPER_MAGIC): Likewise.
22105         (EXT4_SUPER_MAGIC): Likewise.
22106         (FUTEXFS_SUPER_MAGIC): Likewise.
22107         (HOSTFS_SUPER_MAGIC): Likewise.
22108         (HUGETLBFS_MAGIC): Likewise.
22109         (MINIX3_SUPER_MAGIC): Likewise.
22110         (MTD_INODE_FS_MAGIC): Likewise.
22111         (NILFS_SUPER_MAGIC): Likewise.
22112         (OPENPROM_SUPER_MAGIC): Likewise.
22113         (PIPEFS_MAGIC): Likewise.
22114         (PSTOREFS_MAGIC): Likewise.
22115         (QNX6_SUPER_MAGIC): Likewise.
22116         (RAMFS_MAGIC): Likewise.
22117         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22118         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22119         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22120         (SECURITYFS_MAGIC): Likewise.
22121         (SELINUX_MAGIC): Likewise.
22122         (SMACK_MAGIC): Likewise.
22123         (SOCKFS_MAGIC): Likewise.
22124         (SQUASHFS_MAGIC): Likewise.
22125         (STACK_END_MAGIC): Likewise.
22126         (TMPFS_MAGIC): Likewise.
22127         (USBDEVICE_SUPER_MAGIC): Likewise.
22128         (V9FS_MAGIC): Likewise.
22129         (XENFS_SUPER_MAGIC): Likewise.
22130         (CRAMFS_MAGIC): Fix typo in comment.
22131         (EXT2_SUPER_MAGIC): Update comment.
22132         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22134 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22136         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22137         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22138         * sysdeps/unix/sysv/linux/arm: Move directory from
22139         ports/sysdeps/unix/sysv/linux/arm.
22140         * README: Update listing for arm-*-linux-gnueabi.
22142         * README: Remove mention of am33.
22144 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22146         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22147         than the comma operator, to avoid "rhs of comma has no effect"
22148         compiler warnings.
22149         (__sigfillset, __sigandset, __sigorset): Likewise.
22150         * include/signal.h (__sigemptyset): Likewise.
22151         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22153 2014-02-07  Allan McRae  <allan@archlinux.org>
22155         * version.h (RELEASE): Set to "development".
22156         (VERSION): Set to "2.19.90"
22157         * NEWS: Add 2.20 section.
22159 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22161         [BZ #16529]
22162         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22164 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22166         * manual/contrib.texi: Update entry for Carlos O'Donell,
22167         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22169 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22171         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22173         * sysdeps/unix/sysv/linux/kernel-features.h
22174         [__LINUX_KERNEL_VERSION >= 0x020621]
22175         (__ASSUME_PROC_PID_TASK_COMM): Define.
22177 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22179         [BZ #16398]
22180         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22181         conversion when destination buffer does not have enough space.
22182         * libio/tst-ftell-partial-wide.c: New test case.
22183         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22185         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22186         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22187         Leonard and Allan McRae.
22189 2014-02-04  David S. Miller  <davem@davemloft.net>
22191         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22192         32-bit.
22194 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22197         New file
22198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22199         New file
22200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22201         New file.
22202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22203         New file.
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22205         New file.
22206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22207         New file.
22208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22209         New file.
22210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22211         New file.
22212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22213         New file.
22214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22215         New file.
22216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22217         New file.
22218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22219         New file.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22221         New file.
22223 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22225         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22226         * shlib-versions: Likewise.
22228 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22229             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22231         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22232         (abilist-pattern): New variable, set to %-le.abilist.
22234         * Makerules (abilist-pattern): New variable.
22235         (vpath): Use $(abilist-pattern) in place of %.abilist.
22236         (check-abi-% pattern rule): Likewise.
22237         (check-abi, update-abi): Likewise.
22239 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22243 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22245         * manual/startup.texi: Add next, previous, and top entries for
22246         the `Program Arguments' and `Environment Variables' nodes.
22248 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22250         * manual/macros.texi: Add comments before MTASC-safety macros.
22252         * manual/users.texi: Document MTASC-safety properties.
22254         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22255         (pthread_getspecific, pthread_setspecific): Format with
22256         @deftypefun, and add @safety note.
22257         * manual/signal.texi: Move comments that analyze the above
22258         functions to their home place.
22260 2014-02-03  Allan McRae  <allan@archlinux.org>
22262         * po/sl.po: Update Slovenian translation from translation project.
22264 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22266         * manual/time.texi (timegm): Add missing blank after @c.
22267         Reported by Joseph Myers <joseph@codesourcery.com>.
22269 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22271         * manual/check-safety.sh: New.
22272         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22274         * manual/terminal.texi: Document MTASC-safety properties.
22276         * manual/filesys.texi: Document MTASC-safety properties.
22278         * manual/errno.texi: Document MTASC-safety properties.
22280         * manual/intro.texi: Document safety identifiers and
22281         conditionals.
22283         * manual/string.texi (wcstok): Fix prototype.
22284         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22286         * manual/time.texi: Document MTASC-safety properties.
22288         * manual/string.texi: Document MTASC-safety properties.
22290         * manual/threads.texi: Document MTASC-safety properties.
22292         * manual/stdio.texi: Document MTASC-safety properties.
22294         * manual/syslog.texi: Document MTASC-safety properties.
22296         * manual/sysinfo.texi: Document MTASC-safety properties.
22298         * manual/startup.texi: Document MTASC-safety properties.
22300         * manual/socket.texi: Document MTASC-safety properties.
22302         * manual/signal.texi: Document MTASC-safety properties.
22304 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22306         * manual/setjmp.texi: Document MTASC-safety properties.
22308         * manual/search.texi: Document MTASC-safety properties.
22310         * manual/resource.texi: Document MTASC-safety properties.
22312         * manual/process.texi: Document MTASC-safety properties.
22314         * manual/platform.texi: Document MTASC-safety properties.
22316         * manual/pipe.texi: Document MTASC-safety properties.
22318         * manual/pattern.texi: Document MTASC-safety properties.
22320         * manual/message.texi: Document MTASC-safety properties.
22322         [BZ #12751]
22323         * manual/memory.texi: Document MTASC-safety properties.
22325         * manual/math.texi: Document MTASC-safety properties.
22327         * manual/locale.texi: Document MTASC-safety properties.
22329         * manual/llio.texi: Document MTASC-safety properties.
22331         * manual/libdl.texi: New.
22333         * manual/lang.texi: Document MTASC-safety properties.
22335         * manual/job.texi: Document MTASC-safety properties.
22337         * manual/getopt.texi: Document MTASC-safety properties.
22339         * manual/ctype.texi: Document MTASC-safety properties.
22341 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22343         [BZ #16046]
22344         * csu/libc-tls.c (static_map): Remove variable.
22345         (__libc_setup_tls): Use main executable's link map for TLS data.
22346         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22347         casing for LM_ID_BASE and GL(dl_nns).
22348         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22349         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22350         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22351         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22352         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22353         member.
22354         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22355         l_phnum members.
22357 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22359         * manual/debug.texi: Document MTASC-safety properties.
22361 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22363         [BZ #16510]
22364         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22365         of __x86_64__ when disabling x87 inline functions.
22367 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22369         * manual/charset.texi: Document MTASC-safety properties.
22371         * manual/crypt.texi: Document MTASC-safety properties.
22373         * manual/conf.texi: Document MTASC-safety properties.
22375         * manual/arith.texi: Document MTASC-safety properties.
22377         * manual/argp.texi: Document MTASC-safety properties.
22379         * manual/macros.texi: Introduce macros to document multi
22380         thread, asynchronous signal and asynchronous cancellation
22381         safety properties.
22382         * manual/intro.texi: Introduce the properties themselves.
22384 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22386         * sysdeps/sh/sh4/Makefile: New file.
22388 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22390         * math/gen-libm-test.pl ($srcdir): New variable.
22391         ($auto_input): Use it.
22393 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22395         [BZ #16506]
22396         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22397         access beyond array bounds when parsing netgroups file.
22399         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22400         the old buffer before realloc.
22402 2014-01-27  Allan McRae  <allan@archlinux.org>
22404         * po/fr.po: Update French translation from translation project.
22406 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22408         * sysdeps/sh/libm-test-ulps: Regenerate.
22410 2014-01-24  David S. Miller  <davem@davemloft.net>
22412         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22414 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22416         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22417         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22419 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22421         [BZ #16474]
22422         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22423         string pointers after reallocation.
22425 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22427         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22428         __SH4A__ instead of __SH_FPU_ANY__.
22430 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22432         * sysdeps/sh/fpu_control.h: New file.
22433         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22434         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22435         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22436         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22437         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22438         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22439         * sysdeps/sh/sys/ucontext.h: Remove.
22440         * sysdeps/sh/sys: Remove directory.
22442 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22444         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22445         s390/sys/ucontext.h.
22446         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22447         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22449 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22451         [BZ #15605]
22452         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22454 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22456         [BZ#16431]
22457         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22458         Adjust the vDSO correctly for internal calls.
22459         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22461 2014-01-20  Allan McRae  <allan@archlinux.org>
22463         * po/ca.po: Update Catalan translation from translation project.
22465 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22467         * sysdeps/s390/sotruss-lib.c: New file.
22469 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22471         [BZ#16430]
22472         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22473         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22474         local calls issues by not having a PLT stub required for IFUNC calls.
22475         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22477 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22479         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22480         * math/test-fpucw-static.c: Likewise.
22482 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484         [BZ #16453]
22485         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22487 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22489         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22490         implementation for powerpc.
22492 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22494         [BZ #14782]
22495         * sysdeps/posix/system.c (__libc_system): Do not enable
22496         asynchronous cancellation.
22498 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22500         [BZ #16427]
22501         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22502         handling only for numbers special also in the IEEE case.
22504 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22506         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22508 2014-01-11  Allan McRae  <allan@archlinux.org>
22510         * po/bg.po: Update Bulgarian translation from translation project.
22512         * po/de.po: Update German translation from translation project.
22514 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22516         * sysdeps/generic/gcc-compat.h: New file.
22518 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22520         * benchtests/asin-inputs: Correct slow inputs.
22521         * benchtests/acos-inputs: Likewise.
22523 2014-01-10  Allan McRae  <allan@archlinux.org>
22525         * po:sv.po: Update Swedish translation from translation project.
22527         * po/vi.po: Update Vietnamese translation from translation project.
22529         * po/eo.po: Update Esperanto translation from translation project.
22531         * po/cs.po: Update Czech translation from translation project.
22533         * po/nl.po: Update Dutch translation from translation project.
22535         * po/pl.po: Update Polish translation from translation project.
22537         * po/ru.po: Update Russian translation from translation project.
22539         * po/uk.po: Update Ukrainian translation from translation project.
22541 2014-01-08  Brooks Moses  <bmoses@google.com>
22543         * elf/dl-load.c: Fix comment typo.
22545 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22547         * po/header.pot: Rename to...
22548         * po/pot.header: ... this.
22549         * po/Makefile: Use pot.header.
22551 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22552             Maxim Kuvyrkov  <maxim@kugelworks.com>
22554         [BZ #16394]
22555         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22556         SRC and DEST against LEN.
22558 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22560         [BZ #16414]
22561         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22562         implementation.
22563         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22565 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22569 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22571         [BZ #16408]
22572         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22573         for large positive arguments.
22575 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22577         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22579         * math/auto-libm-test-in: Mark various tests with
22580         xfail-rounding:ldbl-128ibm.
22581         * math/auto-libm-test-out: Regenerated.
22583         [BZ #16407]
22584         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22585         Increase overflow threshold.
22587 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22589         [BZ #14286]
22590         * stdio-common/vfprintf.c: Check for integer overflow.
22592 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22594         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22595         the first argument and return value of __tls_get_addr_internal.
22597 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22599         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22600         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22602 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22604         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22605         * sysdeps/s390/rtld-global-offsets.sym: New file.
22606         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22607         GLIBC_2.19 symbol.
22608         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22609         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22610         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22611         ... this.
22612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22613         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22614         ... this.
22615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22616         Regenerate.
22617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22618         Regenerate.
22619         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22620         halfs of GPRs for high_gprs contexts.
22621         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22622         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22623         field.
22624         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22625         uc_flags field.
22626         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22627         64 bit versions:
22628         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22629         for high GPRs (uc_high_gprs) and for future extensions
22630         (__reserved).
22631         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22632         for future extensions (__reserved).
22633         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22634         64 bit versions:
22635         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22636         SC_HIGHGPRS offset definition.
22637         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22638         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22640         * Versions.def: Add GLIBC_2.19 for libpthread.
22641         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22642         siglongjmp for libpthread with GLIBC_2.19 symver.
22643         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22644         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22645         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22646         * sysdeps/s390/__longjmp.c: New file.
22647         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22648         * sysdeps/s390/longjmp.c: New file.
22649         * sysdeps/s390/setjmp.S: New file.
22650         * sysdeps/s390/sigjmp.S: New file.
22651         * sysdeps/s390/v1-longjmp.c: New file.
22652         * sysdeps/s390/v1-setjmp.h: New file.
22653         * sysdeps/s390/v1-sigjmp.c: New file.
22654         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22655         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22656         GLIBC_2.19 version.
22657         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22658         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22659         versioned symbols for ____longjmp_chk.
22660         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22661         Likewise.
22662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22663         Regenerate.
22664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22665         Regenerate.
22666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22667         Regenerate.
22668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22669         Regenerate.
22670         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22671         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22672         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22673         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22674         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22675         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22676         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22677         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22678         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22679         * sysdeps/s390/rtld-__longjmp.c: New file.
22680         * sysdeps/s390/rtld-setjmp.S: New file.
22682 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22684         [BZ #16400]
22685         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22686         Return -__logl (x) for small positive arguments without evaluating
22687         a polynomial.
22689 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22691         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22692         Rename to ...
22693         (__ptrace_peeksiginfo_args): ... this.
22694         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22695         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22698 2014-01-06  Allan McRae  <allan@archlinux.org>
22700         * inet/netinet/in.h: Fix typo in comment.
22702 2014-01-05  Andreas Jaeger  <aj@suse.de>
22704         * sysdeps/i386/fpu/libm-test-ulps: Update.
22706 2014-01-05  Allan McRae  <allan@archlinux.org>
22708         * po/libc.pot: Regenerated.
22710         * malloc/memusagestat.c: Fix gettext call formatting.
22712 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22714         * nscd/nscd.c: Improve usage() output.
22716 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22718         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22719         * sysdeps/unix/sysv/linux/configure: Regenerated.
22720         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22721         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22723 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22725         [BZ #16390]
22726         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22727         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22729 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22732         extra tokens at end of #undef directive.
22733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22734         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22735         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22737 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22739         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22741         * math/auto-libm-test-in: Mark various tests with
22742         xfail-rounding:ldbl-128ibm.
22743         * math/auto-libm-test-out: Regenerated.
22745 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22747         [BZ #16386]
22748         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22749         numbers with subnormal high part when calculating exponent.
22751         [BZ #16385]
22752         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22753         fabs.
22755         [BZ #16384]
22756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22757         M_LN2l.
22758         (__ieee754_acoshl): Use __log1pl not __log1p.
22760 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22762         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22763         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22764         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22765         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22766         (reused_arena, arena_get2): Convert to GNU style.
22767         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22768         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22769         (memalign_check, __malloc_set_state): Likewise.
22770         * malloc/mallocbug.c (main): Likewise.
22771         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22772         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22773         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22774         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22775         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22776         (__posix_memalign, malloc_info): Likewise.
22777         * malloc/malloc.h: Likewise.
22778         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22779         (mallochook, memalignhook, reallochook, mabort): Likewise.
22780         * malloc/mcheck.h: Likewise.
22781         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22782         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22783         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22784         * malloc/morecore.c (__default_morecore): Likewise.
22785         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22786         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22787         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22788         (print_and_abort): Likewise.
22789         * malloc/obstack.h: Likewise.
22790         * malloc/set-freeres.c (__libc_freeres): Likewise.
22791         * malloc/tst-mallocstate.c (main): Likewise.
22792         * malloc/tst-mtrace.c (main): Likewise.
22793         * malloc/tst-realloc.c (do_test): Likewise.
22795 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22797         [BZ #16366]
22798         * nscd/netgroupcache.c (do_notfound): New function.
22799         (addgetnetgrentX): Use it.
22801         [BZ # 16365]
22802         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22803         NSS_STATUS_NOTFOUND.
22805 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22807         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22810 2014-01-01  Allan McRae  <allan@archlinux.org>
22812         * scripts/update-copyrights: Update configure input file suffix.
22814         * NEWS: Update copyright year.
22815         * catgets/gencat.c: Likewise.
22816         * csu/version.c: Likewise.
22817         * debug/catchsegv.sh: Likewise.
22818         * debug/pcprofiledump.c: Likewise.
22819         * debug/xtrace.sh: Likewise.
22820         * elf/ldconfig.c: Likewise.
22821         * elf/ldd.bash.in: Likewise.
22822         * elf/pldd.c: Likewise.
22823         * elf/sotruss.ksh: Likewise.
22824         * elf/sprof.c: Likewise.
22825         * iconv/iconv_prog.c: Likewise.
22826         * iconv/iconvconfig.c: Likewise.
22827         * locale/programs/locale.c: Likewise.
22828         * locale/programs/localedef.c: Likewise.
22829         * login/programs/pt_chown.c: Likewise.
22830         * malloc/memusage.sh: Likewise.
22831         * malloc/memusagestat.c: Likewise.
22832         * malloc/mtrace.pl: Likewise.
22833         * manual/libc.texinfo: Likewise.
22834         * nscd/nscd.c: Likewise.
22835         * nss/getent.c: Likewise.
22836         * nss/makedb.c: Likewise.
22837         * posix/getconf.c: Likewise.
22838         * scripts/test-installation.pl: Likewise.
22840         * All files with FSF copyright notices: Update copyright dates
22841         using scripts/update-copyrights.
22842         * intl/plural.c: Regenerated.
22843         * locale/programs/charmap-kw.h: Likewise.
22844         * locale/programs/locfile-kw.h: Likewise.
22846 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22848         * sysdeps/unix/sysv/linux/configure: Regenerated.
22849         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22850         the linux/fanotify.h header.
22851         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22852         HAVE_LINUX_FANOTIFY_H is defined.
22854 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22856         * benchtests/cos-inputs: New inputs.
22857         * benchtests/sin-inputs: Likewise.
22859         * benchtests/atan-inputs: New inputs. Fix name of multiple
22860         precision fallback inputs.
22862         * benchtests/atanh-inputs: New inputs.
22863         * benchtests/tanh-inputs: Likewise.
22865         * benchtests/acosh-inputs: New inputs.
22866         * benchtests/asinh-inputs: Likewise.
22868         * benchtests/cosh-inputs: New inputs.
22869         * benchtests/sinh-inputs: Likewise.
22871         * benchtests/acos-inputs: Add more inputs.
22872         * benchtests/asin-inputs: Likewise.
22874 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22876         [BZ #16375]
22877         * manual/arith.texi: Fix spelling.
22878         * manual/charset.texi: Likewise.
22879         * manual/errno.texi: Likewise.
22880         * manual/filesys.texi: Likewise.
22881         * manual/lang.texi: Likewise.
22882         * manual/llio.texi: Likewise.
22883         * manual/locale.texi: Likewise.
22884         * manual/message.texi: Likewise.
22885         * manual/resource.texi: Likewise.
22886         * manual/search.texi: Likewise.
22887         * manual/setjmp.texi: Likewise.
22888         * manual/stdio.texi: Likewise.
22889         * manual/string.texi: Likewise.
22890         * manual/sysinfo.texi: Likewise.
22891         * manual/time.texi: Likewise.
22893 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22895         * po/sl.po: New file.
22897 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22899         * .gitignore: Add core/.gdbinit/.gdb_history.
22901 2013-12-27  Allan McRae  <allan@archlinux.org>
22903         [BZ #16369]
22904         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22905         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22907 2013-12-24  Brooks Moses  <bmoses@google.com>
22909         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22910         all compilers that claim C++98 compliance, not just GCC.
22911         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22912         Likewise.
22914 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22916         * NEWS: Restore accidentally deleted bug-fix entries.
22918 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22919             Ondřej Bílka  <neleai@seznam.cz>
22921         [BZ #15073]
22922         * malloc/malloc.c (_int_free): Perform sanity check only if we
22923         have_lock.
22925 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
22927         [BZ #12986]
22928         * manual/stdio.texi (String Input Conversions): Clarify that character
22929         classes are not supported.
22931 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22935 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
22937         [BZ #16337]
22938         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22939         Calculate results for small negative arguments directly rather
22940         than using reflection formula with special underflow handling.
22942         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22943         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22944         sysdeps/unix/bsd/bsd4.4/syscalls.list.
22945         (fchflags): Likewise.
22946         (revoke): Likewise.
22947         (setlogin): Likewise.
22948         (sigaltstack): Likewise.
22949         (wait4): Likewise.
22950         (sigblock): Remove.
22951         (sigsetmask): Likewise.
22952         (wait3): Likewise.
22953         (waitpid): Likewise.
22954         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22955         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22956         file.
22957         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22958         * sysdeps/unix/bsd/Makefile: ... here.
22959         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22960         * sysdeps/unix/bsd/Versions: ... here.
22961         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22962         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22963         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22964         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22965         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22966         * sysdeps/unix/bsd/sigblock.c: ... here.
22967         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22968         * sysdeps/unix/bsd/sigsetmask.c: ... here.
22969         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22970         * sysdeps/unix/bsd/sigvec.c: ... here.
22971         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22972         * sysdeps/unix/bsd/tcdrain.c: ... here.
22973         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22974         * sysdeps/unix/bsd/tcgetattr.c: ... here.
22975         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22976         * sysdeps/unix/bsd/tcsetattr.c: ... here.
22977         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22978         * sysdeps/unix/bsd/wait.c: ... here.
22979         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22980         * sysdeps/unix/bsd/wait3.c: ... here.
22981         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22982         * sysdeps/unix/bsd/waitpid.c: ... here.
22984 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
22986         [BZ #16356]
22987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22988         round-to-nearest for [!USE_AS_EXPM1L].
22989         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22990         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
22991         more tests of exp and exp10.  Expect some exp10 tests to miss
22992         exceptions or fail in directed rounding modes.
22993         * math/auto-libm-test-out: Regenerated.
22994         * math/libm-test.inc (exp10_tonearest_test_data): New array.
22995         (exp10_test_tonearest): New function.
22996         (exp10_towardzero_test_data): New array.
22997         (exp10_test_towardzero): New function.
22998         (exp10_downward_test_data): New array.
22999         (exp10_test_downward): New function.
23000         (exp10_upward_test_data): New array.
23001         (exp10_test_upward): New function.
23002         (main): Call the new functions.
23003         * sysdeps/i386/fpu/libm-test-ulps: Update.
23004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23006 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23008         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23009         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23010         * math/auto-libm-test-out: Regenerated.
23011         * math/libm-test.inc (acosh_test_data): Add more tests.
23012         (atanh_test_data): Likewise.
23013         (ceil_test_data): Likewise.
23014         (copysign_test_data): Likewise.
23015         * sysdeps/i386/fpu/libm-test-ulps: Update.
23016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018         * timezone/checktab.awk: Update from tzcode 2013i.
23019         * timezone/private.h: Likewise.
23020         * timezone/scheck.c: Likewise.
23021         * timezone/tzfile.h: Likewise.
23022         * timezone/tzselect.ksh: Likewise.
23023         * timezone/zdump.c: Likewise.
23024         * timezone/zic.c: Likewise.
23026         * math/auto-libm-test-in: Add tests of cpow.
23027         * math/auto-libm-test-out: Regenerated.
23028         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23029         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23030         mpc_cc_c.
23031         (func_calc_desc): Add mpc_cc_c union field.
23032         (test_functions): Add cpow.
23033         (special_fill_2pi): New function.
23034         (special_real_inputs): Add 2pi.
23035         (calc_generic_results): Handle mpc_cc_c.
23036         * sysdeps/i386/fpu/libm-test-ulps: Update.
23037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23039         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23040         csqrt, ctan and ctanh.
23041         * math/auto-libm-test-out: Regenerated.
23042         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23043         (TEST_COND_x86): Likewise.
23044         (ccos_test_data): Use AUTO_TESTS_c_c.
23045         (ccosh_test_data): Likewise.
23046         (cexp_test_data): Likewise.
23047         (clog_test_data): Likewise.
23048         (csqrt_test_data): Likewise.
23049         (ctan_test_data): Likewise.
23050         (ctan_tonearest_test_data): Likewise.
23051         (ctan_towardzero_test_data): Likewise.
23052         (ctan_downward_test_data): Likewise.
23053         (ctan_upward_test_data): Likewise.
23054         (ctanh_test_data): Likewise.
23055         (ctanh_tonearest_test_data): Likewise.
23056         (ctanh_towardzero_test_data): Likewise.
23057         (ctanh_downward_test_data): Likewise.
23058         (ctanh_upward_test_data): Likewise.
23059         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23060         mpc_c_c.
23061         (func_calc_desc): Add mpc_c_c union field.
23062         (FUNC_mpc_c_c): New macro.
23063         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23064         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23065         ctanh.
23066         (special_fill_min_subnorm_p120): New function.
23067         (special_real_inputs): Add min_subnorm_p120.
23068         (calc_generic_results): Handle mpc_c_c.
23069         * sysdeps/i386/fpu/libm-test-ulps: Update.
23070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23072 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23074         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23075         (do_sin_slow): New functions.
23076         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23077         (cslow2, csloww1, csloww2): Use the new functions.
23079         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23080         Use M to change sign of result instead of X.  Assume X is
23081         positive.
23082         (csloww1): Likewise.
23083         (__sin): Adjust.
23084         (__cos): Adjust.
23086         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23087         arguments A and DA.
23088         (__sin): Adjust.
23089         (__cos): Likewise.
23091         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23092         (__cos): Likewise.
23093         (sloww1): Don't adjust sign of DX.
23094         (csloww1): Likewise.
23095         (sloww2): Use X directly and don't adjust sign of DX.
23096         (csloww2): Likewise.
23098 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23100         * math/auto-libm-test-in: Add tests of cabs and carg.
23101         * math/auto-libm-test-out: Regenerated.
23102         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23103         (carg_test_data): Likewise.
23104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23105         mpc_c_f.
23106         (func_calc_desc): Add mpc_c_f union field.
23107         (test_functions): Add cabs and carg.
23108         (calc_generic_results): Handle mpc_c_f.
23110         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23111         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23112         as a macro and a compat symbol.
23113         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23114         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23115         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23116         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23117         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23118         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23119         not use .hidden.
23120         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23121         Likewise.
23122         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23123         Likewise.
23124         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23125         Likewise.
23126         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23127         Likewise.
23128         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23129         Likewise.
23130         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23131         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23132         from GLIBC_2.3.2.
23134 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23138 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23140         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23141         trailing whitespace removed.
23142         * scripts/config.guess: Update to version 2013-11-29.
23143         * scripts/config.sub: Update to version 2013-10-01.
23145         * math/auto-libm-test-in: Add tests of sincos.
23146         * math/auto-libm-test-out: Regenerated.
23147         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23149         mpfr_f_11.
23150         (func_calc_desc): Add mpfr_f_11 union field.
23151         (test_functions): Add sincos.
23152         (calc_generic_results): Handle mpfr_f_11.
23153         * sysdeps/i386/fpu/libm-test-ulps: Update.
23154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156 2013-12-19  Andreas Schwab  <schwab@suse.de>
23158         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23159         CALL_MCOUNT.
23160         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23161         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23162         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23164 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23166         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23167         * sysdeps/i386/fpu/libm-test-ulps: Update.
23168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23170         [BZ #16293]
23171         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23172         round-to-nearest mode when using frndint.
23173         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23174         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23175         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23176         Likewise.
23177         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23178         sinh test to fail.
23179         * math/auto-libm-test-out: Regenerated.
23180         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23181         (TEST_COND_x86): Likewise.
23182         (expm1_tonearest_test_data): New array.
23183         (expm1_test_tonearest): New function.
23184         (expm1_towardzero_test_data): New array.
23185         (expm1_test_towardzero): New function.
23186         (expm1_downward_test_data): New array.
23187         (expm1_test_downward): New function.
23188         (expm1_upward_test_data): New array.
23189         (expm1_test_upward): New function.
23190         (main): Run the new test functions.
23191         * sysdeps/i386/fpu/libm-test-ulps: Update.
23192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23194         * include/features.h: Update comment documenting feature test
23195         macros.  Mention _DEFAULT_SOURCE in comment.
23196         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23197         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23198         _BSD_SOURCE and _SVID_SOURCE.
23199         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23200         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23201         !_SVID_SOURCE]: Likewise.
23202         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23203         (__USE_POSIX_IMPLICITLY): Define.
23204         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23205         (_POSIX_SOURCE): Undefine and redefine.
23206         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23207         (_POSIX_C_SOURCE): Likewise.
23208         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23209         (Feature Test Macros): Update documentation of default features.
23211 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23213         * benchtests/Makefile: Add bench-strtok.
23214         * benchtests/bench-strtok.c: New file: strtok benchtest.
23216 2013-12-19  Allan McRae  <allan@archlinux.org>
23218         * manual/install.texi: Suppress menu for plain text output.
23219         * INSTALL: Regenerated.
23221 2013-12-18  Brooks Moses  <bmoses@google.com>
23223         [BZ #15846]
23224         * misc/getauxval.c: Include errno.h.
23225         (__getauxval): Set errno to ENOENT if the requested type is not
23226         found.
23227         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23228         don't declare with __attribute_const__.
23229         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23230         * manual/startup.texi: Document that getauxval sets errno.
23232 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23234         * math/auto-libm-test-in: Add tests of jn and yn.
23235         * math/auto-libm-test-out: Regenerated.
23236         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23237         (yn_test_data): Likewise.
23238         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23239         mpfr_if_f.
23240         (func_calc_desc): Add mpfr_if_f union field.
23241         (FUNC_mpfr_if_f): New macro.
23242         (test_functions): Add jn and yn.
23243         (calc_generic_results): Assert type of second input for
23244         mpfr_ff_f.  Handle mpfr_if_f.
23245         (output_for_one_input_case): Disable all checking for arguments
23246         fitting floating-point types in case of an integer argument.
23247         * sysdeps/i386/fpu/libm-test-ulps: Update.
23248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23251         Don't expect fegetround reference in libm.so.
23253 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23255         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23256         $(config-cflags-nofma).
23258 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23260         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23261         * math/auto-libm-test-out: Regenerated.
23263         [BZ #16338]
23264         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23265         to determine exponent and adjust argument to have exponent of -1.
23266         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23267         log2.
23268         * math/auto-libm-test-out: Regenerated.
23269         * sysdeps/i386/fpu/libm-test-ulps: Update.
23270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23272 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23274         * manual/probes.texi: Remove cases when per-thread arenas are
23275         disabled.
23277 2013-12-18  Andreas Schwab  <schwab@suse.de>
23279         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23280         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23281         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23282         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23283         * sysdeps/i386/i686/multiarch/Makefile: Update.
23284         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23286 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23288         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23289         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23291 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23293         [BZ #15968]
23294         Support TZ transition times < 00:00:00.
23295         This is needed for version-3 tz-format files; it supports time
23296         stamps past 2037 for America/Godthab (the only entry in the tz
23297         database for which this change is relevant).
23298         * manual/time.texi (TZ Variable): Document transition times
23299         from -167:59:59 through -00:00:01.
23300         * time/tzset.c (tz_rule): Time of day is now signed.
23301         (__tzset_parse_tz): Parse negative time of day.
23303         Document TZ transition times >= 25:00:00.
23304         * manual/time.texi (TZ Variable): Document transition times from
23305         25:00:00 through 167:59:59.  These are already supported, and this
23306         support will help with version-3 tz-format files.
23308         * manual/time.texi (TZ Variable): Modernize North America example
23309         to reflect current (i.e., 2007-and-later) daylight saving rules.
23311         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23313 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23315         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23316         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23319         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23320         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23321         * sysdeps/unix/bsd/clock.c: Likewise.
23322         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23323         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23324         * sysdeps/unix/bsd/init-posix.c: Likewise.
23325         * sysdeps/unix/bsd/poll.c: Likewise.
23326         * sysdeps/unix/bsd/ptsname.c: Likewise.
23327         * sysdeps/unix/bsd/seekdir.c: Likewise.
23328         * sysdeps/unix/bsd/setegid.c: Likewise.
23329         * sysdeps/unix/bsd/seteuid.c: Likewise.
23330         * sysdeps/unix/bsd/setgid.c: Likewise.
23331         * sysdeps/unix/bsd/setrgid.c: Likewise.
23332         * sysdeps/unix/bsd/setruid.c: Likewise.
23333         * sysdeps/unix/bsd/setsid.c: Likewise.
23334         * sysdeps/unix/bsd/setuid.c: Likewise.
23335         * sysdeps/unix/bsd/sigaction.c: Likewise.
23336         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23337         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23338         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23339         * sysdeps/unix/bsd/telldir.c: Likewise.
23340         * sysdeps/unix/bsd/times.c: Likewise.
23341         * sysdeps/unix/bsd/usleep.c: Likewise.
23343         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23344         ($(objpfx)libbsd-compat.a): Remove rule.
23346         * include/features.h (__FAVOR_BSD): Do not define.
23347         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23348         features conflicting with POSIX.
23349         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23350         (_BSD_SOURCE): Remove description of not being a subset of other
23351         feature test macros.
23352         * manual/job.texi (getpgrp): Do not document BSD version.
23353         (getpgid): Do not document by reference to BSD getpgrp.
23354         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23355         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23356         * signal/signal.h [__FAVOR_BSD]: Likewise.
23357         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23358         instead of making contents conditional on [__FAVOR_BSD].
23359         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23361 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23365 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23367         [BZ #16314]
23368         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23369         values below 2**-450, not 2**-500.
23370         * math/auto-libm-test-in: Don't allow spurious underflow from
23371         hypot.
23372         * math/auto-libm-test-out: Regenerated.
23374         [BZ #16316]
23375         [BZ #16330]
23376         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23377         values of ha and hb and sort them after adjusting subnormal
23378         arguments.
23379         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23380         Likewise.
23381         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23382         values of ea and eb and sort them after adjusting subnormal
23383         arguments.
23384         * math/auto-libm-test-in: Do not expect some hypot tests of
23385         subnormals to fail.  Add more hypot tests.
23386         * math/auto-libm-test-out: Regenerated.
23388 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23390         [BZ #13304]
23391         * sysdeps/sh/s_fma.c: New file.
23392         * sysdeps/sh/s_fmaf.c: New file.
23393         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23394         version.
23395         * sysdeps/sh/Implies: Add sh/soft-fp.
23397 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23399         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23400         level of indirection to members `objname', `errstring', `malloced'.
23401         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23402         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23403         it as the __longjmp argument (just pass 1 instead).
23404         (_dl_catch_error): Initialize C with argument pointers and address of
23405         volatile local ERRCODE rather than copying values out of C at return.
23407 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23409         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23410         * math/auto-libm-test-out: Regenerated.
23411         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23412         (hypot_test_data): Likewise.
23413         (pow_test_data): Likewise.
23414         (pow_tonearest_test_data): Likewise.
23415         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23416         mpfr_ff_f.
23417         (func_calc_desc): Add mpfr_ff_f union field.
23418         (FUNC_mpfr_ff_f): New macro.
23419         (test_functions): Add atan2, hypot and pow.
23420         (special_fill_min): New function.
23421         (special_fill_minus_min): Likewise.
23422         (special_fill_min_subnorm): Likewise.
23423         (special_fill_minus_min_subnorm): Likewise.
23424         (special_real_inputs): Add min, -min, min_subnorm and
23425         -min_subnorm.
23426         (calc_generic_results): Handle mpfr_ff_f.
23427         * sysdeps/i386/fpu/libm-test-ulps: Update.
23428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23430 2013-12-16  Will Newton  <will.newton@linaro.org>
23432         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23433         (Aligned Memory Blocks): Add documentation for aligned_alloc
23434         and suggest it as an alternative to posix_memalign.
23435         (Hooks for Malloc): Document __memalign_hook is also called
23436         for aligned_alloc.  (Summary of Malloc): Add summary for
23437         aligned alloc.  Document __memalign_hook is also called
23438         for aligned_alloc.
23440 2013-12-16  Will Newton  <will.newton@linaro.org>
23442         * manual/memory.texi (Malloc Examples): Clarify default
23443         alignment documentation.  Suggest posix_memalign rather
23444         than memalign or valloc.
23445         (Aligned Memory Blocks): Remove suggestion to use memalign
23446         or valloc.  Remove obsolete comment about BSD.
23447         Document memalign errno values and mark the function obsolete.
23448         Document posix_memalign returned error codes.  Mark valloc
23449         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23450         called for posix_memalign and valloc.
23451         (Summary of Malloc): Add posix_memalign to function summary.
23452         __memalign_hook is also called for posix_memalign and valloc.
23454 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23456         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23457         TAYLOR_SIN.
23458         (__sin): Adjust.
23459         (__cos): Likewise.
23460         (sloww): Use mynumber union.  Expand ternary operator into
23461         if-else statements.
23462         (cslow): use mynumber union.
23464 2013-12-16  Allan McRae  <allan@archlinux.org>
23466         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23467         * configure: Regenerated.
23469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23471         [BZ #14120]
23472         * configure.ac: Added --enable-maintainer-mode. Check for
23473         autoconf when enabled.
23474         * configure: Regenerated.
23476         * nscd/nscd.service: New file.
23477         * nscd/nscd.tmpfiles: New file.
23479 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23481         [BZ #12100]
23482         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23483         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23484         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23485         (strstr): Add __strstr_sse2_unaligned ifunc.
23486         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23487         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23488         (strcasestr): Remove __strcasestr_sse42 ifunc.
23489         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23493 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23495         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23496         * sysdeps/sh/bits/fenv.h: ... here.
23497         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23499 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23501         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23504         hypotf multiarch implementations.
23505         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23506         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23507         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23508         multiarch hypot for PPC64.
23509         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23510         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23511         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23512         multiarch hypotf for PPC64.
23514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23515         modff multiarch implementations.
23516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23519         multiarch modf for PPC64.
23520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23523         multiarch modff for PPC64.
23525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23526         and logl multiarch implementations.
23527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23530         multiarch logb for PPC64.
23531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23534         multiarch logb for PPC64.
23535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23538         multiarch logb for PPC64.
23540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23541         isinff multiarch implementation.
23542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23543         file.
23544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23546         multiarch isinf for PPC64.
23547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23548         file.
23549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23550         multiarch isinff for PPC64.
23552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23553         finitef multiarch implementation.
23554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23555         file.
23556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23558         multiarch finite for PPC64.
23559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23560         file.
23561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23562         multiarch finitef for PPC64.
23564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23565         lrint multiarch implementation.
23566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23567         file.
23568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23570         multiarch llrint for PPC64.
23571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23572         multiarch lrint for PPC64.
23574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23575         copysignf multiarch implementation.
23576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23577         file.
23578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23579         file.
23580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23581         multiarch copysign for PPC64.
23582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23583         multiarch copysignf for PPC64.
23585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23586         multiarch implementation.
23587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23588         file.
23589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23590         file.
23591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23592         file.
23593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23594         file.
23595         multiarch llround for PPC64.
23596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23597         multiarch trunc for PPC64.
23598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23599         multiarch truncf for PPC64.
23601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23602         multiarch implementation.
23603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23604         file.
23605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23606         file.
23607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23608         file.
23609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23610         file.
23611         multiarch llround for PPC64.
23612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23613         multiarch round for PPC64.
23614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23615         multiarch roundf for PPC64.
23617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23618         multiarch implementation.
23619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23620         file.
23621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23622         file.
23623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23624         file.
23625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23626         file.
23627         multiarch llround for PPC64.
23628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23629         multiarch floor for PPC64.
23630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23631         multiarch floorf for PPC64.
23633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23634         multiarch implementation.
23635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23636         file.
23637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23638         file.
23639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23640         file.
23641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23642         file.
23643         multiarch llround for PPC64.
23644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23645         multiarch ceil for PPC64.
23646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23647         multiarch ceilf for PPC64.
23649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23650         multiarch implementation.
23651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23652         file.
23653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23654         file.
23655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23656         file.
23657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23658         multiarch llround for PPC64.
23659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23660         multiarch lround for PPC64.
23662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23663         multiarch implementation.
23664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23667         file.
23668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23671         multiarch isnan for PPC64.
23672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23673         multiarch isnanf for PPC64.
23675         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23676         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23677         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23678         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23679         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23682         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23683         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23688         multiarch implementations.
23689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23690         (__libc_ifunc_impl_list): Likewise.
23691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23692         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23693         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23694         multiarch stpcpy for PPC64.
23696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23697         multiarch implementations.
23698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23699         (__libc_ifunc_impl_list): Likewise.
23700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23701         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23702         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23703         multiarch strcpy for PPC64.
23705         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23706         redefine function name.
23707         (_wordcopy_fwd_dest_aligned): Likewise.
23708         (_wordcopy_bwd_aligned): Likewise.
23709         (_wordcopy_bwd_dest_aligned): Likewise.
23710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23711         multiarch implementations.
23712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23713         (__libc_ifunc_impl_list): Likewise.
23714         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23715         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23716         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23718         multiarch wcscpy for PPC64.
23720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23721         multiarch implementations.
23722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23723         (__libc_ifunc_impl_list): Likewise.
23724         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23725         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23726         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23727         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23728         multiarch wcscpy for PPC64.
23730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23731         multiarch implementations.
23732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23733         (__libc_ifunc_impl_list): Likewise.
23734         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23735         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23736         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23737         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23738         multiarch wcsrchr for PPC64.
23740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23741         multiarch implementations.
23742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23743         (__libc_ifunc_impl_list): Likewise.
23744         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23745         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23746         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23747         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23748         multiarch wcschr for PPC64.
23750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23751         multiarch implementations.
23752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23753         (__libc_ifunc_impl_list): Likewise.
23754         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23755         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23756         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23757         multiarch strchrnul for PPC64.
23759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23760         implementations.
23761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23762         (__libc_ifunc_impl_list): Likewise.
23763         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23764         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23765         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23766         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23767         strchr for PPC64.
23769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23770         implementations.
23771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23772         (__libc_ifunc_impl_list): Likewise.
23773         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23774         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23775         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23776         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23777         strncmp for PPC64.
23779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23780         multiarch implementations.
23781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23782         (__libc_ifunc_impl_list): Likewise.
23783         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23784         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23785         strncasecmp for PPC64.
23786         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23787         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23788         multiarch strncasecmp_l for PPC64.
23790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23791         multiarch implementations.
23792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23793         (__libc_ifunc_impl_list): Likewise.
23794         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23795         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23796         multiarch strcasecmp for PPC64.
23797         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23798         file.
23799         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23800         multiarch strcasecmp_l for PPC64.
23802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23803         implementations.
23804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23805         (__libc_ifunc_impl_list): Likewise.
23806         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23807         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23808         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23809         strnlen for PPC64.
23811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23812         implementations.
23813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23814         (__libc_ifunc_impl_list): Likewise.
23815         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23816         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23817         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23818         strlen for PPC64.
23820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23821         implementations.
23822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23823         (__libc_ifunc_impl_list): Likewise.
23824         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23825         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23826         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23827         rawmemrchr for PPC64.
23829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23830         implementation.
23831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23832         (__libc_ifunc_impl_list): Likewise.
23833         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23834         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23835         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23836         memrchr for PPC64.
23838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23839         implementation.
23840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23841         (__libc_ifunc_impl_list): Likewise.
23842         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23843         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23844         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23845         memchr for PPC64.
23847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23848         implementation.
23849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23850         (__libc_ifunc_impl_list): Likewise.
23851         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23852         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23853         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23854         mempcpy for PPC64.
23856         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23857         avoid cretion of __bzero symbol.
23858         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23859         Likewise.
23860         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23861         Likewise.
23862         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23863         Likewise.
23864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23865         multiarch implementations.
23866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23867         (__libc_ifunc_impl_list): Likewise.
23868         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23869         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23870         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23871         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23872         bzero for PPC32.
23873         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23874         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23875         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23876         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23877         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23878         memset for PPC64.
23879         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23881         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23883         implementations.
23884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23885         (__libc_ifunc_impl_list): Likewise.
23886         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23887         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23888         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23889         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23890         memcmp for PPC64.
23892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23893         multiarch for POWER/PPC64.
23894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23895         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23896         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23897         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23898         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23899         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23900         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23901         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23902         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23903         memcpy for PPC64.
23905         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23906         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23907         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23908         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23909         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23910         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23911         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23912         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23913         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23914         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23915         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23916         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23917         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23918         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23919         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23928 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23930         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23932 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23934         * benchtests/Makefile (bench): Add exp2 and log2.
23935         (LDLIBS-bench-exp2): Add -lm.
23936         (LDLIBS-bench-log2): Likewise.
23937         * benchtests/exp2-inputs: New inputs file.
23938         * benchtests/log2-inputs: New inputs file.
23939         * benchtests/log-inputs: Add new inputs.
23940         * benchtests/tan-inputs: Likewise.
23942 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23944         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23945         definition...
23946         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23947         (csloww2): ... from here.
23949         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23950         instead of structures.
23951         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23952         (POLYNOMIAL): Likewise.
23953         (TAYLOR_SLOW): Likewise.
23954         (__sin): Likewise.
23955         (__cos): Likewise.
23956         (slow1): Likewise.
23957         (slow2): Likewise.
23958         (sloww): Likewise.
23959         (sloww1); Likewise.
23960         (sloww2): Likewise.
23961         (bsloww1): Likewise.
23962         (bsloww2): Likewise.
23963         (cslow2): Likewise.
23964         (csloww): Likewise.
23965         (csloww1): Likewise.
23966         (csloww2): Likewise.
23968 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
23970         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23971         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23972         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23973         * malloc/hooks.c (realloc_check): Likewise.
23975         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23976         * malloc/arena.c: Remove PER_THREAD conditional.
23977         [!PER_THREAD]: Remove code.
23978         (ptmalloc_unlock_all2): Likewise.
23979         (ptmalloc_init): Likewise.
23980         (_int_new_arena): Likewise.
23981         (arena_get2): Likewise.
23982         * malloc/hooks.c (__malloc_get_state): Likewise.
23983         (__malloc_set_state): Likewise.
23984         * malloc/malloc.c: Likewise.
23985         (struct malloc_state): Likewise.
23986         (struct malloc_par): Likewise.
23987         (__libc_realloc): Likewise.
23988         (__libc_mallopt): Likewise.
23990 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23992         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23994 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
23996         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23997         macro to a function.  Check for zero perturb_byte.
23998         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24000         * malloc/malloc.c: (force_reg): Remove.
24001         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24002         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24003         force_reg by atomic_forced_read.
24004         * malloc/arena.c (ptmalloc_init): Likewise.
24005         * malloc/hooks.c (top_check): Likewise.
24007 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24011 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24015 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24017         * math/auto-libm-test-in: Add tests of lgamma.
24018         * math/auto-libm-test-out: Regenerated.
24019         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24020         (M_LOG_2_SQRT_PIl): Likewise.
24021         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24022         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24023         mpfr_f_f1.
24024         (func_calc_desc): Add mpfr_f_f1 union field.
24025         (ARGS1): New macro.
24026         (ARGS2): Likewise.
24027         (ARGS3): Likewise.
24028         (ARGS4): Likewise.
24029         (RET1): Likewise.
24030         (RET2): Likewise.
24031         (CALC): Likewise.
24032         (FUNC): Likewise.
24033         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24034         (test_functions): Add lgamma.
24035         (calc_generic_results): Handle mpfr_f_f1.
24036         * sysdeps/i386/fpu/libm-test-ulps: Update.
24037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24039 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24041         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24042         __mpn_add_n for PowerPC64/POWER7.
24043         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24044         __mpn_sub_n for PowerPC64/POWER7.
24046         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24047         __mpn_addmul_1 for PowerPC64.
24048         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24049         __mpn_submul_1 for PowerPC64.
24050         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24051         for PowerPC64.
24052         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24053         for PowerPC64.
24055 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24057         [BZ #15089]
24058         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24060 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24062         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24064         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24065         add multiarch folders.
24066         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24067         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24068         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24069         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24070         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24071         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24072         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24073         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24074         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24075         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24076         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24085         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24087         New file.
24088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24089         New file.
24090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24091         multiarch __ieee754_hypot for PowerPC32.
24092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24093         New file.
24094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24095         New file.
24096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24097         multiarch __ieee754_hypotf for PowerPC32.
24099         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24100         long_double_symbol only if __logbl is defined.
24101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24102         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24104         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24105         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24106         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24108         path for implementation.
24109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24110         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24112         logb, and logbl multiarch implementations for PowerPC32.
24113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24114         file.
24115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24116         file.
24117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24118         multiarch logb for PowerPC32.
24119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24120         file.
24121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24122         file.
24123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24124         multiarch logbf for PowerPC32.
24125         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24127         file.
24128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24129         multiarch logbl implementation for PowerPC32.
24131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24132         and modff multiarch implementations.
24133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24134         New file.
24135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24136         New file.
24137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24138         multiarch modf for PowerPC32.
24139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24140         New file.
24141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24142         New file.
24143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24144         multiarch modff for PowerPC32.
24146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24147         and lrintf multiarch implementations.
24148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24149         New file.
24150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24151         New file.
24152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24153         multiarch lrint for PowerPC32.
24154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24155         file: multiarch lrintf for PowerPC32.
24157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24158         and lroundf multiarch implementations.
24159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24160         New file.
24161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24162         New file.
24163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24164         New file.
24165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24166         multiarch lround for PowerPC32.
24167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24168         file: multiarch lroundf for PowerPC32.
24170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24171         copysign and copysignf multiarch implementations.
24172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24173         New file.
24174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24175         New file.
24176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24177         file: multiarch copysign for PowerPC32.
24178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24179         file: multiarch copysignf for PowerPC32.
24181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24182         and truncf multiarch implementations.
24183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24184         New file.
24185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24186         file.
24187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24188         multiarch trunc for PowerPC32.
24189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24190         New file.
24191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24192         New file.
24193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24194         multiarch truncf for PowerPC32.
24196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24197         and roundf multiarch implementations.
24198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24199         New file.
24200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24201         file.
24202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24203         multiarch round for PowerPC32.
24204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24205         New file.
24206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24207         New file.
24208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24209         multiarch roundf for PowerPC32.
24211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24212         and floorf multiarch implementations.
24213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24214         New file.
24215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24216         file.
24217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24218         multiarch floor for PowerPC32.
24219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24220         New file.
24221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24222         New file.
24223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24224         multiarch floorf for PowerPC32.
24226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24227         and ceilf multiarch implementations.
24228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24229         New file.
24230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24231         file.
24232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24233         multiarch ceil for PowerPC32.
24234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24235         New file.
24236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24237         file.
24238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24239         multiarch ceilf for PowerPC32.
24241         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24242         is defined.
24243         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24244         FINITEF is defined.
24245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24246         and finitef multiarch implementations.
24247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24248         New file.
24249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24250         file.
24251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24252         multiarch finite for PowerPC32.
24253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24254         New file.
24255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24256         file: multiarch finitef for PowerPC32.
24258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24259         and isinff multiarch implementations.
24260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24261         file.
24262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24263         file.
24264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24265         multiarch isinf for PowerPC32.
24266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24267         New file.
24268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24269         multiarch isinff for PowerPC32.
24271         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24272         alias when __isnan is defined.
24273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24274         and isnanf multiarch implementations.
24275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24276         file.
24277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24278         file.
24279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24280         file.
24281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24282         file.
24283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24284         multiarch isnan for PowerPC32.
24285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24286         New file.
24287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24288         New file.
24289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24290         multiarch isnanf for PowerPC32.
24292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24293         and sqrtf multiarch implementations.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24295         file.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24297         file.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24299         multiarch sqrt for PowerPC32.
24300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24301         file.
24302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24303         file.
24304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24305         multiarch sqrtf for PowerPC32.
24307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24308         and llroundf multiarch implementations.
24309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24310         New file.
24311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24312         New file.
24313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24314         New file.
24315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24316         file: multiarch llround for PowerPC32.
24317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24318         file: multiarch llroundf for PowerPC32.
24320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24321         multiarch PowerPC32 fpu implementations.
24322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24323         New file.
24324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24325         New file.
24326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24327         multiarch llrint for PowerPC32.
24328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24329         New file.
24330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24331         New file.
24332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24333         file.
24335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24337         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24338         file.
24339         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24340         file.
24341         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24342         file.
24343         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24344         multiarch wordcopy for PPC32.
24345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24346         wordcopy objects.
24347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24348         (__libc_ifunc_impl_list): Likewise.
24349         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24350         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24352         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24353         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24354         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24356         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24358         file.
24359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24360         file.
24361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24362         file.
24363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24364         multiarch wcscpy for PPC32.
24365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24366         multiarch objects.
24367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24368         (__libc_ifunc_impl_list): Likewise.
24369         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24370         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24371         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24372         sysdeps/powerpc/power6/wcscpy.c.
24374         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24376         file.
24377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24378         file.
24379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24380         file.
24381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24382         multiarch wcsrchr for PPC32.
24383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24384         multiarch objects.
24385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24386         (__libc_ifunc_impl_list): Likewise.
24387         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24388         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24389         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24390         sysdeps/powerpc/power6/wcsrchr.c.
24392         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24393         file.
24394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24395         file.
24396         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24398         multiarch wcschr for PPc32.
24399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24400         multiarch objects.
24401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24402         (__libc_ifunc_impl_list): Likewise.
24403         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24404         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24405         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24406         sysdeps/powerpc/power6/wcschr.c.
24408         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24409         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24410         file.
24411         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24412         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24413         file: multiarch strchr for PPC32.
24414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24415         multiarch objects.
24416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24417         (__libc_ifunc_impl_list): Likewise.
24419         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24420         name.
24421         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24422         file.
24423         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24424         file.
24425         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24426         multiarch strchrnul for PPC32.
24427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24428         multiarch objects.
24429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24430         (__libc_ifunc_impl_list): Likewise.
24432         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24433         file.
24434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24435         multiarch strncasecmp for PPC32.
24436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24437         file.
24438         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24439         multiarch strncasecmp_l for PPC32.
24440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24441         strncasecmp multiarch objects.
24442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24443         (__libc_ifunc_impl_list): Likewise.
24445         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24446         file.
24447         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24448         multiarch strncasecmp for PPC32.
24449         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24450         New file.
24451         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24452         multiarch strcasecmp_l for PPC32.
24453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24454         multiarch objects.
24455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24456         (__libc_ifunc_impl_list): Likewise.
24458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24459         file.
24460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24461         file.
24462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24463         multiarch strncmp for PPC32.
24464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24465         multiarch objects.
24466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24467         (__libc_ifunc_impl_list): Likewise.
24469         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24470         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24471         file.
24472         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24473         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24475         multiarch objects.
24476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24477         (__libc_ifunc_impl_list): Likewise.
24479         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24480         file.
24481         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24482         file.
24483         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24485         multiarch objects.
24486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24487         (__libc_ifunc_impl_list): Likewise.
24489         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24490         file.
24491         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24492         file.
24493         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24494         multiarch rawmemchr for PPC32.
24495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24496         multiarch objects.
24497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24498         (__libc_ifunc_impl_list): Likewise.
24500         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24501         file.
24502         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24503         file.
24504         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24505         file: memrchr multiarch for PPC32.
24506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24507         multiarch objects.
24508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24509         (__libc_ifunc_impl_list): Likewise.
24511         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24513         file.
24514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24515         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24516         multiarch memchr for PPC32.
24517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24518         multiarch objects.
24519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24520         (__libc_ifunc_impl_list): Likewise.
24522         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24523         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24524         file.
24525         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24526         file.
24527         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24528         file: multiarch mempcpy for PPC32.
24529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24530         multiarch objects.
24531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24532         (__libc_ifunc_impl_list): Likewise.
24534         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24536         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24537         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24538         multiarch bzero for PPC32.
24539         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24540         file.
24541         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24542         file.
24543         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24544         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24545         file: multiarch memset for PPC32.
24546         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24548         memset multiarch objects.
24549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24550         (__libc_ifunc_impl_list): Likewise.
24552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24553         file.
24554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24556         memcmp for PPC32.
24557         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24559         multiarch objects.
24560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24561         (__libc_ifunc_impl_list): Likewise.
24563         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24564         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24565         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24566         file.
24567         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24568         file.
24569         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24570         file.
24571         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24572         multiarch memcpy for PPC32.
24573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24574         multiarch objects.
24575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24576         (__libc_ifunc_impl_list): Likewise.
24578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24579         support multiarch for POWER/PPC32.
24580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24581         Likewise.
24582         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24584         Implies file to make multiarch folder appers before the fpu and
24585         default folder for power4 configuration.
24587 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24589         * scripts/bench.pl: Append volatile keyword to type.
24591 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24593         * sysdeps/sh/sotruss-lib.c: New file.
24594         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24596 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24600 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24602         [BZ #6810]
24603         * math/w_tgamma.c: Include <errno.h>.
24604         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24605         * math/w_tgammaf.c: Include <errno.h>.
24606         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24607         * math/w_tgammal.c: Include <errno.h>.
24608         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24609         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24610         underflow.  Add more tgamma tests.
24611         * math/auto-libm-test-out: Regenerated.
24612         * sysdeps/i386/fpu/libm-test-ulps: Update.
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24616         sin, sinh, tan, tanh, tgamma, y0 and y1.
24617         * math/auto-libm-test-out: Regenerated.
24618         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24619         (TEST_COND_x86): Likewise.
24620         (M_E2l): Remove macro.
24621         (M_E3l): Likewise.
24622         (M_2_SQRT_PIl): Likewise.
24623         (M_SQRT_PIl): Likewise.
24624         (M_1_DIV_El): Likewise.
24625         (log_test_data): Use AUTO_TESTS_f_f.
24626         (log10_test_data): Likewise.
24627         (log1p_test_data): Likewise.
24628         (log2_test_data): Likewise.
24629         (sin_test_data): Likewise.
24630         (sin_tonearest_test_data): Likewise.
24631         (sin_towardzero_test_data): Likewise.
24632         (sin_downward_test_data): Likewise.
24633         (sin_upward_test_data): Likewise.
24634         (sinh_test_data): Likewise.
24635         (sinh_tonearest_test_data): Likewise.
24636         (sinh_towardzero_test_data): Likewise.
24637         (sinh_downward_test_data): Likewise.
24638         (sinh_upward_test_data): Likewise.
24639         (tan_test_data): Likewise.
24640         (tan_tonearest_test_data): Likewise.
24641         (tan_towardzero_test_data): Likewise.
24642         (tan_downward_test_data): Likewise.
24643         (tan_upward_test_data): Likewise.
24644         (tanh_test_data): Likewise.
24645         (tgamma_test_data): Likewise.
24646         (y0_test_data): Likewise.
24647         (y1_test_data): Likewise.
24648         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24649         (special_real_inputs): Add pi/4.
24650         * sysdeps/i386/fpu/libm-test-ulps: Update.
24651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24653 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24655         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24656         "longjmp_target" static probes.
24657         (__longjmp): Rename to __longjmp_symbol.
24658         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24659         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24660         on which longjmp to generate.
24661         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24663         probe.
24664         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24665         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24666         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24667         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24668         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24669         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24671         __longjmp_symbol based on which __longjmp to generate.
24672         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24673         probe.
24674         (setjmp): Rename to setjmp_symbol.
24675         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24676         (_setjmp): Rename to _setjmp_symbol.
24677         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24678         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24679         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24680         which setjmp to generate.
24681         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24682         "longjmp_target" static probes.
24684 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24686         * benchtests/README: Add note about output arguments.
24687         * benchtests/bench-sincos.c: Remove file.
24688         * benchtests/sincos-inputs: New file.
24689         * scripts/bench.pl: Identify output arguments and define
24690         static variables for them.
24692         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24694         [BZ #15941]
24695         * Makefile (INSTALL): Add install-plain.texi as the primary
24696         dependency.
24697         * manual/install-plain.texi: New file.
24698         * manual/install.texi: Include node directive only for
24699         non-plaintext output.
24701 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24703         * stdlib/longlong.h: Update from GCC.
24705         [BZ #6807]
24706         [BZ #15901]
24707         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24708         * math/w_j0f.c (y0f): Likewise.
24709         * math/w_j0l.c (__y0l): Likewise.
24710         * math/w_j1.c (y1): Likewise.
24711         * math/w_j1f.c (y1f): Likewise.
24712         * math/w_j1l.c (__y1l): Likewise
24713         * math/w_jn.c (yn): Likewise.
24714         * math/w_jnf.c (ynf): Likewise.
24715         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24716         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24717         value for Bessel function domain errors outside _SVID_ mode.
24718         Adjust sign of return value for yn (negative integer, 0).
24719         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24720         by zero in return for negative x and set sign appropriately for
24721         negative n.
24722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24723         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24724         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24725         expectations in error cases.
24726         (y1_test_data): Likewise.
24727         (yn_test_data): Likewise.
24728         * sysdeps/i386/fpu/libm-test-ulps: Update.
24729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24733         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24734         "64" to "64-v1".  Add "64-v2".
24735         (abi-64-options): Rename to ...
24736         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24737         (abi-64-condition): Rename to ...
24738         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24739         (abi-64-ld-soname): Rename to ...
24740         (abi-64-v1-ld-soname): ... this.
24741         (abi-64-v2-options): Define.
24742         (abi-64-v2-condition): Likewise.
24743         (abi-64-v2-ld-soname): Likewise.
24744         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24745         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24750 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24751             Alan Modra  <amodra@gmail.com>
24753         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24754         New versions for use with the ELFv2 ABI.
24755         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24756         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24757         declaration.
24758         (struct La_ppc64v2_retval): Likewise.
24759         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24760         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24761         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24762         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24763         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24764         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24765         Do not save or restore CR.
24766         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24767         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24768         return values for ELFv2 ABI.  Fix location of FPR return registers.
24769         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24770         updated values for _CALL_ELF == 2.
24771         (La_regs, La_retval, int_retval): Likewise.
24773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24775         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24776         (FRAME_MIN_SIZE_PARM): Likewise.
24777         (FRAME_BACKCHAIN): Likewise.
24778         (FRAME_CR_SAVE): Likewise.
24779         (FRAME_LR_SAVE): Likewise.
24780         (FRAME_TOC_SAVE): Likewise.
24781         (FRAME_PARM_SAVE): Likewise.
24782         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24783         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24784         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24785         (call_mcount_parm_offset): New macro.
24786         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24787         (PROF): Use symbolic stack frame offsets.
24788         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24789         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24790         Redefine in terms of FRAME_MIN_SIZE.
24791         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24792         (_dl_profile_resolve): Likewise.  Update comment.
24793         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24794         symbols stack frame offsets.
24795         (__sigsetjmp): Likewise.
24796         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24797         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24798         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24799         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24802         (FRAME_BACKCHAIN): Remove.
24803         (FRAME_CR_SAVE): Likewise.
24804         (FRAME_LR_SAVE): Likewise.
24805         (FRAME_COMPILER_DW): Likewise.
24806         (FRAME_LINKER_DW): Likewise.
24807         (FRAME_TOC_SAVE): Likewise.
24808         (FRAME_PARM_SAVE): Likewise.
24809         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24810         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24811         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24813         (CHECK_SP): Use symbolic stack frame offsets.
24814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24815         zone" instead of caller's parameter save area for temp storage.
24816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24817         Likewise.  Also, use symbolic stack frame offsets.
24818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24819         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24820         our own stack frame instead of the caller's.
24821         (__socket): Use symbolic stack frame offsets.
24823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24824             Alan Modra  <amodra@gmail.com>
24826         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24827         Define.
24828         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24829         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24830         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24831         New function.
24832         (elf_machine_fixup_plt): Call it.
24833         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24834         reloc arguments.
24835         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24836         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24837         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24838         r2 before calling target.
24840 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24841             Alan Modra  <amodra@gmail.com>
24843         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24844         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24845         versions of macros to support ELFv2 ABI.
24846         (LOCALENTRY): New macro.
24847         (ENTRY, EALIGN): Use it.
24848         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24849         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24850         fall through into ENTRY entry point.
24851         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24852         Only define if _CALL_ELF != 2.
24854         (elf_machine_matches_host): Verify ABI version matches.
24855         (RTLD_START): Use LOCALENTRY.
24856         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24857         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24858         (PLT_ENTRY_WORDS): New macro.
24859         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24860         (elf_machine_runtime_setup): Support ELFv2 ABI.
24861         (elf_machine_fixup_plt): Likewise.
24862         (elf_machine_plt_conflict): Likewise.
24863         (resolve_ifunc): Likewise.
24864         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24865         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24866         Likewise.
24867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24868         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24870         (makecontext): Support ELFv2 ABI.
24871         * elf/elf.h (EF_PPC64_ABI): Define.
24873 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24875         * sysdeps/powerpc/powerpc64/sysdep.h
24876         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24877         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24878         (ENTRY) [ASSEMBLER]: ... but instead here ...
24879         (EALIGN) [ASSEMBLER]: ... and here.
24880         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24881         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24882         (ENTRY_2) [!ASSEMBLER]: Use it.
24883         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24884         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24885         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24886         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24887         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24889         Use PPC64_LOAD_FUNCPTR.
24891         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24893 2013-12-04  Alan Modra  <amodra@gmail.com>
24895         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24896         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24897         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24898         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24900         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24901         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24902         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24903         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24904         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24905         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24907 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24910         (__makecontext): Fix incorrect CFI when backtracing out of
24911         context created via makecontext.
24912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24913         (__setcontext): Fix incorrect CFI during switch to new context.
24914         (__novec_setcontext): Likewise.
24916 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24918         [BZ #4772]
24919         * time/strptime_l.c (__strptime_internal): Allow modifiers
24920         in strptime.
24921         * time/tst-strptime.c (day_tests): Add testcase.
24923 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24925         * scripts/bench.pl: Skip over blank lines.
24927 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24929         [BZ #926]
24930         * manual/time.texi (Calendar Time): Clarify what timezone functions
24931         use.
24933 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24937 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24939         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24940         implementation.
24941         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24942         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24943         * debug/memset_chk.c (__memset_chk): Likewise.
24944         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24945         * debug/strncpy_chk.c: Likewise.
24947 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24949         [BZ #15268]
24950         [BZ #15425]
24951         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24952         (__ieee754_exp): For possibly underflowing results, check size of
24953         result and force underflow exception if required.
24954         * math/auto-libm-test-in: Add more tests of exp.
24955         * math/auto-libm-test-out: Regenerated.
24956         * sysdeps/i386/fpu/libm-test-ulps: Update.
24957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24959         [BZ #16283]
24960         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24961         * math/w_exp2f.c (__exp2f): Likewise.
24962         * math/w_exp2l.c (__exp2l): Likewise.
24963         * math/auto-libm-test-in: Do not allow missing errno on exp2
24964         underflow.
24965         * math/auto-libm-test-out: Regenerated.
24967 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
24969         [BZ #16274]
24970         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24971         handle filename validation.
24972         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24973         (do_open): Delete.
24975 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
24977         [BZ #6786]
24978         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24979         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24980         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24981         <float.h>.
24982         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24983         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24984         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24985         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24986         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24987         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24988         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24989         * math/auto-libm-test-in: Don't allow missing errno from erfc.
24990         Add more erfc tests.
24991         * math/auto-libm-test-out: Regenerated.
24992         * sysdeps/i386/fpu/libm-test-ulps: Update.
24993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24996         exp2, expm1, j0 and j1.
24997         * math/auto-libm-test-out: Regenerated.
24998         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24999         (erfc_test_data): Likewise.
25000         (exp_test_data): Likewise.
25001         (exp_tonearest_test_data): Likewise.
25002         (exp_towardzero_test_data): Likewise.
25003         (exp_downward_test_data): Likewise.
25004         (exp_upward_test_data): Likewise.
25005         (exp10_test_data): Likewise.
25006         (exp2_test_data): Likewise.
25007         (expm1_test_data): Likewise.
25008         (j0_test_data): Likewise.
25009         (j1_test_data): Likewise.
25010         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25011         (input_flag_type): Add flag_xfail_rounding.
25012         (input_flags): Add xfail-rounding.
25013         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25014         (output_for_one_input_case): Handle flag_xfail_rounding.
25015         * sysdeps/i386/fpu/libm-test-ulps: Update.
25016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25018 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25020         [BZ #16289]
25021         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25022         division by 0.
25024 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25026         [BZ #16195]
25027         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25028         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25029         (STAP_PROBE0): New macro.
25030         (STAP_PROBE1): Likewise.
25031         (STAP_PROBE2): Likewise.
25032         (STAP_PROBE3): Likewise.
25033         (STAP_PROBE4): Likewise.
25035 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25037         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25039 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25041         * benchtests/Makefile (bench): Add sqrt.
25042         (LDLIBS-bench-sqrt): New.
25043         * benchtests/sqrt-input: New.
25045 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25047         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25048         (GAIH_EAI): Likewise.
25049         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25050         (gaih_inet): Likewise.
25051         (getaddrinfo): Don't use GAIH_EAI.
25053         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25054         (struct gaih): Remove definition.
25056 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25058         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25059         Use HERRNOP directly.
25061 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25065 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25067         * math/gen-auto-libm-tests.c (test_functions): Add more
25068         single-argument functions.
25069         (special_fill_pi_2): New function.
25070         (special_fill_minus_pi_2): Likewise.
25071         (special_fill_pi_6): Likewise.
25072         (special_fill_minus_pi_6): Likewise.
25073         (special_fill_pi_3): Likewise.
25074         (special_fill_2pi_3): Likewise.
25075         (special_fill_e): Likewise.
25076         (special_fill_1_e): Likewise.
25077         (special_fill_e_minus_1): Likewise.
25078         (special_real_inputs): Add more special inputs.
25079         (output_for_one_input_case): Do not require ERANGE on underflow to
25080         zero if round-to-nearest result does not underflow to zero, unless
25081         exact results required.
25082         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25083         atan, atanh, cbrt, cos and cosh.
25084         * math/auto-libm-test-out: Regenerated.
25085         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25086         (acos_tonearest_test_data): Likewise.
25087         (acos_towardzero_test_data): Likewise.
25088         (acos_downward_test_data): Likewise.
25089         (acos_upward_test_data): Likewise.
25090         (acosh_test_data): Likewise.
25091         (asin_test_data): Likewise.
25092         (asin_tonearest_test_data): Likewise.
25093         (asin_towardzero_test_data): Likewise.
25094         (asin_upward_test_data): Likewise.
25095         (asinh_test_data): Likewise.
25096         (atan_test_data): Likewise.
25097         (atanh_test_data): Likewise.
25098         (cbrt_test_data): Likewise.
25099         (cos_test_data): Likewise.
25100         (cos_tonearest_test_data): Likewise.
25101         (cos_towardzero_test_data): Likewise.
25102         (cos_downward_test_data): Likewise.
25103         (cos_upward_test_data): Likewise.
25104         (cosh_test_data): Likewise.
25105         (cosh_tonearest_test_data): Likewise.
25106         (cosh_towardzero_test_data): Likewise.
25107         (cosh_downward_test_data): Likewise.
25108         (cosh_upward_test_data): Likewise.
25109         * sysdeps/i386/fpu/libm-test-ulps: Update.
25110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25112 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25114         [BZ #6787]
25115         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25116         * math/w_exp10f.c (__exp10f): Likewise.
25117         * math/w_exp10l.c (__exp10l): Likewise.
25118         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25119         errno settings in existing tests.
25121         [BZ #14032]
25122         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25123         precision control set to double precision.
25124         * sysdeps/i386/fpu/w_sqrt.c: New file.
25125         * math/auto-libm-test-in: Add more tests.
25126         * math/auto-libm-test-out: Update.
25128         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25129         (sqrt_test_tonearest): New function.
25130         (sqrt_towardzero_test_data): New variable.
25131         (sqrt_test_towardzero): New function.
25132         (sqrt_downward_test_data): New variable.
25133         (sqrt_test_downward): New function.
25134         (sqrt_upward_test_data): New variable.
25135         (sqrt_test_upward): New function.
25136         (main): Call the new functions.
25138         * math/gen-auto-libm-tests.c: New file.
25139         * math/auto-libm-test-in: Likewise.
25140         * math/auto-libm-test-out: New generated file.
25141         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25142         variables.
25143         (%beautify): Add generated representations of zero.
25144         (top level): Set $auto_input and call parse_auto_input.
25145         (beautify): Remove trailing "f" from hex float constants.
25146         (parse_args): Handle XFAIL_TEST.
25147         (convert_condition): New function.
25148         (or_value): Likewise.
25149         (or_cond_value): Likewise.
25150         (generate_testfile): Handle AUTO_TESTS_* lines.
25151         (parse_auto_input): New function.
25152         * math/libm-test.inc (XFAIL_TEST): New macro.
25153         (ERRNO_UNCHANGED): Update value.
25154         (ERRNO_EDOM): Likewise.
25155         (ERRNO_ERANGE): Likewise.
25156         (IGNORE_RESULT): Likewise.
25157         (TEST_COND_flt_32): New macro.
25158         (TEST_COND_dbl_64): Likewise.
25159         (TEST_COND_ldbl_96_intel): Likewise.
25160         (TEST_COND_ldbl_96_m68k): Likewise.
25161         (TEST_COND_ldbl_128): Likewise.
25162         (TEST_COND_ldbl_128ibm): Likewise.
25163         (TEST_COND_long32): Likewise.
25164         (TEST_COND_long64): Likewise.
25165         (TEST_COND_before_rounding): Likewise.
25166         (TEST_COND_after_rounding): Likewise.
25167         (enable_test): Handle XFAIL_TEST flag.
25168         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25169         with finite results.
25170         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25171         auto-libm-test-out.
25173 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25174             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25176         [BZ #16214]
25177         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25178         __tls_get_addr_internal instead of __tls_get_offset in order to
25179         avoid GOT pointer dependency.  Make rtld export
25180         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25181         __tls_get_addr since we are a __tls_get_offset platform.
25182         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25183         GOT pointer being set up before.
25184         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25186 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25188         * manual/math.texi (Errors in Math Functions): Document accuracy
25189         goals.
25191         [BZ #15004]
25192         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25193         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25194         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25196         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25198         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25199         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25200         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25201         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25202         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25203         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25204         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25205         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25206         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25207         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25209         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25210         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25211         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25212         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25213         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25214         Likewise.
25215         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25216         Likewise.
25217         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25218         Likewise.
25219         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25221         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25222         atomic-feupdateenv and flt-rounds.
25223         * sysdeps/powerpc/nofpu/Versions (libc): Add
25224         __atomic_feholdexcept, __atomic_feclearexcept,
25225         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25226         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25227         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25228         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25229         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25230         here.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25232         Update.
25234         * manual/arith.texi (FP Exceptions): Document that exceptions may
25235         not be raised when matherr is used.
25236         (Math Error Reporting): Document overflow in directed rounding
25237         modes.  Document that errno may not be set when finite values are
25238         returned on overflow.  Document intent to set errno on underflow
25239         only for underflow to zero.
25241         [BZ #16271]
25242         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25243         round-to-nearest then adjust result for other rounding modes.
25244         * include/fenv.h (fegetround): Use libm_hidden_proto.
25245         * math/fegetround.c (fegetround): Use libm_hidden_def.
25246         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25247         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25248         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25250         Likewise.
25251         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25252         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25253         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25254         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25256 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25258         [BZ #16077]
25259         * nss/Versions (libnss_files): Add
25260         _nss_files_gethostbyname3_r.
25261         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25262         New function.
25263         (HOST_DB_LOOKUP): Remove macro.
25264         (_nss_files_gethostbyname_r): Implement function without the
25265         HOST_DB_LOOKUP macro.
25266         (_nss_files_gethostbyname2_r): Likewise.
25268 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25270         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25272 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25274         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25275         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25276         warning.
25278 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25280         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25281         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25282         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25283         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25284         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25285         __fe_nomask_env_priv and attribute_hidden.
25286         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25287         (libc_feupdateenv_test_ppc): Likewise.
25288         (libc_feresetround_ppc): Likewise.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25290         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25291         compat_symbol macro.
25292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25293         (__fe_nomask_env): Likewise.
25294         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25296 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25298         * string/Makefile: Remove ifunc tests.
25299         * string/test-string.h: Define TEST_IFUNC.
25300         * string/test-bcopy-ifunc.c: Remove.
25301         * string/test-bzero-ifunc.c: Likewise.
25302         * string/test-memccpy-ifunc.c: Likewise.
25303         * string/test-memchr-ifunc.c: Likewise.
25304         * string/test-memcmp-ifunc.c: Likewise.
25305         * string/test-memcpy-ifunc.c: Likewise.
25306         * string/test-memmem-ifunc.c: Likewise.
25307         * string/test-memmove-ifunc.c: Likewise.
25308         * string/test-mempcpy-ifunc.c: Likewise.
25309         * string/test-memrchr-ifunc.c: Likewise.
25310         * string/test-memset-ifunc.c: Likewise.
25311         * string/test-rawmemchr-ifunc.c: Likewise.
25312         * string/test-stpcpy-ifunc.c: Likewise.
25313         * string/test-stpncpy-ifunc.c: Likewise.
25314         * string/test-strcasecmp-ifunc.c: Likewise.
25315         * string/test-strcasestr-ifunc.c: Likewise.
25316         * string/test-strcat-ifunc.c: Likewise.
25317         * string/test-strchr-ifunc.c: Likewise.
25318         * string/test-strchrnul-ifunc.c: Likewise.
25319         * string/test-strcmp-ifunc.c: Likewise.
25320         * string/test-strcpy-ifunc.c: Likewise.
25321         * string/test-strcspn-ifunc.c: Likewise.
25322         * string/test-strlen-ifunc.c: Likewise.
25323         * string/test-strncasecmp-ifunc.c: Likewise.
25324         * string/test-strncat-ifunc.c: Likewise.
25325         * string/test-strncmp-ifunc.c: Likewise.
25326         * string/test-strncpy-ifunc.c: Likewise.
25327         * string/test-strnlen-ifunc.c: Likewise.
25328         * string/test-strpbrk-ifunc.c: Likewise.
25329         * string/test-strrchr-ifunc.c: Likewise.
25330         * string/test-strspn-ifunc.c: Likewise.
25331         * string/test-strstr-ifunc.c: Likewise.
25333 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25335         * benchtests/Makefile: Remove ifunc tests.
25336         * benchtests/bench-string.h: Define TEST_IFUNC.
25337         * benchtests/bench-bcopy-ifunc.c: Remove.
25338         * benchtests/bench-bzero-ifunc.c: Likewise.
25339         * benchtests/bench-memccpy-ifunc.c: Likewise.
25340         * benchtests/bench-memchr-ifunc.c: Likewise.
25341         * benchtests/bench-memcmp-ifunc.c: Likewise.
25342         * benchtests/bench-memcpy-ifunc.c: Likewise.
25343         * benchtests/bench-memmem-ifunc.c: Likewise.
25344         * benchtests/bench-memmove-ifunc.c: Likewise.
25345         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25346         * benchtests/bench-memrchr-ifunc.c: Likewise.
25347         * benchtests/bench-memset-ifunc.c: Likewise.
25348         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25349         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25350         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25351         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25352         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25353         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25354         * benchtests/bench-strcat-ifunc.c: Likewise.
25355         * benchtests/bench-strchr-ifunc.c: Likewise.
25356         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25357         * benchtests/bench-strcmp-ifunc.c: Likewise.
25358         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25359         * benchtests/bench-strcpy-ifunc.c: Likewise.
25360         * benchtests/bench-strcspn-ifunc.c: Likewise.
25361         * benchtests/bench-strlen-ifunc.c: Likewise.
25362         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25363         * benchtests/bench-strncat-ifunc.c: Likewise.
25364         * benchtests/bench-strncmp-ifunc.c: Likewise.
25365         * benchtests/bench-strncpy-ifunc.c: Likewise.
25366         * benchtests/bench-strnlen-ifunc.c: Likewise.
25367         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25368         * benchtests/bench-strrchr-ifunc.c: Likewise.
25369         * benchtests/bench-strsep-ifunc.c: Likewise.
25370         * benchtests/bench-strspn-ifunc.c: Likewise.
25371         * benchtests/bench-strstr-ifunc.c: Likewise.
25373 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25375         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25377 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25379         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25380         * rt/aio.h: Likewise.
25381         * sysdeps/gnu/bits/utmp.h: Likewise.
25382         * sysdeps/gnu/bits/utmpx.h: Likewise.
25383         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25384         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25385         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25386         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25387         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25388         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25389         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25390         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25391         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25392         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25393         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25394         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25395         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25397         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25398         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25399         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25400         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25401         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25402         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25403         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25404         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25405         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25406         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25407         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25409         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25410         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25411         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25412         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25413         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25414         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25415         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25416         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25417         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25418         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25419         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25420         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25421         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25422         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25423         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25424         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25426 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25428         [BZ #16245]
25429         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25430         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25432 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25434         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25435         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25436         Likewise.
25438 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25440         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25441         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25442         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25443         (__fesetround): Remove define.
25444         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25445         rounding and exceptions handling.
25446         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25447         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25448         (__fe_nomask_env): Likewise.
25449         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25450         __fegetround instead of fegetround.
25451         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25452         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25454 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25456         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25457         it's there.
25459         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25461 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25463         [BZ #11157]
25464         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25465         (encrypt_r): Likewise.
25466         * malloc/obstack.h (obstack_free): Likewise.
25467         * posix/unistd.h (encrypt): Likewise.
25469 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25471         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25472         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25473         DL_CALL_DT_FINI() that call the functions directly.
25474         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25475         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25476         * elf/dl-fini.c: Likewise.
25478 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25480         * malloc/hooks.c (memalign_check): Add alignment rounding.
25481         * malloc/malloc.c (_mid_memalign): New function.
25482         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25483         Implement by calling _mid_memalign.
25484         * manual/probes.texi (Memory Allocation Probes): Remove
25485         memory_valloc_retry and memory_pvalloc_retry.
25487 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25489         * locale/programs/locarchive.c (open_archive): Add const
25490         qualifier to ARCHIVEFNAME and copy default fname to
25491         DEFAULT_FNAME.
25493         [BZ #15601]
25494         * libio/tst-widetext.input: Rename Oriya to Odia.
25495         * locale/iso-639.def: Likewise.
25497         * manual/probes.texi (Mathematical Function Probes): Add
25498         documentation for sin, cos, asin and acos probes.
25499         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25500         (__sin32): Add slowasin probe.
25501         (__cos32): Add slowacos probe.
25502         (__mpsin): Add slowsin probe.
25503         (__mpcos): Add slowcos probe.
25505 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25507         [BZ #15483]
25508         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25509         thread-local __sim_exceptions_thread and global
25510         __sim_exceptions_global.
25511         (__sim_disabled_exceptions): Change to thread-local
25512         __sim_disabled_exceptions_thread and global
25513         __sim_disabled_exceptions_global.
25514         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25515         and global __sim_round_mode_global.
25516         (__simulate_exceptions): Use thread-local floating-point state and
25517         set global state from it as needed.
25518         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25519         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25520         __sim_round_mode_thread.
25521         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25522         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25523         and global __sim_exceptions_global.
25524         (__sim_disabled_exceptions): Change to thread-local
25525         __sim_disabled_exceptions_thread and global
25526         __sim_disabled_exceptions_global.
25527         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25528         and global __sim_round_mode_global.
25529         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25530         (SIM_SET_GLOBAL): Likewise.
25531         * sysdeps/powerpc/soft-fp/sfp-machine.h
25532         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25533         __sim_round_mode_thread.
25534         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25535         __sim_disabled_exceptions_thread.
25536         (__sim_exceptions): Change to __sim_exceptions_thread.
25537         (__sim_disabled_exceptions): Change to
25538         __sim_disabled_exceptions_thread.
25539         (__sim_round_mode): Change to __sim_round_mode_thread.
25540         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25541         thread-local floating-point state and set global state from it as
25542         needed.
25543         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25544         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25545         (__sim_disabled_exceptions): Remove extern declaration.
25546         (feenableexcept): Use thread-local floating-point state and set
25547         global state from it as needed.
25548         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25549         extern declaration.
25550         (__sim_disabled_exceptions): Likewise.
25551         (__sim_round_mode): Likewise.
25552         (__fegetenv): Use thread-local floating-point state.
25553         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25554         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25555         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25556         floating-point state and set global state from it as needed.
25557         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25558         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25559         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25560         Likewise.
25561         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25562         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25563         Likewise.
25564         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25565         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25566         Use __sim_round_mode_thread.
25567         * math/test-fenv-tls.c: New file.
25568         * math/Makefile (tests): Add test-fenv-tls.
25569         ($(objpfx)test-fenv-tls): Depend on
25570         $(common-objpfx)nptl/libpthread.so.
25572 2013-11-19  Andreas Schwab  <schwab@suse.de>
25574         * locale/programs/locale.c (show_info): Decode wordarray elements.
25575         * locale/categories.def (LC_MONETARY): Add element for
25576         _NL_MONETARY_CRNCYSTR.
25577         * locale/C-monetary.c (conversion_rate): New variable.
25578         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25579         element.
25581 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25583         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25584         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25586 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25588         * elf/Makefile (tst-auxv): New test.
25589         * elf/tst-auxv.c: New
25590         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25592 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25594         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25595         (hidden_proto): Caller changed.
25596         (hidden_tls_proto): New macro.
25597         (libc_hidden_tls_proto): Likewise.
25598         (rtld_hidden_tls_proto): Likewise.
25599         (libm_hidden_tls_proto): Likewise.
25600         (libresolv_hidden_tls_proto): Likewise.
25601         (librt_hidden_tls_proto): Likewise.
25602         (libdl_hidden_tls_proto): Likewise.
25603         (libnss_files_hidden_tls_proto): Likewise.
25604         (libnsl_hidden_tls_proto): Likewise.
25605         (libnss_nisplus_hidden_tls_proto): Likewise.
25606         (libutil_hidden_tls_proto): Likewise.
25608 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25610         [BZ #10253]
25611         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25612         (decompose_rpath): Defer expansion to fillin_rpath.
25613         (_dl_init_paths): Pass linkmap to fillin_rpath.
25615 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25617         * benchtests/Makefile: Add strsep.
25618         * benchtests/bench-strsep.c: New file: strsep benchtest.
25619         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25621 2013-11-18  Andreas Schwab  <schwab@suse.de>
25623         * locale/programs/locale.c (show_info) [case byte]: Check for
25624         '\377' instead of '\177'.
25625         * locale/C-monetary.c (not_available): Always use "\377".
25626         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25627         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25628         detect unavailable sign_posn locale elements.
25629         * locale/localeconv.c (__localeconv): For grouping and
25630         mon_grouping handle "\177" and "\377" like no grouping.
25631         (INT_ELEM): New macro.  Use it to set all numeric members.
25632         * locale/programs/ld-monetary.c (monetary_read)
25633         <tok_mon_grouping>: Normalize single -1 to the empty string.
25634         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25635         Likewise.
25637 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25639         [BZ #16055]
25640         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25641         when we match (nil).
25642         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25644 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25646         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25647         (NO_TEST_INLINE): Update value.
25648         (ERRNO_UNCHANGED): Likewise.
25649         (ERRNO_EDOM): Likewise.
25650         (ERRNO_ERANGE): Likewise.
25651         (IGNORE_RESULT): Likewise.
25652         (check_float_internal): Check signs of NaN results if
25653         TEST_NAN_SIGN used.
25654         (check_complex): Pass TEST_NAN_SIGN flag through to second
25655         check_float_internal call.
25656         (copysign_test_data): Add tests with quiet NaNs as second
25657         argument.  Use TEST_NAN_SIGN.
25658         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25659         TEST_NAN_SIGN.
25660         (signbit_test_data): Add tests of quiet NaN argument.
25661         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25663         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25664         $ignore_result.
25665         (parse_args): Handle function results specified as IGNORE.
25666         * math/libm-test.inc (IGNORE_RESULT): New macro.
25667         (check_float_internal): Do not check numerical result if flag
25668         IGNORE_RESULT set.
25669         (check_complex): Pass through IGNORE_RESULT to second
25670         check_float_internal call.
25671         (check_int): Do not check numerical result if flag IGNORE_RESULT
25672         set.
25673         (check_long): Likewise.
25674         (check_bool): Likewise.
25675         (check_longlong): Likewise.
25676         (lrint_test_data): Add tests of infinite and NaN arguments.
25677         (lrint_tonearest_test_data): Likewise.
25678         (lrint_towardzero_test_data): Likewise.
25679         (lrint_downward_test_data): Likewise.
25680         (lrint_upward_test_data): Likewise.
25681         (llrint_test_data): Likewise.
25682         (llrint_tonearest_test_data): Likewise.
25683         (llrint_towardzero_test_data): Likewise.
25684         (llrint_downward_test_data): Likewise.
25685         (llrint_upward_test_data): Likewise.
25686         (lround_test_data): Likewise.
25687         (llround_test_data): Likewise.
25689         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25690         (ERRNO_UNCHANGED): Update value.
25691         (ERRNO_EDOM): Likewise.
25692         (ERRNO_ERANGE): Likewise.
25693         (NO_TEST_INLINE_FLOAT): New macro.
25694         (NO_TEST_INLINE_DOUBLE): Likewise.
25695         (enable_test): New function.
25696         (RUN_TEST_f_f): Check enable_test before running test.
25697         (RUN_TEST_2_f): Likewise.
25698         (RUN_TEST_fff_f): Likewise.
25699         (RUN_TEST_c_f): Likewise.
25700         (RUN_TEST_f_f1): Likewise.
25701         (RUN_TEST_fF_f1): Likewise.
25702         (RUN_TEST_fI_f1): Likewise.
25703         (RUN_TEST_ffI_f1): Likewise.
25704         (RUN_TEST_c_c): Likewise.
25705         (RUN_TEST_cc_c): Likewise.
25706         (RUN_TEST_f_i): Likewise.
25707         (RUN_TEST_f_i_tg): Likewise.
25708         (RUN_TEST_ff_i_tg): Likewise.
25709         (RUN_TEST_f_b): Likewise.
25710         (RUN_TEST_f_b_tg): Likewise.
25711         (RUN_TEST_f_l): Likewise.
25712         (RUN_TEST_f_L): Likewise.
25713         (RUN_TEST_fFF_11): Likewise.
25714         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25715         conditionals.
25716         (cosh_test_data): Likewise.
25717         (exp_test_data): Likewise.
25718         (expm1_test_data): Likewise.
25719         (hypot_test_data): Likewise.
25720         (pow_test_data): Likewise.
25721         (sinh_test_data): Likewise.
25722         (tanh_test_data): Likewise.
25723         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25724         flags argument.
25726         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25727         tests with quiet NaN input and output.
25728         (acosh_test_data): Likewise.
25729         (asin_test_data): Likewise.
25730         (asinh_test_data): Likewise.
25731         (atan_test_data): Likewise.
25732         (atanh_test_data): Likewise.
25733         (atan2_test_data): Likewise.
25734         (cbrt_test_data): Likewise.
25735         (cos_test_data): Likewise.
25736         (cosh_test_data): Likewise.
25737         (erf_test_data): Likewise.
25738         (erfc_test_data): Likewise.
25739         (exp_test_data): Likewise.
25740         (exp10_test_data): Likewise.
25741         (exp2_test_data): Likewise.
25742         (expm1_test_data): Likewise.
25743         (hypot_test_data): Likewise.
25744         (j0_test_data): Likewise.
25745         (j1_test_data): Likewise.
25746         (jn_test_data): Likewise.
25747         (lgamma_test_data): Likewise.
25748         (log_test_data): Likewise.
25749         (log10_test_data): Likewise.
25750         (log1p_test_data): Likewise.
25751         (log2_test_data): Likewise.
25752         (pow_test_data): Likewise.
25753         (scalb_test_data): Likewise.
25754         (sin_test_data): Likewise.
25755         (sincos_test_data): Likewise.
25756         (sinh_test_data): Likewise.
25757         (tan_test_data): Likewise.
25758         (tanh_test_data): Likewise.
25759         (tgamma_test_data): Likewise.
25760         (y0_test_data): Likewise.
25761         (y1_test_data): Likewise.
25762         (yn_test_data): Likewise.
25764         [BZ #16167]
25765         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25766         argument being NaN and avoid computations with second argument in
25767         that case.
25768         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25769         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25770         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25772 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25774         * locale/iso-639.def: Add Chitwani Tharu (the).
25776 2013-11-14  Andreas Schwab  <schwab@suse.de>
25778         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25779         word instead of empty string.
25781 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25784         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25786         (__fe_nomask_env): Likewise.
25788 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25790         * benchtests/bench-timing.h: Include time.h.
25792 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25794         [BZ #15997]
25795         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25796         to 3.4.0 for x32.
25797         * sysdeps/unix/sysv/linux/configure: Regenerated.
25799 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25801         [BZ #16151]
25802         * stdlib/strtod_l.c (round_and_return): Do not consider
25803         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25804         exponent one less than half the least subnormal exponent.
25805         * stdlib/test-strtod-round-data: Add more tests.
25806         * stdlib/tst-strtod-round.c (tests): Regenerated.
25808 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25810         [BZ #14143]
25811         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25812         (__fe_mask_env): Likewise.
25813         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25814         libm_hidden_proto and add function prototype.
25815         (__fe_mask_env): Add function prototype.
25816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25817         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25819         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25821         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25823 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25825         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25826         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25828 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25830         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25831         of htab_find_slot().
25833 2013-11-11  David S. Miller  <davem@davemloft.net>
25835         [BZ #16150]
25836         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25837         symbol in the non-vis3 case in static builds.
25838         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25839         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25840         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25841         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25843 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25845         [BZ #387]
25846         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25847         it is empty.
25849 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25851         * benchtests/Makefile: Add bench-strtod.
25852         * benchtests/bench-strtod.c: New file: strtod benchtest
25854 2013-11-11  Andreas Schwab  <schwab@suse.de>
25856         [BZ #16153]
25857         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25858         terminating NUL in key length.
25860 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25862         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25863         Add artificial ODP entry for vDSO symbol for PPC64.
25864         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25865         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25867 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25869         [BZ #15374]
25870         * nss/getent.c (services_keys): Recognize services starting with digit.
25872 2013-11-06  David S. Miller  <davem@davemloft.net>
25874         [BZ #15985]
25875         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25876         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25878 2013-11-06  Will Newton  <will.newton@linaro.org>
25880         * manual/memory.texi (Malloc Examples): Remove register
25881         keyword from examples.
25883 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25885         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25887 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #6981]
25890         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25891         depending on [__GCC_IEC_559 > 0].
25892         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25893         depending on [__GCC_IEC_559_COMPLEX > 0].
25895 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25897         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25898         to iso-639.def.
25900 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25902         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25904 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25906         [BZ #16112]
25907         * malloc/malloc (malloc_info): Do not handle first bin as
25908         special case.
25910 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25912         * locale/iso-639.def: Add Central Nahuatl (nhn).
25914 2013-11-01  Bruno Haible  <bruno@clisp.org>
25916         [BZ #7003]
25917         * manual/math.texi (BSD Random): Specify range upper bound as
25918         in POSIX.
25920 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25922         * locale/iso-639.def: Add Meadow Mari (mhr).
25924 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
25926         [BZ #14752], [BZ #15763]
25927         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25928         Validate name.
25929         * rt/tst_shm.c: Add test for escaping directory.
25931 2013-10-31  Andreas Schwab  <schwab@suse.de>
25933         [BZ #15917]
25934         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25935         followed by 'x' as part of digit sequence.
25936         * stdio-common/tst-sscanf.c (double_tests2): New tests.
25938 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25940         [BZ #16037]
25941         * configure.ac: allow GNU Make 4.0 and greater.
25942         * configure: Regenerated.
25944 2013-10-30  Will Newton  <will.newton@linaro.org>
25946         [BZ #16038]
25947         * malloc/hooks.c (memalign_check): Limit alignment to the
25948         maximum representable power of two.
25949         * malloc/malloc.c (__libc_memalign): Likewise.
25950         * malloc/tst-memalign.c (do_test): Add test for very
25951         large alignment values.
25952         * malloc/tst-posix_memalign.c (do_test): Likewise.
25954 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25956         [BZ #11087]
25957         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25958         (munmap_chunk): Likewise.
25959         (mremap_chunk): Likewise.
25961 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
25963         [BZ #15799]
25964         * stdlib/div.c (div): Remove obsolete code.
25965         * stdlib/ldiv.c (ldiv): Likewise.
25966         * stdlib/lldiv.c (lldiv): Likewise.
25968 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25970         [BZ #16071]
25971         * nss/nss_files/files-XXX.c (get_contents_ret): New
25972         enumerator.
25973         (get_contents): New function.
25974         (internal_getent): Use it.  Expand size of LINEBUFLEN.
25976 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
25978         * configure.in: Moved to ...
25979         * configure.ac: ... here. Change reference to configure.in
25980         to configure.ac.
25981         * sysdeps/arm/preconfigure.ac: ... here.
25982         configure.in to configure.ac.
25983         * sysdeps/gnu/configure.in: Moved to ...
25984         * sysdeps/gnu/configure.ac: ... here.
25985         * sysdeps/i386/configure.in: Moved to ...
25986         * sysdeps/i386/configure.ac: ... here.
25987         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25988         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25989         * sysdeps/mach/configure.in: Moved to ...
25990         * sysdeps/mach/configure.ac: ... here.
25991         * sysdeps/mach/hurd/configure.in: Moved to ...
25992         * sysdeps/mach/hurd/configure.ac: ... here.
25993         * sysdeps/powerpc/configure.in: Moved to ...
25994         * sysdeps/powerpc/configure.ac: ... here.
25995         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25996         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25997         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25998         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25999         * sysdeps/s390/s390-32/configure.in: Moved to ...
26000         * sysdeps/s390/s390-32/configure.ac: ... here.
26001         * sysdeps/s390/s390-64/configure.in: Moved to ...
26002         * sysdeps/s390/s390-64/configure.ac: ... here.
26003         * sysdeps/sh/configure.in: Moved to ...
26004         * sysdeps/sh/configure.ac: ... here.
26005         * sysdeps/sparc/configure.in: Moved to ...
26006         * sysdeps/sparc/configure.ac: ... here.
26007         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26008         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26009         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26010         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26011         * sysdeps/x86_64/configure.in: Moved to ...
26012         * sysdeps/x86_64/configure.ac: ... here.
26013         * sysdeps/x86_64/preconfigure.in: Moved to ...
26014         * sysdeps/x86_64/preconfigure.ac: ... here.
26015         * aclocal.m4: Change reference to configure.in to configure.ac.
26016         * config.h.in: Likewise.
26017         * manual/install.texi: Likewise.
26018         * manual/maint.texi: Likewise.
26019         * Makefile: Likewise.
26020         * malloc/Makefile: Likewise.
26021         * nscd/Makefile: Likewise.
26022         * Makeconfig: Change reference to configure.in and
26023         preconfigure.in to configure.ac and preconfigure.ac
26024         respectively.
26025         * INSTALL: Regenerated.
26026         * configure: Likewise.
26027         * sysdeps/gnu/configure: Likewise.
26028         * sysdeps/i386/configure: Likewise.
26029         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26030         * sysdeps/mach/configure: Likewise.
26031         * sysdeps/mach/hurd/configure: Likewise.
26032         * sysdeps/powerpc/configure: Likewise.
26033         * sysdeps/powerpc/powerpc32/configure: Likewise.
26034         * sysdeps/powerpc/powerpc64/configure: Likewise.
26035         * sysdeps/s390/s390-32/configure: Likewise.
26036         * sysdeps/s390/s390-64/configure: Likewise.
26037         * sysdeps/sh/configure: Likewise.
26038         * sysdeps/sparc/configure: Likewise.
26039         * sysdeps/unix/sysv/linux/configure: Likewise.
26040         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26041         * sysdeps/x86_64/configure: Likewise.
26042         * sysdeps/x86_64/preconfigure: Likewise.
26044 2013-10-29  Andreas Schwab  <schwab@suse.de>
26046         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26048 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26050         * benchtests/pow-inputs: Add new inputs.
26052         * benchtests/exp-inputs: Add new inputs.
26054         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26055         conditional check for return value.
26056         (__cos32): Likewise.
26058 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26060         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26061         to provide a boost for large inputs with word alignment.
26062         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26063         implementation based on optimized PPC64 strcpy.
26064         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26065         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26066         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26067         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26069 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26071         [BZ #2801]
26072         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26074 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26076         [BZ #14876]
26077         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26078         * time/tst-strptime.c (day_tests): Add testcase.
26080 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26082         [BZ #14029]
26083         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26085 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26087         [BZ #16074]
26088         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26089         MAP_FAILED on error.
26091 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26093         [BZ #16072]
26094         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26095         heap for large requests.
26097 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26099         [BZ #9954]
26100         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26101         result if the result has no associated interface.
26102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26103         interface for all 127.X.Y.Z addresses.
26105 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26107         * locale/iso-639.def: Add Ligurian (lij)
26109 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26111         [BZ #15825]
26112         * sunrpc/rpc_main.c: Document rpcgen -5.
26114 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26116         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26118 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26120         [BZ #10278]
26121         * posix/glob.c: Match only directories when trailing slash is present.
26122         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26123         (main): Add testcase.
26125 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26127         [BZ #15670]
26128         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26130 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26132         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26133         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26134         AUTH_DES and cindex for FIPS 140-2.
26135         (DES Encryption): Add cindex FIPS 46-3.
26137         * locale/locarchive.h (struct locarhandle): Add fname.
26138         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26139         if an optional argument was specified to --list-archive,
26140         otherwise NULL.
26141         * locale/programs/locarchive.c (show_archive_content): Take new
26142         argument fname and pass it via ah.fname to open_archive.
26143         * locale/programs/localedef.h: Update decl.
26144         (open_archive): If AH->fname is non-null, open that file
26145         rather than the default file name, and don't ignore ENOENT.
26146         (create_archive): Set AH.fname to NULL.
26147         (delete_locales_from_archive): Likewise.
26148         (add_locales_to_archive): Likewise.
26149         * locale/programs/locfile.c (write_all_categories): Likewise.
26151 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26152             Aldy Hernandez  <aldyh@redhat.com>
26154         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26155         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26156         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26157         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26158         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26160         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26161         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26162         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26163         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26164         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26165         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26166         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26167         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26168         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26169         Likewise.
26170         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26171         Likewise.
26172         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26173         Likewise.
26174         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26175         Likewise.
26176         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26177         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26178         Likewise.
26179         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26180         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26181         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26182         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26183         Likewise.
26184         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26185         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26186         * sysdeps/powerpc/preconfigure: Likewise.
26187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26188         Likewise.
26189         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26190         Replace contents of file by #include of <fenv_libc.h>.
26191         * sysdeps/powerpc/soft-fp/sfp-machine.h
26192         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26193         and <sys/prctl.h>.
26194         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26197         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26198         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26199         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26201         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26202         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26203         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26204         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26205         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26207         Allow copysignl PLT reference to be missing.
26209 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26210             Joseph Myers  <joseph@codesourcery.com
26212         [BZ #15948]
26213         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26214         single character.
26215         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26217 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26219         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26220         * elf/tst-tls1.c: Likewise.
26221         * elf/tst-tls10.h: Likewise.
26222         * elf/tst-tls14.c: Likewise.
26223         * elf/tst-tls2.c: Likewise.
26224         * elf/tst-tls3.c: Likewise.
26225         * elf/tst-tls4.c: Likewise.
26226         * elf/tst-tls5.c: Likewise.
26227         * elf/tst-tls6.c: Likewise.
26228         * elf/tst-tls7.c: Likewise.
26229         * elf/tst-tls8.c: Likewise.
26230         * elf/tst-tls9.c: Likewise.
26231         * elf/tst-tlsmod1.c: Likewise.
26232         * elf/tst-tlsmod13.c: Likewise.
26233         * elf/tst-tlsmod13a.c: Likewise.
26234         * elf/tst-tlsmod14a.c: Likewise.
26235         * elf/tst-tlsmod16a.c: Likewise.
26236         * elf/tst-tlsmod16b.c: Likewise.
26237         * elf/tst-tlsmod2.c: Likewise.
26238         * elf/tst-tlsmod3.c: Likewise.
26239         * elf/tst-tlsmod4.c: Likewise.
26240         * elf/tst-tlsmod5.c: Likewise.
26241         * elf/tst-tlsmod6.c: Likewise.
26243 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26245         [BZ #12486]
26246         * malloc/malloc.c: remove checks for statistics.
26248 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26250         [BZ #15277]
26251         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26252         * inet/tst-network.c: Add testcase.
26254 2013-10-17  Andreas Schwab  <schwab@suse.de>
26256         [BZ #15218]
26257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26258         to determine canonical name.
26260 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26262         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26263         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26264         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26265         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26266         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26267         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26268         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26269         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26270         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26271         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26272         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26273         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26274         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26275         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26276         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26277         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26278         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26279         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26280         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26281         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26282         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26285         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26286         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26287         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26288         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26289         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26290         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26291         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26292         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26293         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26294         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26295         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26296         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26297         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26298         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26299         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26300         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26301         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26302         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26303         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26304         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26305         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26306         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26307         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26308         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26309         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26310         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26311         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26312         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26313         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26314         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26315         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26316         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26317         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26318         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26319         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26321 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26323         [BZ #16041]
26324         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26325         make result into a quiet NaN.
26327 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26329         * soft-fp/adddf3.c: Fix horizontal whitespace.
26330         * soft-fp/addsf3.c: Likewise.
26331         * soft-fp/addtf3.c: Likewise.
26332         * soft-fp/divdf3.c: Likewise.
26333         * soft-fp/divsf3.c: Likewise.
26334         * soft-fp/divtf3.c: Likewise.
26335         * soft-fp/double.h: Likewise.
26336         * soft-fp/eqdf2.c: Likewise.
26337         * soft-fp/eqsf2.c: Likewise.
26338         * soft-fp/eqtf2.c: Likewise.
26339         * soft-fp/extenddftf2.c: Likewise.
26340         * soft-fp/extended.h: Likewise.
26341         * soft-fp/extendsfdf2.c: Likewise.
26342         * soft-fp/extendsftf2.c: Likewise.
26343         * soft-fp/extendxftf2.c: Likewise.
26344         * soft-fp/fixdfdi.c: Likewise.
26345         * soft-fp/fixdfsi.c: Likewise.
26346         * soft-fp/fixdfti.c: Likewise.
26347         * soft-fp/fixsfdi.c: Likewise.
26348         * soft-fp/fixsfsi.c: Likewise.
26349         * soft-fp/fixsfti.c: Likewise.
26350         * soft-fp/fixtfdi.c: Likewise.
26351         * soft-fp/fixtfsi.c: Likewise.
26352         * soft-fp/fixtfti.c: Likewise.
26353         * soft-fp/fixunsdfdi.c: Likewise.
26354         * soft-fp/fixunsdfsi.c: Likewise.
26355         * soft-fp/fixunsdfti.c: Likewise.
26356         * soft-fp/fixunssfdi.c: Likewise.
26357         * soft-fp/fixunssfsi.c: Likewise.
26358         * soft-fp/fixunssfti.c: Likewise.
26359         * soft-fp/fixunstfdi.c: Likewise.
26360         * soft-fp/fixunstfsi.c: Likewise.
26361         * soft-fp/fixunstfti.c: Likewise.
26362         * soft-fp/floatdidf.c: Likewise.
26363         * soft-fp/floatdisf.c: Likewise.
26364         * soft-fp/floatditf.c: Likewise.
26365         * soft-fp/floatsidf.c: Likewise.
26366         * soft-fp/floatsisf.c: Likewise.
26367         * soft-fp/floatsitf.c: Likewise.
26368         * soft-fp/floattidf.c: Likewise.
26369         * soft-fp/floattisf.c: Likewise.
26370         * soft-fp/floattitf.c: Likewise.
26371         * soft-fp/floatundidf.c: Likewise.
26372         * soft-fp/floatundisf.c: Likewise.
26373         * soft-fp/floatunditf.c: Likewise.
26374         * soft-fp/floatunsidf.c: Likewise.
26375         * soft-fp/floatunsisf.c: Likewise.
26376         * soft-fp/floatunsitf.c: Likewise.
26377         * soft-fp/floatuntidf.c: Likewise.
26378         * soft-fp/floatuntisf.c: Likewise.
26379         * soft-fp/floatuntitf.c: Likewise.
26380         * soft-fp/fmadf4.c: Likewise.
26381         * soft-fp/fmasf4.c: Likewise.
26382         * soft-fp/fmatf4.c: Likewise.
26383         * soft-fp/gedf2.c: Likewise.
26384         * soft-fp/gesf2.c: Likewise.
26385         * soft-fp/getf2.c: Likewise.
26386         * soft-fp/ledf2.c: Likewise.
26387         * soft-fp/lesf2.c: Likewise.
26388         * soft-fp/letf2.c: Likewise.
26389         * soft-fp/muldf3.c: Likewise.
26390         * soft-fp/mulsf3.c: Likewise.
26391         * soft-fp/multf3.c: Likewise.
26392         * soft-fp/negdf2.c: Likewise.
26393         * soft-fp/negsf2.c: Likewise.
26394         * soft-fp/negtf2.c: Likewise.
26395         * soft-fp/op-1.h: Likewise.
26396         * soft-fp/op-2.h: Likewise.
26397         * soft-fp/op-4.h: Likewise.
26398         * soft-fp/op-8.h: Likewise.
26399         * soft-fp/op-common.h: Likewise.
26400         * soft-fp/quad.h: Likewise.
26401         * soft-fp/single.h: Likewise.
26402         * soft-fp/soft-fp.h: Likewise.
26403         * soft-fp/sqrtdf2.c: Likewise.
26404         * soft-fp/sqrtsf2.c: Likewise.
26405         * soft-fp/sqrttf2.c: Likewise.
26406         * soft-fp/subdf3.c: Likewise.
26407         * soft-fp/subsf3.c: Likewise.
26408         * soft-fp/subtf3.c: Likewise.
26409         * soft-fp/truncdfsf2.c: Likewise.
26410         * soft-fp/trunctfdf2.c: Likewise.
26411         * soft-fp/trunctfsf2.c: Likewise.
26412         * soft-fp/trunctfxf2.c: Likewise.
26413         * soft-fp/unorddf2.c: Likewise.
26414         * soft-fp/unordsf2.c: Likewise.
26415         * soft-fp/unordtf2.c: Likewise.
26417 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26419         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26420         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26422 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26424         * elf/dl-libc.c: Clear initfini list after freeing.
26426 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26428         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26429         * soft-fp/addsf3.c: Likewise.
26430         * soft-fp/addtf3.c: Likewise.
26431         * soft-fp/divdf3.c: Likewise.
26432         * soft-fp/divsf3.c: Likewise.
26433         * soft-fp/divtf3.c: Likewise.
26434         * soft-fp/double.h: Likewise.
26435         * soft-fp/eqdf2.c: Likewise.
26436         * soft-fp/eqsf2.c: Likewise.
26437         * soft-fp/eqtf2.c: Likewise.
26438         * soft-fp/extenddftf2.c: Likewise.
26439         * soft-fp/extended.h: Likewise.
26440         * soft-fp/extendsfdf2.c: Likewise.
26441         * soft-fp/extendsftf2.c: Likewise.
26442         * soft-fp/extendxftf2.c: Likewise.
26443         * soft-fp/fixdfdi.c: Likewise.
26444         * soft-fp/fixdfsi.c: Likewise.
26445         * soft-fp/fixdfti.c: Likewise.
26446         * soft-fp/fixsfdi.c: Likewise.
26447         * soft-fp/fixsfsi.c: Likewise.
26448         * soft-fp/fixsfti.c: Likewise.
26449         * soft-fp/fixtfdi.c: Likewise.
26450         * soft-fp/fixtfsi.c: Likewise.
26451         * soft-fp/fixtfti.c: Likewise.
26452         * soft-fp/fixunsdfdi.c: Likewise.
26453         * soft-fp/fixunsdfsi.c: Likewise.
26454         * soft-fp/fixunsdfti.c: Likewise.
26455         * soft-fp/fixunssfdi.c: Likewise.
26456         * soft-fp/fixunssfsi.c: Likewise.
26457         * soft-fp/fixunssfti.c: Likewise.
26458         * soft-fp/fixunstfdi.c: Likewise.
26459         * soft-fp/fixunstfsi.c: Likewise.
26460         * soft-fp/fixunstfti.c: Likewise.
26461         * soft-fp/floatdidf.c: Likewise.
26462         * soft-fp/floatdisf.c: Likewise.
26463         * soft-fp/floatditf.c: Likewise.
26464         * soft-fp/floatsidf.c: Likewise.
26465         * soft-fp/floatsisf.c: Likewise.
26466         * soft-fp/floatsitf.c: Likewise.
26467         * soft-fp/floattidf.c: Likewise.
26468         * soft-fp/floattisf.c: Likewise.
26469         * soft-fp/floattitf.c: Likewise.
26470         * soft-fp/floatundidf.c: Likewise.
26471         * soft-fp/floatundisf.c: Likewise.
26472         * soft-fp/floatunsidf.c: Likewise.
26473         * soft-fp/floatunsisf.c: Likewise.
26474         * soft-fp/floatuntidf.c: Likewise.
26475         * soft-fp/floatuntisf.c: Likewise.
26476         * soft-fp/floatuntitf.c: Likewise.
26477         * soft-fp/fmadf4.c: Likewise.
26478         * soft-fp/fmasf4.c: Likewise.
26479         * soft-fp/fmatf4.c: Likewise.
26480         * soft-fp/gedf2.c: Likewise.
26481         * soft-fp/gesf2.c: Likewise.
26482         * soft-fp/getf2.c: Likewise.
26483         * soft-fp/ledf2.c: Likewise.
26484         * soft-fp/lesf2.c: Likewise.
26485         * soft-fp/letf2.c: Likewise.
26486         * soft-fp/muldf3.c: Likewise.
26487         * soft-fp/mulsf3.c: Likewise.
26488         * soft-fp/multf3.c: Likewise.
26489         * soft-fp/negdf2.c: Likewise.
26490         * soft-fp/negsf2.c: Likewise.
26491         * soft-fp/negtf2.c: Likewise.
26492         * soft-fp/op-1.h: Likewise.
26493         * soft-fp/op-2.h: Likewise.
26494         * soft-fp/op-4.h: Likewise.
26495         * soft-fp/op-8.h: Likewise.
26496         * soft-fp/op-common.h: Likewise.
26497         * soft-fp/quad.h: Likewise.
26498         * soft-fp/single.h: Likewise.
26499         * soft-fp/soft-fp.h: Likewise.
26500         * soft-fp/sqrtdf2.c: Likewise.
26501         * soft-fp/sqrtsf2.c: Likewise.
26502         * soft-fp/sqrttf2.c: Likewise.
26503         * soft-fp/subdf3.c: Likewise.
26504         * soft-fp/subsf3.c: Likewise.
26505         * soft-fp/subtf3.c: Likewise.
26506         * soft-fp/truncdfsf2.c: Likewise.
26507         * soft-fp/trunctfdf2.c: Likewise.
26508         * soft-fp/trunctfsf2.c: Likewise.
26509         * soft-fp/trunctfxf2.c: Likewise.
26510         * soft-fp/unorddf2.c: Likewise.
26511         * soft-fp/unordsf2.c: Likewise.
26512         * soft-fp/unordtf2.c: Likewise.
26514 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26516         [BZ #15672]
26517         * misc/error.c (error_tail): Fix possible buffer overflow.
26519 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26521         [BZ #13028]
26522         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26523         address.
26525 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26527         [BZ #832]
26528         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26529         testing pipefail option.
26531 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26533         * soft-fp/double.h: Indent preprocessor directives inside #if.
26534         * soft-fp/extended.h: Likewise.
26535         * soft-fp/op-2.h: Likewise.
26536         * soft-fp/op-4.h: Likewise.
26537         * soft-fp/op-common.h: Likewise.
26538         * soft-fp/quad.h: Likewise.
26539         * soft-fp/single.h: Likewise.
26540         * soft-fp/soft-fp.h: Likewise.
26542 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26544         * iconv/iconv_prog.c: Fix typos.
26545         * stdio-common/psiginfo-data.h: Likewise.
26547 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26549         [BZ #15764]
26550         * locale/setlocale.c: Fix typo.
26552 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26554         [BZ #16036]
26555         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26556         signaling NaN arguments.
26557         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26558         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26560         [BZ #14910]
26561         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26562         unordered operands.
26563         * soft-fp/gesf2.c (__gesf2): Likewise.
26564         * soft-fp/getf2.c (__getf2): Likewise.
26565         * soft-fp/ledf2.c (__ledf2): Likewise.
26566         * soft-fp/lesf2.c (__lesf2): Likewise.
26567         * soft-fp/letf2.c (__letf2): Likewise.
26569         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26570         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26571         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26572         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26573         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26574         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26575         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26576         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26577         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26578         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26579         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26580         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26581         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26582         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26583         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26584         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26585         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26586         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26587         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26588         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26589         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26590         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26591         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26592         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26593         * soft-fp/floattidf.c (__floattidf): Likewise.
26594         * soft-fp/floattisf.c (__floattisf): Likewise.
26595         * soft-fp/floattitf.c (__floattitf): Likewise.
26596         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26597         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26598         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26599         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26600         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26601         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26602         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26603         * soft-fp/gesf2.c (__gesf2): Likewise.
26604         * soft-fp/getf2.c (__getf2): Likewise.
26605         * soft-fp/ledf2.c (__ledf2): Likewise.
26606         * soft-fp/lesf2.c (__lesf2): Likewise.
26607         * soft-fp/letf2.c (__letf2): Likewise.
26609         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26610         Undefine and redefine.
26611         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26612         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26613         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26614         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26615         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26616         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26617         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26618         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26619         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26620         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26621         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26622         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26623         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26624         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26625         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26627         [BZ #16032]
26628         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26629         without decrementing exponent if mantissa >= that for the
26630         denominator, not >.
26631         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26632         denominator, not >.  Decrement exponent in < case instead of
26633         incrementing in >= case.
26634         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26635         without decrementing exponent if mantissa >= that for the
26636         denominator, not >.
26638         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26639         computing saturated result for unsigned overflow.
26641 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26642             Jeff Law  <law@redhat.com>
26644         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26645         (atan2Mp): Add systemtap probe marker.
26646         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26647         (__ieee754_log): Add systemtap probe marker.
26648         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26649         (atanMp): Add systemtap probe marker.
26650         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26651         (tanMp): Add systemtap probe marker.
26652         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26653         (__slowexp): Add systemtap probe marker.
26654         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26655         (__slowpow): Add systemtap probe marker.
26656         * manual/probes.texi: Document probes.
26658 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26660         [BZ #15362]
26661         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26662         written.
26663         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26664         written.
26665         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26666         written to buffer but not flushed.
26667         * libio/iofwrite_u.c:  Likewise.
26668         * libio/iopadn.c:  Return bytes returned even if EOF was
26669         encountered.
26670         * libio/iowpadn.c:  Likewise.
26671         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26672         if _IO_padn does not write the whole buffer.
26673         [!COMPILE_WPRINTF] (PAD): Likewise.
26675 2013-10-10  David S. Miller  <davem@davemloft.net>
26677         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26678         directory block.
26680 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26682         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26683         instead of FSF address.
26684         * soft-fp/fixdfti.c: Likewise.
26685         * soft-fp/fixsfti.c: Likewise.
26686         * soft-fp/fixtfti.c: Likewise.
26687         * soft-fp/fixunsdfti.c: Likewise.
26688         * soft-fp/fixunssfti.c: Likewise.
26689         * soft-fp/fixunstfti.c: Likewise.
26690         * soft-fp/floattidf.c: Likewise.
26691         * soft-fp/floattisf.c: Likewise.
26692         * soft-fp/floattitf.c: Likewise.
26693         * soft-fp/floatuntidf.c: Likewise.
26694         * soft-fp/floatuntisf.c: Likewise.
26695         * soft-fp/floatuntitf.c: Likewise.
26696         * soft-fp/trunctfxf2.c: Likewise.
26698         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26699         * soft-fp/fixdfti.c: Likewise.
26700         * soft-fp/fixsfti.c: Likewise.
26701         * soft-fp/fixtfti.c: Likewise.
26702         * soft-fp/fixunsdfti.c: Likewise.
26703         * soft-fp/fixunssfti.c: Likewise.
26704         * soft-fp/fixunstfti.c: Likewise.
26705         * soft-fp/floattidf.c: Likewise.
26706         * soft-fp/floattisf.c: Likewise.
26707         * soft-fp/floattitf.c: Likewise.
26708         * soft-fp/floatuntidf.c: Likewise.
26709         * soft-fp/floatuntisf.c: Likewise.
26710         * soft-fp/floatuntitf.c: Likewise.
26711         * soft-fp/trunctfxf2.c: Likewise.
26713 2013-10-10  David S. Miller  <davem@davemloft.net>
26715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26717 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26719         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26720         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26721         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26722         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26723         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26724         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26725         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26728         for NaNs before doing comparisons on argument.
26729         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26730         Likewise.
26732 2013-10-10  Will Newton  <will.newton@linaro.org>
26734         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26735         passed to _int_memalign does not overflow.
26737 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26739         * scripts/bench.pl: Add include-sources directive.
26740         * benchtests/README: Update documentation.
26742 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26744         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26745         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26746         instead of FP_INIT_ROUNDMODE.
26747         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26748         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26750         [BZ #16034]
26751         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26752         copy class of input value.
26753         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26754         not handle exceptions.
26755         * soft-fp/negsf2.c (__negsf2): Likewise.
26756         * soft-fp/negtf2.c (__negtf2): Likewise.
26757         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26759 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26761         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26762         semicolon.  From Linux kernel.
26764 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26766         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26768 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26770         [BZ #156]
26771         * manual/socket.texi: Added statement about buffer
26772         for gethostbyname2_r.
26774 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26776         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26777         Use .p2align directive instead, throughout.
26778         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26779         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26780         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26782         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26783         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26784         * sysdeps/x86_64/strchr.S: Likewise.
26785         * sysdeps/x86_64/strrchr.S: Likewise.
26787 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26789         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26791         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26793         * sysdeps/generic/math_private.h (__mpsin1): Remove
26794         declaration.
26795         (__mpcos1): Likewise.
26796         (__mpsin): New argument __range_reduce.
26797         (__mpcos): Likewise.
26798         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26799         (slow): Use __mpsin and __mpcos.
26800         (slow1): Likewise.
26801         (slow2): Likewise.
26802         (sloww): Likewise.
26803         (sloww1): Likewise.
26804         (sloww2): Likewise.
26805         (bsloww): Likewise.
26806         (bsloww1): Likewise.
26807         (bsloww2): Likewise.
26808         (cslow2): Likewise.
26809         (csloww): Likewise.
26810         (csloww1): Likewise.
26811         (csloww2): Likewise.
26812         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26813         range_reduce.  Merge in __mpsin1.
26814         (__mpcos): Likewise.
26815         (__mpsin1): Remove.
26816         (__mpcos1): Likewise.
26818 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26820         * locale/loadlocale.c (_nl_intern_locale_data): Use
26821         LOCFILE_ALIGNED_P.
26822         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26823         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26824         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26825         obstack data is appropriately aligned.
26826         (obstack_int32_grow_fast): Likewise.
26827         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26828         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26829         (add_locale_uint32_array): Likewise.
26831 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26833         * benchtests/Makefile: Remove ARGLIST and RET variables.
26834         ($(objpfx)bench-%.c): Pass only function name to the script.
26835         * benchtests/README: Update documentation.
26836         * benchtests/acos-inputs: Add new directives.
26837         * benchtests/acosh-inputs: Likewise.
26838         * benchtests/asin-inputs: Likewise.
26839         * benchtests/asinh-inputs: Likewise.
26840         * benchtests/atan-inputs: Likewise.
26841         * benchtests/atanh-inputs: Likewise.
26842         * benchtests/cos-inputs: Likewise.
26843         * benchtests/cosh-inputs: Likewise.
26844         * benchtests/exp-inputs: Likewise.
26845         * benchtests/log-inputs: Likewise.
26846         * benchtests/pow-inputs: Likewise.
26847         * benchtests/rint-inputs: Likewise.
26848         * benchtests/sin-inputs: Likewise.
26849         * benchtests/sinh-inputs: Likewise.
26850         * benchtests/tan-inputs: Likewise.
26851         * benchtests/tanh-inputs: Likewise.
26852         * scripts/bench.pl: Add support for new directives.
26854 2013-10-07  Alan Modra  <amodra@gmail.com>
26856         * README: Fix careless merge.
26858 2013-10-05  Alan Modra  <amodra@gmail.com>
26860         * NEWS: Mention powerpc64le support and bugs fixed.
26861         * README: Both big-endian and little-endian powerpc64 supported.
26863 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26865         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26866         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26867         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26868         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26870 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26872         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26873         match prototype.
26875 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26877         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26878         Move -mhard-float appending from
26879         ports/sysdeps/powerpc/powerpc32/Makefile.
26880         [$(with-fp) = yes] (ASFLAGS): Likewise.
26881         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26882         * sysdeps/powerpc/nofpu: Move directory from
26883         ports/sysdeps/powerpc/nofpu.
26884         * sysdeps/powerpc/soft-fp: Move directory from
26885         ports/sysdeps/powerpc/soft-fp.
26886         * sysdeps/powerpc/powerpc32/405: Move directory from
26887         ports/sysdeps/powerpc/powerpc32/405.
26888         * sysdeps/powerpc/powerpc32/440: Move directory from
26889         ports/sysdeps/powerpc/powerpc32/440.
26890         * sysdeps/powerpc/powerpc32/464: Move directory from
26891         ports/sysdeps/powerpc/powerpc32/464.
26892         * sysdeps/powerpc/powerpc32/476: Move directory from
26893         ports/sysdeps/powerpc/powerpc32/476.
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26895         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26897         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26899         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26901         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26903         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26904         * README: Update for powerpc-*-linux-gnu software floating point
26905         support in libc.
26907         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26908         case to powerpc/powerpc32*.
26909         * sysdeps/unix/sysv/linux/configure: Regenerated.
26911         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26912         (_FPU_MASK_OM): Define as 0x04.
26913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26915         0x00c10080.
26916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26917         0x0000003c.
26918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26921         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26922         getcontext_e500.
26923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26924         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26925         setcontext_e500.
26926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26927         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26928         and setcontext_e500.
26930 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
26932         * locale/iso-3166.def: Update iso-1366.def and related occurrences
26934 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26936         * manual/threads.texi (Default Thread Attributes): Fix typo.
26938 2013-10-04  Will Newton  <will.newton@linaro.org>
26940         * malloc/Makefile: Add tst-memalign.
26941         * malloc/tst-memalign.c: New file.
26943         * malloc/tst-posix_memalign.c: Add comments.
26944         (do_test): Add comments and call free on all potentially
26945         allocated pointers. Add space after cast.
26947         * malloc/tst-pvalloc.c: Add comments.
26948         (do_test): Add comments and call free on all potentially
26949         allocated pointers. Remove duplicate check for NULL pointer.
26950         Add space after cast.
26952         * malloc/tst-valloc.c: Add comments.
26953         (do_test): Add comments and call free on all potentially
26954         allocated pointers. Remove duplicate check for NULL pointer.
26955         Add space after cast.
26957 2013-10-04  Alan Modra  <amodra@gmail.com>
26959         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26960         Use stdint types in rather than __attribute__((mode())).
26961         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26963 2013-10-04  Alan Modra  <amodra@gmail.com>
26965         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26966         Correct handling of unaligned relocs for little-endian.
26967         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26969 2013-10-04  Alan Modra  <amodra@gmail.com>
26971         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26972         * configure: Regenerate.
26973         * nptl/shlib-versions: Powerpc*le starts at 2.18.
26974         * shlib-versions: Likewise.
26976 2013-10-04  Alan Modra  <amodra@gmail.com>
26978         * string/tester.c (test_memrchr): Increment reported test cycle.
26980 2013-10-04  Alan Modra  <amodra@gmail.com>
26982         * string/test-memcpy.c (do_one_test): When reporting errors, print
26983         string address and don't overrun end of string.
26985 2013-10-04  Alan Modra  <amodra@gmail.com>
26987         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26988         insrdi.  Make better use of reg selection to speed exit slightly.
26989         Schedule entry path a little better.  Remove useless "are we done"
26990         checks on entry to main loop.  Handle wrapping around zero address.
26991         Correct main loop count.  Handle single left-over word from main
26992         loop inline rather than by using loop_small.  Remove extra word
26993         case in loop_small caused by wrong loop count.  Add little-endian
26994         support.
26995         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26996         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
26997         cache hint.
26998         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26999         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27000         support.  Avoid rlwimi.
27001         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27003 2013-10-04  Alan Modra  <amodra@gmail.com>
27005         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27006         insrdi.  Formatting.
27007         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27008         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27009         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27010         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27011         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27012         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27014 2013-10-04  Alan Modra  <amodra@gmail.com>
27016         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27017         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27018         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27019         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27020         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27021         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27022         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27023         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27024         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27025         use of regs.  Use power7 mtocrf.  Tidy function tails.
27027 2013-10-04  Alan Modra  <amodra@gmail.com>
27029         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27030         Formatting.  Consistently use rXXX register defines or rN defines.
27031         Use early exit labels that avoid restoring unused non-volatile regs.
27032         Make cr field use more consistent with rWORDn compares.  Rename
27033         regs used as shift registers for unaligned loop, using rN defines
27034         for short lifetime/multiple use regs.
27035         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27036         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27037         addi 1,1,64 to pop stack frame.  Simplify return value code.
27038         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27040 2013-10-04  Alan Modra  <amodra@gmail.com>
27042         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27043         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27044         rather than rlwimi.
27045         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27046         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27047         little-endian support.  Correct typos.
27048         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27049         rather than rlwimi.
27050         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27051         in loop and entry code to keep "and." results.
27052         (strchr): Add little-endian support.  Comment.  Move cntlzd
27053         earlier in tail.
27054         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27056 2013-10-04  Alan Modra  <amodra@gmail.com>
27058         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27059         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27060         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27061         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27063 2013-10-04  Alan Modra  <amodra@gmail.com>
27065         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27066         (rTMP): Define as r11.
27067         (strcmp): Add little-endian support.  Optimise tail.
27068         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27069         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27070         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27071         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27072         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27073         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27076 2013-10-04  Alan Modra  <amodra@gmail.com>
27078         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27079         little-endian support.  Remove unnecessary "are we done" tests.
27080         Handle "s" wrapping around zero and extremely large "size".
27081         Correct main loop count.  Handle single left-over word from main
27082         loop inline rather than by using small_loop.  Correct comments.
27083         Delete "zero" tail, use "end_max" instead.
27084         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27086 2013-10-04  Alan Modra  <amodra@gmail.com>
27088         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27089         support.  Don't branch over align.
27090         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27091         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27092         support.  Rearrange tmp reg use to suit.  Comment.
27093         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27095 2013-10-04  Alan Modra  <amodra@gmail.com>
27097         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27099 2013-10-04  Alan Modra  <amodra@gmail.com>
27101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27102         conditional form of branch and link when obtaining pc.
27103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27105 2013-10-04  Alan Modra  <amodra@gmail.com>
27107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27108         HIWORD/LOWORD.
27109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27112 2013-10-04  Alan Modra  <amodra@gmail.com>
27114         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27115         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27116         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27117         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27118         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27119         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27120         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27121         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27122         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27123         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27126             Alistair Popple <alistair@ozlabs.au.ibm.com>
27127             Alan Modra <amodra@gmail.com>
27129         [BZ #15723]
27130         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27132         _dl_hwcap access for little-endian.
27133         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27134         destroy vmx regs when saving unaligned.
27135         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27136         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27137         destroy vmx regs when saving unaligned.
27139 2013-10-04  Alan Modra  <amodra@gmail.com>
27141         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27142         Don't use a union to pack hi/low value.
27144 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27146         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27147         for little-endian.
27148         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27149         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27150         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27151         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27152         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27154 2013-10-04  Alan Modra  <amodra@gmail.com>
27156         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27157         constants to usual value for .cst8 section, and remove redundant
27158         high address load.
27159         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27160         constant for 0x1p52.  Load little-endian words of double from
27161         correct stack offsets.
27163 2013-10-04  Alan Modra  <amodra@gmail.com>
27165         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27166         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27167         words of double from correct stack offsets.
27168         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27169         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27170         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27172         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27173         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27174         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27175         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27176         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27178         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27179         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27180         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27181         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27182         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27183         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27184         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27186 2013-10-04  Alan Modra  <amodra@gmail.com>
27188         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27189         64-bit int/double union.
27190         (_FPU_SETCW): Likewise.
27191         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27192         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27194 2013-10-04  Alan Modra  <amodra@gmail.com>
27196         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27197         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27199 2013-10-04  Alan Modra  <amodra@gmail.com>
27201         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27202         use vector int constants.
27203         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27205 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27207         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27208         array with long long.
27209         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27210         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27211         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27212         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27213         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27214         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27215         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27216         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27217         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27218         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27219         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27220         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27221         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27223 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27225         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27226         (__signbit): Likewise.  Correct for little-endian.
27227         (__signbitl): Call __signbit.
27228         (lrint): Correct for little-endian.
27229         (lrintf): Call lrint.
27231 2013-10-04  Alan Modra  <amodra@gmail.com>
27233         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27234         union 32-bit int array member with 64-bit int array.
27235         (t515, tm256): Double rather than long double.
27236         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27238 2013-10-04  Alan Modra  <amodra@gmail.com>
27240         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27241         Delete.
27242         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27243         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27244         version of math_ldbl.h.
27246 2013-10-04  Alan Modra  <amodra@gmail.com>
27248         [BZ #15734], [BZ #15735]
27249         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27250         all uses of ieee875 long double macros and unions.  Simplify test
27251         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27252         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27253         normalize after ldbl_extract_mantissa, and don't add hidden bit
27254         already handled.  Don't treat low word of ieee854 mantissa like
27255         low word of IBM long double and mask off bit when testing for
27256         zero.
27257         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27258         all uses of ieee875 long double macros and unions.  Simplify tests
27259         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27260         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27261         two1022, instead use their values.  Recognise that tests for large
27262         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27263         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27264         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27265         test for 0.0L and nan.  Correct negation.
27266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27267         ieee875 long double macros and unions.  Correct output for large
27268         magnitude x.  Correct absolute value calculation.
27269         (__erfcl): Likewise.
27270         * math/libm-test.inc: Add tests for errors discovered in IBM long
27271         double versions of fmodl, remainderl, erfl and erfcl.
27273 2013-10-04  Alan Modra  <amodra@gmail.com>
27275         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27276         all uses of ieee854 long double macros and unions.  Simplify tests
27277         for long doubles that are fully specified by the high double.
27278         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27279         Likewise.
27280         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27281         Remove dead code too.
27282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27283         (__ieee754_ynl): Likewise.
27284         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27285         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27287         Remove dead code too.
27288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27289         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27290         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27291         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27292         Simplify.
27293         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27294         Simplify.
27295         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27296         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27298         Comment on variable precision.
27299         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27300         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27301         Likewise.
27302         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27303         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27304         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27305         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27306         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27308 2013-10-04  Alan Modra  <amodra@gmail.com>
27310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27311         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27312         all uses of ieee854 long double macros and unions.
27313         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27314         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27315         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27316         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27317         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27318         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27319         Likewise.
27320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27321         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27322         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27323         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27324         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27325         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27326         Simplify sign and nan test too.
27327         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27328         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27329         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27330         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27331         Likewise.
27332         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27333         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27334         Likewise.
27335         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27336         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27337         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27338         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27339         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27342 2013-10-04  Alan Modra  <amodra@gmail.com>
27344         * stdio-common/printf_size.c (__printf_size): Don't use
27345         union ieee854_long_double in fpnum union.
27346         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27347         signbit macro to retrieve sign from long double.
27348         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27349         retrieve sign from long double.
27350         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27351         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27352         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27353         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27354         * math/test-misc.c (main): Don't use union ieee854_long_double.
27356 2013-10-04  Alan Modra  <amodra@gmail.com>
27358         [BZ #15680]
27359         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27360         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27361         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27362         calculation.  Remove unnecessary test for denormal exponent.
27363         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27364         Correct handling of denormals.  Avoid undefined shift behaviour.
27365         Correct normalisation of low mantissa when low double is denormal.
27366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27367         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27368         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27369         Correct normalisation of low mantissa.  Test for overflow of high
27370         mantissa and normalise.
27371         (ldbl_nearbyint): Use more readable constant for two52.
27372         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27373         (__mpn_construct_long_double): Fix test for overflow of high
27374         mantissa and correct normalisation.  Avoid undefined shift.
27376 2013-10-04  Alan Modra  <amodra@gmail.com>
27378         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27379         (union ibm_extended_long_double): Define as an array of ieee754_double.
27380         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27381         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27382         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27383         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27384         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27385         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27387         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27388         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27389         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27390         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27392 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27394         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27395         page size instead of calling getpagesize.
27397         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27398         (LOCFILE_ALIGN_MASK): Likewise.
27399         (LOCFILE_ALIGN_UP): Likewise.
27400         (LOCFILE_ALIGNED_P): Likewise.
27401         * locale/programs/ld-collate.c (collate_output): Use the new
27402         macros instead of __alignof__ (int32_t).
27403         * locale/weight.h (findidx): Likewise.
27405 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27407         [BZ #431]
27408         * manual/string.texi: Fix strncat and wcsncat.
27410 2013-10-03  Brooks Moses  <bmoses@google.com>
27412         [BZ #15915]
27413         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27414         * Makerules: ...here, and adjust associated comments.
27416 2013-10-02  Will Newton  <will.newton@linaro.org>
27418         * malloc/Makefile: Add tst-pvalloc.
27419         * malloc/tst-pvalloc.c: New file.
27421 2013-10-02  Will Newton  <will.newton@linaro.org>
27423         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27424         improve test coverage.
27426 2013-10-02  Will Newton  <will.newton@linaro.org>
27428         * malloc/Makefile: Add tst-posix_memalign.
27429         * malloc/tst-posix_memalign.c: New file.
27431 2013-10-01  Eric Blake  <eblake@redhat.com>
27433         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27434         Use __THROWNL rather than __THROW on static functions.
27436 2013-09-30  Petr Machata  <pmachata@redhat.com>
27438         * elf/elf.h (R_AARCH64_ABS16): New macro.
27439         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27440         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27441         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27442         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27443         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27444         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27445         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27446         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27447         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27448         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27449         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27450         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27451         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27452         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27453         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27454         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27455         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27456         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27457         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27458         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27459         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27460         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27461         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27462         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27463         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27464         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27465         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27466         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27467         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27468         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27469         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27470         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27471         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27472         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27473         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27474         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27475         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27476         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27477         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27478         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27479         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27480         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27481         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27482         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27483         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27484         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27485         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27486         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27487         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27488         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27489         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27490         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27491         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27492         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27493         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27494         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27495         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27496         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27497         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27498         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27499         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27500         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27501         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27502         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27503         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27504         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27505         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27506         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27507         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27508         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27509         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27510         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27511         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27512         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27513         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27514         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27515         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27516         (R_AARCH64_TLSDESC_LDR): Likewise.
27517         (R_AARCH64_TLSDESC_ADD): Likewise.
27518         (R_AARCH64_TLSDESC_CALL): Likewise.
27520 2013-09-30  Andreas Schwab  <schwab@suse.de>
27522         [BZ #15048]
27523         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27524         the nss database lookup.
27525         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27528 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27530         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27532 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27534         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27535         ${Bash-specific parameter/pattern/string} parameter expansion.
27536         * sysdeps/unix/make-syscalls.sh: Likewise.
27538 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27540         * sysdeps/sh/stackguard-macros.h: New file.
27542 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27546         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27547         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27548         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27549         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27551 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27553         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27554         Fix thread ID register.
27556 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27558         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27559         [POSIX || UNIX98]: Require rather than permitting all symbols from
27560         <time.h>.
27561         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27562         element of struct sched_param.
27563         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27564         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27565         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27566         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27567         constant.
27569 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27571         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27572         argument calculation.
27574 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27576         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27577         Expect macro.
27578         [POSIX] (pthread_attr_t): Do not require type.
27579         [POSIX] (pthread_cond_t): Likewise.
27580         [POSIX] (pthread_condattr_t): Likewise.
27581         [POSIX] (pthread_key_t): Likewise.
27582         [POSIX] (pthread_mutex_t): Likewise.
27583         [POSIX] (pthread_mutexattr_t): Likewise.
27584         [POSIX] (pthread_once_t): Likewise.
27585         [POSIX] (pthread_t): Likewise.
27586         [POSIX-based standards] (pthread_atfork): Expect function.
27588 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27589             Richard Sandiford  <richard@codesourcery.com>
27591         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27592         (swap_endianness_p): New extern variable.
27593         (set_big_endian): New inline function.
27594         (maybe_swap_uint32): Likewise.
27595         (maybe_swap_uint32_array): Likewise.
27596         (maybe_swap_uint32_obstack): Likewise.
27597         * locale/programs/locfile.c: Include <stdbool.h>.
27598         (swap_endianness_p): New variable.
27599         (add_locale_uint32): Call maybe_swap_uint32.
27600         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27601         (write_locale_data): Call maybe_swap_uint32_array.
27602         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27603         maybe_swap_uint32.
27604         (obstack_int32_grow_fast): Likewise.
27605         (output_weightwc): Call maybe_swap_uint32_obstack.
27606         (collate_output): Likewise.
27607         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27608         (OPT_LITTLE_ENDIAN): Likewise.
27609         (options): Add --little-endian and --big-endian options.
27610         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27611         * locale/programs/locarchive.c: Include "locfile.h".
27612         (GET): New macro.
27613         (SET): Likewise.
27614         (INC): Likewise.
27615         (create_archive): Use the new macros to access fields of
27616         structures directly mapped from or written to locale archives.
27617         (oldlocrecentcmp): Likewise.
27618         (enlarge_archive): Likewise.
27619         (insert_name): Likewise.
27620         (add_alias): Likewise.
27621         (add_locale): Likewise.
27622         (delete_locales_from_archive): Likewise.
27623         (show_archive_content): Likewise.
27624         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27625         locale data.
27627 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27629         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27630         http://www.gnu.org/doc/freemanuals.texi.
27631         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27633 2013-09-24  Will Newton  <will.newton@linaro.org>
27635         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27636         macro.
27638 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27640         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27641         unsigned char.
27643 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27645         * manual/threads.texi (POSIX Threads): Fix a typo.
27647 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649         [BZ #14547]
27650         * string/tst-strcoll-overflow.c: New test case.
27651         * string/Makefile (xtests): Add tst-strcoll-overflow.
27652         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27653         cache if string sizes may cause integer overflow.
27655         [BZ #14547]
27656         * string/strcoll_l.c (coll_seq): New members rule, idx,
27657         save_idx and back_us.
27658         (get_next_seq_nocache): New function.
27659         (do_compare_nocache): New function.
27660         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27661         when malloc fails.
27663 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27665         [BZ #15754]
27666         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27667         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27668         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27670         [BZ #15754]
27671         * elf/Makefile (tests): Add tst-ptrguard1.
27672         (tests-static): Add tst-ptrguard1-static.
27673         (tst-ptrguard1-ARGS): Define.
27674         (tst-ptrguard1-static-ARGS): Define.
27675         * elf/tst-ptrguard1.c: New file.
27676         * elf/tst-ptrguard1-static.c: New file.
27677         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27678         * sysdeps/i386/stackguard-macros.h: Likewise.
27679         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27680         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27681         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27682         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27683         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27684         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27686 2013-09-23  Hector Marco  <hecmargi@upv.es>
27687             Ismael Ripoll  <iripoll@disca.upv.es>
27688             Carlos O'Donell  <carlos@redhat.com>
27690         [BZ #15754]
27691         * sysdeps/generic/stackguard-macros.h: Define
27692         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27693         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27694         Define __pointer_chk_guard_local.
27695         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27696         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27698 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27700         [BZ #15859]
27701         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27703 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27705         * include/string.h (__ffs): Declare as hidden.
27706         * string/ffs.c (__ffs): Define as hidden.
27707         * sysdeps/i386/ffs.c (__ffs): Likewise.
27708         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27709         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27710         * sysdeps/s390/ffs.c (__ffs): Likewise.
27711         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27713 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27715         * NEWS: Mention malloc probes.
27717         * malloc/arena.c (new_heap): New memory_heap_new probe.
27718         (grow_heap): New memory_heap_more probe.
27719         (shrink_heap): New memory_heap_less probe.
27720         (heap_trim): New memory_heap_free probe.
27721         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27722         (systrim): New memory_sbrk_less probe.
27723         * manual/probes.texi: Document them.
27725         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27726         * manual/probes.texi: Document it.
27728         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27729         (__libc_realloc): Add memory_realloc_retry probe.
27730         (__libc_memalign): Add memory_memalign_retry probe.
27731         (__libc_valloc): Add memory_valloc_retry probe.
27732         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27733         (__libc_calloc): Add memory_calloc_retry probe.
27734         * manual/probes.texi: Document them.
27736         * malloc/arena.c (get_free_list): Add probe
27737         memory_arena_reuse_free_list.
27738         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27739         and memory_arena_reuse.
27740         (arena_get2) [!PER_THREAD]: Likewise.
27741         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27742         memory_arena_reuse_realloc.
27743         * manual/probes.texi: Document them.
27745         * malloc/malloc.c (__libc_free): Add
27746         memory_mallopt_free_dyn_thresholds probe.
27747         (__libc_mallopt): Add multiple memory_mallopt probes.
27748         * manual/probes.texi: Document them.
27750         * malloc/malloc.c: Include stap-probe.h.
27751         (__libc_mallopt): Add memory_mallopt probe.
27752         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27753         * manual/probes.texi: New.
27754         * manual/Makefile (chapters): Add probes.
27755         * manual/threads.texi: Set next node.
27757 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27759         [BZ #15963, #13985]
27760         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27761         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27762         Add `Chinese' to `nan' entry name.
27764 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27766         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27767         (POLYNOMIAL): Likewise.
27768         (TAYLOR_SINCOS): Likewise.
27769         (TAYLOR_SLOW): Likewise.
27770         (__sin): Use TAYLOR_SINCOS.
27771         (__cos): Likewise.
27772         (slow): Use TAYLOR_SLOW.
27773         (sloww): Likewise.
27774         (bsloww): Likewise.
27775         (csloww): Likewise.
27777 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27779         * stdlib/strtod_l.c: Fix buffer overrun.
27781 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27783         * benchtests/Makefile (bench): Add sincos.
27784         * benchtests/bench-sincos.c: New file.
27786         * math/libm-test.inc (cos_test_data): New test inputs.
27787         (sin_test_data): Likewise.
27789         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27790         macro.
27791         (__sin): Use it.
27792         (__cos): Likewise.
27793         (slow1): Likewise.
27794         (slow2): Likewise.
27795         (sloww1): Likewise.
27796         (sloww2): Likewise.
27797         (bsloww1): Likewise.
27798         (bsloww2): Likewise.
27799         (cslow2): Likewise.
27800         (csloww1): Likewise.
27801         (csloww2): Likewise.
27803         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27804         function.
27805         (__sin): Use it.
27806         (__cos): Likewise.
27808         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27809         gotos.
27810         (__cos): Likewise.
27812 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27814         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27815         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27816         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27817         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27818         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27819         * elf/cache.c (print_entry): Handle the new cache flags.
27821 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27822             Aldy Hernandez  <aldyh@redhat.com>
27824         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27825         Change condition to [_SOFT_FLOAT].
27826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27833         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27836         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27837         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27838         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27839         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27841         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27842         declaration.
27844 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27846         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27847         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27848         (__longjmp): Use LOAD_GP to load saved GPRs.
27849         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27850         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27851         (__sigsetjmp): Use SAVE_GP to save GPRs.
27853         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27854         Do not append -msoft-float.
27855         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27857 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27859         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27861 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27863         [BZ #15966]
27864         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27865         (_FPU_GETCW): Use initial "__" on variable and field names but not
27866         on macro parameter name.
27867         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27868         parentheses around reference to macro parameter.
27870 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27872         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27873         prototype.
27874         (ctype_startup): Use uint32_t in cast and sizeof for
27875         ctype->charnames.
27877 2013-09-11  Jia Liu  <proljc@gmail.com>
27879         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27880         __daddr_t_defined.
27881         [__FreeBSD__]: Likewise.
27883 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27886         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27887         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27888         (strchr): Remove __strchr_sse42 ifunc selection.
27889         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27890         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27892 2013-09-11  Will Newton  <will.newton@linaro.org>
27894         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27895         parameter to RES. Remove hardcoded 1000 value.
27896         * benchtests/bench-skeleton.c (main): Pass RES parameter
27897         to TIMING_INIT and multiply result by 1000.
27899 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27903 2013-09-11  Andreas Schwab  <schwab@suse.de>
27905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27906         if not defined.
27907         (O_TMPFILE) [__USE_GNU]: Define.
27908         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27909         Define.
27911 2013-09-11  Will Newton  <will.newton@linaro.org>
27913         [BZ #15857]
27914         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27915         does not overflow.
27917 2013-09-11  Will Newton  <will.newton@linaro.org>
27919         [BZ #15856]
27920         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27921         does not overflow.
27923 2013-09-11  Will Newton  <will.newton@linaro.org>
27925         [BZ #15855]
27926         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27927         does not overflow.
27929 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
27931         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27932         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27933         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27934         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27935         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27937 2013-09-10  Allan McRae  <allan@archlinux.org>
27939         [BZ #15748]
27940         * manual/arith.texi (Parsing of Floats): Clarify
27941         cross-reference.
27943         [BZ #15849]
27944         * manual/install.texi (Running make install): Mention
27945         --enable-pt-chown.
27946         * INSTALL: Regenerated.
27948 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
27950         * csu/init-first.c (_init): Remove the !SHARED condition around
27951         FPU control word initialization.
27952         * elf/dl-support.c (_dl_fpu_control): New variable.
27953         (_dl_aux_init) <AT_FPUCW>: Initialize it.
27954         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27955         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27956         * math/test-fpucw-static.c: New file.
27957         * math/test-fpucw-ieee.c: New file.
27958         * math/test-fpucw-ieee-static.c: New file.
27959         * math/Makefile (tests): Add `test-fpucw-ieee' and
27960         `$(tests-static)'.
27961         (tests-static): New variable.
27962         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27963         dependency to...
27964         [($(build-shared),yes)]
27965         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27966         ... this.
27967         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27968         New dependency.
27970 2013-09-09  Allan McRae  <allan@archlinux.org>
27972         [BZ #15939]
27973         * manual/string.texi (Collation Functions): Fix typo in
27974         strcoll example.
27975         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27977         [BZ #15893]
27978         * stdlib/isomac.c (get_null_defines): Fix memory leak.
27980         [BZ #15892]
27981         * libio/memstream.c (open_memstream): Fix memory leak.
27982         * libio/wmemstream.c (open_wmemstream): Likewise.
27984         [BZ #15895]
27985         * nscd/netgroupcache.c: Fix nesting of ifdefs.
27987 2013-09-09  Will Newton  <will.newton@linaro.org>
27989         * malloc/Makefile: Add tst-realloc to tests.
27990         * malloc/tst-realloc.c: New file.
27992 2013-09-09  Allan McRae  <allan@archlinux.org>
27994         [BZ #15844]
27995         * COPYING: Update from GNU website to fix FSF address.
27996         * COPYING.LIB: Likewise.
27998 2013-09-06  David S. Miller  <davem@davemloft.net>
28000         * po/zh_TW.po: Update Chinese (traditional) translation from
28001         translation project.
28003 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28004             Joseph Myers  <joseph@codesourcery.com>
28006         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28007         "localeinfo.h".
28008         (obstack_chunk_alloc): New macro.
28009         (obstack_chunk_free): Likewise.
28010         (record_offset): New function.
28011         (init_locale_data): Likewise.
28012         (align_locale_data): Likewise.
28013         (add_locale_empty): Likewise.
28014         (add_locale_raw_data): Likewise.
28015         (add_locale_raw_obstack): Likewise.
28016         (add_locale_string): Likewise.
28017         (add_locale_wstring): Likewise.
28018         (add_locale_uint32): Likewise.
28019         (add_locale_uint32_array): Likewise.
28020         (add_locale_char): Likewise.
28021         (start_locale_structure): Likewise.
28022         (end_locale_structure): Likewise.
28023         (start_locale_prelude): Likewise.
28024         (end_locale_prelude): Likewise.
28025         (write_locale_data): Take locale_file structure rather than an
28026         iovec.
28027         * locale/programs/locfile.h: Include "obstack.h".
28028         (struct locale_file): Change to store locale file contents instead
28029         of header.
28030         (init_locale_data): New prototype.
28031         (align_locale_data): Likewise.
28032         (add_locale_empty): Likewise.
28033         (add_locale_raw_data): Likewise.
28034         (add_locale_raw_obstack): Likewise.
28035         (add_locale_string): Likewise.
28036         (add_locale_wstring): Likewise.
28037         (add_locale_uint32): Likewise.
28038         (add_locale_uint32_array): Likewise.
28039         (add_locale_char): Likewise.
28040         (start_locale_structure): Likewise.
28041         (end_locale_structure): Likewise.
28042         (start_locale_prelude): Likewise.
28043         (end_locale_prelude): Likewise.
28044         (write_locale_data): Update prototype.
28045         * locale/programs/3level.h (struct TABLE): Remove result field.
28046         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28047         Use new locale_file interface.
28048         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28049         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28050         * locale/programs/ld-address.c (address_output): Use new
28051         locale_file interface.
28052         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28053         NO_ADD_LOCALE.
28054         (collate_finish): Don't call collseq_table_finalize.
28055         (collate_output): Use new locale_file interface.
28056         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28057         in file.
28058         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28059         (TABLE): Move defines earlier in file.
28060         (ELEMENT): Likewise.
28061         (DEFAULT): Likewise.
28062         (wctrans_table_add): Move macro and inline function earlier in
28063         file.
28064         (struct wctype_table): Move type earlier in file.
28065         (add_locale_wctype_table): New static prototype.
28066         (struct locale_ctype_t): Use logical types instead of struct iovec
28067         pointers for members.
28068         (ctype_output): Use new locale_file interface.
28069         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28070         new locale_file interface.
28071         (allocate_arrays): Update for use of new locale_file interface.
28072         * locale/programs/ld-identification.c (identification_output): Use
28073         new locale_file interface.
28074         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28075         * locale/programs/ld-messages.c (messages_output): Likewise.
28076         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28077         * locale/programs/ld-name.c (name_output): Likewise.
28078         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28079         * locale/programs/ld-paper.c (paper_output): Likewise.
28080         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28081         * locale/programs/ld-time.c (time_output): Likewise.
28083 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28085         * benchtests/Makefile: Add memrchr benchmark.
28086         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28087         benchmark as memrchr.
28088         * benchtests/bench-memrchr-ifunc.c: New file.
28089         * benchtests/bench-memrchr.c: New file.
28091 2013-09-06   Will Newton  <will.newton@linaro.org>
28093         * benchtests/Makefile (string-bench): Add memcpy.
28095 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28096             Cong Wang  <amwang@redhat.com>
28098         [BZ #15850]
28099         * sysdeps/unix/sysv/linux/bits/in.h
28100         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28101         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28102         before __USE_KERNEL_IPV6_DEFS uses.
28103         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28104         IPPROTO_BEETPH.
28105         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28106         sockaddr_in6, or ipv6_mreq.
28108 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28110         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28111         memory access for final bytes in some large inputs.
28112         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28114 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28116         * string/test-memrchr.c: New file.
28117         * string/test-memrchr-ifunc.c: New file.
28118         * string/Makefile: Add new memrchr testcase.
28120 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28122         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28123         fanotify_init returns EPERM.
28125 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28127         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28128         errors.
28129         (top level): Treat second token from macro or constant entries for
28130         allowed headers as allowed.
28131         * include/complex.h: Condition internal declarations on
28132         [!_ISOMAC].
28133         * include/fenv.h: Condition include of <stdbool.h> and internal
28134         declarations on [!_ISOMAC].
28136 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28138         [BZ #15923]
28139         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28141 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28143         * configure.in (--enable-versioning): Remove configure option.
28144         (libc_cv_asm_symver_directive): Remove configure test.
28145         (libc_cv_ld_version_script_option): Likewise.
28146         (VERSIONING): Remove variable and AC_SUBST.
28147         (DO_VERSIONING): Remove AC_DEFINE.
28148         * configure: Regenerated.
28149         * config.h.in (DO_VERSIONING): Remove macro.
28150         * Makerules [$(versioning) = yes]: Change conditionals to
28151         [$(build-shared) = yes].
28152         * config.make.in (versioning): Remove variable.
28153         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28154         [$(build-shared) = yes].
28155         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28156         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28157         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28158         [$(build-shared) = yes].
28159         * extra-lib.mk [$(versioning) = yes]: Likewise.
28160         * hurd/Makefile [$(versioning) = yes]: Likewise.
28161         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28162         [SHARED].
28163         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28164         [SHARED].
28165         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28166         [SHARED && !NO_HIDDEN].
28167         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28168         [SHARED].
28169         [SHARED && DO_VERSIONING]: Likewise..
28170         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28171         [$(build-shared) = yes].
28172         * manual/install.texi (--disable-versioning): Remove
28173         documentation.
28174         * INSTALL: Regenerated.
28175         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28176         to [SHARED].
28177         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28178         [$(build-shared) = yes].
28179         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28180         * sysdeps/i386/i686/multiarch/strstr-c.c
28181         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28182         [SHARED && !NO_HIDDEN].
28183         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28184         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28185         * sysdeps/powerpc/powerpc32/dl-machine.c
28186         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28187         * sysdeps/powerpc/powerpc32/sysdep.h
28188         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28189         to [SHARED && PIC && !NO_HIDDEN].
28190         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28191         conditional to [SHARED].
28193 2013-09-04   Will Newton  <will.newton@linaro.org>
28195         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28196         * benchtests/bench-string.h: Include bench-timing.h instead
28197         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28198         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28199         call to HP_TIMING_DIFF_INIT.
28200         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28201         instead of hp-timing.h macros.
28202         * benchtests/bench-memchr.c: Likewise.
28203         * benchtests/bench-memcmp.c: Likewise.
28204         * benchtests/bench-memcpy.c: Likewise.
28205         * benchtests/bench-memmem.c: Likewise.
28206         * benchtests/bench-memmove.c: Likewise.
28207         * benchtests/bench-memset.c: Likewise.
28208         * benchtests/bench-rawmemchr.c: Likewise.
28209         * benchtests/bench-strcasecmp.c: Likewise.
28210         * benchtests/bench-strcasestr.c: Likewise.
28211         * benchtests/bench-strcat.c: Likewise.
28212         * benchtests/bench-strchr.c: Likewise.
28213         * benchtests/bench-strcmp.c: Likewise.
28214         * benchtests/bench-strcpy.c: Likewise.
28215         * benchtests/bench-strcpy_chk.c: Likewise.
28216         * benchtests/bench-strlen.c: Likewise.
28217         * benchtests/bench-strncasecmp.c: Likewise.
28218         * benchtests/bench-strncat.c: Likewise.
28219         * benchtests/bench-strncmp.c: Likewise.
28220         * benchtests/bench-strncpy.c: Likewise.
28221         * benchtests/bench-strnlen.c: Likewise.
28222         * benchtests/bench-strpbrk.c: Likewise.
28223         * benchtests/bench-strrchr.c: Likewise.
28224         * benchtests/bench-strspn.c: Likewise.
28225         * benchtests/bench-strstr.c: Likewise.
28227 2013-09-04  Will Newton  <will.newton@linaro.org>
28229         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28231 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28233         [BZ #15427]
28234         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28235         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28236         * math/libm-test.inc (lgamma_test_data): Add more tests.
28237         * sysdeps/i386/fpu/libm-test-ulps: Update.
28238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28240 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28244         Add ifunc.
28245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28246         Add strcmp-sse2-unaligned
28247         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28249 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28251         * Versions.def (libc): Add GLIBC_2.19.
28253 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28255         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28256         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28258 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28260         [BZ #14155]
28261         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28262         intermediate calculations in recurrence.
28263         (__ieee754_ynf): Likewise.
28264         * math/libm-test.inc (jn_test_data): Do not allow spurious
28265         underflow exception.  Add more tests.
28266         (yn_test_data): Add more tests.
28267         * sysdeps/i386/fpu/libm-test-ulps: Update.
28268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28270 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28272         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28274 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28276         * csu/init-first.c: Fix then/than typos.
28277         * locale/programs/ld-collate.c: Likewise.
28278         * locale/programs/linereader.h: Likewise.
28279         * manual/charset.texi: Likewise.
28280         * manual/filesys.texi: Likewise.
28281         * manual/stdio.texi: Likewise.
28282         * manual/string.texi: Likewise.
28283         * stdlib/fmtmsg.c: Likewise.
28284         * sysdeps/i386/stpncpy.S: Likewise.
28285         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28286         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28287         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28288         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28290 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28292         * elf/dl-open.c: Fix typos.
28293         * iconvdata/gbbig5.c: Likewise.
28294         * iconvdata/iso-2022-jp.c: Likewise.
28295         * iconv/gconv_int.h: Likewise.
28296         * iconv/loop.c: Likewise.
28297         * nis/rpcsvc/nis.h: Likewise.
28298         * resolv/ns_name.c: Likewise.
28299         * stdio-common/vfscanf.c: Likewise.
28300         * streams/stropts.h: Likewise.
28301         * sunrpc/rpc_thread.c: Likewise.
28302         * sysdeps/i386/strpbrk.S: Likewise.
28303         * sysdeps/ieee754/k_standard.c: Likewise.
28304         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28306         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28307         * sysdeps/mach/hurd/profil.c: Likewise.
28308         * sysdeps/s390/dl-procinfo.h: Likewise.
28309         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28310         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28311         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28312         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28313         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28315 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28317         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28320 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28322         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28323         aix specific files.
28324         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28325         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28326         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28327         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28328         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28329         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28330         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28331         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28333 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28334             Roland McGrath  <roland@hack.frob.com>
28336         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28337         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28339 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28341         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28342         __executable_start symbol instead of _start.
28344 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28346         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28347         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28348         Move macros to...
28349         * sysdeps/gnu/ldsodefs.h: ... this new file.
28351         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28352         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28353         instead of ELFOSABI_LINUX.
28355         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28356         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28357         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28358         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28359         Likewise.
28360         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28361         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28362         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28363         Likewise.
28364         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28365         (ibm_extended_long_double): Add ieee_nan member.
28366         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28367         (do_test): New function.
28369         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28370         TEST_TRUNC.
28371         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28372         functions, renamed from truncdfsf_test, trunctfsf_test,
28373         trunctfdf_test.
28374         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28375         functions.
28376         (do_test): Run all these.
28378 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28380         * argp/argp-help.c: Fix typos.
28381         * argp/argp-parse.c: Likewise.
28382         * debug/backtracesyms.c: Likewise.
28383         * elf/elf.h: Likewise.
28384         * malloc/malloc.c: Likewise.
28385         * nis/nis_print.c: Likewise.
28386         * resolv/res_comp.c: Likewise.
28387         * stdlib/stdlib.h: Likewise.
28388         * sunrpc/clnt_tcp.c: Likewise.
28389         * sunrpc/clnt_udp.c: Likewise.
28390         * sunrpc/clnt_unix.c: Likewise.
28391         * sysdeps/unix/bsd/ptsname.c: Likewise.
28392         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28393         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28395         Likewise.
28396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28397         Likewise.
28398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28399         Likewise.
28400         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28402 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28404         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28407 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28409         [BZ #15897]
28410         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28411         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28412         ($(objpfx)bug-dl-leaf): New rule.
28413         ($(objpfx)bug-dl-leaf.so): Likewise.
28414         ($(objpfx)bug-dl-leaf.out): Likewise.
28415         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28416         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28417         * dlfcn/bug-dl-leaf.c: New test.
28418         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28419         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28420         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28421         (dlclose): Likewise.
28422         (dlmopen): Likewise.
28424 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28426         * include/netdb.h [!_ISOMAC]:
28427         Don't include <tls.h>.
28428         (h_errno, __libc_h_errno): Move declaration and macros out of
28429         [_LIBC_REENTRANT].
28431         * include/resolv.h [_RESOLV_H_]:
28432         Don't include <tls.h>.
28433         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28434         * resolv/res_libc.c: Don't include <tls.h>.
28435         (_res): Use __attribute__ ((nocommon)) in place of
28436         __attribute__ ((section (".bss"))).
28438         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28439         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28441         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28443         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28444         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28446         * resolv/res_mkquery.c: Include <sys/time.h>.
28448         * inet/ifreq.c: Moved to ...
28449         * sysdeps/unix/ifreq.c: ... here.
28450         * inet/ifreq.c: New file, true stub version.
28452         * socket/sa_len.c: New file.
28453         * socket/Makefile (aux): Add it.
28454         * sysdeps/unix/sysv/linux/Makefile
28455         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28456         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28457         and #include <socket/sa_len.c>.
28458         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28459         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28461         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28462         * bits/socket.h: ... here.
28464         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28465         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28466         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28468 2013-08-27  Andreas Schwab  <schwab@suse.de>
28470         [BZ #15736]
28471         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28472         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28473         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28474         * string/test-strcasecmp.c (test_main): Run tests in several
28475         locales.
28476         * string/test-strncasecmp.c (test_main): Likewise.
28478         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28479         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28480         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28482         (__strncasecmp_ssse3) [PIC]: Likewise.
28484 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28486         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28488         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28489         instead of explicitly declaring xdecrypt.
28490         * nis/nss_nis/nis-publickey.c: Likewise.
28492 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28494         [BZ #15890]
28495         * nscd/aicache.c: Include res_hconf.h.
28496         (addhstaiX): Initialize res_hconf.
28498 2013-08-26  Andreas Schwab  <schwab@suse.de>
28500         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28501         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28503 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28505         * nscd/aicache.c (addhstaiX): Fix indentation.
28507 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28509         * configure.ac: Quote $build_pt_chown test.
28510         * configure: Regenerated.
28512 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28514         [BZ #15532]
28515         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28516         * math/s_cexpf.c (__cexpf): Likewise.
28517         * math/s_cexpl.c (__cexpl): Likewise.
28518         * math/libm-test.inc (cexp_test_data): Correct expected return
28519         value for NaN + i0.  Add another test.
28521 2013-08-22  David S. Miller  <davem@davemloft.net>
28523         * po/ca.po: Update Catalan translation from translation project.
28524         * po/uk.po: Add Ukrainian translations from translation project.
28526 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28528         [BZ #15797]
28529         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28530         is infinite, not alongside NaN test.
28531         * math/s_fdimf.c (__fdimf): Likewise.
28532         * math/s_fdiml.c (__fdiml): Likewise.
28533         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28534         errno is unchanged.
28536 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28538         * argp/argp-help.c: Fix typos.
28539         * crypt/speeds.c: Likewise.
28540         * csu/check_fds.c: Likewise.
28541         * elf/dl-load.c: Likewise.
28542         * elf/dl-open.c: Likewise.
28543         * elf/reldep3.c: Likewise.
28544         * elf/reldep.c: Likewise.
28545         * elf/sprof.c: Likewise.
28546         * iconv/iconv_charmap.c: Likewise.
28547         * iconv/skeleton.c: Likewise.
28548         * iconv/strtab.c: Likewise.
28549         * io/lockf64.c: Likewise.
28550         * libio/libioP.h: Likewise.
28551         * resolv/gai_notify.c: Likewise.
28552         * resolv/ns_name.c: Likewise.
28553         * resolv/ns_samedomain.c: Likewise.
28554         * resolv/res_send.c: Likewise.
28555         * stdlib/random.c: Likewise.
28556         * sunrpc/rpc/xdr.h: Likewise.
28557         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28558         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28559         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28560         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28561         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28562         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28563         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28564         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28565         * sysdeps/mach/hurd/check_fds.c: Likewise.
28566         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28567         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28568         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28569         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28570         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28571         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28572         * sysdeps/pthread/aio_notify.c: Likewise.
28573         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28574         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28575         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28576         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28577         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28579 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28581         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28582         version if bit_Slow_SSE4_2 is set.
28583         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28584         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28586 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28588         [BZ #15867]
28589         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28590         trampoline stack frame information.
28591         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28592         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28593         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28594         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28595         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28596         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28597         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28598         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28599         sa_flags value.
28600         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28601         interrupting a syscall and set with option SA_SIGINFO.
28603 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #15531]
28606         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28607         argument is infinite.
28608         * math/s_cprojf.c (__cprojf): Likewise.
28609         * math/s_cprojl.c (__cprojl): Likewise.
28610         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28611         * math/libm-test.inc (cproj_test_data): Add more tests.
28613         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28615         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28616         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28617         size.  Use __ffs to determine corresponding shift.
28619 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28620             Roland McGrath  <roland@hack.frob.com>
28622         * Makefile (INSTALL): Remove trailing blank lines from output of
28623         makeinfo.
28625 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28627         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28628         Align 32 bit compat elf_greg to 8 bytes.
28630 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28632         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28634 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28636         * string/strcoll_l.c (coll_seq): New structure.
28637         (get_next_seq_cached): New function.
28638         (get_next_seq): New function.
28639         (do_compare): New function.
28640         (STRCOLL): Use GNU style definition.  Simplify implementation
28641         by using get_next_seq, get_next_seq_cached and do_compare.
28643 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28645         [BZ #14699]
28646         CVE-2013-4237
28647         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28648         member.
28649         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28650         member.
28651         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28652         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28653         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28654         conditional.
28655         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28656         GETDENTS_64BIT_ALIGNED.
28657         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28658         * manual/filesys.texi (Reading/Closing Directory): Document
28659         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28660         strongly.
28661         * manual/conf.texi (Limits for Files): Add portability note to
28662         NAME_MAX, PATH_MAX.
28663         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28665 2013-08-13  Andreas Schwab  <schwab@suse.de>
28667         [BZ #15749]
28668         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28669         of fabs.
28670         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28671         LDBL_MAX_EXP >= 16384]: Add tests for it.
28673 2013-08-12  David S. Miller  <davem@davemloft.net>
28675         * version.h (RELEASE): Set to "development".
28676         (VERSION): Set to "2.18.90".
28677         * NEWS: Add 2.19 section.
28679 2013-08-03  David S. Miller  <davem@davemloft.net>
28681         * po/ko.po: Update Korean translation from translation project.
28683 2013-08-01  David S. Miller  <davem@davemloft.net>
28685         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28686         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28687         Bilka.
28689 2013-07-30  David S. Miller  <davem@davemloft.net>
28691         * po/fr.po: Update French translation from translation project.
28693 2013-07-28  David S. Miller  <davem@davemloft.net>
28695         * po/cs.po: Update Czech translation from translation project.
28697         * po/sv.po: Update Swedish translation from translation project.
28699 2013-07-27  David S. Miller  <davem@davemloft.net>
28701         * po/eo.po: Update Esperanto translation from translation project.
28703         * po/vi.po: Update Vietnamese translation from translation project.
28705         * po/de.po: Update German translation from translation project.
28707 2013-07-26  David S. Miller  <davem@davemloft.net>
28709         * po/bg.po: Update Bulgarian translation from translation project.
28711         * po/nl.po: Update Dutch translation from translation project.
28712         * po/pl.po: Update Polish translation from translation project.
28713         * po/ru.po: Update Russian translation from translation project.
28715 2013-07-24  David S. Miller  <davem@davemloft.net>
28717         * po/libc.pot: Update.
28719 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28721         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28722         variable page size.
28723         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28724         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28725         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28727 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28729         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28731 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28732             Andreas Schwab  <schwab@suse.de>
28733             Roland McGrath  <roland@hack.frob.com>
28734             Joseph Myers  <joseph@codesourcery.com>
28735             Carlos O'Donell  <carlos@redhat.com>
28737         [BZ #15755]
28738         * config.h.in: Define HAVE_PT_CHOWN.
28739         * config.make.in (build-pt-chown): New variable.
28740         * configure.in (--enable-pt_chown): New configure option.
28741         * configure: Regenerate.
28742         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28743         build-pt-chown is enabled.
28744         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28745         pt_chown to fix pty ownership.
28746         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28747         CLOSE_ALL_FDS.
28748         * manual/install.texi (Configuring and compiling): Mention
28749         --enable-pt_chown. Add @findex for grantpt.
28750         * INSTALL: Regenerate.
28752 2013-07-20  David S. Miller  <davem@davemloft.net>
28754         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28755         difference between 32-bit and 64-bit.
28757 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28759         [BZ #15711]
28760         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28761         Avoid system header dependency with -ffreestanding.
28762         ($(objpfx)bits/syscall%d): Likewise.
28764 2013-07-13  David S. Miller  <davem@davemloft.net>
28766         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28767         underflows from atanl/atan2l due to bug 15319.
28768         (casinh_test_data): Likewise.
28770 2013-07-07  David S. Miller  <davem@davemloft.net>
28772         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28774 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28776         * sysdeps/i386/fpu/libm-test-ulps: Update.
28777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28779 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28781         * configure.in (--enable-lock-elision): Fix message text.
28782         * INSTALL: Regenerate.
28783         * configure: Regenerate.
28785 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28789 2013-07-03  Andreas Jaeger  <aj@suse.de>
28791         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28792         define.
28793         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28794         (ptrace_peeksiginfo_args): Add.
28795         (__ptrace_peeksiginfo_flags): Add.
28796         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28797         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28798         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28800 2013-07-03  Allan McRae  <allan@archlinux.org>
28802         * sysdeps/i386/fpu/libm-test-ulps: Update.
28804 2013-07-02  David S. Miller  <davem@davemloft.net>
28806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28808 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28812 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28814         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28817 2013-07-02  Andi Kleen <ak@linux.intel.com>
28819         * config.h.in (ENABLE_LOCK_ELISION): Add.
28820         * configure.in (--enable-lock-elision): Add option.
28821         * manual/install.texi: Document --enable lock elision.
28822         * configure: Regenerate
28823         * INSTALL: Regenerate.
28825 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28827         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28828         SSE4.2 strcasecmp for libc.a.
28829         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28831 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28833         [BZ #13304]
28834         * soft-fp/op-common.h (_FP_FMA): New macro.
28835         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28836         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28837         (_FP_MUL_MEAT_1_imm): ... here.
28838         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28839         (_FP_MUL_MEAT_1_wide): ... here.
28840         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28841         (_FP_MUL_MEAT_1_hard): ... here.
28842         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28843         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28844         (_FP_MUL_MEAT_2_wide): ... here.
28845         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28846         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28847         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28848         (_FP_MUL_MEAT_2_gmp): ... here.
28849         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28850         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28851         (_FP_MUL_MEAT_4_wide): ... here.
28852         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28853         (_FP_MUL_MEAT_4_gmp): ... here.
28854         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28855         (_FP_WFRACBITS_DW_S): Likewise.
28856         (_FP_WFRACXBITS_DW_S): Likewise.
28857         (_FP_HIGHBIT_DW_S): Likewise.
28858         (FP_FMA_S): Likewise.
28859         (_FP_FRAC_HIGH_DW_S): Likewise.
28860         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28861         (_FP_WFRACBITS_DW_D): Likewise.
28862         (_FP_WFRACXBITS_DW_D): Likewise.
28863         (_FP_HIGHBIT_DW_D): Likewise.
28864         (FP_FMA_D): Likewise.
28865         (_FP_FRAC_HIGH_DW_D): Likewise.
28866         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28867         (_FP_WFRACBITS_DW_E): Likewise.
28868         (_FP_WFRACXBITS_DW_E): Likewise.
28869         (_FP_HIGHBIT_DW_E): Likewise.
28870         (FP_FMA_E): Likewise.
28871         (_FP_FRAC_HIGH_DW_E): Likewise.
28872         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28873         (_FP_WFRACBITS_DW_Q): Likewise.
28874         (_FP_WFRACXBITS_DW_Q): Likewise.
28875         (_FP_HIGHBIT_DW_Q): Likewise.
28876         (FP_FMA_Q): Likewise.
28877         (_FP_FRAC_HIGH_DW_Q): Likewise.
28878         * soft-fp/fmasf4.c: New file.
28879         * soft-fp/fmadf4.c: Likewise.
28880         * soft-fp/fmatf4.c: Likewise.
28882 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28885         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28886         Silvermont.
28887         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28888         macro.
28889         (index_Slow_SSE4_2): Likewise.
28890         (index_Prefer_PMINUB_for_stringop): Likewise.
28891         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28892         bit_Slow_SSE4_2 is set.
28893         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28894         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28896 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28898         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28899         rtld_global._dl_hwcap2.
28900         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28901         POWER8.
28902         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28903         POWER8 feature descriptions defined in _dl_hwcap2.
28904         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28905         string handling for POWER8 feature bits.
28906         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28907         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28908         _dl_powerpc_cap_flags.
28909         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28910         * sysdeps/powerpc/rtld-global-offsets.sym
28911         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28912         _dl_hwcap2 in the rtld_global_ro structure.
28914 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28916         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28917         hardware capabilities in support of AT_HWCAP2.
28918         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28919         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28920         GLRO(dl_hwcap2).
28921         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28922         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
28923         explicitly the unknown a_type display mechanism is used.
28924         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28925         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28926         struct member.
28927         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28928         to macro prototype for AT_HWCAP2 support.
28929         * sysdeps/i386/dl-procinfo.h: Likewise.
28930         * sysdeps/s390/dl-procinfo.h: Likewise.
28931         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28932         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
28933         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
28934         return -1 for unknown a_type display fallback.
28935         * sysdeps/sparc/dl-procinfo.h: Likewise.
28936         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28937         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28939 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28941         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28942         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28944 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
28946         [BZ #12492]
28947         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28948         mprotect making __stack_prot writable.
28950 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
28951             Joseph Myers  <joseph@codesourcery.com>
28953         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28954         as being properly aligned.
28956 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
28958         * dlfcn/modstatic5.c: New file.
28959         * dlfcn/tststatic5.c: New file.
28960         * dlfcn/Makefile (tests): Add tststatic5.
28961         (tests-static): Likewise.
28962         (modules-names): Add modstatic5.
28963         (tststatic5-ENV): New variable.
28964         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28966         [BZ #15022]
28967         * elf/dl-support.c (_dl_main_map): New variable.
28968         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28969         (_dl_nns, _dl_load_adds): Set to 1.
28970         (_dl_initial_searchlist): Refer to _dl_main_map.
28971         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28972         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28973         call to _dl_get_origin.
28974         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28975         around call_map.
28976         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28977         * dlfcn/modstatic3.c: New file.
28978         * dlfcn/tststatic3.c: New file.
28979         * dlfcn/tststatic4.c: New file.
28980         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28981         (tests-static): Likewise.
28982         (modules-names): Add modstatic3.
28983         (tststatic3-ENV, tststatic4-ENV): New variables.
28984         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28985         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28987 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
28989         * configure.in (CC): Require GCC version 4.4 or later.
28990         * configure: Regenerated.
28991         * manual/install.texi (Tools for Compilation): Update GCC version
28992         requirement.
28993         * INSTALL: Regenerated.
28995 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28997         [BZ #15674]
28998         * string/test-memcmp.c (check2): New.
28999         (main): Call check2.
29001         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29003 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29005         [BZ #15022]
29006         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29007         over to...
29008         (dl_open_worker) [!SHARED]: ... here.
29010 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29012         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29014 2013-06-25  Richard Henderson  <rth@redhat.com>
29016         * locale/programs/locarchive.c: Include <libc-internal.h>
29018 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29020         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29021         trailing whitespace removed.
29023 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29025         [BZ #10283]
29026         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29027         * locale/programs/locarchive.c: Include libc-mmap.h.
29028         (prepare_address_space): Take two new outputs (the mmap base and len).
29029         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29030         values.
29031         (create_archive): Declare new mmap base and len values for
29032         prepare_address_space, and store the result in ah.
29033         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29034         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29035         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29036         Declare new mmap base and len values for
29037         prepare_address_space, and store the result in new_ah.
29038         (open_archive): Declare new mmap base and len values for
29039         prepare_address_space, and store the result in ah.
29040         (close_archive): If ah->mmap_base is not NULL, use that and
29041         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29042         * sysdeps/generic/libc-mmap.h: New file.
29044 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29046         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29047         (ALIGN_UP): Likewise.
29048         (PTR_ALIGN_DOWN): Likewise.
29049         (PTR_ALIGN_UP): Likewise.
29051 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29054         entry mapped to PPC_PLATFORM_POWER8.
29055         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29056         POWER8.
29057         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29058         (_dl_string_platform): Add case for exporting platform position for
29059         POWER8.
29060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29061         search path to sysdeps/powerpc/powerpc32/power8 directory.
29062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29063         search path to sysdeps/powerpc/powerpc64/power8 directory.
29064         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29065         power7 directories.
29066         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29067         power7 directories.
29069 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29071         * INSTALL: Regenerate.
29073         * nscd/connections.c (nscd_init): Fix comment.
29075 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29077         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29079         [BZ #15667]
29080         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29081         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29083 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29085         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29086         DL_DST_REQ_STATIC.
29087         (DL_DST_REQ_STATIC): Remove macro.
29089 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29091         [BZ #7006]
29092         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29093         with a shift of 0 bits.
29095 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29097         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29098         $(tststatic-ENV).
29100 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29102         [BZ #15655]
29103         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29105 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29107         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29108         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29109         accepts -fno-tree-loop-distribute-patterns.
29110         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29111         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29112         recursive call.
29113         * string/memset.c (memset): Likewise.
29114         * string/test-memmove.c (simple_memmove): Disable loop transformation
29115         to library calls.
29116         * string/test-memset.c (simple_memset): Likewise.
29117         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29118         * benchtests/bench-memset.c (simple_memset): Likewise.
29119         * configure: Regenerated.
29121 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29123         * math/test-misc.c (main): Ignore fesetround failure when failures
29124         of subsequent rounding tests would be ignored.
29126         [BZ #15654]
29127         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29128         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29129         * math/fegetenv.c (__fegetenv): Return 0.
29130         * math/fegetexcept.c (fegetexcept): Return 0.
29131         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29132         FE_TONEAREST.
29133         * math/feholdexcpt.c (feholdexcept): Return 0.
29134         * math/fesetenv.c (__fesetenv): Return 0.
29135         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29136         argument FE_TONEAREST.
29137         * math/feupdateenv.c (__feupdateenv): Return 0.
29138         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29140 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29142         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29143         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29144         ($(objpfx)rtld-%.os rules): Use them.
29146 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29148         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29149         fields.
29151 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29153         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29154         length of target pattern, then descending length of dependency pattern.
29155         * configure.in (AWK): Require gawk 3.1.2 or newer.
29156         * manual/install.texi (Tools for Compilation): Say that we do.
29157         * configure: Regenerated.
29159         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29160         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29161         * scripts/sysd-rules.awk: ... this new script.
29162         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29163         than a glob-style pattern.
29165 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29167         * math/test-misc.c (main): Do not treat incorrectly rounded
29168         conversions as failure unless ROUNDING_TESTS passes.
29170 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29172         [BZ #15631]
29173         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29174         restore exception state around main square root computation, then
29175         check for inexactness explicitly.
29177         * math/libm-test.inc (fma_test_data): Add another test.
29179 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * manual/threads.texi (Non-POSIX Extensions): New document
29182         node.  Document pthread_getattr_default_np and
29183         pthread_setattr_default_np.
29185         * Versions.def (libpthread): Add GLIBC_2.18.
29186         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29188         Likewise.
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29190         Likewise.
29191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29192         Likewise.
29193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29194         Likewise.
29195         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29196         Likewise.
29197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29198         Likewise.
29199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29200         Likewise.
29201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29202         Likewise.
29203         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29204         Likewise.
29206 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29209         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29211 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29212             H.J. Lu  <hjl.tools@gmail.com>
29214         [BZ #15627]
29215         * sysdeps/x86_64/rtld-memset.c: Remove file.
29216         * sysdeps/x86_64/rtld-memset.S: New file.
29218 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29220         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29221         (test_in_one_mode): Take arguments for whether the rounding mode
29222         is supported for each floating-point type.
29223         (do_test): Pass new arguments to test_in_one_mode using
29224         ROUNDING_TESTS.
29226 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29228         * posix/tst-waitid.c (do_test): Distinguish different instances of
29229         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29230         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29231         before entering the kernel for waitpid.
29233 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29235         * NEWS: Fix note on clock function precision.  Text by Roland
29236         McGrath.
29238 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29240         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29241         it into place only when and if the sanity check passes.
29243 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29245         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29246         output for whether conversion result is exact.  Take argument
29247         indicating whether type is IBM long double.
29248         (round_for_all): Change need_exact field to ibm_ld.
29249         * stdlib/tst-strtod-round.c (struct exactness): New type.
29250         (struct test): Change bool ld_ok field to struct exactness exact.
29251         (TEST): Update all definitions for change to field.
29252         (tests): Regenerate array contents.
29253         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29254         field value.  Check for IBM long double here.
29255         (do_test): Update calls to test_in_one_mode.
29257 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29259         [BZ #12515]
29260         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29261         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29263 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29265         [BZ #15605]
29266         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29267         generated by the compiler on loop optimizations.
29268         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29269         general definitions.
29271 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29273         * math/bug-nextafter.c: Include <math-tests.h>.
29274         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29275         the relevant type.
29276         * math/bug-nexttoward.c: Include <math-tests.h>.
29277         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29278         the relevant type.
29279         * math/test-misc.c: Include <math-tests.h>.
29280         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29281         the relevant type.
29283 2013-06-12  Andreas Jaeger  <aj@suse.de>
29285         * po/ia.po: Update Interlingua translation from translation
29286         project.
29288 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29290         * include/fenv.h: Include stdbool.h.
29291         (struct rm_ctx): New structure.
29292         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29293         Define macro.
29294         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29295         (SET_RESTORE_ROUNDF): Likewise.
29296         (SET_RESTORE_ROUNDL): Likewise.
29297         (SET_RESTORE_ROUND_NOEX): Likewise.
29298         (SET_RESTORE_ROUND_NOEXF): Likewise.
29299         (SET_RESTORE_ROUND_NOEXL): Likewise.
29300         (SET_RESTORE_ROUND_53BIT): Likewise.
29301         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29302         (libc_feresetround_noexf_ctx): Likewise.
29303         (libc_feresetround_noexl_ctx): Likewise.
29304         (libc_feholdsetround_53bit_ctx): Likewise.
29305         (libc_feresetround_53bit_ctx): Likewise.
29306         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29307         (libc_feholdexcept_setround_sse_ctx): New function.
29308         (libc_fesetenv_sse_ctx): Likewise.
29309         (libc_feupdateenv_sse_ctx): Likewise.
29310         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29311         (libc_feholdexcept_setround_387_ctx): Likewise.
29312         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29313         (libc_feholdsetround_387_prec_ctx): Likewise.
29314         (libc_feholdsetround_387_ctx): Likewise.
29315         (libc_feholdsetround_387_53bit_ctx): Likewise.
29316         (libc_feholdsetround_sse_ctx): Likewise.
29317         (libc_feresetround_sse_ctx): Likewise.
29318         (libc_feresetround_387_ctx): Likewise.
29319         (libc_feupdateenv_387_ctx): Likewise.
29320         (libc_feholdexcept_setroundf_ctx): Define macro.
29321         (libc_fesetenvf_ctx): Likewise.
29322         (libc_feupdateenvf_ctx): Likewise.
29323         (libc_feholdsetroundf_ctx): Likewise.
29324         (libc_feresetroundf_ctx): Likewise.
29325         (libc_feholdexcept_setround_ctx): Likewise.
29326         (libc_fesetenv_ctx): Likewise.
29327         (libc_feupdateenv_ctx): Likewise.
29328         (libc_feholdsetround_ctx): Likewise.
29329         (libc_feresetround_ctx): Likewise.
29330         (libc_feholdexcept_setroundl_ctx): Likewise.
29331         (libc_feupdateenvl_ctx): Likewise.
29332         (libc_feholdsetroundl_ctx): Likewise.
29333         (libc_feresetroundl_ctx): Likewise.
29334         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29335         (libc_feresetround_53bit_ctx): Likewise.
29337 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29339         * locale/iso-639.def: Convert to UTF-8.
29341 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29343         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29344         (EXCEPTION_TESTS_double): Likewise.
29345         (EXCEPTION_TESTS_long_double): Likewise.
29346         (EXCEPTION_TESTS): Likewise.
29347         * math/libm-test.inc (test_exceptions): Only test exceptions if
29348         EXCEPTION_TESTS (FLOAT).
29350 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29352         * benchtests/Makefile (string-bench): Add strcpy_chk and
29353         stpcpy_chk.
29354         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29355         * benchtests/bench-stpcpy_chk.c: New file.
29356         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29357         * benchtests/bench-strcpy_chk.c: New file.
29358         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29359         code.
29360         (do_test): Likewise.
29362 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29364         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29365         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29366         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29367         with tabs where appropriate.
29368         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29369         dl-procinfo.h.
29370         [PPC_PLATFORM_PPC440]: Likewise.
29371         [PPC_PLATFORM_PPC464]: Likewise.
29372         [PPC_PLATFORM_PPC476]: Likewise.
29373         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29374         ppc464, and ppc476 platform strings merging from ports/
29375         dl-procinfo.h.
29377 2013-06-11  Andreas Schwab  <schwab@suse.de>
29379         [BZ #14991]
29380         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29381         (from_ucs4_idx): Regenerate.
29382         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29383         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29384         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29385         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29386         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29387         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29388         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29389         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29390         from FROM_LOOP and TO_LOOP specific macros.
29391         (BODY): Handle combining characters.
29392         * iconvdata/BIG5HKSCS.irreversible: Update.
29393         * iconvdata/BIG5HKSCS.precomposed: New file.
29394         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29395         characters.
29396         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29398 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400         * include/sys/time.h: Fix indentation and add copyright header.
29402         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29403         (do_test): Likewise.
29404         * string/test-memchr.c (do_one_test): Likewise.
29405         (do_test): Likewise.
29406         * string/test-memcmp.c (do_one_test): Likewise.
29407         (do_test): Likewise.
29408         * string/test-memcpy.c (do_one_test): Likewise.
29409         (do_test): Likewise.
29410         * string/test-memmem.c (do_one_test): Likewise.
29411         (do_test): Likewise.
29412         (do_random_tests): Likewise.
29413         * string/test-memmove.c (do_one_test): Likewise.
29414         (do_test): Likewise.
29415         * string/test-memset.c (do_one_test): Likewise.
29416         (do_test): Likewise.
29417         * string/test-rawmemchr.c (do_one_test): Likewise.
29418         (do_test): Likewise.
29419         * string/test-strcasecmp.c (do_one_test): Likewise.
29420         (do_test): Likewise.
29421         * string/test-strcasestr.c (do_one_test): Likewise.
29422         (do_test): Likewise.
29423         * string/test-strcat.c (do_one_test): Likewise.
29424         (do_test): Likewise.
29425         * string/test-strchr.c (do_one_test): Likewise.
29426         (do_test): Likewise.
29427         * string/test-strcmp.c (do_one_test): Likewise.
29428         (do_test): Likewise.
29429         * string/test-strcpy.c (do_one_test): Likewise.
29430         (do_test): Likewise.
29431         * string/test-string.h: Likewise.
29432         (test_init): Likewise.
29433         * string/test-strlen.c (do_one_test): Likewise.
29434         (do_test): Likewise.
29435         * string/test-strncasecmp.c (do_one_test): Likewise.
29436         (do_test): Likewise.
29437         * string/test-strncat.c (do_one_test): Likewise.
29438         (do_test): Likewise.
29439         * string/test-strncmp.c (do_one_test): Likewise.
29440         (do_test_limit): Likewise.
29441         (do_test): Likewise.
29442         * string/test-strncpy.c (do_one_test): Likewise.
29443         (do_test): Likewise.
29444         * string/test-strnlen.c (do_one_test): Likewise.
29445         (do_test): Likewise.
29446         * string/test-strpbrk.c (do_one_test): Likewise.
29447         (do_test): Likewise.
29448         * string/test-strrchr.c (do_one_test): Likewise.
29449         (do_test): Likewise.
29450         * string/test-strspn.c (do_one_test): Likewise.
29451         (do_test): Likewise.
29452         * string/test-strstr.c (do_one_test): Likewise.
29453         (do_test): Likewise.
29455         * benchtests/Makefile (string-bench): Add string benchmarks.
29456         * benchtests/bench-bcopy-ifunc.c: New file.
29457         * benchtests/bench-bcopy.c: New file.
29458         * benchtests/bench-bzero-ifunc.c: New file.
29459         * benchtests/bench-bzero.c: New file.
29460         * benchtests/bench-memccpy-ifunc.c: New file.
29461         * benchtests/bench-memccpy.c: New file.
29462         * benchtests/bench-memchr-ifunc.c: New file.
29463         * benchtests/bench-memchr.c: New file.
29464         * benchtests/bench-memcmp-ifunc.c: New file.
29465         * benchtests/bench-memcmp.c: New file.
29466         * benchtests/bench-memmem-ifunc.c: New file.
29467         * benchtests/bench-memmem.c: New file.
29468         * benchtests/bench-memmove-ifunc.c: New file.
29469         * benchtests/bench-memmove.c: New file.
29470         * benchtests/bench-mempcpy-ifunc.c: New file.
29471         * benchtests/bench-mempcpy.c: New file.
29472         * benchtests/bench-memset-ifunc.c: New file.
29473         * benchtests/bench-memset.c: New file.
29474         * benchtests/bench-rawmemchr-ifunc.c: New file.
29475         * benchtests/bench-rawmemchr.c: New file.
29476         * benchtests/bench-stpcpy-ifunc.c: New file.
29477         * benchtests/bench-stpcpy.c: New file.
29478         * benchtests/bench-stpncpy-ifunc.c: New file.
29479         * benchtests/bench-stpncpy.c: New file.
29480         * benchtests/bench-strcasecmp-ifunc.c: New file.
29481         * benchtests/bench-strcasecmp.c: New file.
29482         * benchtests/bench-strcasestr-ifunc.c: New file.
29483         * benchtests/bench-strcasestr.c: New file.
29484         * benchtests/bench-strcat-ifunc.c: New file.
29485         * benchtests/bench-strcat.c: New file.
29486         * benchtests/bench-strchr-ifunc.c: New file.
29487         * benchtests/bench-strchr.c: New file.
29488         * benchtests/bench-strchrnul-ifunc.c: New file.
29489         * benchtests/bench-strchrnul.c: New file.
29490         * benchtests/bench-strcmp-ifunc.c: New file.
29491         * benchtests/bench-strcmp.c: New file.
29492         * benchtests/bench-strcpy-ifunc.c: New file.
29493         * benchtests/bench-strcpy.c: New file.
29494         * benchtests/bench-strcspn-ifunc.c: New file.
29495         * benchtests/bench-strcspn.c: New file.
29496         * benchtests/bench-strlen-ifunc.c: New file.
29497         * benchtests/bench-strlen.c: New file.
29498         * benchtests/bench-strncasecmp-ifunc.c: New file.
29499         * benchtests/bench-strncasecmp.c: New file.
29500         * benchtests/bench-strncat-ifunc.c: New file.
29501         * benchtests/bench-strncat.c: New file.
29502         * benchtests/bench-strncmp-ifunc.c: New file.
29503         * benchtests/bench-strncmp.c: New file.
29504         * benchtests/bench-strncpy-ifunc.c: New file.
29505         * benchtests/bench-strncpy.c: New file.
29506         * benchtests/bench-strnlen-ifunc.c: New file.
29507         * benchtests/bench-strnlen.c: New file.
29508         * benchtests/bench-strpbrk-ifunc.c: New file.
29509         * benchtests/bench-strpbrk.c: New file.
29510         * benchtests/bench-strrchr-ifunc.c: New file.
29511         * benchtests/bench-strrchr.c: New file.
29512         * benchtests/bench-strspn-ifunc.c: New file.
29513         * benchtests/bench-strspn.c: New file.
29514         * benchtests/bench-strstr-ifunc.c: New file.
29515         * benchtests/bench-strstr.c: New file.
29517         * benchtests/Makefile: Disable parallel execution of targets.
29518         (string-bench): Add memcpy.
29519         (benchset): New variable to store a list of benchmark sets.
29520         (bench-func): Renamed from bench.
29521         (bench-set): New target.
29522         (bench): Depend on bench-func and bench-set.
29523         * benchtests/README: Add section on benchmark sets.
29524         * benchtests/bench-memcpy-ifunc.c: New file.
29525         * benchtests/bench-memcpy.c: New file.
29526         * benchtests/bench-string.h: New file.
29528 2013-06-11  Andreas Schwab  <schwab@suse.de>
29530         [BZ #15577]
29531         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29532         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29533         values in the triple.
29534         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29535         terminator in the group key.
29537 2013-06-11  Andreas Jaeger  <aj@suse.de>
29539         * po/zh_TW.po: Update Chinese (traditional) translation from
29540         translation project.
29542 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29544         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29545         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29546         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29548         (clock_getcpuclockid): Likewise.
29549         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29550         Add weak_alias and libc_hidden_def.
29551         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29552         * rt/clock_gettime.c (clock_gettime): Rename to
29553         __clock_gettime.  Add weak_alias and libc_hidden_def.
29554         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29555         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29556         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29557         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29558         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29559         Likewise.
29560         * rt/clock_settime.c (clock_settime): Rename to
29561         __clock_settime.  Add weak_alias and libc_hidden_def.
29562         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29564 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29566         * mach/err_boot.sub: Remove trailing whitespace.
29567         * mach/err_ipc.sub: Likewise.
29568         * mach/err_mach.sub: Likewise.
29570         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29571         (ROUNDING_TESTS_double): Likewise.
29572         (ROUNDING_TESTS_long_double): Likewise.
29573         (ROUNDING_TESTS): Likewise.
29574         * math/libm-test.inc: Include <math-tests.h>.
29575         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29576         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29577         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29578         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29580 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29582         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29583         of assigning.
29585 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29587         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29588         otherwise empty TRANS lines.
29589         * sysdeps/gnu/errlist.c: Regenerated.
29591         * catgets/gencat.c (error_print): Use (void) in function
29592         definition.
29593         * crypt/crypt_util.c (__init_des): Likewise.
29594         * crypt/speeds.c (Stop): Likewise.
29595         (main): Likewise.
29596         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29597         * inet/ruserpass.c (token): Likewise.
29598         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29599         * intl/localealias.c (extend_alias_table): Likewise.
29600         * intl/plural-exp.c (init_germanic_plural): Likewise.
29601         * libio/fcloseall.c (__fcloseall): Likewise.
29602         * libio/genops.c (_IO_flush_all): Likewise.
29603         (_IO_flush_all_linebuffered): Likewise.
29604         (_IO_cleanup): Likewise.
29605         (_IO_iter_begin): Likewise.
29606         (_IO_iter_end): Likewise.
29607         (_IO_list_lock): Likewise.
29608         (_IO_list_unlock): Likewise.
29609         (_IO_list_resetlock): Likewise.
29610         * libio/getchar.c (getchar): Likewise.
29611         * libio/getchar_u.c (getchar_unlocked): Likewise.
29612         * libio/getwchar.c (getwchar): Likewise.
29613         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29614         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29615         * login/getpt.c (__getpt): Likewise.
29616         * login/tst-utmp.c (main): Likewise.
29617         * malloc/hooks.c (__malloc_check_init): Likewise.
29618         * malloc/malloc.c (__malloc_stats): Likewise.
29619         * malloc/mtrace.c (tr_break): Likewise.
29620         (mtrace): Likewise.
29621         (muntrace): Likewise.
29622         * misc/fstab.c (endfsent): Likewise.
29623         * misc/getclktck.c (__getclktck): Likewise.
29624         * misc/getdtsz.c (__getdtablesize): Likewise.
29625         * misc/gethostid.c (gethostid): Likewise.
29626         * misc/getpagesize.c (__getpagesize): Likewise.
29627         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29628         (__get_nprocs): Likewise.
29629         (__get_phys_pages): Likewise.
29630         (__get_avphys_pages): Likewise.
29631         * misc/getttyent.c (getttyent): Likewise.
29632         (setttyent): Likewise.
29633         (endttyent): Likewise.
29634         * misc/getusershell.c (getusershell): Likewise.
29635         (endusershell): Likewise.
29636         (setusershell): Likewise.
29637         (initshells): Likewise.
29638         * misc/hsearch.c (__hdestroy): Likewise.
29639         * misc/sync.c (sync): Likewise.
29640         * misc/syslog.c (closelog_internal): Likewise.
29641         (closelog): Likewise.
29642         * misc/ttyslot.c (ttyslot): Likewise.
29643         * misc/vhangup.c (vhangup): Likewise.
29644         * posix/fork.c (__fork): Likewise.
29645         * posix/getegid.c (__getegid): Likewise.
29646         * posix/geteuid.c (__geteuid): Likewise.
29647         * posix/getgid.c (__getgid): Likewise.
29648         * posix/getpid.c (__getpid): Likewise.
29649         * posix/getppid.c (__getppid): Likewise.
29650         * posix/getuid.c (__getuid): Likewise.
29651         * posix/pause.c (pause): Likewise.
29652         * posix/setpgrp.c (setpgrp): Likewise.
29653         * posix/setsid.c (__setsid): Likewise.
29654         * posix/test-vfork.c (noop): Likewise.
29655         * resolv/gethnamaddr.c (_endhtent): Likewise.
29656         (_gethtent): Likewise.
29657         (ht_endhostent): Likewise.
29658         (gethostent): Likewise.
29659         (dns_service): Likewise.
29660         * stdlib/drand48.c (drand48): Likewise.
29661         * stdlib/lrand48.c (lrand48): Likewise.
29662         * stdlib/mrand48.c (mrand48): Likewise.
29663         * stdlib/rand.c (rand): Likewise.
29664         * stdlib/random.c (__random): Likewise.
29665         * stdlib/setenv.c (clearenv): Likewise.
29666         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29667         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29668         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29669         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29670         (__get_nprocs): Likewise.
29671         (__get_phys_pages): Likewise.
29672         (__get_avphys_pages): Likewise.
29673         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29674         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29675         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29676         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29677         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29678         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29679         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29680         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29681         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29682         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29683         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29684         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29685         * sysdeps/posix/clock.c (clock): Likewise.
29686         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29687         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29688         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29689         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29690         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29692         (__get_nprocs_conf): Likewise.
29693         (__get_phys_pages): Likewise.
29694         (__get_avphys_pages): Likewise.
29695         * time/clock.c (clock): Likewise.
29696         * time/tzset.c (__tzname_max): Likewise.
29698 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29700         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29701         (__bswap_32): Do not use "register".
29702         * crypt/crypt.c (_ufc_doit_r): Likewise.
29703         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29704         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29705         * gmon/gmon.c (__monstartup): Likewise.
29706         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29707         * hurd/hurdmalloc.c (more_memory): Likewise.
29708         (malloc): Likewise.
29709         (free): Likewise.
29710         (realloc): Likewise.
29711         (malloc_fork_prepare): Likewise.
29712         (malloc_fork_parent): Likewise.
29713         (malloc_fork_child): Likewise.
29714         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29715         (_svcauth_des): Likewise.
29716         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29717         * inet/inet_net.c (inet_network): Likewise.
29718         * inet/inet_netof.c (inet_netof): Likewise.
29719         * inet/rcmd.c (__validuser2_sa): Likewise.
29720         * io/fts.c (fts_open): Likewise.
29721         (fts_load): Likewise.
29722         (fts_close): Likewise.
29723         (fts_read): Likewise.
29724         (fts_children): Likewise.
29725         (fts_build): Likewise.
29726         (fts_stat): Likewise.
29727         (fts_sort): Likewise.
29728         (fts_alloc): Likewise.
29729         (fts_lfree): Likewise.
29730         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29731         (_IO_file_xsgetn): Likewise.
29732         (_IO_file_xsgetn_mmap): Likewise.
29733         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29734         (_IO_cookie_write): Likewise.
29735         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29736         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29737         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29738         * malloc/obstack.c (_obstack_begin): Likewise.
29739         (_obstack_begin_1): Likewise.
29740         (_obstack_newchunk): Likewise.
29741         (_obstack_allocated_p): Likewise.
29742         (obstack_free): Likewise.
29743         (_obstack_memory_used): Likewise.
29744         * misc/getttyent.c (getttynam): Likewise.
29745         (getttyent): Likewise.
29746         (skip): Likewise.
29747         (value): Likewise.
29748         * misc/getusershell.c (initshells): Likewise.
29749         * misc/syslog.c (__vsyslog_chk): Likewise.
29750         * misc/ttyslot.c (ttyslot): Likewise.
29751         * nis/nis_hash.c (__nis_hash): Likewise.
29752         * posix/fnmatch_loop.c (FCT): Likewise.
29753         * posix/getconf.c (print_all): Likewise.
29754         (main): Likewise.
29755         * posix/getopt.c (exchange): Likewise.
29756         * posix/glob.c (globfree): Likewise.
29757         (prefix_array): Likewise.
29758         (__glob_pattern_type): Likewise.
29759         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29760         (NS_GET32): Likewise.
29761         (NS_PUT16): Likewise.
29762         (NS_PUT32): Likewise.
29763         * resolv/gethnamaddr.c (getanswer): Likewise.
29764         (gethostbyname2): Likewise.
29765         (gethostbyaddr): Likewise.
29766         (_gethtent): Likewise.
29767         (_gethtbyname2): Likewise.
29768         (_gethtbyaddr): Likewise.
29769         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29770         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29771         * resolv/res_init.c (__res_vinit): Likewise.
29772         (net_mask): Likewise.
29773         * resolv/res_mkquery.c (outchar): Likewise.
29774         (PRINT): Likewise.
29775         * stdio-common/printf_fp.c (outchar): Likewise.
29776         (PRINT): Likewise.
29777         * stdio-common/printf_fphex.c (outchar): Likewise.
29778         (PRINT): Likewise.
29779         * stdio-common/printf_size.c (outchar): Likewise.
29780         (PRINT): Likewise.
29781         * stdio-common/test_rdwr.c (main): Likewise.
29782         * stdio-common/tfformat.c (matches): Likewise.
29783         * stdio-common/vfprintf.c (outchar): Likewise.
29784         (printf_unknown): Likewise.
29785         (buffered_vfprintf): Likewise.
29786         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29787         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29788         (ReadFile): Likewise.
29789         * stdlib/qsort.c (SWAP): Likewise.
29790         (_quicksort): Likewise.
29791         * stdlib/setenv.c (__add_to_environ): Likewise.
29792         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29793         * stdlib/strtol_l.c (__strtol_l): Likewise.
29794         * stdlib/tst-strtod.c (main): Likewise.
29795         * stdlib/tst-strtol.c (main): Likewise.
29796         * stdlib/tst-strtoll.c (main): Likewise.
29797         * string/bits/string2.h (__strcmp_cc): Likewise.
29798         (__strcmp_cg): Likewise.
29799         (__strcspn_c1): Likewise.
29800         (__strcspn_c2): Likewise.
29801         (__strcspn_c3): Likewise.
29802         (__strspn_c1): Likewise.
29803         (__strspn_c2): Likewise.
29804         (__strspn_c3): Likewise.
29805         (__strsep_1c): Likewise.
29806         (__strsep_2c): Likewise.
29807         (__strsep_3c): Likewise.
29808         * string/memccpy.c (__memccpy): Likewise.
29809         * string/stpcpy.c (__stpcpy): Likewise.
29810         * string/strcmp.c (strcmp): Likewise.
29811         * string/strrchr.c (strrchr): Likewise.
29812         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29813         Likewise.
29814         * sysdeps/mach/hurd/getcwd.c
29815         (_hurd_canonicalize_directory_name_internal): Likewise.
29816         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29817         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29818         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29819         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29820         Likewise, in both definitions.
29821         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29822         definitions.
29823         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29824         64] (__bswap_64): Likewise.
29825         * time/test_time.c (main): Likewise.
29826         * time/tzfile.c (__tzfile_read): Likewise.
29827         (__tzfile_compute): Likewise.
29828         * time/tzset.c (__tzset_parse_tz): Likewise.
29829         (tzset_internal): Likewise.
29830         (compute_change): Likewise.
29831         * wcsmbs/wcscat.c (__wcscat): Likewise.
29832         * wcsmbs/wcschr.c (wcschr): Likewise.
29833         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29834         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29835         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29836         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29837         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29838         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29839         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29840         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29841         * wcsmbs/wmemset.c (wmemset): Likewise.
29843 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29845         * scripts/config.guess: Update to version 2013-05-16.
29846         * scripts/config.sub: Update to version 2013-04-24.
29847         * scripts/install-sh: Update to version 2011-11-20.07.
29848         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29849         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29851 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29853         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29854         * elf/sln.c: Likewise.
29855         * hurd/hurd/ioctl.h: Likewise.
29856         * hurd/hurdmalloc.c: Likewise.
29857         * hurd/xattr.c: Likewise.
29858         * include/shlib-compat.h: Likewise.
29859         * inet/ruserpass.c: Likewise.
29860         * libio/iofgets_u.c: Likewise.
29861         * libio/iofgetws_u.c: Likewise.
29862         * locale/programs/ld-identification.c: Likewise.
29863         * locale/programs/ld-time.c: Likewise.
29864         * mach/msg-destroy.c: Likewise.
29865         * nss/nss_files/files-netgrp.c: Likewise.
29866         * resolv/res_data.c: Likewise.
29867         * soft-fp/op-1.h: Likewise.
29868         * soft-fp/op-2.h: Likewise.
29869         * soft-fp/op-4.h: Likewise.
29870         * soft-fp/op-common.h: Likewise.
29871         * stdio-common/printf_fphex.c: Likewise.
29872         * stdlib/strtod_l.c: Likewise.
29873         * sunrpc/rpc/clnt.h: Likewise.
29874         * sysdeps/generic/framestate.c: Likewise.
29875         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29876         * sysdeps/i386/bsd-setjmp.S: Likewise.
29877         * sysdeps/i386/__longjmp.S: Likewise.
29878         * sysdeps/i386/setjmp.S: Likewise.
29879         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29880         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29882         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29883         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29884         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29885         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29886         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29887         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29888         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29889         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29890         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29891         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29892         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29893         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29894         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29895         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29896         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29897         * sysdeps/ieee754/support.c: Likewise.
29898         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29899         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29900         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29901         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29902         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29903         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29904         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29905         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29906         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29907         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29908         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29909         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29910         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29911         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29912         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29913         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29914         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29917 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29919         * posix/transbug.c: Remove executable mode.
29921 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
29923         * crypt/speeds.c: Remove trailing whitespace.
29924         * dlfcn/default.c: Likewise.
29925         * elf/ifuncdep2.c: Likewise.
29926         * elf/ifuncmain1.c: Likewise.
29927         * elf/ifuncmain1vis.c: Likewise.
29928         * elf/testobj.h: Likewise.
29929         * elf/tst-stackguard1.c: Likewise.
29930         * gmon/sys/gmon.h: Likewise.
29931         * hurd/hurdmsg.c: Likewise.
29932         * hurd/new-fd.c: Likewise.
29933         * hurd/ports-get.c: Likewise.
29934         * iconvdata/ibm1008_420.c: Likewise.
29935         * inet/tst-getni1.c: Likewise.
29936         * inet/tst-getni2.c: Likewise.
29937         * libio/ioungetc.c: Likewise.
29938         * libio/wfiledoalloc.c: Likewise.
29939         * manual/libm-err-tab.pl: Likewise.
29940         * math/w_dremf.c: Likewise.
29941         * misc/ftruncate.c: Likewise.
29942         * posix/bug-glob2.c: Likewise.
29943         * posix/tst-pcre.c: Likewise.
29944         * posix/wait4.c: Likewise.
29945         * resolv/README: Likewise.
29946         * resolv/res_debug.h: Likewise.
29947         * resolv/tst-inet_ntop.c: Likewise.
29948         * setjmp/bug269-setjmp.c: Likewise.
29949         * soft-fp/extended.h: Likewise.
29950         * soft-fp/op-1.h: Likewise.
29951         * soft-fp/op-2.h: Likewise.
29952         * soft-fp/op-4.h: Likewise.
29953         * soft-fp/op-8.h: Likewise.
29954         * soft-fp/testit.c: Likewise.
29955         * stdio-common/bug16.c: Likewise.
29956         * stdlib/random.c: Likewise.
29957         * sunrpc/rpcsvc/rquota.x: Likewise.
29958         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29959         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29961         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29962         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29963         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29964         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29965         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29966         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29967         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29968         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29974         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29976         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29978         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29979         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29980         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29981         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29982         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29983         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29984         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29985         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29986         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29987         * sysdeps/ieee754/s_lib_version.c: Likewise.
29988         * sysdeps/mach/hurd/check_fds.c: Likewise.
29989         * sysdeps/mach/hurd/getsockname.c: Likewise.
29990         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29991         * sysdeps/mach/hurd/recvfrom.c: Likewise.
29992         * sysdeps/powerpc/bits/link.h: Likewise.
29993         * sysdeps/powerpc/dl-procinfo.c: Likewise.
29994         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29995         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29996         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29997         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29998         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29999         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30000         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30001         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30002         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30003         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30004         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30005         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30006         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30007         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30008         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30009         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30010         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30011         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30012         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30013         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30014         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30016         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30017         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30018         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30019         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30020         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30021         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30022         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30023         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30024         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30025         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30026         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30027         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30028         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30029         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30030         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30031         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30032         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30033         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30034         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30035         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30036         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30037         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30038         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30039         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30040         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30041         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30042         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30043         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30044         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30045         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30046         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30047         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30048         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30049         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30050         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30051         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30052         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30053         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30054         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30055         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30056         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30057         * sysdeps/powerpc/sysdep.h: Likewise.
30058         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30059         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30060         * sysdeps/sh/dl-trampoline.S: Likewise.
30061         * sysdeps/sh/memset.S: Likewise.
30062         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30063         * sysdeps/sh/strlen.S: Likewise.
30064         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30065         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30066         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30067         * sysdeps/sparc/sparc32/rem.S: Likewise.
30068         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30069         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30070         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30071         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30072         * sysdeps/sparc/sparc32/urem.S: Likewise.
30073         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30074         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30075         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30076         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30077         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30078         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30079         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30080         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30081         * sysdeps/unix/bsd/times.c: Likewise.
30082         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30083         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30087         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30088         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30089         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30090         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30091         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30092         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30093         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30094         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30095         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30096         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30097         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30098         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30099         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30100         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30101         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30102         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30103         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30104         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30105         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30106         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30107         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30108         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30109         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30110         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30111         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30112         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30113         * sysdeps/x86_64/strcspn.S: Likewise.
30115 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30117         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30118         generated file.  Regenerate properly from gen-translit.pl.
30119         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30120         locale/C-translit.h.
30122 2013-06-05  Andreas Schwab  <schwab@suse.de>
30124         [BZ #15100]
30125         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30126         week as 6 instead of -1.
30127         * time/tst-strptime.c (day_tests): Add test case.
30129 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30131         * sysdeps/generic/math_private.h
30132         (libc_feholdexcept_setround_53bit): Replace with
30133         libc_feholdsetround_53bit.
30134         (libc_feupdateenv_53bit): Replace with
30135         libc_feresetround_53bit.
30136         (SET_RESTORE_ROUND_53BIT): Adjust.
30138 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30140         * string/test-strchrnul.c: Add copyright header.
30142         * posix/tst-getaddrinfo4.c: Increase test timeout.
30144 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30146         [BZ #15536]
30147         * math/libm-test.inc (MAX_EXP): Remove
30148         (MIN_EXP): Define.
30149         (ulp): Use MIN_EXP - MANT_DIG.
30150         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30152 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30154         * po/be.po: Revert last change.
30155         * po/zh_CN.po: Likewise.
30156         * po/header.pot: Likewise.
30158 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30160         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30161         link-libc-deps to empty as target-specific variable.
30162         * Makerules (link-libc-args): New variable.
30163         (libc-for-link): Likewise.
30164         (link-libc-deps): Likewise.
30165         (lib%.so): Depend on $(link-libc-deps).  Link with
30166         $(link-libc-args).
30167         (build-module): Link with $(link-libc-args).
30168         (build-module-asneeded): Likewise.
30169         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30170         list of objects.
30171         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30172         target-specific variable.
30173         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30174         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30175         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30176         libc.
30177         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30178         libc and ld.so.
30179         ($(objpfx)libpcprofile.so): Likewise.
30180         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30181         libc_nonshared.a.
30182         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30183         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30184         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30185         $(link-libc-deps).
30186         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30187         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30188         * login/Makefile ($(objpfx)libutil.so): Likewise.
30189         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30190         * math/Makefile ($(objpfx)libm.so): Likewise.
30191         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30192         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30193         variable instead of depending directly on libc.
30194         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30195         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30196         $(link-libc-deps).
30197         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30198         libc.
30199         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30200         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30201         ($(objpfx)libanl.so): Likewise.
30202         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30203         ld.so.
30204         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30205         $(link-libc-deps).
30206         * sysdeps/i386/fpu/Makefile: Remove file.
30207         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30208         ($(objpfx)libm.so): Remove dependency on ld.so.
30210 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30212         [BZ # 15553]
30213         * nis/yp_xdr.c (XDRMAXNAME): Define.
30214         (XDRMAXRECORD): Define.
30215         (xdr_domainname): Use XDRMAXNAME.
30216         (xdr_mapname): Likewise.
30217         (xdr_peername): Likewise.
30218         (xdr_keydat): Use XDRMAXRECORD.
30219         (xdr_valdat): Likewise.
30221 2013-05-30  Jeff Law  <law@redhat.com>
30223         [BZ #14256]
30224         * manual/errno.texi (ESTALE): Update to account for more than
30225         just NFS file systems.
30226         * sysdeps/gnu/errlist.c: Regenerated.
30228 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30230         [BZ #15465]
30231         * elf/Makefile (tests): Add tst-null-argv.
30232         (modules-names):  Add tst-null-argv-lib.
30233         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30234         (tst-null-argv-ENV): Set environment for tst-null-argv.
30235         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30236         (RTLD_PROGNAME): New macro.
30237         * elf/tst-null-argv.c: New test case.
30238         * elf/tst-null-argv-lib.c: Library for test case.
30239         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30240         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30241         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30242         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30243         * elf/dl-init.c (call_init): Likewise.
30244         (_dl_init): Likewise.
30245         * elf/dl-load.c (print_search_path): Likewise.
30246         (_dl_map_object): Likewise.
30247         * elf/dl-lookup.c (do_lookup_x): Likewise.
30248         (add_dependency): Likewise.
30249         (_dl_lookup_symbol_x): Likewise.
30250         (_dl_debug_bindings): Likewise.
30251         * elf/dl-open.c (_dl_show_scope): Likewise.
30252         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30253         * elf/dl-version.c (match_symbol): Likewise.
30254         (_dl_check_map_versions): Likewise.
30255         * elf/rtld.c (dl_main): Likewise.
30256         (print_unresolved): Use RTLD_PROGNAME.
30257         (print_missing_version): Likewise.
30258         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30259         (elf_machine_rela): Likewise.
30260         * sysdeps/powerpc/powerpc32/dl-machine.c
30261         (__process_machine_rela): Likewise.
30262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30263         Likewise.
30264         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30265         Likewise.
30266         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30267         Likewise.
30268         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30269         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30270         Likewise.
30271         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30272         Likewise.
30273         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30275 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30277         * po/be.po: Add descriptive title.
30278         * po/zh_CN.po: Likewise.
30279         * po/header.pot: Likewise.
30281 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30283         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30284         error message.
30285         (enlarge_archive): Likewise.
30287 2013-05-28  Ben North  <ben@redfrontdoor.org>
30289         * manual/arith.texi (frexp): It is the magnitude of the return
30290         value which lies in [0.5, 1), not the return value itself.
30292 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30296 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30298         * stdio-common/bug26.c (main): Correct fscanf template.
30300         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30301         declare _dl_skip_args.
30303         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30304         Don't declare.
30306         * manual/platform.texi: Add missing @end deftypefun.
30308 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30310         [BZ #15529]
30311         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30312         bit of mantissa of 2^16382.
30313         * math/libm-test.inc (hypot_test_data): Add more tests.
30315         * math/libm-test.inc: Add drem and pow10 to list of tested
30316         functions.
30317         (pow10_test): New function.
30318         (drem_test): Likewise.
30319         (drem_test_tonearest): Likewise.
30320         (drem_test_towardzero): Likewise.
30321         (drem_test_downward): Likewise.
30322         (drem_test_upward): Likewise.
30323         (main): Call the new functions.
30325         * math/libm-test.inc (finite_test_data): Remove.
30326         (finite_test): Run tests from isfinite_test_data.
30327         (gamma_test_data): Remove.
30328         (gamma_test): Run tests from lgamma_test_data.
30329         * sysdeps/i386/fpu/libm-test-ulps: Update.
30330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30332 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         * manual/platform.texi: Add PowerPC PPR function set documentation.
30335         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30336         implementation.
30338 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30340         * math/libm-test.inc (MAX_EXP): Define.
30341         (ULPDIFF): Define.
30342         (ulp): New function.
30343         (check_float_internal): Use ULPDIFF.
30344         (cpow_test): Disable failing test.
30345         (check_ulp): Test ulp() implemetnation.
30346         (main): Call check_ulp before starting tests.
30348 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30350         * math/gen-libm-test.pl (generate_testfile): Do not handle
30351         START_DATA and END_DATA.
30352         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30353         END_DATA.
30354         (acos_tonearest_test_data): Likewise.
30355         (acos_towardzero_test_data): Likewise.
30356         (acos_downward_test_data): Likewise.
30357         (acos_upward_test_data): Likewise.
30358         (acosh_test_data): Likewise.
30359         (asin_test_data): Likewise.
30360         (asin_tonearest_test_data): Likewise.
30361         (asin_towardzero_test_data): Likewise.
30362         (asin_downward_test_data): Likewise.
30363         (asin_upward_test_data): Likewise.
30364         (asinh_test_data): Likewise.
30365         (atan_test_data): Likewise.
30366         (atanh_test_data): Likewise.
30367         (atan2_test_data): Likewise.
30368         (cabs_test_data): Likewise.
30369         (cacos_test_data): Likewise.
30370         (cacosh_test_data): Likewise.
30371         (carg_test_data): Likewise.
30372         (casin_test_data): Likewise.
30373         (casinh_test_data): Likewise.
30374         (catan_test_data): Likewise.
30375         (catanh_test_data): Likewise.
30376         (cbrt_test_data): Likewise.
30377         (ccos_test_data): Likewise.
30378         (ccosh_test_data): Likewise.
30379         (ceil_test_data): Likewise.
30380         (cexp_test_data): Likewise.
30381         (cimag_test_data): Likewise.
30382         (clog_test_data): Likewise.
30383         (clog10_test_data): Likewise.
30384         (conj_test_data): Likewise.
30385         (copysign_test_data): Likewise.
30386         (cos_test_data): Likewise.
30387         (cos_tonearest_test_data): Likewise.
30388         (cos_towardzero_test_data): Likewise.
30389         (cos_downward_test_data): Likewise.
30390         (cos_upward_test_data): Likewise.
30391         (cosh_test_data): Likewise.
30392         (cosh_tonearest_test_data): Likewise.
30393         (cosh_towardzero_test_data): Likewise.
30394         (cosh_downward_test_data): Likewise.
30395         (cosh_upward_test_data): Likewise.
30396         (cpow_test_data): Likewise.
30397         (cproj_test_data): Likewise.
30398         (creal_test_data): Likewise.
30399         (csin_test_data): Likewise.
30400         (csinh_test_data): Likewise.
30401         (csqrt_test_data): Likewise.
30402         (ctan_test_data): Likewise.
30403         (ctan_tonearest_test_data): Likewise.
30404         (ctan_towardzero_test_data): Likewise.
30405         (ctan_downward_test_data): Likewise.
30406         (ctan_upward_test_data): Likewise.
30407         (ctanh_test_data): Likewise.
30408         (ctanh_tonearest_test_data): Likewise.
30409         (ctanh_towardzero_test_data): Likewise.
30410         (ctanh_downward_test_data): Likewise.
30411         (ctanh_upward_test_data): Likewise.
30412         (erf_test_data): Likewise.
30413         (erfc_test_data): Likewise.
30414         (exp_test_data): Likewise.
30415         (exp_tonearest_test_data): Likewise.
30416         (exp_towardzero_test_data): Likewise.
30417         (exp_downward_test_data): Likewise.
30418         (exp_upward_test_data): Likewise.
30419         (exp10_test_data): Likewise.
30420         (exp2_test_data): Likewise.
30421         (expm1_test_data): Likewise.
30422         (fabs_test_data): Likewise.
30423         (fdim_test_data): Likewise.
30424         (finite_test_data): Likewise.
30425         (floor_test_data): Likewise.
30426         (fma_test_data): Likewise.
30427         (fma_towardzero_test_data): Likewise.
30428         (fma_downward_test_data): Likewise.
30429         (fma_upward_test_data): Likewise.
30430         (fmax_test_data): Likewise.
30431         (fmin_test_data): Likewise.
30432         (fmod_test_data): Likewise.
30433         (fpclassify_test_data): Likewise.
30434         (frexp_test_data): Likewise.
30435         (gamma_test_data): Likewise.
30436         (hypot_test_data): Likewise.
30437         (ilogb_test_data): Likewise.
30438         (isfinite_test_data): Likewise.
30439         (isgreater_test_data): Likewise.
30440         (isgreaterequal_test_data): Likewise.
30441         (isinf_test_data): Likewise.
30442         (isless_test_data): Likewise.
30443         (islessequal_test_data): Likewise.
30444         (islessgreater_test_data): Likewise.
30445         (isnan_test_data): Likewise.
30446         (isnormal_test_data): Likewise.
30447         (issignaling_test_data): Likewise.
30448         (isunordered_test_data): Likewise.
30449         (j0_test_data): Likewise.
30450         (j1_test_data): Likewise.
30451         (jn_test_data): Likewise.
30452         (ldexp_test_data): Likewise.
30453         (lgamma_test_data): Likewise.
30454         (lrint_test_data): Likewise.
30455         (lrint_tonearest_test_data): Likewise.
30456         (lrint_towardzero_test_data): Likewise.
30457         (lrint_downward_test_data): Likewise.
30458         (lrint_upward_test_data): Likewise.
30459         (llrint_test_data): Likewise.
30460         (llrint_tonearest_test_data): Likewise.
30461         (llrint_towardzero_test_data): Likewise.
30462         (llrint_downward_test_data): Likewise.
30463         (llrint_upward_test_data): Likewise.
30464         (log_test_data): Likewise.
30465         (log10_test_data): Likewise.
30466         (log1p_test_data): Likewise.
30467         (log2_test_data): Likewise.
30468         (logb_test_data): Likewise.
30469         (logb_downward_test_data): Likewise.
30470         (lround_test_data): Likewise.
30471         (llround_test_data): Likewise.
30472         (modf_test_data): Likewise.
30473         (nearbyint_test_data): Likewise.
30474         (nextafter_test_data): Likewise.
30475         (nexttoward_test_data): Likewise.
30476         (pow_test_data): Likewise.
30477         (pow_tonearest_test_data): Likewise.
30478         (pow_towardzero_test_data): Likewise.
30479         (pow_downward_test_data): Likewise.
30480         (pow_upward_test_data): Likewise.
30481         (remainder_test_data): Likewise.
30482         (remainder_tonearest_test_data): Likewise.
30483         (remainder_towardzero_test_data): Likewise.
30484         (remainder_downward_test_data): Likewise.
30485         (remainder_upward_test_data): Likewise.
30486         (remquo_test_data): Likewise.
30487         (rint_test_data): Likewise.
30488         (rint_tonearest_test_data): Likewise.
30489         (rint_towardzero_test_data): Likewise.
30490         (rint_downward_test_data): Likewise.
30491         (rint_upward_test_data): Likewise.
30492         (round_test_data): Likewise.
30493         (scalb_test_data): Likewise.
30494         (scalbn_test_data): Likewise.
30495         (scalbln_test_data): Likewise.
30496         (signbit_test_data): Likewise.
30497         (sin_test_data): Likewise.
30498         (sin_tonearest_test_data): Likewise.
30499         (sin_towardzero_test_data): Likewise.
30500         (sin_downward_test_data): Likewise.
30501         (sin_upward_test_data): Likewise.
30502         (sincos_test_data): Likewise.
30503         (sinh_test_data): Likewise.
30504         (sinh_tonearest_test_data): Likewise.
30505         (sinh_towardzero_test_data): Likewise.
30506         (sinh_downward_test_data): Likewise.
30507         (sinh_upward_test_data): Likewise.
30508         (sqrt_test_data): Likewise.
30509         (tan_test_data): Likewise.
30510         (tan_tonearest_test_data): Likewise.
30511         (tan_towardzero_test_data): Likewise.
30512         (tan_downward_test_data): Likewise.
30513         (tan_upward_test_data): Likewise.
30514         (tanh_test_data): Likewise.
30515         (tgamma_test_data): Likewise.
30516         (trunc_test_data): Likewise.
30517         (y0_test_data): Likewise.
30518         (y1_test_data): Likewise.
30519         (yn_test_data): Likewise.
30520         (significand_test_data): Likewise.
30522         * math/gen-libm-test.pl (@functions): Remove variable.
30523         (generate_testfile): Don't handle START and END lines.
30524         * math/libm-test.inc (START): New macro.
30525         (END): Likewise.
30526         (END_COMPLEX): Likewise.
30527         (acos_test): Use END macro without arguments.
30528         (acos_test_tonearest): Likewise.
30529         (acos_test_towardzero): Likewise.
30530         (acos_test_downward): Likewise.
30531         (acos_test_upward): Likewise.
30532         (acosh_test): Likewise.
30533         (asin_test): Likewise.
30534         (asin_test_tonearest): Likewise.
30535         (asin_test_towardzero): Likewise.
30536         (asin_test_downward): Likewise.
30537         (asin_test_upward): Likewise.
30538         (asinh_test): Likewise.
30539         (atan_test): Likewise.
30540         (atanh_test): Likewise.
30541         (atan2_test): Likewise.
30542         (cabs_test): Likewise.
30543         (cacos_test): Use END_COMPLEX macro without arguments.
30544         (cacosh_test): Likewise.
30545         (carg_test): Use END macro without arguments.
30546         (casin_test): Use END_COMPLEX macro without arguments.
30547         (casinh_test): Likewise.
30548         (catan_test): Likewise.
30549         (catanh_test): Likewise.
30550         (cbrt_test): Use END macro without arguments.
30551         (ccos_test): Use END_COMPLEX macro without arguments.
30552         (ccosh_test): Likewise.
30553         (ceil_test): Use END macro without arguments.
30554         (cexp_test): Use END_COMPLEX macro without arguments.
30555         (cimag_test): Use END macro without arguments.
30556         (clog_test): Use END_COMPLEX macro without arguments.
30557         (clog10_test): Likewise.
30558         (conj_test): Likewise.
30559         (copysign_test): Use END macro without arguments.
30560         (cos_test): Likewise.
30561         (cos_test_tonearest): Likewise.
30562         (cos_test_towardzero): Likewise.
30563         (cos_test_downward): Likewise.
30564         (cos_test_upward): Likewise.
30565         (cosh_test): Likewise.
30566         (cosh_test_tonearest): Likewise.
30567         (cosh_test_towardzero): Likewise.
30568         (cosh_test_downward): Likewise.
30569         (cosh_test_upward): Likewise.
30570         (cpow_test): Use END_COMPLEX macro without arguments.
30571         (cproj_test): Likewise.
30572         (creal_test): Use END macro without arguments.
30573         (csin_test): Use END_COMPLEX macro without arguments.
30574         (csinh_test): Likewise.
30575         (csqrt_test): Likewise.
30576         (ctan_test): Likewise.
30577         (ctan_test_tonearest): Likewise.
30578         (ctan_test_towardzero): Likewise.
30579         (ctan_test_downward): Likewise.
30580         (ctan_test_upward): Likewise.
30581         (ctanh_test): Likewise.
30582         (ctanh_test_tonearest): Likewise.
30583         (ctanh_test_towardzero): Likewise.
30584         (ctanh_test_downward): Likewise.
30585         (ctanh_test_upward): Likewise.
30586         (erf_test): Use END macro without arguments.
30587         (erfc_test): Likewise.
30588         (exp_test): Likewise.
30589         (exp_test_tonearest): Likewise.
30590         (exp_test_towardzero): Likewise.
30591         (exp_test_downward): Likewise.
30592         (exp_test_upward): Likewise.
30593         (exp10_test): Likewise.
30594         (exp2_test): Likewise.
30595         (expm1_test): Likewise.
30596         (fabs_test): Likewise.
30597         (fdim_test): Likewise.
30598         (finite_test): Likewise.
30599         (floor_test): Likewise.
30600         (fma_test): Likewise.
30601         (fma_test_towardzero): Likewise.
30602         (fma_test_downward): Likewise.
30603         (fma_test_upward): Likewise.
30604         (fmax_test): Likewise.
30605         (fmin_test): Likewise.
30606         (fmod_test): Likewise.
30607         (fpclassify_test): Likewise.
30608         (frexp_test): Likewise.
30609         (gamma_test): Likewise.
30610         (hypot_test): Likewise.
30611         (ilogb_test): Likewise.
30612         (isfinite_test): Likewise.
30613         (isgreater_test): Likewise.
30614         (isgreaterequal_test): Likewise.
30615         (isinf_test): Likewise.
30616         (isless_test): Likewise.
30617         (islessequal_test): Likewise.
30618         (islessgreater_test): Likewise.
30619         (isnan_test): Likewise.
30620         (isnormal_test): Likewise.
30621         (issignaling_test): Likewise.
30622         (isunordered_test): Likewise.
30623         (j0_test): Likewise.
30624         (j1_test): Likewise.
30625         (jn_test): Likewise.
30626         (ldexp_test): Likewise.
30627         (lgamma_test): Likewise.
30628         (lrint_test): Likewise.
30629         (lrint_test_tonearest): Likewise.
30630         (lrint_test_towardzero): Likewise.
30631         (lrint_test_downward): Likewise.
30632         (lrint_test_upward): Likewise.
30633         (llrint_test): Likewise.
30634         (llrint_test_tonearest): Likewise.
30635         (llrint_test_towardzero): Likewise.
30636         (llrint_test_downward): Likewise.
30637         (llrint_test_upward): Likewise.
30638         (log_test): Likewise.
30639         (log10_test): Likewise.
30640         (log1p_test): Likewise.
30641         (log2_test): Likewise.
30642         (logb_test): Likewise.
30643         (logb_test_downward): Likewise.
30644         (lround_test): Likewise.
30645         (llround_test): Likewise.
30646         (modf_test): Likewise.
30647         (nearbyint_test): Likewise.
30648         (nextafter_test): Likewise.
30649         (nexttoward_test): Likewise.
30650         (pow_test): Likewise.
30651         (pow_test_tonearest): Likewise.
30652         (pow_test_towardzero): Likewise.
30653         (pow_test_downward): Likewise.
30654         (pow_test_upward): Likewise.
30655         (remainder_test): Likewise.
30656         (remainder_test_tonearest): Likewise.
30657         (remainder_test_towardzero): Likewise.
30658         (remainder_test_downward): Likewise.
30659         (remainder_test_upward): Likewise.
30660         (remquo_test): Likewise.
30661         (rint_test): Likewise.
30662         (rint_test_tonearest): Likewise.
30663         (rint_test_towardzero): Likewise.
30664         (rint_test_downward): Likewise.
30665         (rint_test_upward): Likewise.
30666         (round_test): Likewise.
30667         (scalb_test): Likewise.
30668         (scalbn_test): Likewise.
30669         (scalbln_test): Likewise.
30670         (signbit_test): Likewise.
30671         (sin_test): Likewise.
30672         (sin_test_tonearest): Likewise.
30673         (sin_test_towardzero): Likewise.
30674         (sin_test_downward): Likewise.
30675         (sin_test_upward): Likewise.
30676         (sincos_test): Likewise.
30677         (sinh_test): Likewise.
30678         (sinh_test_tonearest): Likewise.
30679         (sinh_test_towardzero): Likewise.
30680         (sinh_test_downward): Likewise.
30681         (sinh_test_upward): Likewise.
30682         (sqrt_test): Likewise.
30683         (tan_test): Likewise.
30684         (tan_test_tonearest): Likewise.
30685         (tan_test_towardzero): Likewise.
30686         (tan_test_downward): Likewise.
30687         (tan_test_upward): Likewise.
30688         (tanh_test): Likewise.
30689         (tgamma_test): Likewise.
30690         (trunc_test): Likewise.
30691         (y0_test): Likewise.
30692         (y1_test): Likewise.
30693         (yn_test): Likewise.
30694         (significand_test): Likewise.
30696 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30698         [BZ #15381]
30699         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30701 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30703         [BZ #14894]
30704         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30705         __ppc_mdoio and __ppc_mdoom.
30706         * manual/platform.texi: Document new functions __ppc_yield,
30707         __ppc_mdoio and __ppc_mdoom.
30709 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30711         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30712         (main): Mention "tls" pseudo-hwcap is legacy.
30713         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30715 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30717         * math/gen-libm-test.pl (parse_args): Output only string of
30718         arguments as text for test name, not full call or descriptions of
30719         tests for extra outputs.
30720         (generate_testfile): Do not pass function name to parse_args.
30721         Generate this_func variable from START.
30722         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30723         field to arg_str.
30724         (struct test_ff_f_data): Likewise.
30725         (test_ff_f_data_nexttoward): Likewise.
30726         (struct test_fi_f_data): Likewise.
30727         (struct test_fl_f_data): Likewise.
30728         (struct test_if_f_data): Likewise.
30729         (struct test_fff_f_data): Likewise.
30730         (struct test_c_f_data): Likewise.
30731         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30732         (struct test_fF_f1_data): Likewise.
30733         (struct test_ffI_f1_data): Likewise.
30734         (struct test_c_c_data): Rename test_name field to arg_str.
30735         (struct test_cc_c_data): Likewise.
30736         (struct test_f_i_data): Likewise.
30737         (struct test_ff_i_data): Likewise.
30738         (struct test_f_l_data): Likewise.
30739         (struct test_f_L_data): Likewise.
30740         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30741         and extra2_name.
30742         (COMMON_TEST_SETUP): New macro.
30743         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30744         (COMMON_TEST_CLEANUP): Likewise.
30745         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30746         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30747         macros.
30748         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30749         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30750         macros.
30751         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30752         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30753         cleanup macros.
30754         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30755         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30756         macros.
30757         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30758         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30759         macros.
30760         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30761         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30762         cleanup macros.
30763         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30764         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30765         cleanup macros.
30766         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30767         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30768         cleanup macros.
30769         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30770         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30771         macros.
30772         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30773         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30774         macros.
30775         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30776         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30777         macros.
30778         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30779         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30780         cleanup macros.
30781         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30782         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30783         cleanup macros.
30784         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30785         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30786         macros.
30787         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30788         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30789         cleanup macros.
30790         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30791         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30792         macros.
30793         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30794         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30795         macros.
30796         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30797         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30798         cleanup macros.
30799         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30801 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30803         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30804         to _sifields.sigfault.
30805         (si_addr_lsb): Define new macro.
30806         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30807         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30808         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30810 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30812         [BZ #15441]
30813         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30814         returns -1.
30815         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30816         null return -1.
30817         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30818         loading the domain.
30820 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30822         * math/gen-libm-test.pl (parse_args): Do not include expected
30823         result in test name.
30824         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30825         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30826         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30827         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30828         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30831 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30833         * benchtests/Makefile: Sort function entries.
30835         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30836         tanh, asinh, acosh, atanh.
30837         * benchtests/acos-inputs: New file.
30838         * benchtests/acosh-inputs: New file.
30839         * benchtests/asin-inputs: New file.
30840         * benchtests/asinh-inputs: New file.
30841         * benchtests/atanh-inputs: New file.
30842         * benchtests/cosh-inputs: New file.
30843         * benchtests/log-inputs: New file.
30844         * benchtests/sinh-inputs: New file.
30845         * benchtests/tanh-inputs: New file.
30847 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30849         [BZ #15339]
30850         * posix/tst-getaddrinfo4.c: New test.
30851         * posix/Makefile (tests): Add it.
30853 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30855         [BZ #15339]
30856         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30857         when no services were used.
30858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30859         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30861 2013-05-21  Andreas Schwab  <schwab@suse.de>
30863         [BZ #15014]
30864         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30865         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30866         successful.
30867         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30868         redundant variable declarations and reallocation of buffer when
30869         parsing as IPv6 address.  Always set NSS status when called from
30870         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30871         buffer too small.  Correct computation of needed size.
30872         * nss/Makefile (tests): Add test-digits-dots.
30873         * nss/test-digits-dots.c: New test.
30875 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30877         * benchtests/Makefile: Remove instructions for adding
30878         benchmark tests.
30879         * benchtests/README: New file to explain how to execute and
30880         enhance the benchmark tests.
30882 2013-05-21  Andreas Schwab  <schwab@suse.de>
30884         [BZ #15493]
30885         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30886         * setjmp/tst-sigsetjmp.c: New test.
30888 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30890         * sysdeps/x86_64/memset.S (memset): New implementation.
30891         (__bzero): Likewise.
30892         (__memset_tail): New function.
30894 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30896         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30897         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30898         __memcpy_sse2_unaligned ifunc selection.
30899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30900         Add memcpy-sse2-unaligned.S.
30901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30902         Add: __memcpy_sse2_unaligned.
30904 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #15490]
30907         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30908         math_force_eval before restoring floating-point envrionment.
30909         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30910         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30911         Likewise.
30912         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30913         <math_private.h>.
30914         (__nearbyintl): Use math_force_eval before restoring
30915         floating-point environment.
30916         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30918         * math/gen-libm-test.pl (special_functions): Remove.
30919         (parse_args): Don't handle TEST_extra.  Handle functions with no
30920         return value.
30921         * math/libm-test.inc (struct test_sincos_data): Replace with
30922         struct test_fFF_11_data.
30923         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30924         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30925         (sincos_test_data): Change element type to struct
30926         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
30927         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30928         RUN_TEST_LOOP_sincos.
30929         * math/README.libm-test: Don't mention special handling of
30930         individual functions.
30931         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30932         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30933         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30934         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30935         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30938         * math/gen-libm-test.pl (get_variable): Remove function.
30939         (parse_args): Don't show pointer parameters to call in test
30940         names.  Use "extra output N" in test names for extra outputs
30941         rather than naming variables.
30943 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
30945         [BZ #15488]
30946         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30947         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30948         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30949         double tests.
30950         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30951         disable.
30952         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30953         check_long_double.
30955         * math/gen-libm-test.pl (@tests): Remove variable.
30956         ($count): Likewise.
30957         (new_test): Remove function.
30958         (show_exceptions): New function.
30959         (special_functions): Use show_exceptions instead of new_test.
30960         (parse_args): Likewise.
30961         (generate_testfile): Pass only function name in generated call to
30962         print_max_error or print_complex_max_error.
30963         (get_ulps): Do not handle complex tests specially.
30964         (output_test): Rename to ...
30965         (get_all_ulps_for_test): ... this.  Return a string rather than
30966         printing to a file.  Require ulps to be present.
30967         (output_ulps): Generate arrays rather than #defines.
30968         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30969         (struct ulp_data): New type.
30970         (BUILD_COMPLEX_ULP): Remove macro.
30971         (compare_ulp_data): New function.
30972         (find_ulps): Likewise.
30973         (find_test_ulps): Likewise.
30974         (find_function_ulps): Likewise.
30975         (find_complex_function_ulps): Likewise.
30976         (print_max_error): Determine allowed ulps using
30977         find_function_ulps.
30978         (print_complex_max_error): Determine allowed ulps using
30979         find_complex_function_ulps.
30980         (check_float_internal): Determine max ulps using find_test_ulps.
30981         (check_float): Do not take max_ulp parameter.  Update call to
30982         check_float_internal.
30983         (check_complex): Likewise.
30984         (check_int): Do not take max_ulp parameter.
30985         (check_long): Likewise.
30986         (check_bool): Likewise.
30987         (check_longlong): Likewise.
30988         (struct test_f_f_data): Remove max_ulp field.
30989         (struct test_ff_f_data): Likewise.
30990         (struct test_ff_f_data_nexttoward): Likewise.
30991         (struct test_fi_f_data): Likewise.
30992         (struct test_fl_f_data): Likewise.
30993         (struct test_if_f_data): Likewise.
30994         (struct test_fff_f_data): Likewise.
30995         (struct test_c_f_data): Likewise.
30996         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30997         (struct test_fF_f1_data): Likewise.
30998         (struct test_ffI_f1_data): Likewise.
30999         (struct test_c_c_data): Remove max_ulp field.
31000         (struct test_cc_c_data): Likewise.
31001         (struct test_f_i_data): Likewise.
31002         (struct test_ff_i_data): Likewise.
31003         (struct test_f_l_data): Likewise.
31004         (struct test_f_L_data): Likewise.
31005         (struct test_sincos_data): Likewise.
31006         (RUN_TEST_f_f): Do not handle ulps.
31007         (RUN_TEST_LOOP_f_f): Likewise.
31008         (RUN_TEST_2_f): Likewise.
31009         (RUN_TEST_LOOP_2_f): Likewise.
31010         (RUN_TEST_fff_f): Likewise.
31011         (RUN_TEST_LOOP_fff_f): Likewise.
31012         (RUN_TEST_c_f): Likewise.
31013         (RUN_TEST_LOOP_c_f): Likewise.
31014         (RUN_TEST_f_f1): Likewise.
31015         (RUN_TEST_LOOP_f_f1): Likewise.
31016         (RUN_TEST_fF_f1): Likewise.
31017         (RUN_TEST_LOOP_fF_f1): Likewise.
31018         (RUN_TEST_fI_f1): Likewise.
31019         (RUN_TEST_LOOP_fI_f1): Likewise.
31020         (RUN_TEST_ffI_f1): Likewise.
31021         (RUN_TEST_LOOP_ffI_f1): Likewise.
31022         (RUN_TEST_c_c): Likewise.
31023         (RUN_TEST_LOOP_c_c): Likewise.
31024         (RUN_TEST_cc_c): Likewise.
31025         (RUN_TEST_LOOP_cc_c): Likewise.
31026         (RUN_TEST_f_i): Likewise.
31027         (RUN_TEST_LOOP_f_i): Likewise.
31028         (RUN_TEST_f_i_tg): Likewise.
31029         (RUN_TEST_LOOP_f_i_tg): Likewise.
31030         (RUN_TEST_ff_i_tg): Likewise.
31031         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31032         (RUN_TEST_f_b): Likewise.
31033         (RUN_TEST_LOOP_f_b): Likewise.
31034         (RUN_TEST_f_b_tg): Likewise.
31035         (RUN_TEST_LOOP_f_b_tg): Likewise.
31036         (RUN_TEST_f_l): Likewise.
31037         (RUN_TEST_LOOP_f_l): Likewise.
31038         (RUN_TEST_f_L): Likewise.
31039         (RUN_TEST_LOOP_f_L): Likewise.
31040         (RUN_TEST_sincos): Likewise.
31041         (RUN_TEST_LOOP_sincos): Likewise.
31043 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31045         [BZ #15480]
31046         [BZ #15485]
31047         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31048         main case of finite arguments, set rounding mode to FE_TONEAREST
31049         and discard exceptions.
31050         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31051         exceptions.
31052         (remainder_tonearest_test_data): New variable.
31053         (remainder_test_tonearest): New function.
31054         (remainder_towardzero_test_data): New variable.
31055         (remainder_test_towardzero): New function.
31056         (remainder_downward_test_data): New variable.
31057         (remainder_test_downward): New function.
31058         (remainder_upward_test_data): New variable.
31059         (remainder_test_upward): New function.
31060         (main): Call the new test functions.
31062         * math/libm-test.inc (struct test_f_f1_data): Remove field
31063         extra_init.
31064         (struct test_fF_f1_data): Likewise.
31065         (struct test_ffI_f1_data): Likewise.
31066         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31067         based on value of EXTRA_EXPECTED.
31068         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31069         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31070         EXTRA_VAR based on value of EXTRA_EXPECTED.
31071         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31072         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31073         EXTRA_VAR based on value of EXTRA_EXPECTED.
31074         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31075         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31076         EXTRA_VAR based on value of EXTRA_EXPECTED.
31077         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31078         * math/gen-libm-test.pl (parse_args): Don't output initializers
31079         for extra output values.
31081         * math/libm-test.inc (check_int): Expect result to be exactly
31082         equal to expected value and do not handle ulps.
31083         (check_long): Likewise.
31084         (check_longlong): Likewise.
31086         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31087         exceptions.
31088         (cimag_test_data): Likewise.
31089         (conj_test_data): Likewise.
31090         (copysign_test_data): Likewise.
31091         (cproj_test_data): Likewise.
31092         (creal_test_data): Likewise.
31093         (fabs_test_data): Likewise.
31094         (fdim_test_data): Likewise.
31095         (finite_test_data): Likewise.
31096         (floor_test_data): Likewise.
31097         (fmax_test_data): Likewise.
31098         (fmin_test_data): Likewise.
31099         (fmod_test_data): Likewise.
31100         (fpclassify_test_data): Likewise.
31101         (frexp_test_data): Likewise.
31102         (ilogb_test_data): Likewise.
31103         (isfinite_test_data): Likewise.
31104         (isgreater_test_data): Likewise.
31105         (isgreaterequal_test_data): Likewise.
31106         (isinf_test_data): Likewise.
31107         (isless_test_data): Likewise.
31108         (islessequal_test_data): Likewise.
31109         (islessgreater_test_data): Likewise.
31110         (isnan_test_data): Likewise.
31111         (isnormal_test_data): Likewise.
31112         (issignaling_test_data): Likewise.
31113         (isunordered_test_data): Likewise.
31114         (ldexp_test_data): Likewise.
31115         (lrint_test_data): Likewise.
31116         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31117         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31118         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31119         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31120         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31121         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31122         test input.
31123         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31124         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31125         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31126         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31127         that test input.
31128         (lrint_downward_test_data): Test for "inexact" exceptions.
31129         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31130         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31131         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31132         test input.
31133         (lrint_upward_test_data): Test for "inexact" exceptions.
31134         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31135         test input.
31136         (llrint_test_data): Test for "inexact" exceptions.
31137         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31138         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31139         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31140         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31141         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31142         (llrint_downward_test_data): Test for "inexact" exceptions.
31143         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31144         (llrint_upward_test_data): Test for "inexact" exceptions.
31145         (logb_test_data): Likewise.
31146         (logb_downward_test_data): Likewise.
31147         (nextafter_test_data): Likewise.
31148         (nexttoward_test_data): Likewise.
31149         (remainder_test_data): Likewise.
31150         (remquo_test_data): Likewise.
31151         (scalbn_test_data): Likewise.
31152         (scalbln_test_data): Likewise.
31153         (signbit_test_data): Likewise.
31154         (sqrt_test_data): Likewise.
31155         (significand_test_data): Likewise.
31157 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31159         [BZ #15424]
31160         * benchtests/bench-modf.c (struct args): Mark arg0 as
31161         volatile.
31162         * scripts/bench.pl: Mark members of struct args as volatile.
31164 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31166         [BZ # 15497]
31167         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31168         negative infinity on POWER6 or lower.
31169         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31171 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31173         [BZ #15442]
31174         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31175         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31176         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31177         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31178         (_FP_SETQNAN): New macro.
31179         (_FP_SETQNAN_SEMIRAW): Likewise.
31180         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31181         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31182         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31183         (FP_EXTEND): Use _FP_FRAC_SNANP.
31184         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31185         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31186         into account.
31187         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31188         New macro.
31189         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31190         Likewise.
31192 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31194         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31195         with DIVIDE_BY_ZERO_EXCEPTION.
31196         (gamma_test_data): Likewise.
31197         (lgamma_test_data): Likewise.
31198         (log_test_data): Likewise.
31199         (log10_test_data): Likewise.
31200         (log2_test_data): Likewise.
31201         (tgamma_test_data): Likewise.
31203         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31204         (acos_test_tonearest): Likewise.
31205         (acos_test_towardzero): Likewise.
31206         (acos_test_downward): Likewise.
31207         (acos_test_upward): Likewise.
31208         (acosh_test): Likewise.
31209         (asin_test): Likewise.
31210         (asin_test_tonearest): Likewise.
31211         (asin_test_towardzero): Likewise.
31212         (asin_test_downward): Likewise.
31213         (asin_test_upward): Likewise.
31214         (asinh_test): Likewise.
31215         (atan_test): Likewise.
31216         (atanh_test): Likewise.
31217         (atan2_test): Likewise.
31218         (cabs_test): Likewise.
31219         (cacos_test): Likewise.
31220         (cacosh_test): Likewise.
31221         (casin_test): Likewise.
31222         (casinh_test): Likewise.
31223         (catan_test): Likewise.
31224         (catanh_test): Likewise.
31225         (cbrt_test): Likewise.
31226         (ccos_test): Likewise.
31227         (ccosh_test): Likewise.
31228         (cexp_test): Likewise.
31229         (clog_test): Likewise.
31230         (clog10_test): Likewise.
31231         (cos_test): Likewise.
31232         (cos_test_tonearest): Likewise.
31233         (cos_test_towardzero): Likewise.
31234         (cos_test_downward): Likewise.
31235         (cos_test_upward): Likewise.
31236         (cosh_test): Likewise.
31237         (cosh_test_tonearest): Likewise.
31238         (cosh_test_towardzero): Likewise.
31239         (cosh_test_downward): Likewise.
31240         (cosh_test_upward): Likewise.
31241         (cpow_test): Likewise.
31242         (csin_test): Likewise.
31243         (csinh_test): Likewise.
31244         (csqrt_test): Likewise.
31245         (ctan_test): Likewise.
31246         (ctan_test_tonearest): Likewise.
31247         (ctan_test_towardzero): Likewise.
31248         (ctan_test_downward): Likewise.
31249         (ctan_test_upward): Likewise.
31250         (ctanh_test): Likewise.
31251         (ctanh_test_tonearest): Likewise.
31252         (ctanh_test_towardzero): Likewise.
31253         (ctanh_test_downward): Likewise.
31254         (ctanh_test_upward): Likewise.
31255         (erf_test): Likewise.
31256         (erfc_test): Likewise.
31257         (exp_test): Likewise.
31258         (exp_test_tonearest): Likewise.
31259         (exp_test_towardzero): Likewise.
31260         (exp_test_downward): Likewise.
31261         (exp_test_upward): Likewise.
31262         (exp10_test): Likewise.
31263         (exp2_test): Likewise.
31264         (expm1_test): Likewise.
31265         (fmod_test): Likewise.
31266         (gamma_test): Likewise.
31267         (hypot_test): Likewise.
31268         (j0_test): Likewise.
31269         (j1_test): Likewise.
31270         (jn_test): Likewise.
31271         (lgamma_test): Likewise.
31272         (log_test): Likewise.
31273         (log10_test): Likewise.
31274         (log1p_test): Likewise.
31275         (log2_test): Likewise.
31276         (logb_test_downward): Likewise.
31277         (pow_test): Likewise.
31278         (pow_test_tonearest): Likewise.
31279         (pow_test_towardzero): Likewise.
31280         (pow_test_downward): Likewise.
31281         (pow_test_upward): Likewise.
31282         (remainder_test): Likewise.
31283         (remquo_test): Likewise.
31284         (sin_test): Likewise.
31285         (sin_test_tonearest): Likewise.
31286         (sin_test_towardzero): Likewise.
31287         (sin_test_downward): Likewise.
31288         (sin_test_upward): Likewise.
31289         (sincos_test): Likewise.
31290         (sinh_test): Likewise.
31291         (sinh_test_tonearest): Likewise.
31292         (sinh_test_towardzero): Likewise.
31293         (sinh_test_downward): Likewise.
31294         (sinh_test_upward): Likewise.
31295         (sqrt_test): Likewise.
31296         (tan_test): Likewise.
31297         (tan_test_tonearest): Likewise.
31298         (tan_test_towardzero): Likewise.
31299         (tan_test_downward): Likewise.
31300         (tan_test_upward): Likewise.
31301         (tanh_test): Likewise.
31302         (tgamma_test): Likewise.
31303         (y0_test): Likewise.
31304         (y1_test): Likewise.
31305         (yn_test): Likewise.
31307         * math/gen-libm-test.pl (adjust_arg): Remove function.
31308         (special_function): Remove argument $in_func.  Only handle
31309         generating output for tables of tests, not inside functions.
31310         (parse_args): Likewise.
31311         (generate_testfile): Remove variable $in_func.  Update call to
31312         parse_args.
31313         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31314         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31315         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31316         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31317         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31318         (MAX_VALUE_INIT): Rename macro to max_value.
31319         (MIN_VALUE_INIT): Rename macro to min_value.
31320         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31321         (plus_zero): Remove variable.
31322         (minus_zero): Likewise.
31323         (plus_infty): Likewise.
31324         (minus_infty): Likewise.
31325         (qnan_value): Likewise.
31326         (max_value): Likewise.
31327         (min_value): Likewise.
31328         (min_subnorm_value): Likewise.
31330 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31332         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31333         uint64_t or uint32_t usage.
31334         * crypt/sha256-block.c: Likewise.
31335         * crypt/sha256-crypt.c: Likewise.
31336         * crypt/sha256.c: Likewise.
31337         * crypt/sha512-block.c: Likewise.
31338         * crypt/sha512-crypt.c: Likewise.
31339         * crypt/sha512.c: Likewise.
31340         * debug/backtrace-tst.c: Likewise.
31341         * debug/pcprofiledump.c: Likewise.
31342         * elf/cache.c: Likewise.
31343         * elf/dl-cache.c: Likewise.
31344         * elf/dl-misc.c: Likewise.
31345         * elf/dl-profile.c: Likewise.
31346         * elf/dl-support.c: Likewise.
31347         * elf/ldconfig.c: Likewise.
31348         * elf/sprof.c: Likewise.
31349         * iconv/dummy-repertoire.c: Likewise.
31350         * iconv/iconv_charmap.c: Likewise.
31351         * iconv/skeleton.c: Likewise.
31352         * iconvdata/8bit-generic.c: Likewise.
31353         * iconvdata/cp737.h: Likewise.
31354         * iconvdata/cp775.h: Likewise.
31355         * iconvdata/ibm1008.h: Likewise.
31356         * iconvdata/ibm1025.h: Likewise.
31357         * iconvdata/ibm1046.h: Likewise.
31358         * iconvdata/ibm1097.h: Likewise.
31359         * iconvdata/ibm1112.h: Likewise.
31360         * iconvdata/ibm1122.h: Likewise.
31361         * iconvdata/ibm1123.h: Likewise.
31362         * iconvdata/ibm1124.h: Likewise.
31363         * iconvdata/ibm1129.h: Likewise.
31364         * iconvdata/ibm1130.h: Likewise.
31365         * iconvdata/ibm1132.h: Likewise.
31366         * iconvdata/ibm1133.h: Likewise.
31367         * iconvdata/ibm1137.h: Likewise.
31368         * iconvdata/ibm1140.h: Likewise.
31369         * iconvdata/ibm1141.h: Likewise.
31370         * iconvdata/ibm1142.h: Likewise.
31371         * iconvdata/ibm1143.h: Likewise.
31372         * iconvdata/ibm1144.h: Likewise.
31373         * iconvdata/ibm1145.h: Likewise.
31374         * iconvdata/ibm1146.h: Likewise.
31375         * iconvdata/ibm1147.h: Likewise.
31376         * iconvdata/ibm1148.h: Likewise.
31377         * iconvdata/ibm1149.h: Likewise.
31378         * iconvdata/ibm1153.h: Likewise.
31379         * iconvdata/ibm1154.h: Likewise.
31380         * iconvdata/ibm1155.h: Likewise.
31381         * iconvdata/ibm1156.h: Likewise.
31382         * iconvdata/ibm1157.h: Likewise.
31383         * iconvdata/ibm1158.h: Likewise.
31384         * iconvdata/ibm1160.h: Likewise.
31385         * iconvdata/ibm1161.h: Likewise.
31386         * iconvdata/ibm1162.h: Likewise.
31387         * iconvdata/ibm1163.h: Likewise.
31388         * iconvdata/ibm1164.h: Likewise.
31389         * iconvdata/ibm1166.h: Likewise.
31390         * iconvdata/ibm1167.h: Likewise.
31391         * iconvdata/ibm12712.h: Likewise.
31392         * iconvdata/ibm1390.h: Likewise.
31393         * iconvdata/ibm1399.h: Likewise.
31394         * iconvdata/ibm16804.h: Likewise.
31395         * iconvdata/ibm4517.h: Likewise.
31396         * iconvdata/ibm4899.h: Likewise.
31397         * iconvdata/ibm4909.h: Likewise.
31398         * iconvdata/ibm4971.h: Likewise.
31399         * iconvdata/ibm5347.h: Likewise.
31400         * iconvdata/ibm803.h: Likewise.
31401         * iconvdata/ibm856.h: Likewise.
31402         * iconvdata/ibm901.h: Likewise.
31403         * iconvdata/ibm902.h: Likewise.
31404         * iconvdata/ibm9030.h: Likewise.
31405         * iconvdata/ibm9066.h: Likewise.
31406         * iconvdata/ibm921.h: Likewise.
31407         * iconvdata/ibm922.h: Likewise.
31408         * iconvdata/ibm9448.h: Likewise.
31409         * iconvdata/isiri-3342.h: Likewise.
31410         * iconvdata/jis0201.h: Likewise.
31411         * include/link.h: Likewise.
31412         * include/netdb.h: Likewise.
31413         * inet/check_native.c: Likewise.
31414         * inet/check_pf.c: Likewise.
31415         * inet/getipv4sourcefilter.c: Likewise.
31416         * inet/getnameinfo.c: Likewise.
31417         * inet/getsourcefilter.c: Likewise.
31418         * inet/htonl.c: Likewise.
31419         * inet/setipv4sourcefilter.c: Likewise.
31420         * inet/setsourcefilter.c: Likewise.
31421         * inet/test-inet6_opt.c: Likewise.
31422         * inet/tst-network.c: Likewise.
31423         * locale/C-collate.c: Likewise.
31424         * locale/C-ctype.c: Likewise.
31425         * locale/C-time.c: Likewise.
31426         * locale/C-translit.h: Likewise.
31427         * locale/loadarchive.c: Likewise.
31428         * locale/programs/3level.h: Likewise.
31429         * locale/programs/charmap.c: Likewise.
31430         * locale/programs/charmap.h: Likewise.
31431         * locale/programs/ld-address.c: Likewise.
31432         * locale/programs/ld-collate.c: Likewise.
31433         * locale/programs/ld-ctype.c: Likewise.
31434         * locale/programs/ld-identification.c: Likewise.
31435         * locale/programs/ld-measurement.c: Likewise.
31436         * locale/programs/ld-messages.c: Likewise.
31437         * locale/programs/ld-monetary.c: Likewise.
31438         * locale/programs/ld-name.c: Likewise.
31439         * locale/programs/ld-numeric.c: Likewise.
31440         * locale/programs/ld-paper.c: Likewise.
31441         * locale/programs/ld-telephone.c: Likewise.
31442         * locale/programs/ld-time.c: Likewise.
31443         * locale/programs/linereader.c: Likewise.
31444         * locale/programs/locale.c: Likewise.
31445         * locale/programs/locarchive.c: Likewise.
31446         * locale/programs/locfile.h: Likewise.
31447         * locale/programs/repertoire.c: Likewise.
31448         * locale/programs/simple-hash.c: Likewise.
31449         * locale/programs/simple-hash.h: Likewise.
31450         * malloc/memusage.c: Likewise.
31451         * malloc/memusagestat.c: Likewise.
31452         * nis/nis_defaults.c: Likewise.
31453         * nis/nis_hash.c: Likewise.
31454         * nis/nis_print.c: Likewise.
31455         * nis/nis_xdr.c: Likewise.
31456         * nscd/connections.c: Likewise.
31457         * nscd/hstcache.c: Likewise.
31458         * nscd/nscd_gethst_r.c: Likewise.
31459         * nscd/nscd_getserv_r.c: Likewise.
31460         * nscd/nscd_helper.c: Likewise.
31461         * nscd/servicescache.c: Likewise.
31462         * nss/makedb.c: Likewise.
31463         * nss/nss_db/db-XXX.c: Likewise.
31464         * nss/nss_db/db-initgroups.c: Likewise.
31465         * nss/nss_db/db-netgrp.c: Likewise.
31466         * nss/nss_files/files-network.c: Likewise.
31467         * nss/nss_files/files-parse.c: Likewise.
31468         * posix/bug-regex5.c: Likewise.
31469         * posix/fnmatch_loop.c: Likewise.
31470         * posix/regcomp.c: Likewise.
31471         * posix/regexec.c: Likewise.
31472         * posix/tst-rfc3484-2.c: Likewise.
31473         * posix/tst-rfc3484-3.c: Likewise.
31474         * posix/tst-rfc3484.c: Likewise.
31475         * resolv/nss_dns/dns-canon.c: Likewise.
31476         * resolv/nss_dns/dns-network.c: Likewise.
31477         * resolv/res_init.c: Likewise.
31478         * resolv/res_mkquery.c: Likewise.
31479         * resolv/tst-aton.c: Likewise.
31480         * stdlib/cxa_atexit.c: Likewise.
31481         * stdlib/cxa_finalize.c: Likewise.
31482         * stdlib/gen-fpioconst.c: Likewise.
31483         * stdlib/strtol_l.c: Likewise.
31484         * string/tst-endian.c: Likewise.
31485         * sunrpc/auth_des.c: Likewise.
31486         * sunrpc/clnt_udp.c: Likewise.
31487         * sunrpc/rtime.c: Likewise.
31488         * sunrpc/svcauth_des.c: Likewise.
31489         * sunrpc/xdr.c: Likewise.
31490         * sunrpc/xdr_intXX_t.c: Likewise.
31491         * sunrpc/xdr_rec.c: Likewise.
31492         * sysdeps/generic/ldconfig.h: Likewise.
31493         * sysdeps/generic/ldsodefs.h: Likewise.
31494         * sysdeps/generic/memusage.h: Likewise.
31495         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31496         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31497         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31498         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31499         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31500         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31501         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31502         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31503         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31504         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31505         * sysdeps/posix/getaddrinfo.c: Likewise.
31506         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31507         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31508         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31509         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31510         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31511         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31512         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31513         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31514         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31515         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31516         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31517         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31518         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31519         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31520         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31521         * sysdeps/x86_64/dl-tls.h: Likewise.
31522         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31523         * time/alt_digit.c: Likewise.
31524         * time/era.c: Likewise.
31525         * wcsmbs/tst-c16c32-1.c: Likewise.
31527 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31529         * math/libm-test.inc (struct test_sincos_data): New type.
31530         (RUN_TEST_LOOP_sincos): New macro.
31531         (sincos_test_data): New variable.
31532         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31534 2013-05-16  Richard Henderson  <rth@redhat.com>
31536         * math/atest-exp2.c (LIMB64): New macro.
31537         (CONSTSZ): New macro.
31538         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31539         (hexdig): Move ...
31540         (print_mpn_fp): ... to function scope.
31541         (read_mpn_hex): Remove.
31542         (get_log2): Remove.
31543         (exp2_mpn): Use mp_log2.
31544         (main): Use mp_exp1.
31546 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31548         * math/libm-test.inc: Remove comment about not testing "inexact"
31549         exceptions.
31550         (INEXACT_EXCEPTION): New macro.
31551         (NO_INEXACT_EXCEPTION): Likewise.
31552         (INVALID_EXCEPTION_OK): Update value.
31553         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31554         (OVERFLOW_EXCEPTION_OK): Likewise.
31555         (UNDERFLOW_EXCEPTION_OK): Likewise.
31556         (IGNORE_ZERO_INF_SIGN): Likewise.
31557         (ERRNO_UNCHANGED): Likewise.
31558         (ERRNO_EDOM): Likewise.
31559         (ERRNO_ERANGE): Likewise.
31560         (test_exceptions): Handle testing "inexact" exceptions.
31561         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31562         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31563         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31564         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31565         INEXACT_EXCEPTION.
31566         (rint_towardzero_test_data): Likewise.
31567         (rint_downward_test_data): Likewise.
31568         (rint_upward_test_data): Likewise.
31570         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31571         with OVERFLOW_EXCEPTION.
31572         (exp10_test_data): Likewise.
31573         (exp2_test_data): Likewise.
31574         (expm1_test_data): Likewise.
31575         (lgamma_test_data): Likewise.
31576         (pow_test_data): Likewise.
31577         (tgamma_test_data): Likewise.
31578         (yn_test_data): Remove duplicate test of overflow.
31580         * math/libm-test.inc (struct test_cc_c_data): New type.
31581         (RUN_TEST_LOOP_cc_c): New macro.
31582         (cpow_test_data): New variable.
31583         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31585         * math/libm-test.inc (struct test_f_L_data): New type.
31586         (RUN_TEST_LOOP_f_L): New macro.
31587         (llrint_test_data): New variable.
31588         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31589         (llrint_tonearest_test_data): New variable.
31590         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31591         (llrint_towardzero_test_data): New variable.
31592         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31593         (llrint_downward_test_data): New variable.
31594         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31595         (llrint_upward_test_data): New variable.
31596         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31597         (llround_test_data): New variable.
31598         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31600 2013-05-13  Peter Collingbourne  <pcc@google.com>
31602         * math/atest-exp2.c (get_log2): Remove const attribute.
31604 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31606         * math/libm-test.inc (struct test_f_l_data): New type.
31607         (RUN_TEST_LOOP_f_l): New macro.
31608         (lrint_test_data): New variable.
31609         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31610         (lrint_tonearest_test_data): New variable.
31611         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31612         (lrint_towardzero_test_data): New variable.
31613         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31614         (lrint_downward_test_data): New variable.
31615         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31616         (lrint_upward_test_data): New variable.
31617         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31618         (lround_test_data): New variable.
31619         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31621 2013-05-15  Peter Collingbourne  <pcc@google.com>
31623         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31624         (EXTRACT_WORDS64) Use where appropriate.
31625         (INSERT_WORDS64) Likewise.
31627         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31628         constraints with x constraints.
31629         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31631         * malloc/obstack.c (_obstack_compat): Add initializer.
31633 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31635         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31636         si_trapno and add si_addr_lsb to _sifields.sigfault.
31637         (si_trapno): Remove macro.
31638         (si_addr_lsb): Define new macro.
31639         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31641 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31643         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31644         instead of TEST_f_l.
31645         (llrint_test_tonearest): Likewise.
31646         (llrint_test_towardzero): Likewise.
31647         (llrint_test_downward): Likewise.
31648         (llrint_test_upward): Likewise.
31649         (llround_test): Likewise.
31651         * math/libm-test.inc (struct test_f_i_data): Add comment.
31652         (RUN_TEST_LOOP_f_b): New macro.
31653         (RUN_TEST_LOOP_f_b_tg): Likewise.
31654         (finite_test_data): New variable.
31655         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31656         (isfinite_test_data): New variable.
31657         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31658         (isinf_test_data): New variable.
31659         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31660         (isnan_test_data): New variable.
31661         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31662         (isnormal_test_data): New variable.
31663         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31664         (issignaling_test_data): New variable.
31665         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31666         (signbit_test_data): New variable.
31667         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31669         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31670         with INVALID_EXCEPTION.
31671         (acosh_test_data): Likewise.
31672         (asin_test_data): Likewise.
31673         (atanh_test_data): Likewise.
31674         (fmod_test_data): Likewise.
31675         (log_test_data): Likewise.
31676         (log10_test_data): Likewise.
31677         (log2_test_data): Likewise.
31678         (pow_test_data): Likewise.
31679         (sqrt_test_data): Likewise.
31680         (y0_test_data): Likewise.
31681         (y1_test_data): Likewise.
31682         (yn_test_data): Likewise.
31684         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31685         function contents.
31687         * math/libm-test.inc (struct test_ff_i_data): New type.
31688         (RUN_TEST_LOOP_ff_i_tg): New macro.
31689         (isgreater_test_data): New variable.
31690         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31691         (isgreaterequal_test_data): New variable.
31692         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31693         (isless_test_data): New variable.
31694         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31695         (islessequal_test_data): New variable.
31696         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31697         (islessgreater_test_data): New variable.
31698         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31699         (isunordered_test_data): New variable.
31700         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31702 2013-05-14  David S. Miller  <davem@davemloft.net>
31704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31706 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31708         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31710         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31711         extra_test to int.
31712         (struct test_f_i_data): Change type of max_ulp to int.
31714         * math/libm-test.inc (test_ffI_f1_data): New type.
31715         (RUN_TEST_LOOP_ffI_f1): New macro.
31716         (remquo_test_data): New variable.
31717         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31719         * setjmp/tst-setjmp-fp.c: New file.
31720         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31721         (link-libm): New variable.
31722         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31724         * math/libm-test.inc (struct test_f_i_data): New type.
31725         (RUN_TEST_LOOP_f_i): New macro.
31726         (RUN_TEST_LOOP_f_i_tg): Likewise.
31727         (fpclassify_test_data): New variable.
31728         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31729         (ilogb_test_data): New variable.
31730         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31732         * math/libm-test.inc (scalbln_test): Correct function name in END
31733         call.
31735         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31736         (RUN_TEST_LOOP_fI_f1): New macro.
31737         (frexp_test_data): New variable.
31738         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31740         * math/libm-test.inc (struct test_fF_f1_data): New type.
31741         (RUN_TEST_LOOP_fF_f1): New macro.
31742         (modf_test_data): New variable.
31743         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31745         * math/libm-test.inc (struct test_f_f1_data): New type.
31746         (RUN_TEST_LOOP_f_f1): New macro.
31747         (gamma_test_data): New variable.
31748         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31749         (lgamma_test_data): New variable.
31750         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31752 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31754         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31755         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31756         (main): Comment "tls" pseudo-hwcap.
31758 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31760         * math/libm-test.inc (struct test_fl_f_data): New type.
31761         (RUN_TEST_LOOP_fl_f): New variable.
31762         (scalbln_test_data): New variable.
31763         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31765         * math/libm-test.inc (struct test_fi_f_data): New type.
31766         (RUN_TEST_LOOP_fi_f): New macro.
31767         (ldexp_test_data): New variable.
31768         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31769         (scalbn_test_data): New variable.
31770         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31772         * math/libm-test.inc (struct test_c_f_data): New type.
31773         (RUN_TEST_LOOP_c_f): New macro.
31774         (cabs_test_data): New variable.
31775         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31776         (carg_test_data): New variable.
31777         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31778         (cimag_test_data): New variable.
31779         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31780         (creal_test_data): New variable.
31781         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31783         * math/libm-test.inc (struct test_if_f_data): New type.
31784         (RUN_TEST_LOOP_if_f): New macro.
31785         (jn_test_data): New variable.
31786         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31787         (yn_test_data): New variable.
31788         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31790         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31792 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31794         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31795         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31797 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31799         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31800         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31801         (bench-deps): Add bench-timing.h.
31802         * benchtests-bench-skeleton.c: Include bench-timing.h.
31803         (main): Use TIMING_* macros instead of clock_gettime.
31804         * benchtests/bench-timing.h: New file.
31806         [BZ #14582]
31807         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31808         Renamed from _LIB_VERSION.
31809         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31811 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31813         * math/libm-test.inc (struct test_fff_f_data): New type.
31814         (RUN_TEST_LOOP_fff_f): New macro.
31815         (fma_test_data): New variable.
31816         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31817         (fma_towardzero_test_data): New variable.
31818         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31819         (fma_downward_test_data): New variable.
31820         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31821         (fma_upward_test_data): New variable.
31822         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31824         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31825         (struct test_c_c_data): New type.
31826         (RUN_TEST_LOOP_c_c): New macro.
31827         (cacos_test_data): New variable.
31828         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31829         (cacosh_test_data): New variable.
31830         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31831         (casin_test_data): New variable.
31832         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31833         (casinh_test_data): New variable.
31834         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31835         (catan_test_data): New variable.
31836         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31837         (catanh_test_data): New variable.
31838         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31839         (ccos_test_data): New variable.
31840         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31841         (ccosh_test_data): New variable.
31842         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31843         (cexp_test_data): New variable.
31844         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31845         (clog_test_data): New variable.
31846         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31847         (clog10_test_data): New variable.
31848         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31849         (conj_test_data): New variable.
31850         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31851         (cproj_test_data): New variable.
31852         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31853         (csin_test_data): New variable.
31854         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31855         (csinh_test_data): New variable.
31856         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31857         (csqrt_test_data): New variable.
31858         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31859         (ctan_test_data): New variable.
31860         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31861         (ctan_tonearest_test_data): New variable.
31862         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31863         (ctan_towardzero_test_data): New variable.
31864         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31865         (ctan_downward_test_data): New variable.
31866         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31867         (ctan_upward_test_data): New variable.
31868         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31869         (ctanh_test_data): New variable.
31870         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31871         (ctanh_tonearest_test_data): New variable.
31872         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31873         (ctanh_towardzero_test_data): New variable.
31874         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31875         (ctanh_downward_test_data): New variable.
31876         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31877         (ctanh_upward_test_data): New variable.
31878         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31879         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31880         of BUILD_COMPLEX.
31882         * math/libm-test.inc (struct test_ff_f_data): New type.
31883         (struct test_ff_f_data_nexttoward): Likewise.
31884         (RUN_TEST_LOOP_2_f): New macro.
31885         (RUN_TEST_LOOP_ff_f): Likewise.
31886         (atan2_test_data): New variable.
31887         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31888         (copysign_test_data): New variable.
31889         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31890         (fdim_test_data): New variable.
31891         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31892         (fmax_test_data): New variable.
31893         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31894         (fmin_test_data): New variable.
31895         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31896         (fmod_test_data): New variable.
31897         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31898         (hypot_test_data): New variable.
31899         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31900         (nextafter_test_data): New variable.
31901         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31902         (nexttoward_test_data): New variable.
31903         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31904         (pow_test_data): New variable.
31905         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31906         (pow_tonearest_test_data): New variable.
31907         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31908         (pow_towardzero_test_data): New variable.
31909         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31910         (pow_downward_test_data): New variable.
31911         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31912         (pow_upward_test_data): New variable.
31913         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31914         (remainder_test_data): New variable.
31915         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31916         (scalb_test_data): New variable.
31917         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31918         * sysdeps/i386/fpu/libm-test-ulps: Update.
31920 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31922         * math/libm-test.inc (fma_test): Use max_value instead of local
31923         variable fltmax.
31924         (nextafter_test): Likewise.
31926         * math/libm-test.inc (acos_towardzero_test_data): New variable.
31927         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31928         (acos_downward_test_data): New variable.
31929         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31930         (acos_upward_test_data): New variable.
31931         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31932         (acosh_test_data): New variable.
31933         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31934         (asin_test_data): New variable.
31935         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31936         (asin_tonearest_test_data): New variable.
31937         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31938         (asin_towardzero_test_data): New variable.
31939         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31940         (asin_downward_test_data): New variable.
31941         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31942         (asin_upward_test_data): New variable.
31943         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31944         (asinh_test_data): New variable.
31945         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31946         (atan_test_data): New variable.
31947         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31948         (atanh_test_data): New variable.
31949         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31950         (cbrt_test_data): New variable.
31951         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31952         (ceil_test_data): New variable.
31953         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31954         (cos_test_data): New variable.
31955         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31956         (cos_tonearest_test_data): New variable.
31957         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31958         (cos_towardzero_test_data): New variable.
31959         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31960         (cos_downward_test_data): New variable.
31961         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31962         (cos_upward_test_data): New variable.
31963         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31964         (cosh_test_data): New variable.
31965         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31966         (cosh_tonearest_test_data): New variable.
31967         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31968         (cosh_towardzero_test_data): New variable.
31969         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31970         (cosh_downward_test_data): New variable.
31971         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31972         (cosh_upward_test_data): New variable.
31973         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31974         (erf_test_data): New variable.
31975         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31976         (erfc_test_data): New variable.
31977         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31978         (exp_test_data): New variable.
31979         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31980         (exp_tonearest_test_data): New variable.
31981         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31982         (exp_towardzero_test_data): New variable.
31983         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31984         (exp_downward_test_data): New variable.
31985         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31986         (exp_upward_test_data): New variable.
31987         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31988         (exp10_test_data): New variable.
31989         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31990         (exp2_test_data): New variable.
31991         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31992         (expm1_test_data): New variable.
31993         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31994         (fabs_test_data): New variable.
31995         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31996         (floor_test_data): New variable.
31997         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31998         (j0_test_data): New variable.
31999         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32000         (j1_test_data): New variable.
32001         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32002         (log_test_data): New variable.
32003         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32004         (log10_test_data): New variable.
32005         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32006         (log1p_test_data): New variable.
32007         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32008         (log2_test_data): New variable.
32009         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32010         (logb_test_data): New variable.
32011         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32012         (logb_downward_test_data): New variable.
32013         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32014         (nearbyint_test_data): New variable.
32015         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32016         (rint_test_data): New variable.
32017         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32018         (rint_tonearest_test_data): New variable.
32019         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32020         (rint_towardzero_test_data): New variable.
32021         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32022         (rint_downward_test_data): New variable.
32023         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32024         (rint_upward_test_data): New variable.
32025         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32026         (round_test_data): New variable.
32027         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32028         (sin_test_data): New variable.
32029         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32030         (sin_tonearest_test_data): New variable.
32031         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32032         (sin_towardzero_test_data): New variable.
32033         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32034         (sin_downward_test_data): New variable.
32035         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32036         (sin_upward_test_data): New variable.
32037         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32038         (sinh_test_data): New variable.
32039         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32040         (sinh_tonearest_test_data): New variable.
32041         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32042         (sinh_towardzero_test_data): New variable.
32043         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32044         (sinh_downward_test_data): New variable.
32045         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32046         (sinh_upward_test_data): New variable.
32047         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32048         (sqrt_test_data): New variable.
32049         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32050         (tan_test_data): New variable.
32051         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32052         (tan_tonearest_test_data): New variable.
32053         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32054         (tan_towardzero_test_data): New variable.
32055         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32056         (tan_downward_test_data): New variable.
32057         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32058         (tan_upward_test_data): New variable.
32059         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32060         (tanh_test_data): New variable.
32061         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32062         (tgamma_test_data): New variable.
32063         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32064         (trunc_test_data): New variable.
32065         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32066         (y0_test_data): New variable.
32067         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32068         (y1_test_data): New variable.
32069         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32070         (significand_test_data): New variable.
32071         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32073 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32075         [BZ #12387]
32076         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32078 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32080         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32082 2013-05-10  Andreas Jaeger  <aj@suse.de>
32084         [BZ #15448]
32085         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32086         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32088 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32090         * math/gen-libm-test.pl (adjust_arg): New function.
32091         (special_functions): Handle generating output in both functions
32092         and arrays.
32093         (parse_args): Likewise.
32094         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32095         $in_func argument to parse_args.
32096         * math/libm-test.inc (struct test_f_f_data): New type.
32097         (IF_ROUND_INIT_): New macro.
32098         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32099         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32100         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32101         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32102         (ROUND_RESTORE_): Likewise.
32103         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32104         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32105         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32106         (ROUND_RESTORE_FE_UPWARD): Likewise.
32107         (RUN_TEST_LOOP_f_f): New macro.
32108         (acos_test_data): New variable.
32109         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32110         (acos_tonearest_test_data): New variable.
32111         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32113 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32115         * benchtests/bench-skeleton.c (startup): Fix coding style.
32117 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32119         [BZ #6809]
32120         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32121         negative infinity argument.
32122         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32123         negative infinity argument.
32124         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32125         negative infinity argument.
32126         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32127         domain errors.
32129 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32131         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32132         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32133         * iconv/iconv_prog.c (main): Likewise.
32134         * locale/programs/charmap-dir.c (charmap_readdir)
32135         (fopen_uncompressed): Likewise.
32136         * locale/programs/locfile.c (siblings_uncached)
32137         (write_locale_data): Use lstat64 instead of lstat.
32138         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32139         stat.
32141 2013-05-10  Andreas Jaeger  <aj@suse.de>
32143         [BZ #15395]
32144         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32145         localization.
32146         Include <locale.h>.
32148 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32150         * elf/dl-close.c (_dl_close_worker): Add comments.
32152 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32154         [BZ #15359]
32155         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32156         high part of pi/2.
32157         (__ieee754_rem_pio2l): Update comments.
32159         [BZ #15429]
32160         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32161         high part of pi/2.
32162         (__ieee754_rem_pio2l): Update comments.
32164         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32165         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32167         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32168         M_PI_4l.
32170         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32171         (M_PI_34_LOG10El): Likewise.
32172         (M_PI2_LOG10El): Likewise.
32173         (M_PI4_LOG10El): Likewise.
32174         (M_PI_LOG10El): Likewise.
32176 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32180 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32182         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32183         (MINUS_ZERO_INIT): Likewise.
32184         (PLUS_INFTY_INIT): Likewise.
32185         (MINUS_INFTY_INIT): Likewise.
32186         (QNAN_VALUE_INIT): Likewise.
32187         (MAX_VALUE_INIT): Likewise.
32188         (MIN_VALUE_INIT): Likewise.
32189         (MIN_SUBNORM_VALUE_INIT): Likewise.
32190         (plus_zero): Initialize with PLUS_ZERO_INIT.
32191         (minus_zero): Initialize with MINUS_ZERO_INIT.
32192         (plus_infty): Initialize with PLUS_INFTY_INIT.
32193         (minus_infty): Initialize with MINUS_INFTY_INIT.
32194         (qnan_value): Initialize with QNAN_VALUE_INIT.
32195         (max_value): Initialize with MAX_VALUE_INIT.
32196         (min_value): Initialize with MIN_VALUE_INIT.
32197         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32199         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32200         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32201         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32202         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32204         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32205         (RUN_TEST_2_f): Likewise.
32206         (RUN_TEST_ff_f): Likewise.
32207         (RUN_TEST_fi_f): Likewise.
32208         (RUN_TEST_fl_f): Likewise.
32209         (RUN_TEST_fff_f): Likewise.
32210         (RUN_TEST_c_f): Likewise.
32211         (RUN_TEST_f_f1): Likewise.
32212         (RUN_TEST_fF_f1): Likewise.
32213         (RUN_TEST_fI_f1): Likewise.
32214         (RUN_TEST_ffI_f1): Likewise.
32215         (RUN_TEST_c_c): Likewise.
32216         (RUN_TEST_cc_c): Likewise.
32217         (RUN_TEST_f_i): Likewise.
32218         (RUN_TEST_f_i_tg): Likewise.
32219         (RUN_TEST_ff_i_tg): Likewise.
32220         (RUN_TEST_f_b): Likewise.
32221         (RUN_TEST_f_b_tg): Likewise.
32222         (RUN_TEST_f_l): Likewise.
32223         (RUN_TEST_f_L): Likewise.
32224         (RUN_TEST_sincos): Likewise.
32225         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32226         whether to show exceptions.  Do not include ");\n" in return
32227         value.
32228         (special_functions): Output call to RUN_TEST_sincos instead of
32229         check_float calls.  Update calls to new_test.
32230         (parse_args): Output call to single RUN_TEST_* macro instead of
32231         check_* calls and other assignments.  Update calls to new_test.
32233         [BZ #2546]
32234         [BZ #2560]
32235         [BZ #5159]
32236         [BZ #15426]
32237         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32238         input to result for tgamma overflow.
32239         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32240         (gamma_coeff): New variable.
32241         (NCOEFF): New macro.
32242         (gamma_positive): New function.
32243         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32244         underflow here.  Use gamma_positive instead of exp (lgamma) for
32245         other arguments.
32246         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32247         (gamma_coeff): New variable.
32248         (NCOEFF): New macro.
32249         (gammaf_positive): New function.
32250         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32251         underflow here.  Use gamma_positive instead of exp (lgamma) for
32252         other arguments.
32253         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32254         (gamma_coeff): New variable.
32255         (NCOEFF): New macro.
32256         (gammal_positive): New function.
32257         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32258         underflow here.  Use gamma_positive instead of exp (lgamma) for
32259         other arguments.
32260         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32261         (gamma_coeff): New variable.
32262         (NCOEFF): New macro.
32263         (gammal_positive): New function.
32264         (__ieee754_gammal_r): Handle positive infinity, overflow and
32265         underflow here.  Handle NaN the same as positive infinity.  Remove
32266         check x < 0xffffffff for negative integers.  Use gamma_positive
32267         instead of exp (lgamma) for other arguments.
32268         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32269         (gamma_coeff): New variable.
32270         (NCOEFF): New macro.
32271         (gammal_positive): New function.
32272         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32273         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32274         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32275         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32276         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32277         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32278         * sysdeps/generic/math_private.h (__gamma_productf): New
32279         prototype.
32280         (__gamma_product): Likewise.
32281         (__gamma_productl): Likewise.
32282         * math/Makefile (libm-calls): Add gamma_product.
32283         * math/libm-test.inc (tgamma_test): Add more tests.
32284         * sysdeps/i386/fpu/libm-test-ulps: Update.
32285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32287 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32289         * benchtests/bench-skeleton.c (main): Preheat CPU.
32291 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32293         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32295 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32297         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32298         and _dl_skip_args_internal.
32300 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32302         * manual/message.texi (Message Translation): Talk about users.
32303         Message to key mapping impacts design.
32305 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32307         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32309         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32311         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32312         * sysdeps/wordsize-64/glob64.c: ... here.
32314         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32315         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32316         New macros.
32318         * debug/getlogin_r_chk.c: Moved to ...
32319         * login/getlogin_r_chk.c: ... here.
32320         * debug/Makefile (routines): Move getlogin_r_chk to ...
32321         * login/Makefile (routines): ... here.
32322         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32323         * login/Versions (libc: GLIBC_2.4): ... here.
32325         * io/poll.c (__poll): Renamed from poll.
32326         Add libc_hidden_def.
32327         (poll): Define as weak alias.
32329         * debug/ptsname_r_chk.c: Moved to ...
32330         * login/ptsname_r_chk.c: ... here.
32331         * debug/Makefile (routines): Move ptsname_r_chk to ...
32332         * login/Makefile (routines): ... here.
32333         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32334         * login/Versions (libc: GLIBC_2.4): ... here.
32336         * posix/getlogin.c: Moved to ...
32337         * login/getlogin.c: ... here.
32338         * posix/getlogin_r.c: Moved to ...
32339         * login/getlogin_r.c: ... here.
32340         * posix/getlogin_r.c: Moved to ...
32341         * login/getlogin_r.c: ... here.
32342         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32343         * login/Makefile (routines): ... here.
32344         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32345         * login/Versions (libc: GLIBC_2.0): ... here.
32347         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32348         (setrlimit): Define as weak alias.
32350         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32351         Call __ names for open, ftruncate, and close.
32352         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32353         (truncate): Define as weak alias.
32355 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32357         * math/gen-libm-test.pl (parse_args): Initialize x before each
32358         test of frexp, modf and remquo.
32360         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32361         test signgam value.
32363 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32365         [BZ #15418]
32366         [BZ #15419]
32367         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32368         internal tests.
32369         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32371 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32373         * elf/dl-writev.h: New file.
32374         * elf/dl-misc.c: Include it.
32375         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32376         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32378 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32380         * math/libm-test.inc (noXFails): Remove variable.
32381         (noXPasses): Likewise.
32382         (BUILD_COMPLEX_INT): Remove macro.
32383         (print_screen): Remove xfail argument.
32384         (print_screen_max_error): Likewise.
32385         (update_stats): Likewise.
32386         (print_max_error): Likewise.  Update calls to other affected
32387         functions.
32388         (print_complex_max_error): Likewise.
32389         (test_single_exception): Update calls to print_screen.
32390         (test_single_errno): Likewise.
32391         (check_float_internal): Remove xfail argument.  Update calls to
32392         other affected functions.
32393         (check_float): Likewise.
32394         (check_complex): Likewise.
32395         (check_int): Likewise.
32396         (check_long): Likewise.
32397         (check_bool): Likewise.
32398         (check_longlong): Likewise.
32399         (main): Don't print noXFails and noXPasses.
32400         * math/gen-libm-test.pl (top level): Don't mention expected
32401         failure handling in comment.
32402         (new_test): Don't handle expected failures.
32403         (parse_args): Don't mention expected failure handling in comment.
32404         (generate_testfile): Don't handle expected failures.
32405         (parse_ulps): Likewise.
32406         (print_ulps_file): Likewise.
32407         (get_failure): Remove function.
32408         (output_test): Don't handle expected failures.
32409         * make/README.libm-test: Don't mention expected failure handling.
32411         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32412         (minus_zero): Likewise.
32413         (plus_infty): Likewise.
32414         (minus_infty): Likewise.
32415         (qnan_value): Likewise.
32416         (max_value): Likewise.
32417         (min_value): Likewise.
32418         (min_subnorm_value): Likewise.
32419         (initialize): Do not initialize those variables dynamically.
32421 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32423         * io/open.c (__open_2): Moved to ...
32424         * io/open_2.c: ... this new file.
32425         * io/open64.c (__open64_2): Moved to ...
32426         * io/open64_2.c: ... this new file.
32427         * io/openat.c (__openat_2): Moved to ...
32428         * io/openat_2.c: ... this new file.
32429         * io/openat64.c (__openat64_2): Moved to ...
32430         * io/openat64_2.c: ... this new file.
32431         * io/Makefile (routines): Add them.
32432         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32433         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32434         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32435         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32436         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32437         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32438         (__openat64): Add hidden_ver.
32439         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32440         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32442         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32443         Separately conditionalize setting of GLRO(dl_sysinfo) so
32444         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32445         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32447 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32449         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32450         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32451         definition.
32452         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32453         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32454         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32455         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32456         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32458 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32460         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32461         test signgam value.
32463         * math/libm-test.inc (hypot_test): Do not use
32464         IGNORE_ZERO_INF_SIGN.
32466 2013-05-03  Andreas Jaeger  <aj@suse.de>
32468         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32469         Linux 3.9.
32470         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32471         (PF_MAX): Adjust for VSOCK change.
32473 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32477 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32479         [BZ #15264]
32480         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32481         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32482         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32484 2013-05-02  David S. Miller  <davem@davemloft.net>
32486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32488 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32490         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32492 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32494         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32496 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32498         [BZ #14952]
32499         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32500         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32501         Use __attribute__ ((__gnu_inline__)).
32502         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32503         Don't use __attribute__ ((__gnu_inline__)).
32505 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32507         [BZ #15423]
32508         * math/s_catan.c (__catan): Handle small real or imaginary part of
32509         input specially to avoid spurious underflow.
32510         * math/s_catanf.c (__catanf): Likewise.
32511         * math/s_catanh.c (__catanh): Likewise.
32512         * math/s_catanhf.c (__catanhf): Likewise.
32513         * math/s_catanhl.c (__catanhl): Likewise.
32514         * math/s_catanl.c (__catanl): Likewise.
32515         * math/libm-test.inc (catan_test): Add more tests.
32516         (catanh_test): Likewise.
32517         * sysdeps/i386/fpu/libm-test-ulps: Update.
32518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32520 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32524 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #15416]
32527         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32528         accurately for denominator in atan2.
32529         * math/s_catanf.c (__catanf): Likewise.
32530         * math/s_catanh.c (__catanh): Likewise.
32531         * math/s_catanhf.c (__catanhf): Likewise.
32532         * math/s_catanhl.c (__catanhl): Likewise.
32533         * math/s_catanl.c (__catanl): Likewise.
32534         * math/libm-test.inc (catan_test): Add more tests.
32535         (catanh_test): Likewise.
32536         * sysdeps/i386/fpu/libm-test-ulps: Update.
32537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32539 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32541         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32543         * benchtests/Makefile (bench): Remove slow benchmarks.
32544         * benchtests/atan-inputs: Add slow benchmark inputs.
32545         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32546         (BENCH_FUNC): Accept variant offset.
32547         (VARIANT): Define.
32548         * benchtests/bench-skeleton.c (main): Run benchmark for each
32549         variant.
32550         * benchtests/cos-inputs: Add slow benchmark inputs.
32551         * benchtests/exp-inputs: Likewise.
32552         * benchtests/pow-inputs: Likewise.
32553         * benchtests/sin-inputs: Likewise.
32554         * benchtests/slowatan-inputs: Remove.
32555         * benchtests/slowatan.c: Remove.
32556         * benchtests/slowcos-inputs: Remove.
32557         * benchtests/slowcos.c: Remove.
32558         * benchtests/slowexp-inputs: Remove.
32559         * benchtests/slowexp.c: Remove.
32560         * benchtests/slowpow-inputs: Remove.
32561         * benchtests/slowpow.c: Remove.
32562         * benchtests/slowsin-inputs: Remove.
32563         * benchtests/slowsin.c: Remove.
32564         * benchtests/slowtan-inputs: Remove.
32565         * benchtests/slowtan.c: Remove.
32566         * benchtests/tan-inputs: Add slow benchmark inputs.
32567         * scripts/bench.pl: Parse comments and directives.
32569         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32570         in CPPFLAGS.
32571         ($(objpfx)bench-%.c): Remove *-ITER.
32572         * benchtests/bench-modf.c: Remove definition of ITER.
32573         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32574         (main): Loop for DURATION seconds instead of fixed number of
32575         iterations.
32576         * scripts/bench.pl: Don't expect iterations in parameters.
32578 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32580         * io/fchdir.c (__fchdir): Renamed from fchdir.
32581         (fchdir): Define as weak alias.
32583 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32585         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32586         (ERRNO_EDOM): Likewise.
32587         (ERRNO_ERANGE): Likewise.
32588         (noErrnoTests): New variable.
32589         (init_max_error): Set errno to 0.
32590         (test_single_errno): New function.
32591         (test_errno): Likewise.
32592         (check_float_internal): Call test_errno.  Set errno to 0.
32593         (check_complex): Refer to errno tests in comment.
32594         (check_int): Call test_errno.  Set errno to 0.
32595         (check_long): Likewise.
32596         (check_bool): Likewise.
32597         (check_longlong): Likewise.
32598         (cos_test): Use ERRNO_* flags for errno tests instead of
32599         check_int.
32600         (expm1_test): Likewise.
32601         (fmod_test): Likewise.
32602         (ilogb_test): Likewise.
32603         (lgamma_test): Likewise.
32604         (pow_test): Likewise.
32605         (remainder_test): Likewise.
32606         (sin_test): Likewise.
32607         (tan_test): Likewise.
32608         (yn_test): Likewise.
32609         (initialize): Set errno to 0.
32610         (main): Print number of errno tests.
32611         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32613 2013-04-29  Andreas Jaeger  <aj@suse.de>
32615         [BZ #15084]
32616         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32617         and RES_USEVC.
32619         [BZ #15085]
32620         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32621         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32622         unimplemented.
32624         [BZ #15380]
32625         * stdlib/random.c (__initstate): Return NULL if
32626         __initstate fails.
32628         [BZ #15086]
32629         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32630         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32631         RES_SNGLKUPREOP.
32633 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32637 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32639         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32640         of individual tests.
32641         (casin_test): Likewise.
32642         (casinh_test): Likewise.
32644 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #15409]
32647         * math/s_catan.c (__catan): Handle arguments with large real or
32648         imaginary part separately without squaring.
32649         * math/s_catanf.c (__catanf): Likewise.
32650         * math/s_catanh.c (__catanh): Likewise.
32651         * math/s_catanhf.c (__catanhf): Likewise.
32652         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32653         and redefine.
32654         (__catanhl): Handle arguments with large real or imaginary part
32655         separately without squaring.
32656         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32657         and redefine.
32658         (__catanl): Handle arguments with large real or imaginary part
32659         separately without squaring.
32660         * math/libm-test.inc (catan_test): Add more tests.
32661         (catanh_test): Likewise.
32662         * sysdeps/i386/fpu/libm-test-ulps: Update.
32663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32665 2013-04-27  Andreas Jaeger  <aj@suse.de>
32667         [BZ #15007]
32668         * stdlib/stdlib.h: Update guards for qecvt.
32669         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32670         <stdlib.h>.
32672 2013-04-27  Allan McRae  <allan@archlinux.org>
32674         * sysdeps/i386/fpu/libm-test-ulps: Update.
32676 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #15406]
32679         * math/s_catan.c: Include <float.h>.
32680         (__catan): Ensure underflow exception occurs for underflowed
32681         result.
32682         * math/s_catanf.c: Include <float.h>.
32683         (__catanf): Ensure underflow exception occurs for underflowed
32684         result.
32685         * math/s_catanh.c: Include <float.h>.
32686         (__catanh): Ensure underflow exception occurs for underflowed
32687         result.
32688         * math/s_catanhf.c: Include <float.h>.
32689         (__catanhf): Ensure underflow exception occurs for underflowed
32690         result.
32691         * math/s_catanhl.c: Include <float.h>.
32692         (__catanhl): Ensure underflow exception occurs for underflowed
32693         result.
32694         * math/s_catanl.c: Include <float.h>.
32695         (__catanl): Ensure underflow exception occurs for underflowed
32696         result.
32697         * math/libm-test.inc (catan_test): Add more tests.
32698         (catanh_test): Likewise.
32700         [BZ #15405]
32701         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32702         underflowed result.
32703         * math/s_ccoshf.c (__ccoshf): Likewise.
32704         * math/s_ccoshl.c (__ccoshl): Likewise.
32705         * math/s_csin.c (__csin): Likewise.
32706         * math/s_csinf.c (__csinf): Likewise.
32707         * math/s_csinh.c (__csinh): Likewise.
32708         * math/s_csinhf.c (__csinhf): Likewise.
32709         * math/s_csinhl.c (__csinhl): Likewise.
32710         * math/s_csinl.c (__csinl): Likewise.
32711         * math/libm-test.inc (ccos_test): Add more tests.
32712         (ccosh_test): Likewise.
32713         (csin_test): Likewise.
32714         (csinh_test): Likewise.
32716 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32718         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32719         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32720         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32721         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32722         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32723         powerpc/power5+/fpu folders.
32724         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32727 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32731 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32733         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32734         additions to variable.
32735         [$(config-machine) = x86_64] (modules-names): Likewise.
32736         ($(objpfx)tst-audit3): Remove dependency.
32737         ($(objpfx)tst-audit3.out): Likewise.
32738         ($(objpfx)tst-audit4): Likewise.
32739         ($(objpfx)tst-audit4.out): Likewise.
32740         ($(objpfx)tst-audit5): Likewise.
32741         ($(objpfx)tst-audit5.out): Likewise.
32742         ($(objpfx)tst-audit6): Likewise.
32743         ($(objpfx)tst-audit6.out): Likewise.
32744         ($(objpfx)tst-audit7): Likewise.
32745         ($(objpfx)tst-audit7.out): Likewise.
32746         (tst-audit3-ENV): Remove variable.
32747         (tst-audit4-ENV): Likewise.
32748         (tst-audit5-ENV): Likewise.
32749         (tst-audit6-ENV): Likewise.
32750         (tst-audit7-ENV): Likewise.
32751         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32752         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32753         addition to variable.
32754         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32755         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32756         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32757         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32758         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32759         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32760         tst-audit3, tst-audit4 and tst-audit5.
32761         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32762         tst-audit6 and tst-audit7.
32763         [$(subdir) = elf] (modules-names): Add audit modules for those
32764         tests.
32765         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32766         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32767         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32768         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32769         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32770         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32771         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32772         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32773         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32774         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32775         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32776         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32777         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32778         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32779         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32780         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32781         Likewise.
32782         [$(subdir) = elf && $(config-cflags-avx) = yes]
32783         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32784         [$(subdir) = elf && $(config-cflags-avx) = yes]
32785         (CFLAGS-tst-auditmod4a.c): Likewise.
32786         [$(subdir) = elf && $(config-cflags-avx) = yes]
32787         (CFLAGS-tst-auditmod4b.c): Likewise.
32788         [$(subdir) = elf && $(config-cflags-avx) = yes]
32789         (CFLAGS-tst-auditmod6b.c): Likewise.
32790         [$(subdir) = elf && $(config-cflags-avx) = yes]
32791         (CFLAGS-tst-auditmod6c.c): Likewise.
32792         [$(subdir) = elf && $(config-cflags-avx) = yes]
32793         (CFLAGS-tst-auditmod7b.c): Likewise.
32794         * elf/tst-audit3.c: Move to ...
32795         * sysdeps/x86_64/tst-audit3.c: ... here.
32796         * elf/tst-audit4.c: Move to ...
32797         * sysdeps/x86_64/tst-audit4.c: ... here.
32798         * elf/tst-audit5.c: Move to ...
32799         * sysdeps/x86_64/tst-audit5.c: ... here.
32800         * elf/tst-audit6.c: Move to ...
32801         * sysdeps/x86_64/tst-audit6.c: ... here.
32802         * elf/tst-audit7.c: Move to ...
32803         * sysdeps/x86_64/tst-audit7.c: ... here.
32804         * elf/tst-auditmod3a.c: Move to ...
32805         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32806         * elf/tst-auditmod3b.c: Move to ...
32807         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32808         * elf/tst-auditmod4a.c: Move to ...
32809         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32810         * elf/tst-auditmod4b.c: Move to ...
32811         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32812         * elf/tst-auditmod5a.c: Move to ...
32813         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32814         * elf/tst-auditmod5b.c: Move to ...
32815         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32816         * elf/tst-auditmod6a.c: Move to ...
32817         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32818         * elf/tst-auditmod6b.c: Move to ...
32819         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32820         * elf/tst-auditmod6c.c: Move to ...
32821         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32822         * elf/tst-auditmod7a.c: Move to ...
32823         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32824         * elf/tst-auditmod7b.c: Move to ...
32825         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32827 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32829         [BZ #15366]
32830         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32831         define unconditionally.
32832         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32833         define unconditionally.
32834         (INT8_C, INT16_C, etc.): Likewise.
32836 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32838         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32839         __ehdr_start with hidden visibility.
32841         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32843 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32845         * math/libm-test.inc (cos_test): Use accurate hex constants.
32846         (sincost_test): Likewise.
32848 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32850         * math/libm-test.inc (catan_test): Add more tests.
32851         (catanh_test): Likewise.
32853         * math/s_catanf.c (__catanf): Use suffixed floating-point
32854         constants.
32855         * math/s_catanhf.c (__catanhf): Likewise.
32856         * math/s_catanhl.c (__catanhl): Likewise.
32857         * math/s_catanl.c (__catanl): Likewise.
32859         [BZ #15394]
32860         * math/s_catan.c (__catan): Calculate imaginary part of result
32861         with log1p not log unless computing log of number close to 0.
32862         * math/s_catanf.c (__catanf): Likewise.
32863         * math/s_catanl.c (__catanl): Likewise.
32864         * math/s_catanh.c (__catanh): Calculate real part of result with
32865         log1p not log unless computing log of number close to 0.
32866         * math/s_catanhf.c (__catanhf): Likewise.
32867         * math/s_catanhl.c (__catanhl): Likewise.
32868         * math/libm-test.inc (catan_test): Add more tests.
32869         (catanh_test): Likewise.
32870         * sysdeps/i386/fpu/libm-test-ulps: Update.
32871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32873 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32875         * benchtests/Makefile: Mention files in which fast and slow
32876         paths of math functions are implemented.
32878 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32880         * sysdeps/posix/timespec_get.c: New file.
32882 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32884         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32885         POWER.
32886         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32887         for POWER.
32888         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32889         powerpc/power5/fpu folders.
32890         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32891         * benchtests/Makefile: Add modf testcase.
32892         * benchtests/bench-modf.c: New file: Benchmark test for mo
32894 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32896         [BZ #14888]
32897         * time/Makefile (tests): Add tst-strptime-whitespace.
32898         * time/strptime_l.c (get_number): Use ISSPACE.
32899         (__strptime_internal): Likewise.
32900         * time/tst-strptime-whitespace.c: New test case.
32902 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32904         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32905         member.
32906         (_nss_files_init): Set it here.
32908 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32910         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32911         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32912         unsigned.
32914 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32916         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32918 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32920         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32921         size just once.
32923 2013-04-21  David S. Miller  <davem@davemloft.net>
32925         * po/ru.po: Update Russion translation from translation project.
32927 2013-04-17  Adam Conrad  <adconrad@0c3.net>
32929         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32930         and setfsgid.
32932 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
32934         * configure.in: Remove i386 configure warning. Remove i386 case.
32935         * configure: Regenerate.
32936         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32937         Add example to error message.
32938         * sysdeps/i386/configure: Regenerate.
32940 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32942         * benchtests/Makefile (bench): Add cos, tan, slowcos and
32943         slowtan.
32944         * benchtests/cos-inputs: New file.
32945         * benchtests/slowcos-inputs: New file.
32946         * benchtests/slowcos.c: New file.
32947         * benchtests/slowtan-inputs: New file.
32948         * benchtests/slowtan.c: New file.
32949         * benchtests/tan-inputs: New file.
32951 2013-04-16  Roland McGrath  <roland@hack.frob.com>
32953         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32954         considered kosher.
32956 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32958         * benchtests/Makefile: Include cppflags-iterator.mk to add
32959         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32961         * Makefile.in (bench-clean): New target.
32962         * benchtests/Makefile (bench-clean): Likewise.
32964 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
32966         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32968 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
32970         * stdio-common/tstdiomisc.c: Fix coding-style violation.
32972 2013-04-15  Andreas Schwab  <schwab@suse.de>
32974         * nscd/grpcache.c (cache_addgr): Properly check for short write.
32975         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32976         * nscd/pwdcache.c (cache_addpw): Likewise.
32977         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
32978         more than recsize.
32980 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32982         * benchtests/Makefile (bench): Write all output to
32983         bench-out.tmp together.
32985 2013-04-15  Andreas Schwab  <schwab@suse.de>
32987         * nscd/nscd.c (main): Don't fork again after closing files.
32989 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32991         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32993         * benchtests/Rules (bench-deps): Collect dependencies into a
32994         single variable.  Add Makefile to dependencies.
32995         ($(objpfx)bench-%.c): Depend on bench-deps.
32997 2013-04-12  Roland McGrath  <roland@hack.frob.com>
32998             Xavier Roche  <roche+kml2@exalead.com>
33000         [BZ #15361]
33001         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33002         just that it's a file descriptor.
33003         * manual/llio.texi (Synchronizing AIO Operations): Update description
33004         for EBADF error from aio_fsync.
33006 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33008         * Rules (bench): Move target definition...
33009         * benchtests/Makefile: ... here.
33011 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33013         * math/libm-test.inc (cos_test): Fix PI/2 test.
33014         (sincos_test): Likewise.
33015         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33016         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33018 2013-04-11  Andreas Schwab  <schwab@suse.de>
33020         [BZ #13988]
33021         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33022         accept exponent character only when digits were seen.
33023         * stdio-common/Makefile (tests): Add bug26.
33024         * stdio-common/bug26.c: New file.
33026         [BZ #14293]
33027         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33028         non-freeable.
33030 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33032         * Makeconfig (rtld-prefix): Define built linker prefix.
33033         * Rules (run-bench): Use it.
33034         * math/Makefile (run-regen-ulps): Likewise.
33036         * Rules (bench): Remove eval.
33038 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33039             Roland McGrath  <roland@hack.frob.com>
33040             Ondrej Bilka  <neleai@seznam.cz>
33042         [BZ #15346]
33043         * time/getdate.c: Include ctype.h and alloca.h.
33044         (__getdate_r): Trim leading and trailing spaces of input.
33045         * time/tst-getdate.c (tests): Add tests with leading and
33046         trailing spaces.
33048 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33050         [BZ #14280]
33051         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33052         when computing value.
33054 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33056         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33057         Use testrun.sh to run libm tests.
33059         [BZ #15309]
33060         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33062 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33064         [BZ #15264]
33065         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33067 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33069         * Makefile.in (regen-ulps): New target.
33070         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33071         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33072         [ifneq (no,$(PERL)] (regen-ulps): New target.
33073         [ifeq (no,$(PERL)] (regen-ulps): New target.
33074         * math/libm-test.inc (ulps_file_name): Define.
33075         (output_dir): New variable.
33076         (options): Add "output-dir" option.
33077         (parse_opt): Handle 'o' case.
33078         (main): If output_dir is non-NULL use it as a prefix
33079         otherwise use "".
33080         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33082 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33084         [BZ #10060, #10062]
33085         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33086         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33087         fail configure if __sync_val_compare_and_swap is not inlined.
33088         * sysdeps/i386/configure: Regenerate.
33089         * configure.in: Build for i686 when configured for i386.
33090         * configure: Regenerate.
33091         * README: Remove i386 reference.
33093 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33095         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33096         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33098 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33100         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33101         (lmsnanval): New variables.
33102         (F): Add conversion tests.
33103         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33104         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33106         * stdio-common/tstdiomisc.c (F): Properly collect individual
33107         tests' results.
33109         [BZ #14686, #15336]
33110         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33111         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33112         Instead, use input NaN values or generate a qNaN by arithmetic
33113         operation.  Also fix bugs to comply with the standard.
33114         * math/libm-test.inc (remainder_test): Add more tests.
33116         [BZ #15335, #15342]
33117         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33119         input NaN values or generate a qNaN by arithmetic operation.
33121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33122         unreachable code.
33124         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33125         definitions.
33127 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33129         [BZ #14478]
33130         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33131         underflowed result.
33132         * math/s_cexpf.c (__cexpf): Likewise.
33133         * math/s_cexpl.c (__cexpl): Likewise.
33134         * math/libm-test.inc (cexp_test): Add more tests.
33136 2013-04-03  Andreas Schwab  <schwab@suse.de>
33138         [BZ #15330]
33139         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33140         order arrays from heap if bigger than alloca cutoff.
33142 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33144         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33145         (SNAN_TESTS_double): Refer to GCC PR56831.
33146         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33147         GCC PR56828.
33149 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33151         * Rules (bench): Move bench.out after the run is complete.
33153         * Rules (bench): Echo currently running benchmark.
33155         * benchtests/Makefile (bench): Add atan and slowatan.
33156         * benchtests/atan-inputs: New file.
33157         * benchtests/slowatan-inputs: New file.
33158         * benchtests/slowatan.c: New file.
33160         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33161         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33162         its value.
33164         [BZ #15305]
33165         * sysdeps/unix/sysv/linux/kernel-features.h
33166         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33167         __ASSUME_XFS_RESTRICTED_CHOWN.
33168         * sysdeps/unix/sysv/linux/pathconf.c
33169         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33170         Save and restore errno.
33172 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33174         [BZ #15327]
33175         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33176         arguments using __kernel_casinh.
33177         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33178         arguments using __kernel_casinhf.
33179         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33180         arguments using __kernel_casinhl.
33181         * math/libm-test.inc (cacosh_test): Add more tests.
33182         * sysdeps/i386/fpu/libm-test-ulps: Update.
33183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33185 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33187         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33190         * bench/Makefile (bench): Add sin and slowsin.
33191         * benchtests/sin-inputs: New file.
33192         * benchtests/slowsin-inputs: New file.
33193         * benchtests/slowsin.c: New file.
33195         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33196         (bench): Add slowexp and slowpow.
33197         (exp-ITER): Increase iterations.
33198         (pow-ITER): Likewise.
33199         * benchtests/exp-inputs: Change input.
33200         * benchtests/pow-inputs: Likewise.
33201         * benchtests/slowexp-inputs: New file.
33202         * benchtests/slowexp.c: New file.
33203         * benchtests/slowpow-inputs: New file.
33204         * benchtests/slowpow.c: New file.
33206 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33208         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33209         instructions.
33210         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33211         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33212         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33213         * benchtests/Makefile: Add rint benchtest.
33214         * benchtests/rint-inputs: Input for rint benchtest.
33216 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33218         * Versions.def (libm): Add GLIBC_2.18.
33219         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33220         hidden libm prototypes.
33221         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33222         * math/Makefile (libm-calls): Add s_issignaling.
33223         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33224         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33225         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33226         declaration.
33227         * math/math.h [__USE_GNU] (issignaling): New macro.
33228         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33229         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33230         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33231         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33233         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33234         * manual/arith.texi (issignaling): New section.
33235         * manual/libm-err-tab.pl (@all_functions): Update comment.
33236         * math/gen-libm-test.pl (parse_args): Apply special handling for
33237         issignaling.
33238         * math/libm-test.inc (print_float, issignaling_test): New
33239         functions.
33240         (check_float_internal): Add issignaling checks.
33241         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33242         default definition.
33243         * sysdeps/powerpc/math-tests.h: New file.
33244         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33245         tests.
33246         * math/test-snan.c (TEST_FUNC): Likewise.
33248 2013-03-30  David S. Miller  <davem@davemloft.net>
33250         * po/de.po: Update from translation team.
33252 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33254         [BZ #10357]
33255         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33256         imaginary part less than 1.0 and real part less than 0.5
33257         specially.
33258         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33259         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33260         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33261         (cacos_test): Add more tests.
33262         (casin_test): Likewise.
33263         (casinh_test): Likewise.
33264         * sysdeps/i386/fpu/libm-test-ulps: Update.
33265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33267 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33270         ONE with its value.
33272         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33273         (__pow_mp): Replace ONE and MONE with their values.
33274         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33275         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33276         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33277         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33278         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33279         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33281         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33283         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33284         (__pow_mp): Replace ZERO and MZERO with their values.
33285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33286         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33287         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33289         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33290         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33291         (__sqr): Likewise.
33293         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33295         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33297 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33299         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33300         Declare with __attribute__ ((weak)).
33301         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33302         Call __call_tls_dtors only if it's not NULL.
33304 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33306         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33307         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33308         magic __ehdr_start linker symbol if it's defined.
33309         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33310         them up here if it was already done.
33312         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33313         (_dl_aux_init): Use const in cast when setting it.
33314         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33315         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33316         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33318         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33319         Declare them here.
33320         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33321         * csu/libc-tls.c: Nor here.
33322         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33324         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33325         (__libc_message): Never call vsyslog.
33327 2013-03-28  Alan Modra  <amodra@gmail.com>
33329         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33330         Define as empty.
33331         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33332         Likewise.
33334 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33336         [BZ #15214]
33337         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33338         underflow.
33339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33341 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33343         [BZ #15304]
33344         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33345         Don't add gid passed as argument.
33347         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33349 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33351         [BZ #15307]
33352         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33353         imaginary part between 1.0 and 1.5 and real part less than 0.5
33354         specially.
33355         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33356         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33357         * math/libm-test.inc (cacos_test): Add more tests.
33358         (casin_test): Likewise.
33359         (casinh_test): Likewise.
33360         * sysdeps/i386/fpu/libm-test-ulps: Update.
33361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33363 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33365         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33366         constants.
33367         (norm): Likewise.
33368         (denorm): Likewise.
33369         (__dbl_mp): Likewise.
33370         (add_magnitudes): Likewise.
33371         (sub_magnitudes): Likewise.
33372         (__add): Likewise.
33373         (__sub): Likewise.
33374         (__mul): Likewise.
33375         (__sqr): Likewise.
33376         (__inv): Likewise.
33377         (__dvd): Likewise.
33379         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33380         commented code.
33381         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33382         (__dubcos): Likewise.
33383         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33384         (__ieee754_acos): Likewise.
33385         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33386         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33387         (__exp1): Likewise.
33388         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33390         (log1): Likewise.
33391         (my_log2): Likewise.
33392         (checkint): Likewise.
33393         * sysdeps/ieee754/dbl-64/e_remainder.c
33394         (__ieee754_remainder): Likewise.
33395         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33397         (bsloww): Likewise.
33398         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33400         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33401         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33402         MANTISSA_STORE_T to store computations on mantissa.  Use
33403         macros for rounding and division.
33404         (denorm): Likewise.
33405         (__dbl_mp): Likewise.
33406         (add_magnitudes): Likewise.
33407         (sub_magnitudes): Likewise.
33408         (__mul): Likewise.
33409         (__sqr): Likewise.
33410         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33411         powers of two in terms of TWOPOW macro.
33412         (mp_no): Make type of mantissa as MANTISSA_T.
33413         [!RADIXI]: Define RADIXI.
33414         [!TWO52]: Define TWO52.
33415         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33417 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33419         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33420         llroundl symbol when building for PPC32.
33422 2013-03-24  Mark H Weaver  <mhw@netris.org>
33424         * manual/arith.texi (Normalization Functions): Fix prototypes for
33425         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33427 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33429         [BZ #13889]
33430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33431         high value to check if expl overflow.
33432         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33433         to check for underflow and overflow.
33434         * math/libm-test.inc: Add exp test.
33436 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33438         [BZ #11120]
33439         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33440         with NOT_IN_libc.
33442 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33444         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33445         symbol.
33447 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33449         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33450         wrap blocks consisting of several statements.
33452         * sysdeps/generic/math-tests.h: New file.
33453         * sysdeps/i386/fpu/math-tests.h: Likewise.
33454         * math/test-snan.c: Include it.
33455         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33457 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33459         [BZ #15285]
33460         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33461         (__ieee754_j0l): Do not improve calculations using cos of twice
33462         input for inputs above LDBL_MAX / 2.0L.
33463         (__ieee754_y0l): Likewise.
33464         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33465         (__ieee754_j1l): Do not improve calculations using cos of twice
33466         input for inputs above LDBL_MAX / 2.0L.
33467         (__ieee754_y1l): Likewise.
33468         * math/libm-test.inc (j0_test): Add another test.
33469         (j1_test): Likewise.
33470         (y0_test): Likewise.
33471         (y1_test): Likewise.
33472         * sysdeps/i386/fpu/libm-test-ulps: Update.
33474 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33476         * Rules ($(objpfx)bench-%.c): Include code from a C source
33477         file.
33479 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33481         [BZ #15287]
33482         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33483         imaginary part 1.0 and real part less than 0.5 specially.
33484         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33485         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33486         * math/libm-test.inc (cacos_test): Add more tests.
33487         (casin_test): Likewise.
33488         (casinh_test): Likewise.
33489         * sysdeps/i386/fpu/libm-test-ulps: Update.
33490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33492 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33494         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33495         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33497 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33499         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33500         * config.make.in (config-cflags-sse4): Remove variable.
33501         (config-cflags-avx): Likewise.
33502         (config-cflags-sse2avx): Likewise.
33503         (config-cflags-novzeroupper): Likewise.
33504         (config-asflags-i686): Likewise.
33505         (have-mfma4): Likewise.
33506         (have-as-vis3): Likewise.
33507         (MIG): Likewise.
33508         * configure.in (MIG): Do not AC_SUBST.
33509         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33510         (libc_cv_cc_sse4): Do not AC_SUBST.
33511         (libc_cv_cc_avx): Likewise.
33512         (libc_cv_cc_sse2avx): Likewise.
33513         (libc_cv_cc_novzeroupper): Likewise.
33514         (libc_cv_cc_fma4): Likewise.
33515         (libc_cv_as_i686): Likewise.
33516         (libc_cv_sparc_as_vis3): Likewise.
33517         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33518         LIBC_CONFIG_VAR.
33519         (config-asflags-i686): Likewise.
33520         (config-cflags-avx): Likewise.
33521         (config-cflags-sse2avx): Likewise.
33522         (have-mfma4): Likewise.
33523         (config-cflags-novzeroupper): Likewise.
33524         * sysdeps/mach/configure.in (MIG): Likewise.
33525         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33526         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33527         LIBC_CONFIG_VAR.
33528         (config-cflags-avx): Likewise.
33529         (config-cflags-sse2avx): Likewise.
33530         (have-mfma4): Likewise.
33531         (config-cflags-novzeroupper): Likewise.
33532         * configure: Regenerated.
33533         * sysdeps/i386/configure: Likewise.
33534         * sysdeps/mach/configure: Likewise.
33535         * sysdeps/sparc/configure: Likewise.
33536         * sysdeps/x86_64/configure: Likewise.
33538 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33540         [BZ #14812]
33541         * locale/programs/localedef.c (options): Put N_ translation marker
33542         on argument names, not just descriptions.
33544 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33546         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33548 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33550         [BZ #14176]
33551         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33553 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33555         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33556         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33557         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33558         [!BEFORE_ABORT] (before_abort): New function.
33559         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33560         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33561         (writev_for_fatal): New function.
33562         (WRITEV_FOR_FATAL): New macro; call that.
33563         (backtrace_and_maps): New function.
33564         (BEFORE_ABORT): New macro; call that.
33565         (struct str_list): Type removed.
33566         (__libc_message, __libc_fatal): Functions removed.
33567         Include <sysdeps/posix/libc_fatal.c> instead.
33569 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33571         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33572         constants.
33573         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33574         double constants.
33576 2013-03-19  Andreas Schwab  <schwab@suse.de>
33578         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33579         * sysdeps/gnu/configure: Regenerate.
33581         * configure.in: Substitute libc_cv_rtlddir.
33582         * configure: Regenerate.
33583         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33584         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33585         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33586         * elf/Makefile (install-others, CFLAGS-interp.c)
33587         (ldso_install, common-ldd-rewrite): Likewise.
33588         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33589         $(inst_slibdir)/$(rtld-installed-name).
33590         * scripts/rellns-sh: Add -p option.
33591         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33592         for source.
33594 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33596         * manual/nptl.texi: Renamed to ...
33597         * manual/threads.texi: ... this.
33598         * manual/Makefile (chapters): Update.
33600 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33602         [BZ #14812]
33603         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33604         on argument names, not just descriptions.
33605         * malloc/memusagestat.c (options): Likewise.
33606         * nss/getent.c (options): Likewise.
33608 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33610         [BZ #14812]
33611         * iconv/iconv_prog.c (options): Put N_ translation marker
33612         on argument names, not just descriptions.
33613         * iconv/iconvconfig.c (options): Likewise.
33615 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33617         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33618         implementation which is faster on all x86_64 architectures.
33619         Tested on AMD, Intel Nehalem, SNB, IVB.
33620         * sysdeps/x86_64/strnlen.S: Likewise.
33622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33623         Remove all multiarch strlen and strnlen versions.
33624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33625         Remove strlen and strnlen related parts.
33627         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33628         Inline strlen part.
33629         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33631         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33632         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33633         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33634         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33635         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33636         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33638 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33640         * manual/memory.texi (Malloc Tunable Parameters):
33641         Sort parameters alphabetically. Add comments for missing entries.
33643 2013-03-17  David S. Miller  <davem@davemloft.net>
33645         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33647 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33649         [BZ #15283]
33650         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33651         for arguments at most half maximum finite value.
33652         * math/libm-test.inc (j0_test): Add more tests.
33653         (j1_test): Likewise.
33654         (y0_test): Likewise.
33655         (y1_test): Likewise.
33656         * sysdeps/i386/fpu/libm-test-ulps: Update.
33657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33659         [BZ #14155]
33660         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33661         1 / x and functions P and Q for arguments above 0x1p256L.
33662         (__ieee754_y0l): Likewise.
33663         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33664         (__ieee754_y1l): Likewise.
33665         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33666         (j1_test): Likewise.
33667         (y0_test): Likewise.
33668         (y1_test): Likewise.
33670 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33672         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33673         variable.
33675 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33677         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33678         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33679         zero since it's initialized to EXEC_PAGESIZE.
33681         * sysdeps/unix/sysv/linux/ldsodefs.h
33682         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33683         * sysdeps/generic/ldsodefs.h: ... here.
33685 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33687         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33689         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33690         math/test-snan.c.
33691         * math/test-snan.c: Renamed from
33692         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33693         * math/Makefile (tests): Add test-snan.
33694         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33695         test-powerpc-snan.
33697         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33698         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33699         functions.
33700         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33701         __builtin_nan family of functions.
33702         * math/libm-test.inc (initialize): Initialize qnan_value with
33703         __builtin_nan family of functions.
33704         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33705         Remove variables.
33706         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33707         Remove functions.
33708         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33709         storage class.  Initialize qNaN_var and sNaN_var with
33710         __builtin_nan and __builtin_nans families of functions,
33711         respectively.
33713         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33714         (sqrt_test): Remove duplicate test with qNaN input.
33715         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33716         (round_test, signbit_test, significand_test): Note missing +/-Inf
33717         as well as qNaN tests.
33719         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33720         qNaN_var.  Fix a few strings, too.
33721         * math/libm-test.inc (nan_value): Rename to qnan_value.
33722         * math/gen-libm-test.pl (%beautify): Adjust to that.
33723         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33724         * math/test-misc.c (main): Likewise.
33725         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33726         to __qnan_bytes, and __qnan_union, respectively.
33727         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33728         Likewise.
33729         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33730         and lqnanval, respectively.
33731         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33732         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33733         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33734         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33736         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33737         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33738         doubles.
33740         * math/test-misc.c (main): Fix copy'n'pastos.
33741         * misc/tst-efgcvt.c (special): Likewise.
33743         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33744         Remove declarations.
33746 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33748         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33749         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33750         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33751         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33753 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33755         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33756         macro to return vdso values correctly in IFUNC implementations.
33757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33758         Optimization by using IFUNC.
33760 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33761             Richard Henderson  <rth@redhat.com>
33762             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33764         * Makefile.in (bench): New target.
33765         * NEWS: Mention the benchmark framework.
33766         * Rules (bench): Likewise.
33767         (binaries-bench): Generate binaries for functions to
33768         benchmark.
33769         * benchtests/Makefile: New makefile for benchmark tests.
33770         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33771         programs.
33772         * benchtests/exp-inputs: New input file for EXP function.
33773         * benchtests/pow-inputs: New input file for POW function.
33774         * scripts/bench.pl: New script to generate source files for
33775         benchmark programs.
33777 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33779         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33780         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33781         computations on mantissa.  Use macros for rounding and
33782         division.
33783         (denorm): Likewise.
33784         (__dbl_mp): Likewise.
33785         (add_magnitudes): Likewise.
33786         (sub_magnitudes): Likewise.
33787         (__mul): Likewise.
33788         (__sqr): Likewise.
33789         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33790         powers of two in terms of TWOPOW macro.
33791         (mp_no): Make type of mantissa as MANTISSA_T.
33792         [!RADIXI]: Define RADIXI.
33793         [!TWO52]: Define TWO52.
33794         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33796         * manual/nptl.texi (cindex): Modify threads to pthreads.
33798 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33800         * sysdeps/x86_64/preconfigure: Regenerated.
33802 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33804         [BZ #14155]
33805         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33806         0x1p28 and above.
33807         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33808         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33809         0x1p28 and above.
33810         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33811         * math/libm-test.inc (j0_test): Do not allow one spurious
33812         underflow exception.
33813         (y1_test): Likewise.
33815 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33817         * manual/Makefile (chapters): Add nptl.
33818         * manual/debug.texi (Debugging Support): Add link to Threads
33819         chapter.
33820         * manual/nptl.texi: New file.
33822         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33824 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33826         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33827         for non-NULL pointer before the memory validity test. Pointed
33828         out by Holger Brunck <holger.brunck@keymile.com>.
33830 2013-03-13  Andreas Schwab  <schwab@suse.de>
33832         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33833         instead of .os.
33835 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33837         * timezone/zic.c: Update from tzcode 2013b.
33839 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33841         * manual/install.texi (Configuring and compiling):
33842         Mention i686 and i586.
33843         * INSTALL: Regenerate.
33845 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33847         * sysdeps/init_array/elf-init.c: New file.
33848         * csu/elf-init.c
33849         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33850         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33852         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33853         __gmon_start__ as global, but as static with a .preinit_array pointer.
33854         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33855         * sysdeps/init_array/crti.S: New file, empty except for comments.
33856         * sysdeps/init_array/crtn.S: Likewise.
33858 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33860         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33861         definining bcopy.
33862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33863         Remove Prefer_SSE_for_memop.
33864         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33865         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33866         HAS_PREFER_SSE_FOR_MEMOP.
33867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33868         memset-x86-64.
33869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33870         Remove bzero, memset ifunc support.
33871         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33872         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33873         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33874         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33876 2013-03-11  Andreas Schwab  <schwab@suse.de>
33878         [BZ #15234]
33879         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33880         by SHLIB_COMPAT.
33881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33882         (GLIBC_2.16): Remove pthread_atfork.
33884 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33886         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33887         (ptestcases.h): Likewise.
33889 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33891         * Makeconfig ($(common-objpfx)config.status): Depend on
33892         sysdeps/*/preconfigure{,.in} too.
33894 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33896         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33897         (__free_hook): Use void * instead of __malloc_ptr_t.
33898         (__malloc_hook): Likewise.
33899         (__realloc_hook): Likewise.
33900         (__memalign_hook): Likewise.
33901         (__after_morecore_hook): Likewise.
33902         * malloc/arena.c (save_malloc_hook): Likewise.
33903         (save_free_hook): Likewise.
33904         * malloc/hooks.c (malloc_hook_ini): Likewise.
33905         (realloc_hook_ini): Likewise.
33906         (memalign_hook_ini): Likewise.
33907         * malloc/malloc.c (malloc_hook_ini): Likewise.
33908         (realloc_hook_ini): Likewise.
33909         (memalign_hook_ini): Likewise.
33910         (__free_hook): Likewise.
33911         (__malloc_hook): Likewise.
33912         (__realloc_hook): Likewise.
33913         (__memalign_hook): Likewise.
33914         (__libc_malloc): Likewise.
33915         (__libc_free): Likewise.
33916         (__libc_realloc): Likewise.
33917         (__libc_memalign): Likewise.
33918         (__libc_valloc): Likewise.
33919         (__libc_pvalloc): Likewise.
33920         (__libc_calloc): Likewise.
33921         (__posix_memalign): Likewise.
33922         * malloc/morecore.c (__sbrk): Likewise.
33923         (__default_morecore): Likewise.
33925         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33927         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33928         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33929         __malloc_ptrdiff_t.
33931         * malloc/malloc.h (__malloc_size_t): Remove macro.
33932         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33933         __malloc_size_t.
33934         (old_memalign_hook): Likewise.
33935         (old_realloc_hook): Likewise.
33936         (struct hdr): Likewise.
33937         (flood): Likewise.
33938         (mallochook): Likewise.
33939         (memalignhook): Likewise.
33940         (reallochook): Likewise.
33941         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33942         (tr_old_realloc_hook): Likewise.
33943         (tr_old_memalign_hook): Likewise.
33944         (tr_mallochook): Likewise.
33945         (tr_reallochook): Likewise.
33946         (tr_memalignhook): Likewise.
33948 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33951         default_ldbl_pack and using as default implementation.
33952         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33953         implementation.
33954         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33955         redundant definition.
33956         (ldbl_insert_mantissa): Likewise.
33957         (ldbl_canonicalize): Likewise.
33958         (ldbl_nearbyint): Likewise.
33959         (ldbl_pack): Rename to ldbl_pack_ppc.
33960         (ldbl_unpack): Rename to ldbl_unpack_ppc.
33961         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33962         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33964 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33966         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33967         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33968         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33969         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33971         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33972         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33973         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33975 2013-03-07  Andreas Jaeger  <aj@suse.de>
33977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33978         bits/mman-linux.h.
33980 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
33982         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33983         Include mpa.h and declare __MPEXP.
33984         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33985         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33986         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33987         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33988         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33989         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33990         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33992         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33993         (__slowpow): Use long double EXPL and LOGL functions to
33994         compute POW.
33995         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33996         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33997         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33998         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33999         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34003         intermediate variable to calculate exponent.
34004         (__sqr): Likewise.
34005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34006         Likewise.
34007         (__sqr): Likewise.
34009         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34010         [!NO__SQR]: Define __sqr.
34011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34012         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34013         sysdeps/ieee754/dbl-64/mpa.c.
34014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34016         [BZ #12723]
34017         * posix/Makefile (tests): Add tst-pathconf.
34018         * posix/tst-pathconf.c: New test case.
34019         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34020         _PC_PIPE_BUF.
34021         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34023 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34025         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34027 2013-03-06  Andreas Jaeger  <aj@suse.de>
34029         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34030         definition via __MAP_ANONYMOUS.
34032         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34033         it's not part of Linux headers.
34035         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34036         (MAP_HUGE_MASK): Define.
34038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34039         Define.
34040         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34041         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34042         Define.
34043         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34044         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34045         Define.
34046         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34047         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34048         Define.
34049         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34051         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34052         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34053         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34054         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34055         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34056         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34058         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34059         Handle f2fs.
34061         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34062         Handle f2fs and efivarfs.
34064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34065         f2fs.
34067         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34068         (EFIVARFS_MAGIC): Add.
34069         (F2FS_LINK_MAX): Add.
34071 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34073         * stdio-common/vfprintf.c: Replace __builtin_expect with
34074         __glibc_unlikely.
34076 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34078         [BZ #13550]
34079         * sysdeps/generic/bp-sym.h: Remove file.
34080         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34081         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34082         <bp-sym.h> and <bp-asm.h>.
34083         (__longjmp): Don't use BP_SYM.
34084         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34085         and <bp-asm.h>.
34086         (memcpy): Don't use BP_SYM.
34087         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34088         <bp-sym.h> and <bp-asm.h>.
34089         (memcpy): Don't use BP_SYM.
34090         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34091         <bp-asm.h>.
34092         (memcpy): Don't use BP_SYM.
34093         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34094         <bp-asm.h>.
34095         (memset): Don't use BP_SYM.
34096         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34097         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34098         (__bzero): Don't use BP_SYM.
34099         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34100         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34101         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34102         <bp-sym.h> and <bp-asm.h>.
34103         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34104         pointers.
34105         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34106         <bp-sym.h> and <bp-asm.h>.
34107         (memcpy): Don't use BP_SYM.
34108         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34109         <bp-sym.h> and <bp-asm.h>.
34110         (memset): Don't use BP_SYM.
34111         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34112         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34113         (__bzero): Don't use BP_SYM.
34114         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34115         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34116         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34117         <bp-sym.h> and <bp-asm.h>.
34118         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34119         pointers.
34120         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34121         <bp-sym.h> and <bp-asm.h>.
34122         (memcpy): Don't use BP_SYM.
34123         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34124         <bp-sym.h> and <bp-asm.h>.
34125         (memset): Don't use BP_SYM.
34126         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34127         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34128         (__bzero): Don't use BP_SYM.
34129         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34130         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34131         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34132         <bp-sym.h> and <bp-asm.h>.
34133         (__memchr): Don't use BP_SYM.
34134         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34135         <bp-sym.h> and <bp-asm.h>.
34136         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34137         pointers.
34138         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34139         <bp-sym.h> and <bp-asm.h>.
34140         (memcpy): Don't use BP_SYM.
34141         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34142         <bp-sym.h> and <bp-asm.h>.
34143         (__mempcpy): Don't use BP_SYM.
34144         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34145         <bp-sym.h> and <bp-asm.h>.
34146         (__memrchr): Don't use BP_SYM.
34147         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34148         <bp-sym.h> and <bp-asm.h>.
34149         (memset): Don't use BP_SYM.
34150         (__bzero): Likewise.
34151         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34152         <bp-sym.h> and <bp-asm.h>.
34153         (__rawmemchr): Don't use BP_SYM.
34154         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34155         <bp-sym.h> and <bp-asm.h>.
34156         (__STRCMP): Don't use BP_SYM.
34157         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34158         <bp-sym.h> and <bp-asm.h>.
34159         (strchr): Don't use BP_SYM.
34160         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34161         <bp-sym.h> and <bp-asm.h>.
34162         (__strchrnul): Don't use BP_SYM.
34163         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34164         <bp-sym.h> and <bp-asm.h>.
34165         (strlen): Don't use BP_SYM.
34166         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34167         <bp-sym.h> and <bp-asm.h>.
34168         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34169         pointers.
34170         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34171         <bp-sym.h> and <bp-asm.h>.
34172         (__strnlen): Don't use BP_SYM.
34173         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34174         <bp-sym.h> and <bp-asm.h>.
34175         (__GI__setjmp): Don't use BP_SYM.
34176         (_setjmp): Likewise.
34177         (__sigsetjmp): Likewise.
34178         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34179         (L(start_addresses)): Don't use BP_SYM.
34180         (_start): Likewise.
34181         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34182         <bp-asm.h>.
34183         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34184         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34185         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34186         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34187         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34188         <bp-asm.h>.
34189         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34190         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34191         about bounded pointers.
34192         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34193         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34194         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34195         <bp-asm.h>.
34196         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34197         about bounded pointers.  Remove GKM FIXME comments.
34198         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34199         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34200         <bp-asm.h>.
34201         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34202         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34203         Remove GKM FIXME comments.
34204         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34205         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34206         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34207         <bp-asm.h>.
34208         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34209         about bounded pointers.  Remove GKM FIXME comment.
34210         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34211         and <bp-asm.h>.
34212         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34213         pointers.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34215         <bp-sym.h> and <bp-asm.h>.
34216         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34218         <bp-sym.h> and <bp-asm.h>.
34219         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34220         comment.
34222 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34224         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34225         call free(NULL).
34227 2013-03-05  David S. Miller  <davem@davemloft.net>
34229         * po/es.po: Update from translation team.
34231 2013-03-05  Andreas Jaeger  <aj@suse.de>
34233         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34234         <bits/mman-linux.h>.
34235         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34236         is fine.
34237         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34238         <bits/mman-linux.h> to end of file.
34239         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34240         is fine.
34241         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34242         <bits/mman-linux.h> to end of file.
34243         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34244         is fine.
34245         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34246         <bits/mman-linux.h> to end of file.
34248         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34249         (MCL_CURRENT, MCL_FUTURE): Define here.
34251 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34253         [BZ #15232]
34254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34255         attribute_hidden.
34256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34258 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34261         fourth parameter needed for rt_sigprocmask syscall.
34262         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34263         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34264         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34265         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34266         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34267         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34269 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34271         [BZ #13550]
34272         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34273         comment about bounded pointers.
34274         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34275         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34277 2013-03-04  Andreas Jaeger  <aj@suse.de>
34279         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34280         common definitions.
34282         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34283         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34284         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34285         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34286         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34287         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34289 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34291         [BZ #15055]
34292         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34293         __ieee754_sqrl instead of __sqrl.
34295 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34297         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34298         * sysdeps/powerpc/fpu_control.h: ... here.
34299         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34300         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34301         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34302         * sysdeps/powerpc/bits/mathinline.h: ... here.
34304 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34306         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34307         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34308         to just [NEED_DL_SYSINFO_DSO].
34309         * elf/dl-support.c: Likewise.
34310         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34311         * elf/rtld.c (dl_main): Likewise.
34312         * elf/setup-vdso.h (setup_vdso): Likewise.
34313         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34314         * sysdeps/unix/sysv/linux/dl-sysdep.c
34315         (_dl_discover_osversion): Likewise.
34317 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34319         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34320         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34322 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34324         * NEWS: Mention libm performance improvements and non-x86 PI
34325         futex support.
34327         * csu/libc-start.c (__pthread_initialize_minimal): Change
34328         function arguments.
34329         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34331 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34333         [BZ #13550]
34334         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34335         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34336         <bp-sym.h> and <bp-asm.h>.
34337         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34338         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34339         and <bp-asm.h>.
34340         (memcpy): Don't use BP_SYM.
34341         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34342         <bp-asm.h>.
34343         (__mpn_add_n): Don't use BP_SYM.
34344         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34345         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34346         and <bp-asm.h>.
34347         (__mpn_addmul_1): Don't use BP_SYM.
34348         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34349         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34350         <bp-sym.h>.
34351         (_setjmp): Don't use BP_SYM.
34352         (__novmx_setjmp): Likewise.
34353         (__GI__setjmp): Likewise.
34354         (__vmx_setjmp): Likewise.
34355         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34356         <bp-sym.h>.
34357         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34358         (__bzero): Don't use BP_SYM.
34359         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34360         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34361         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34362         <bp-sym.h> and <bp-asm.h>.
34363         (memcpy): Don't use BP_SYM.
34364         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34365         <bp-sym.h> and <bp-asm.h>.
34366         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34367         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34368         <bp-sym.h> and <bp-asm.h>.
34369         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34370         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34371         <bp-asm.h>.
34372         (__mpn_lshift): Don't use BP_SYM.
34373         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34374         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34375         <bp-asm.h>.
34376         (memset): Don't use BP_SYM.
34377         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34378         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34379         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34380         <bp-asm.h>.
34381         (__mpn_mul_1): Don't use BP_SYM.
34382         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34383         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34384         <bp-sym.h> and <bp-asm.h>.
34385         (memcmp): Don't use BP_SYM.
34386         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34387         <bp-sym.h> and <bp-asm.h>.
34388         (memcpy): Don't use BP_SYM.
34389         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34390         <bp-sym.h> and <bp-asm.h>.
34391         (memset): Don't use BP_SYM.
34392         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34393         <bp-sym.h> and <bp-asm.h>.
34394         (strncmp): Don't use BP_SYM.
34395         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34396         <bp-sym.h> and <bp-asm.h>.
34397         (memcpy): Don't use BP_SYM.
34398         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34399         <bp-sym.h> and <bp-asm.h>.
34400         (memset): Don't use BP_SYM.
34401         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34402         <bp-sym.h> and <bp-asm.h>.
34403         (__memchr): Don't use BP_SYM.
34404         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34405         <bp-sym.h> and <bp-asm.h>.
34406         (memcmp): Don't use BP_SYM.
34407         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34408         <bp-sym.h> and <bp-asm.h>.
34409         (memcpy): Don't use BP_SYM.
34410         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34411         <bp-sym.h> and <bp-asm.h>.
34412         (__mempcpy): Don't use BP_SYM.
34413         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34414         <bp-sym.h> and <bp-asm.h>.
34415         (__memrchr): Don't use BP_SYM.
34416         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34417         <bp-sym.h> and <bp-asm.h>.
34418         (memset): Don't use BP_SYM.
34419         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34420         <bp-sym.h> and <bp-asm.h>.
34421         (__rawmemchr): Don't use BP_SYM.
34422         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34423         <bp-sym.h> and <bp-asm.h>.
34424         (__STRCMP): Don't use BP_SYM.
34425         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34426         <bp-sym.h> and <bp-asm.h>.
34427         (strchr): Don't use BP_SYM.
34428         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34429         <bp-sym.h> and <bp-asm.h>.
34430         (__strchrnul): Don't use BP_SYM.
34431         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34432         <bp-sym.h> and <bp-asm.h>.
34433         (strlen): Don't use BP_SYM.
34434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34435         <bp-sym.h> and <bp-asm.h>.
34436         (strncmp): Don't use BP_SYM.
34437         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34438         <bp-sym.h> and <bp-asm.h>.
34439         (__strnlen): Don't use BP_SYM.
34440         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34441         <bp-asm.h>.
34442         (__mpn_rshift): Don't use BP_SYM.
34443         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34444         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34445         <bp-sym.h> and <bp-asm.h>.
34446         (__sigsetjmp): Don't use BP_SYM.
34447         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34448         (L(start_addresses)): Don't use BP_SYM.
34449         (_start): Likewise.
34450         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34451         <bp-asm.h>.
34452         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34453         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34454         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34455         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34456         <bp-asm.h>.
34457         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34458         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34459         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34460         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34461         <bp-asm.h>.
34462         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34463         comments.
34464         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34465         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34466         <bp-asm.h>.
34467         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34468         FIXME comments.
34469         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34470         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34471         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34472         <bp-asm.h>.
34473         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34474         comment.
34475         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34476         and <bp-asm.h>.
34477         (strncmp): Don't use BP_SYM,
34478         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34479         <bp-asm.h>.
34480         (__mpn_sub_n): Don't use BP_SYM.
34481         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34482         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34483         and <bp-asm.h>.
34484         (__mpn_submul_1): Don't use BP_SYM.
34485         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34487         <bp-sym.h> and <bp-asm.h>.
34488         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34490         <bp-sym.h> and <bp-asm.h>.
34491         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34492         comment.
34494 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34497         Use ZK to minimize writes to Z.
34498         (sub_magnitudes): Simplify code a bit.
34499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34500         Use ZK to minimize writes to Z.
34501         (sub_magnitudes): Simplify code a bit.
34503 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34505         * csu/gmon-start.c: Add special exception to license text.
34507 2013-02-27  Richard Henderson  <rth@redhat.com>
34509         * scripts/config.guess: Update from config.git.
34510         * scripts/config.sub: Likewise.
34512 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34514         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34516         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34518         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34520         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34522         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34524 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34526         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34527         [$(build-shared = yes].
34529 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34531         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34532         (__mul): Reduce iterations for calculating mantissa.
34534         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34535         MPTWO.
34536         (__mpranred): Likewise.
34538         [BZ #15160]
34539         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34540         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34542 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34544         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34545         Define __attribute__.
34547 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34549         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34550         unused.
34551         * posix/regex_internal.h (__attribute): Remove.
34552         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34553         (re_string_context_at): Likewise.
34554         (bitset_not): Use __attribute__ and mark function as possibly
34555         unused.
34556         (bitset_merge): Likewise.
34557         (bitset_mask): Likewise.
34558         (re_string_char_size_at): Likewise.
34559         (re_string_wchar_at): Likewise.
34560         (re_string_elem_size_at): Likewise.
34562 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34564         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34565         code.
34566         (cc32): Likewise.
34568         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34569         (__acr): Likewise.
34570         (__cpy): Likewise.
34571         (norm): Likewise.
34572         (denorm): Likewise.
34573         (__dbl_mp): Likewise.
34574         (add_magnitudes): Likewise.
34575         (sub_magnitudes): Likewise.
34576         (__mul): Likewise.
34577         (__inv): Likewise.
34579         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34580         style.
34582         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34583         style.
34585         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34586         code.
34588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34589         up changes with default code.
34590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34591         Likewise.
34593 2013-02-24  Allan McRae  <allan@archlinux.org>
34595         * manual/socket.texi (The Internet Namespace): Order menu items
34596         to match that in the file.
34598         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34599         node listing of the info page menu.
34601 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34603         [BZ #13550]
34604         * sysdeps/i386/bp-asm.h: Remove file.
34605         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34606         (PARMS): Do not use macros from bp-asm.h.
34607         (S1): Likewise.
34608         (S2): Likewise.
34609         (SIZE): Likewise.
34610         (__mpn_add_n): Do not use BP_SYM
34611         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34612         "bp-asm.h".
34613         (PARMS): Do not use macros from bp-asm.h.
34614         (S1): Likewise.
34615         (SIZE): Likewise.
34616         (__mpn_addmul_1): Do not use BP_SYM
34617         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34618         "bp-asm.h".
34619         (PARMS): Do not use macros from bp-asm.h.
34620         (SIGMSK): Likewise.
34621         (_setjmp): Likewise.  Do not use BP_SYM.
34622         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34623         "bp-asm.h".
34624         (PARMS): Do not use macros from bp-asm.h.
34625         (SIGMSK): Likewise.
34626         (setjmp): Likewise.  Do not use BP_SYM.
34627         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34628         "bp-asm.h".
34629         (PARMS): Do not use macros from bp-asm.h.
34630         (__frexp): Do not use BP_SYM.
34631         (frexp): Likewise.
34632         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34633         "bp-asm.h".
34634         (PARMS): Do not use macros from bp-asm.h.
34635         (__frexpf): Do not use BP_SYM.
34636         (frexpf): Likewise.
34637         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34638         "bp-asm.h".
34639         (PARMS): Do not use macros from bp-asm.h.
34640         (__frexpl): Do not use BP_SYM.
34641         (frexpl): Likewise.
34642         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34643         "bp-asm.h".
34644         (PARMS): Do not use macros from bp-asm.h.
34645         (__remquo): Do not use BP_SYM.
34646         (remquo): Likewise.
34647         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34648         "bp-asm.h".
34649         (PARMS): Do not use macros from bp-asm.h.
34650         (__remquof): Do not use BP_SYM.
34651         (remquof): Likewise.
34652         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34653         "bp-asm.h".
34654         (PARMS): Do not use macros from bp-asm.h.
34655         (__remquol): Do not use BP_SYM.
34656         (remquol): Likewise.
34657         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34658         "bp-asm.h".
34659         (PARMS): Do not use macros from bp-asm.h.
34660         (DEST): Likewise.
34661         (SRC): Likewise.
34662         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34663         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34664         "bp-asm.h".
34665         (PARMS): Do not use macros from bp-asm.h.
34666         (strlen): Do not use BP_SYM.
34667         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34668         "bp-asm.h".
34669         (PARMS): Do not use macros from bp-asm.h.
34670         (S1): Likewise.
34671         (S2): Likewise.
34672         (SIZE): Likewise.
34673         (__mpn_add_n): Do not use BP_SYM.
34674         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34675         "bp-asm.h".
34676         (PARMS): Do not use macros from bp-asm.h.
34677         (S1): Likewise.
34678         (SIZE): Likewise.
34679         (__mpn_addmul_1): Do not use BP_SYM.
34680         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34681         weak_alias.
34682         (bzero): Likewise.
34683         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34684         "bp-asm.h".
34685         (PARMS): Do not use macros from bp-asm.h.
34686         (S): Likewise.
34687         (SIZE): Likewise.
34688         (__mpn_lshift): Do not use BP_SYM.
34689         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34690         "bp-asm.h".
34691         (PARMS): Do not use macros from bp-asm.h.
34692         (DEST): Likewise.
34693         (SRC): Likewise.
34694         (LEN): Likewise.
34695         (memcpy): Likewise.  Do not use BP_SYM.
34696         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34697         libc_hidden_def and weak_alias.
34698         (mempcpy): Do not use BP_SYM in weak_alias.
34699         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34700         "bp-asm.h".
34701         (PARMS): Do not use macros from bp-asm.h.
34702         (DEST): Likewise.
34703         (LEN): Likewise.
34704         [!BZERO_P] (CHR): Likewise.
34705         (memset): Likewise.  Do not use BP_SYM.
34706         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34707         "bp-asm.h".
34708         (PARMS): Do not use macros from bp-asm.h.
34709         (S1): Likewise.
34710         (SIZE): Likewise.
34711         (__mpn_mul_1): Do not use BP_SYM.
34712         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34713         "bp-asm.h".
34714         (PARMS): Do not use macros from bp-asm.h.
34715         (S): Likewise.
34716         (SIZE): Likewise.
34717         (__mpn_rshift): Do not use BP_SYM.
34718         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34719         "bp-asm.h".
34720         (PARMS): Do not use macros from bp-asm.h.
34721         (STR): Likewise.
34722         (CHR): Likewise.
34723         (strchr): Likewise.  Do not use BP_SYM.
34724         (index): Do not use BP_SYM in weak_alias.
34725         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34726         "bp-asm.h".
34727         (PARMS): Do not use macros from bp-asm.h.
34728         (DEST): Likewise.
34729         (SRC): Likewise.
34730         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34731         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34732         "bp-asm.h".
34733         (PARMS): Do not use macros from bp-asm.h.
34734         (strlen): Do not use BP_SYM.
34735         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34736         "bp-asm.h".
34737         (PARMS): Do not use macros from bp-asm.h.
34738         (S1): Likewise.
34739         (S2): Likewise.
34740         (SIZE): Likewise.
34741         (__mpn_sub_n): Do not use BP_SYM.
34742         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34743         "bp-asm.h".
34744         (PARMS): Do not use macros from bp-asm.h.
34745         (S1): Likewise.
34746         (SIZE): Likewise.
34747         (__mpn_submul_1): Do not use BP_SYM.
34748         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34749         "bp-asm.h".
34750         (PARMS): Do not use macros from bp-asm.h.
34751         (S1): Likewise.
34752         (S2): Likewise.
34753         (SIZE): Likewise.
34754         (__mpn_add_n): Do not use BP_SYM.
34755         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34756         weak_alias.
34757         (bzero): Likewise.
34758         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34759         "bp-asm.h".
34760         (PARMS): Do not use macros from bp-asm.h.
34761         (BLK2): Likewise.
34762         (LEN): Likewise.
34763         (memcmp): Do not use BP_SYM.
34764         (bcmp): Do not use BP_SYM in weak_alias.
34765         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34766         "bp-asm.h".
34767         (PARMS): Do not use macros from bp-asm.h.
34768         (DEST): Likewise.
34769         (SRC): Likewise.
34770         (LEN): Likewise.
34771         (memcpy): Likewise.  Do not use BP_SYM.
34772         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34773         "bp-asm.h".
34774         (PARMS): Do not use macros from bp-asm.h.
34775         (DEST): Likewise.
34776         (SRC): Likewise.
34777         (LEN): Likewise.
34778         (memmove): Likewise.  Do not use BP_SYM.
34779         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34780         "bp-asm.h".
34781         (PARMS): Do not use macros from bp-asm.h.
34782         (DEST): Likewise.
34783         (SRC): Likewise.
34784         (LEN): Likewise.
34785         (__mempcpy): Likewise.  Do not use BP_SYM.
34786         (mempcpy): Do not use BP_SYM in weak_alias.
34787         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34788         "bp-asm.h".
34789         (PARMS): Do not use macros from bp-asm.h.
34790         (DEST): Likewise.
34791         (LEN): Likewise.
34792         [!BZERO_P] (CHR): Likewise.
34793         (memset): Likewise.  Do not use BP_SYM.
34794         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34795         "bp-asm.h".
34796         (PARMS): Do not use macros from bp-asm.h.
34797         (STR2): Likewise.
34798         (strcmp): Do not use BP_SYM.
34799         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34800         "bp-asm.h".
34801         (PARMS): Do not use macros from bp-asm.h.
34802         (STR): Likewise.
34803         (DELIM): Likewise.
34804         [USE_AS_STRTOK_R] (SAVE): Likewise.
34805         (FUNCTION): Likewise.  Do not use BP_SYM.
34806         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34807         aliases.
34808         (strtok_r): Likewise.
34809         (__GI___strtok_r): Likewise.
34810         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34811         (PARMS): Do not use macros from bp-asm.h.
34812         (S): Likewise.
34813         (SIZE): Likewise.
34814         (__mpn_lshift): Do not use BP_SYM.
34815         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34816         (PARMS): Do not use macros from bp-asm.h.
34817         (STR): Likewise.
34818         (CHR): Likewise.
34819         (__memchr): Do not use BP_SYM.
34820         (memchr): Do not use BP_SYM in weak_alias.
34821         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34822         (PARMS): Do not use macros from bp-asm.h.
34823         (BLK2): Likewise.
34824         (LEN): Likewise.
34825         (memcmp): Do not use BP_SYM.
34826         (bcmp): Do not use BP_SYM in weak_alias.
34827         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34828         (PARMS): Do not use macros from bp-asm.h.
34829         (S1): Likewise.
34830         (SIZE): Likewise.
34831         (__mpn_mul_1): Do not use BP_SYM.
34832         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34833         "bp-asm.h".
34834         (PARMS): Do not use macros from bp-asm.h.
34835         (STR): Likewise.
34836         (CHR): Likewise.
34837         (__rawmemchr): Do not use BP_SYM.
34838         (rawmemchr): Do not use BP_SYM in weak_alias.
34839         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34840         (PARMS): Do not use macros from bp-asm.h.
34841         (S): Likewise.
34842         (SIZE): Likewise.
34843         (__mpn_rshift): Do not use BP_SYM.
34844         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34845         (PARMS): Do not use macros from bp-asm.h.
34846         (SIGMSK): Likewise.
34847         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34848         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34849         (_start): Do not use BP_SYM.
34850         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34851         (PARMS): Do not use macros from bp-asm.h.
34852         (DEST): Likewise.
34853         (SRC): Likewise.
34854         (__stpcpy): Likewise.  Do not use BP_SYM.
34855         (stpcpy): Do not use BP_SYM in weak_alias.
34856         * sysdeps/i386/stpncpy.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         (__stpncpy): Likewise.  Do not use BP_SYM.
34863         (stpncpy): Do not use BP_SYM in weak_alias.
34864         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34865         (PARMS): Do not use macros from bp-asm.h.
34866         (STR): Likewise.
34867         (CHR): Likewise.
34868         (strchr): Likewise.  Do not use BP_SYM.
34869         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34870         "bp-asm.h".
34871         (PARMS): Do not use macros from bp-asm.h.
34872         (STR): Likewise.
34873         (CHR): Likewise.
34874         (__strchrnul): Likewise.  Do not use BP_SYM.
34875         (strchrnul): Do not use BP_SYM in weak_alias.
34876         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34877         "bp-asm.h".
34878         (PARMS): Do not use macros from bp-asm.h.
34879         (STOP): Likewise.
34880         (strcspn): Do not use BP_SYM.
34881         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34882         "bp-asm.h".
34883         (PARMS): Do not use macros from bp-asm.h.
34884         (STR): Likewise.
34885         (STOP): Likewise.
34886         (strpbrk): Likewise.  Do not use BP_SYM.
34887         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34888         "bp-asm.h".
34889         (PARMS): Do not use macros from bp-asm.h.
34890         (STR): Likewise.
34891         (CHR): Likewise.
34892         (strrchr): Likewise.  Do not use BP_SYM.
34893         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34894         (PARMS): Do not use macros from bp-asm.h.
34895         (SKIP): Likewise.
34896         (strspn): Do not use BP_SYM.
34897         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34898         (PARMS): Do not use macros from bp-asm.h.
34899         (STR): Likewise.
34900         (DELIM): Likewise.
34901         (SAVE): Likewise.
34902         (FUNCTION): Likewise.  Do not use BP_SYM.
34903         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34904         aliases.
34905         (strtok_r): Likewise.
34906         (__GI___strtok_r): Likewise.
34907         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34908         (PARMS): Do not use macros from bp-asm.h.
34909         (S1): Likewise.
34910         (S2): Likewise.
34911         (SIZE): Likewise.
34912         (__mpn_sub_n): Do not use BP_SYM.
34913         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34914         "bp-asm.h".
34915         (PARMS): Do not use macros from bp-asm.h.
34916         (S1): Likewise.
34917         (SIZE): Likewise.
34918         (__mpn_submul_1): Do not use BP_SYM.
34919         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34920         <bp-sym.h>.
34921         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34922         and <bp-asm.h>.
34923         (PARMS): Do not use macros from bp-asm.h.
34924         (FLAGS): Likewise.
34925         (PTID): Likewise.
34926         (TLS): Likewise.
34927         (CTID): Likewise.
34928         (__clone): Do not use BP_SYM.
34929         (clone): Do not use BP_SYM in weak_alias.
34930         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34931         and <bp-asm.h>.
34932         (PARMS): Do not use macros from bp-asm.h.
34933         (LEN): Likewise.
34934         (__mmap64): Do not use BP_SYM.
34935         (mmap64): Do not use BP_SYM in weak_alias.
34936         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34937         <bp-sym.h> and <bp-asm.h>.
34938         (PARMS): Do not use macros from bp-asm.h.
34939         (__posix_fadvise64_l64): Do not use BP_SYM.
34940         * sysdeps/unix/sysv/linux/i386/semtimedop.S
34941         (PARMS): Do not use macros from bp-asm.h.
34942         (NSOPS): Likewise.
34943         (semtimedop): Do not use BP_SYM.
34944         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34945         and <bp-asm.h>.
34947 2013-02-21  Allan McRae  <allan@archlinux.org>
34949         * manual/message.texi (Charset conversion in gettext):
34950         Move @end statement to beginning of line.
34952 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34955         static.
34956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34957         Likewise.
34959         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34960         (denorm): Likewise.
34961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34964 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34966         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34967         tail-call to the resolved function if pltexit isn't needed.
34969 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34972         or Y being zero as being unlikely.
34973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34974         Likewise.
34976 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
34978         * manual/nss.texi (System Databases and Name Service Switch):
34979         Remove frobnicate @pxref.
34981 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
34983         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34984         __attribute__ ((unused)) to __attribute__ ((__unused__)).
34986 2013-02-20  Petr Machata  <pmachata@redhat.com>
34988         * elf/elf.h (R_ARM_TARGET1): New macro.
34989         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34990         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34991         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34992         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34993         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34994         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34995         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34996         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34997         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34998         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34999         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35000         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35001         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35002         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35003         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35004         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35005         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35006         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35007         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35008         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35009         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35010         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35011         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35012         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35013         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35014         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35015         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35016         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35017         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35018         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35019         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35020         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35021         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35022         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35023         (R_ARM_THM_GOT_BREL12): Likewise.
35024         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35025         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35026         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35027         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35028         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35029         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35030         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35031         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35032         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35034 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35036         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35037         __attribute_used__ to __attribute__ ((unused)).
35039 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35041         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35042         powerpc mpa.c.
35043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35044         comment formatting.
35045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35047 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35049         [BZ #13550]
35050         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35051         Remove macro.
35052         (ENTER): Remove both macro definitions.
35053         (LEAVE): Likewise.
35054         (CHECK_BOUNDS_LOW): Likewise.
35055         (CHECK_BOUNDS_HIGH): Likewise.
35056         (CHECK_BOUNDS_BOTH): Likewise.
35057         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35058         (RETURN_BOUNDED_POINTER): Likewise.
35059         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35060         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35061         (POP_ERRNO_LOCATION_RETURN): Likewise.
35062         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35063         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35064         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35065         macros.
35066         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35067         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35068         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35069         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35070         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35071         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35072         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35073         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35074         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35075         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35076         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35077         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35078         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35079         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35080         removed macros.
35081         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35082         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35083         macros.
35084         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35085         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35086         * sysdeps/i386/i586/memset.S (memset): Likewise.
35087         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35088         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35089         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35090         macros.
35091         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35092         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35093         Change uses of L(2) to L(out).
35094         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35095         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35096         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35097         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35098         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35099         removed macros.
35100         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35101         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35102         macros.
35103         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35104         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35105         (RETURN): Do not use macro LEAVE.
35106         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35107         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35108         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35109         * sysdeps/i386/i686/memset.S (memset): Likewise.
35110         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35111         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35112         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35113         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35114         Likewise.
35115         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35116         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35117         L(1_2) and L(1_3) into L(1).
35118         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35119         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35120         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35121         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35122         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35123         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35124         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35125         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35126         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35127         macros.
35128         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35129         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35130         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35131         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35132         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35133         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35134         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35135         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35136         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35137         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35138         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35139         * sysdeps/i386/strspn.S (strspn): Likewise.
35140         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35141         conditional code.
35142         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35143         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35144         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35145         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35146         L(1_3) into L(1_1).
35147         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35148         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35149         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35150         macros.
35151         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35153 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35155         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35156         macro.
35158 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35160         * math/atest-exp.c (exp_mpn): Remove ROUND.
35161         * math/atest-exp2.c (exp_mpn): Likewise.
35162         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35164         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35165         * stdlib/tst-tls-atexit-lib.c: Likewise.
35166         * stdlib/tst-tls-atexit.c: Likewise.
35168 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35170         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35171         and __attribute_alloc_size__.
35173 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35175         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35176         __attribute_alloc_size__.
35177         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35178         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35180 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35182         * include/programs/xmalloc.h: New file.
35183         * catgets/gencat.c: Include it.
35184         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35185         * elf/pldd.c: Likewise.
35186         * iconv/iconv_charmap.c: Likewise.
35187         * iconv/iconvconfig.c: Likewise.
35188         * iconv/strtab.c: Likewise.
35189         * locale/programs/locale.c: Likewise.
35190         * locale/programs/localedef.h: Likewise.
35191         * locale/programs/simple-hash.c: Likewise.
35192         * nscd/nscd.h: Likewise.
35193         * nss/makedb.c: Likewise.
35194         * sysdeps/generic/ldconfig.h: Likewise.
35196 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35198         * Versions.def: Add GLIBC_2.18.
35199         * include/link.h (struct link_map): New member l_tls_dtor_count.
35200         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35201         (__call_tls_dtors): Likewise.
35202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35203         __cxa_thread_atexit_impl.
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35205         Likewise.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35207         Likewise.
35208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35209         Likewise.
35210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35211         Likewise.
35212         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35214         Likewise.
35215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35216         Likewise.
35217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35218         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35219         Likewise.
35220         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35221         (tests): Add test case tst-tls-atexit.
35222         (modules-names): Add shared library for tst-tls-atexit.
35223         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35224         (GLIBC_PRIVATE): Add __call_tls_dtors.
35225         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35226         for libstdc++.
35227         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35228         * stdlib/tst-tls-atexit.c: New test case.
35229         * stdlib/tst-tls-atexit-lib.c: New test case.
35231         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35233         * elf/Versions (ld): Add _dl_find_dso_for_object.
35234         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35235         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35236         (dl_open_worker): Use _dl_find_dso_for_object.
35237         * elf/dl-sym.c (do_sym): Likewise.
35238         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35240 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35242         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35243         Syntactic changes only.
35244         (_dl_runtime_profile): Do a tail-call to the resolved function.
35246 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35248         [BZ #13550]
35249         * sysdeps/x86_64/bp-asm.h: Remove file.
35250         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35251         <bp-sym.h> and <bp-asm.h>.
35252         (__clone): Do not use BP_SYM.
35253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35254         <bp-sym.h> and <bp-asm.h>.
35255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35256         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35257         "bp-asm.h".
35258         (_setjmp): Do not use BP_SYM.
35259         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35260         "bp-asm.h".
35261         (setjmp): Do not use BP_SYM.
35262         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35263         libc_hidden_def.
35264         (mempcpy): Do not use BP_SYM in weak_alias.
35265         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35266         "bp-asm.h".
35267         (strchr): Do not use BP_SYM.
35268         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35269         "bp-asm.h".
35270         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35271         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35272         (_start): Do not use BP_SYM.
35273         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35274         "bp-asm.h".
35275         (strcat): Do not use BP_SYM.
35276         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35277         "bp-asm.h".
35278         (STRCMP): Do not use BP_SYM.
35279         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35280         "bp-asm.h".
35281         (STRCPY): Do not use BP_SYM.
35282         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35283         "bp-asm.h".
35284         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35285         "bp-asm.h".
35286         (FUNCTION): Do not use BP_SYM.
35287         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35288         weak_alias.
35289         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35291 2013-02-17  Andreas Jaeger  <aj@suse.de>
35293         * time/Versions: Sort entries.
35294         * string/Versions: Likewise.
35295         * resolv/Versions: Likewise.
35296         * posix/Versions: Likewise.
35297         * iconv/Versions: Likewise.
35298         * elf/Versions: Likewise.
35299         * wcsmbs/Versions: Likewise.
35301 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35303         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35304         loop termination condition.
35306         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35307         variable to calculate EZ.
35308         (__sqr): Likewise.
35310         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35311         the lower precision input.
35313 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35315         [BZ #13550]
35316         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35317         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35318         (run-via-rtld-prefix): Do not handle %-bp tests.
35319         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35320         (all-object-suffixes): Remove .ob.
35321         (bppfx): Remove variable.
35322         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35323         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35324         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35325         [$(build-bounded) = yes] (libtype.ob): Likewise.
35326         * Makerules (elide-routines.ob): Remove variable.
35327         (do-tests-clean): Do not handle *-bp.out.
35328         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35329         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35330         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35331         (tests): Do not include $(tests-bp.out).
35332         (xtests): Do not include $(xtests-bp.out).
35333         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35334         [$(build-bounded) = yes] ($(addprefix
35335         $(objpfx),$(binaries-bounded))): Remove rule.
35336         ($(objpfx)%-bp.out): Remove rule.
35337         * config.make.in (build-bounded): Remove variable.
35338         * crypt/Makefile [$(build-bounded) = yes]
35339         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35340         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35341         append to variable.
35342         [$(build-bounded) = yes] (install-lib): Likewise.
35343         [$(build-bounded) = yes] (generated): Likewise.
35344         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35345         Remove rule.
35346         * intl/Makefile [$(build-bounded) = yes]
35347         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35348         * math/Makefile [$(build-bounded) = yes]
35349         ($(tests:%=$(objpfx)%-bp): Likewise.
35350         * misc/Makefile [$(build-bounded) = yes]
35351         ($(objpfx)tst-tsearch-bp): Likewise.
35352         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35353         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35354         Remove dependency.
35355         * string/Makefile (o-objects.ob): Remove variable.
35356         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35357         (CFLAGS-.ob): Remove variable.
35358         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35359         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35360         both definitions of variable.
35361         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35362         (ASFLAGS-.ob): Remove variable.
35364 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35366         [BZ #13550]
35367         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35368         Remove __BOUNDED_POINTERS__ from condition.
35369         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35370         * string/bits/string2.h [!__NO_STRING_INLINES &&
35371         !__BOUNDED_POINTERS__]: Likewise.
35372         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35373         Likewise.
35374         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35375         Remove conditional code.
35376         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35377         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35378         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35379         condition.
35381         [BZ #13550]
35382         * csu/libc-start.c: Do not include <bp-sym.h>.
35383         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35384         * elf/dl-open.c: Do not include <bp-sym.h>.
35385         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35386         * math/fegetenv.c: Do not include <bp-sym.h>.
35387         (fegetenv): Do not use BP_SYM in versioned symbols.
35388         * nptl/sysdeps/pthread/bits/libc-lockP.h
35389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35390         <bp-sym.h>.
35391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35392         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35394         (__pthread_mutex_destroy): Likewise.
35395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35396         (__pthread_mutex_lock): Likewise.
35397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35398         (__pthread_mutex_trylock): Likewise.
35399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35400         (__pthread_mutex_unlock): Likewise.
35401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35402         (__pthread_mutexattr_init): Likewise.
35403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35404         (__pthread_mutexattr_destroy): Likewise.
35405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35406         (__pthread_mutexattr_settype): Likewise.
35407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35408         (__pthread_rwlock_init): Likewise.
35409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35410         (__pthread_rwlock_destroy): Likewise.
35411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35412         (__pthread_rwlock_rdlock): Likewise.
35413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35414         (__pthread_rwlock_tryrdlock): Likewise.
35415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35416         (__pthread_rwlock_wrlock): Likewise.
35417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35418         (__pthread_rwlock_trywrlock): Likewise.
35419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35420         (__pthread_rwlock_unlock): Likewise.
35421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35422         (__pthread_key_create): Likewise.
35423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35424         (__pthread_setspecific): Likewise.
35425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35426         (__pthread_getspecific): Likewise.
35427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35428         Likewise.
35429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35430         (_pthread_cleanup_push_defer): Likewise.
35431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35432         (_pthread_cleanup_pop_restore): Likewise.
35433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35434         (pthread_setcancelstate): Likewise.
35435         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35436         <bp-sym.h>.
35437         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35438         (memchr): Do not use BP_SYM in weak_alias.
35439         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35440         (fegetenv): Do not use BP_SYM in versioned symbols.
35441         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35442         (fesetenv): Do not use BP_SYM in versioned symbols.
35443         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35444         (feupdateenv): Do not use BP_SYM in versioned symbols.
35445         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35446         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35447         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35448         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35449         (open64): Do not use BP_SYM in weak_alias.
35450         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35451         (fegetenv): Do not use BP_SYM in versioned symbols.
35452         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35453         (fesetenv): Do not use BP_SYM in versioned symbols.
35454         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35455         (feupdateenv): Do not use BP_SYM in versioned symbols.
35456         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35457         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35458         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35459         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35460         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35461         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35462         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35463         <bp-sym.h>.
35464         (__libc_start_main): Do not use BP_SYM.
35466 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35469         redundant return line.
35470         (norm): Likewise.
35471         (denorm): Likewise.
35472         (dbl_mp): Likewise.
35473         (sub_magnitudes): Likewise.
35474         (__add): Likewise.
35475         (__sub): Likewise.
35476         (__mul): Likewise.
35477         (__inv): Likewise.
35478         (__dvd): Likewise.
35479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35480         (norm): Likewise.
35481         (denorm): Likewise.
35482         (dbl_mp): Likewise.
35483         (sub_magnitudes): Likewise.
35484         (__add): Likewise.
35485         (__sub): Likewise.
35486         (__mul): Likewise.
35487         (__inv): Likewise.
35488         (__dvd): Likewise.
35490         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35491         instead of __mul.
35492         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35493         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35494         (cc32): Likewise.
35496         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35497         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35498         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35499         of __mul for squares.
35500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35501         function
35502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35503         Likewise.
35504         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35505         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35507 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35509         [BZ #13550]
35510         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35511         code.
35512         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35513         prototype or function definition.  Rename ubp_* variables and
35514         parameters.  Remove argv definitions conditional on
35515         [__BOUNDED_POINTERS__].
35516         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35517         * elf/dl-runtime.c (_dl_fixup): Likewise.
35518         * include/set-hooks.h (RUN_HOOK): Likewise.
35519         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35520         definition.
35521         * string/strcpy.c (strcpy): Do not use __unbounded.
35522         * sysdeps/generic/frame.h (struct layout): Likewise.
35523         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35524         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35525         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35526         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35527         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35528         (__backtrace): Likewise.
35529         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35530         use __ptrvalue.
35531         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35532         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35533         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35534         Likewise.
35535         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35536         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35537         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35538         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35539         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35540         Do not use __unbounded.
35541         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35542         Rename __unboundedrlimits parameter to rlimits in prototype.
35543         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35544         Do not use __unbounded.
35545         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35546         not use __ptrvalue.
35547         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35548         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35549         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35550         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35551         __ptrvalue or __unbounded.
35552         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35553         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35554         use __unbounded.
35555         (__new_msgctl): Do not use __ptrvalue.
35556         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35557         __unbounded.
35558         (__libc_msgrcv): Do not use __ptrvalue.
35559         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35560         startup_info): Do not use __unbounded.
35561         (__libc_start_main): Likewise.  Rename ubp_* variables and
35562         parameters.  Remove argv definitions conditional on
35563         [__BOUNDED_POINTERS__].
35564         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35565         __ptrvalue.
35566         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35567         use __unbounded.
35568         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35569         or __ptrvalue.
35570         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35571         use __unbounded.
35572         (__new_shmctl): Do not use __ptrvalue.
35573         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35574         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35575         Likewise.
35576         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35577         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35578         (__libc_sigaction): Likewise.
35579         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35580         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35581         Likewise.
35582         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35584 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35586         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35588         * string/mempcpy.c: Implement by calling memcpy.
35590 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35595         evaluation.
35597         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35598         values in the mantissa.
35600         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35601         minimize writes to Z.
35602         (sub_magnitudes): Simplify code a bit.
35604 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35606         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35607         from the message.  The linker prefixes all warnings with that already.
35609 2013-02-12  Andreas Schwab  <schwab@suse.de>
35611         [BZ #15078]
35612         * posix/regexec.c (extend_buffers): Add parameter min_len.
35613         (check_matching): Pass minimum needed length.
35614         (clean_state_log_if_needed): Likewise.
35615         (get_subexp): Likewise.
35616         * posix/Makefile (tests): Add bug-regex34.
35617         (bug-regex34-ENV): Define.
35618         * posix/bug-regex34.c: New file.
35620         [BZ #11561]
35621         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35622         elements compare against the byte sequence of it, not its name.
35623         * posix/Makefile (tests): Add bug-regex35.
35624         (bug-regex35-ENV): Define.
35625         * posix/bug-regex35.c: New file.
35627 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35629         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35630         comment.
35631         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35632         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35633         (CHECK_EOL): Add undef.
35635 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35637         * bits/stdlib-bsearch.h: New file.
35638         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35639         * stdlib/stdlib.h: Likewise.
35641 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35643         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35644         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35645         declaration.
35646         * manual/search.texi (Array Search Function): Add missing const in
35647         lfind prototype.
35648         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35649         declaration to use rlim_t.
35650         (Basic Scheduling Functions): Remove erroneous const from
35651         sched_getparam prototype.  Remove erroneous * from
35652         sched_get_priority_max and sched_get_priority_min prototypes.
35653         (Resource Usage): Fix summary @comment on vtimes to refer to
35654         sys/vtimes.h rather than vtimes.h.
35655         Add missing *s in vtimes prototype.
35656         (Limits on Resources): Fix ulimit prototype to return long int.
35657         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35658         prototypes to use long int rather than double.
35659         (BSD Random): Fix initstate and setstate to use char *, not void *.
35660         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35661         prototype to make second argument 'struct aiocb64 *const[]'.
35662         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35663         (Status of AIO Operations): Remove erroneous const in aio_return and
35664         aio_return64 prototypes.
35665         (Synchronizing I/O): Fix sync prototype to return void.
35666         * manual/startup.texi (Suboptions): Remove an erroneous const in
35667         getsubopt prototype.
35668         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35669         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35670         use size_t rather than int.
35671         (Scanning All Users): Likewise for getpwent_r.
35672         (Setting Groups): Add missing const to setgroups prototype.
35673         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35674         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35675         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35676         'const void *' rather than 'const char *'.
35677         (Host Address Functions): Likewise for inet_ntop.
35678         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35679         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35680         ssize_t for return value.
35681         (Sending Data): Likewise for send, sendto, sendmsg.
35682         (Socket Option Functions): Add a missing const in setsockopt prototype.
35683         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35684         use wchar_t for the argument.
35685         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35686         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35687         take no arguments.
35688         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35689         double/float/long double for second argument.
35690         Fix return types of significand, significandf, significandl.
35691         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35692         argument in fchmod prototype.
35693         (File Owner): Use uid_t and gid_t in fchown prototype.
35694         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35695         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35696         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35697         use 'const struct dirent **' as argument types to CMP function pointer
35698         argument.
35699         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35700         (File Times): Fix summary magic @comment for struct utimbuf and utime
35701         to refer to utime.h, not time.h.
35702         * manual/string.texi (Argz Functions): Add missing const in
35703         argz_extract and argz_next prototypes.
35704         (Finding Tokens in a String): Likewise for basename.
35705         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35706         (Copying and Concatenation): Fix typo in wmemmove prototype.
35707         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35708         (Signal Stack): Remove erroneous const in sigstack prototype.
35709         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35710         prototype.
35711         (Simple Calendar Time): Likewise for stime.
35712         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35713         prototype.
35714         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35715         say sys/sysctl.h instead.
35716         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35717         and vsyslog prototypes.
35719 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35721         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35722         Remove.
35724 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35726         * misc/sys/mman.h: Fix typo in mremap comment.
35728 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35730         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35731         the '\0' terminator.
35733 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35735         [BZ #13550]
35736         * debug/segfault.c: Don't include <bp-checks.h>.
35737         * sysdeps/generic/bp-checks.h: Remove file.
35738         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35739         (__GETDENTS): Don't use CHECK_N.
35740         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35741         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35742         (__getgroups): Don't use CHECK_N.
35743         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35744         (setgroups): Don't use CHECK_N.
35745         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35746         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35747         (__libc_msgrcv): Don't use CHECK_N.
35748         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35749         (__libc_msgsnd): Don't use CHECK_N.
35750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35751         <bp-checks.h>.
35752         (__libc_pread): Don't use CHECK_N.
35753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35754         include <bp-checks.h>.
35755         (__libc_pread64): Don't use CHECK_N.
35756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35757         include <bp-checks.h>.
35758         (__libc_pwrite): Don't use CHECK_N.
35759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35760         include <bp-checks.h>.
35761         (__libc_pwrite64): Don't use CHECK_N.
35762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35763         <bp-checks.h>.
35764         (__libc_pread): Don't use CHECK_N.
35765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35766         include <bp-checks.h>.
35767         (__libc_pread64): Don't use CHECK_N.
35768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35769         include <bp-checks.h>.
35770         (__libc_pwrite): Don't use CHECK_N.
35771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35772         include <bp-checks.h>.
35773         (__libc_pwrite64): Don't use CHECK_N.
35774         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35775         (do_pread): Don't use CHECK_N.
35776         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35777         (do_pread64): Don't use CHECK_N.
35778         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35779         (do_pwrite): Don't use CHECK_N.
35780         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35781         (do_pwrite64): Don't use CHECK_N.
35782         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35783         (__libc_readv): Don't use CHECK_N.
35784         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35785         (semop): Don't use CHECK_N.
35786         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35787         <bp-checks.h>.
35788         (semtimedop): Don't use CHECK_N.
35789         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35790         (__libc_pread): Don't use CHECK_N.
35791         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35792         <bp-checks.h>.
35793         (__libc_pread64): Don't use CHECK_N.
35794         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35795         <bp-checks.h>.
35796         (__libc_pwrite): Don't use CHECK_N.
35797         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35798         <bp-checks.h>.
35799         (__libc_pwrite64): Don't use CHECK_N.
35800         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35801         <bp-checks.h>.
35802         (__libc_msgrcv): Don't use CHECK_N.
35803         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35804         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35805         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35806         (__libc_writev): Don't use CHECK_N.
35808 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35810         * string/strcpy.c: Removed unused variable.
35812         * Makeconfig (+sysdep-includes): Define with := rather than =.
35813         Use an existing include/ subdir of each sysdeps dir before it.
35815 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35817         * nscd/connection.c (register_traced_file): Comment function.
35818         [HAVE_INOTIFY] (union __inev): Define.
35819         [HAVE_INOTIFY] (inotify_check_files): New function.
35820         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35821         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35822         clear_db_cache.
35823         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35825 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35827         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35828         loaded if not already and that a failure is permanent.
35830 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35832         [BZ #15006]
35833         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35834         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35836 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35838         [BZ #13550]
35839         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35840         (CHECK_1_NULL_OK): Likewise.
35841         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35842         (__fxstat): Do not use CHECK_1.
35843         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35844         <bp-checks.h>.
35845         (___fxstat64): Do not use CHECK_1.
35846         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35847         <bp-checks.h>.
35848         (__fxstatat): Do not use CHECK_1.
35849         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35850         <bp-checks.h>.
35851         (__fxstatat64): Do not use CHECK_1.
35852         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35853         <bp-checks.h>.
35854         (__fxstat): Do not use CHECK_1.
35855         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35856         <bp-checks.h>.
35857         (__fxstatat): Do not use CHECK_1.
35858         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35859         <bp-checks.h>.
35860         (__getresgid): Do not use CHECK_1.
35861         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35862         <bp-checks.h>.
35863         (__getresuid): Do not use CHECK_1.
35864         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35865         <bp-checks.h>.
35866         (__lxstat): Do not use CHECK_1.
35867         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35868         <bp-checks.h>.
35869         (__old_msgctl): Do not use CHECK_1.
35870         (__new_msgctl): Likewise.
35871         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35872         <bp-checks.h>.
35873         (__new_setrlimit): Do not use CHECK_1.
35874         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35875         <bp-checks.h>.
35876         (__old_shmctl): Do not use CHECK_1.
35877         (__new_shmctl): Likewise.
35878         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35879         <bp-checks.h>.
35880         (__xstat): Do not use CHECK_1.
35881         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35882         (__lxstat): Do not use CHECK_1.
35883         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35884         <bp-checks.h>.
35885         (___lxstat64): Do not use CHECK_1.
35886         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35887         (__old_msgctl): Do not use CHECK_1.
35888         (__new_msgctl): Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35890         <bp-checks.h>.
35891         (__gettimeofday): Do not use CHECK_1.
35892         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35893         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35894         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35895         <bp-checks.h>.
35896         (__gettimeofday): Do not use CHECK_1.
35897         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35898         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35899         (__new_shmctl): Do not use CHECK_1.
35900         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35901         <bp-checks.h>.
35902         (do_sigtimedwait): Do not use CHECK_1.
35903         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35904         <bp-checks.h>.
35905         (do_sigwaitinfo): Do not use CHECK_1.
35906         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35907         <bp-checks.h>.
35908         (msgctl): Do not use CHECK_1.
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35910         <bp-checks.h>.
35911         (shmctl): Do not use CHECK_1.
35912         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35913         (ustat): Do not use CHECK_1.
35914         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35915         <bp-checks.h>.
35916         (__fxstat): Do not use CHECK_1.
35917         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35918         <bp-checks.h>.
35919         (__fxstatat): Do not use CHECK_1.
35920         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35921         <bp-checks.h>.
35922         (__lxstat): Do not use CHECK_1.
35923         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35924         <bp-checks.h>.
35925         (__xstat): Do not use CHECK_1.
35926         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35927         (__xstat): Do not use CHECK_1.
35928         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35929         (___xstat64): Do not use CHECK_1.
35931         [BZ #13550]
35932         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35933         definitions.
35934         (CHECK_BOUNDS_HIGH): Likewise.
35935         * string/strcpy.c: Do not include <bp-checks.h>.
35936         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35938 2013-02-07  Roland McGrath  <roland@hack.frob.com>
35940         * nscd/nscd-client.h (__nscd_drop_map_ref):
35941         Add __attribute__ ((unused)).
35942         * nis/nss-nisplus.h (niserr2nss): Likewise.
35944         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35945         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35947         * csu/libc-tls.c (init_static_tls, init_slotinfo):
35948         Remove inline keyword.
35949         * include/rounding-mode.h (round_away): Likewise.
35950         * libio/wfileops.c (adjust_wide_data): Likewise.
35951         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35952         (__m128i_strloadu_tolower): Likewise.
35953         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35954         (__m128i_strloadu_tolower): Likewise.
35955         * time/mktime.c (ydhms_diff): Likewise.
35956         * locale/elem-hash.h (elem_hash): Likewise.
35957         * locale/setlocale.c (setdata): Likewise.
35958         * posix/regex_internal.h (re_string_char_size_at): Likewise.
35959         (re_string_wchar_at): Likewise.
35960         (bitset_not, bitset_merge, bitset_mask): Likewise.
35961         [!(__GNUC__ > 3)] (inline): Remove macro.
35962         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35963         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35964         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35965         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35966         * string/memcmp.c (memcmp_bytes): Likewise.
35967         * locale/programs/locarchive.c (compute_hashval): Likewise.
35968         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35969         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35970         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35971         * nss/getent.c (print_rpc, print_protocols): Likewise.
35972         (print_passwd, print_group, print_aliases): Likewise.
35973         * nis/nss-nisplus.h (niserr2nss): Likewise.
35974         * nscd/connections.c (restart_p): Likewise.
35975         Change return type to bool.
35977 2013-02-05  Roland McGrath  <roland@hack.frob.com>
35979         * Makeconfig (all-Depend-files): Add existing
35980         $(sorted-subdirs:=/Depend) files.
35981         (all-subdirs): Remove nss.
35982         * sysdeps/unix/inet/Subdirs: Add it here instead.
35983         * hesiod/Depend: New file.
35985         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35986         instead of calling alloca.
35988         * io/lseek.c (__lseek): Rename to __libc_lseek.
35989         Define __lseek as an alias.
35991         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35993 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
35995         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35996         else clause and remove check for non-standard endianness.
35998 2013-02-04  David S. Miller  <davem@davemloft.net>
36000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36002 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36004         [BZ #13550]
36005         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36006         (__ubp_memchr): Remove prototype.
36007         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36008         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36009         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36010         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36011         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36012         Remove alias.
36013         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36014         (__ubp_memchr): Likewise.
36015         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36016         (__ubp_memchr): Likewise.
36017         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36018         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36019         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36020         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36021         CHECK_STRING.
36022         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36023         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36024         (__getcwd): Do not use CHECK_STRING.
36025         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36026         <bp-checks.h>.
36027         (__real_chown): Do not use CHECK_STRING.
36028         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36029         <bp-checks.h>.
36030         (fchownat): Do not use CHECK_STRING.
36031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36032         CHECK_STRING.
36033         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36034         <bp-checks.h>.
36035         (__lchown): Do not use CHECK_STRING.
36036         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36037         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36038         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36039         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36041         include <bp-checks.h>.
36042         (truncate64): Do not use CHECK_STRING.
36043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36044         <bp-checks.h>.
36045         (__real_chown): Do not use CHECK_STRING.
36046         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36047         <bp-checks.h>.
36048         (__lchown): Do not use CHECK_STRING.
36049         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36050         <bp-checks.h>.
36051         (__chown): Do not use CHECK_STRING.
36052         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36053         <bp-checks.h>.
36054         (truncate64): Do not use CHECK_STRING.
36055         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36056         Likewise.
36057         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36058         (__xmknod): Do not use CHECK_STRING.
36059         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36060         <bp-checks.h>.
36061         (__xmknodat): Do not use CHECK_STRING.
36062         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36063         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36065 2013-02-04  Andreas Schwab  <schwab@suse.de>
36067         [BZ #14142]
36068         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36069         * include/netdb.h: Likewise for h_errno.
36070         * elf/tst-stackguard1.c: Include <tls.h>.
36072 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36074         * elf/link.h (struct link_map): Extend the l_addr comment.
36075         * include/link.h (struct link_map): Likewise.
36077 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36079         [BZ #13550]
36080         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36081         (BOUNDED_1): Remove macro.
36082         * debug/backtrace.c: Don't include <bp-checks.h>.
36083         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36084         (__backtrace): Likewise.
36085         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36086         <bp-checks.h>.
36087         (__backtrace): Don't use BOUNDED_1.
36088         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36089         <bp-checks.h>.
36090         (__backtrace): Don't use BOUNDED_1.
36091         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36092         (__backtrace): Don't use BOUNDED_1.
36093         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36094         (shmat): Don't use BOUNDED_N.
36096 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36098         [BZ #13550]
36099         * sysdeps/generic/bp-start.h: Remove file.
36100         * csu/libc-start.c: Don't include <bp-start.h>.
36101         (LIBC_START_MAIN): Set up __environ directly instead of using
36102         INIT_ARGV_and_ENVIRON.
36103         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36104         <bp-start.h>.
36106         [BZ #13550]
36107         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36108         definitions.
36109         (CHECK_FCNTL): Likewise.
36110         (CHECK_N_PAGES): Likewise.
36112         [BZ #13550]
36113         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36114         definitions.
36115         (CHECK_SIGSET_NULL_OK): Likewise.
36116         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36117         <bp-checks.h>.
36118         (sigpending): Don't use CHECK_SIGSET.
36119         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36120         <bp-checks.h>.
36121         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36122         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36123         <bp-checks.h>.
36124         (do_sigsuspend): Don't use CHECK_SIGSET.
36125         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36126         use CHECK_SIGSET.
36127         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36128         (do_sigwait): Don't use CHECK_SIGSET.
36129         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36130         use CHECK_SIGSET.
36131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36132         include <bp-checks.h>.
36133         (sigpending): Don't use CHECK_SIGSET.
36134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36135         include <bp-checks.h>.
36136         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36137         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36138         <bp-checks.h>.
36139         (sigpending): Don't use CHECK_SIGSET.
36140         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36141         <bp-checks.h>.
36142         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36144         [BZ #13550]
36145         * sysdeps/generic/bp-semctl.h: Remove file.
36146         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36147         <bp-checks.h> and <bp-semctl.h>.
36148         (__old_semctl): Don't use CHECK_SEMCTL.
36149         (__new_semctl): Likewise.
36150         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36151         and <bp-semctl.h>.
36152         (__old_semctl): Don't use CHECK_SEMCTL.
36153         (__new_semctl): Likewise.
36154         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36155         <bp-checks.h> and <bp-semctl.h>.
36156         (__old_semctl): Don't use CHECK_SEMCTL.
36157         (__new_semctl): Likewise.
36158         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36159         <bp-checks.h> and <bp-semctl.h>.
36160         (semctl): Don't use CHECK_SEMCTL.
36162         [BZ #13550]
36163         * Makerules (elide-bp-thunks): Remove variable.
36164         (elide-routines.oS): Don't use $(elide-bp-thunks).
36165         (elide-routines.os): Likewise.
36166         (elide-routines.o): Likewise.
36167         (elide-routines.op): Likewise.
36168         (elide-routines.og): Likewise.
36169         (objects): Don't use $(bp-thunks).
36170         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36171         include.
36172         (common-generated): Do not add s-proto-bp.d.
36173         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36174         (int): Likewise.
36175         (typ): Likewise.
36176         Do not generate makefile rules for bounded-pointer thunks.
36177         * sysdeps/generic/bp-thunks.h: Remove file.
36178         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36179         * sysdeps/unix/s-proto-bp.S: Likewise.
36181         [BZ #15062]
36182         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36183         parts of result separately when argument is not close to line from
36184         -i to i and one part of argument is small.
36185         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36186         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36187         * math/libm-test.inc (cacos_test): Add more tests.
36188         (casin_test): Likewise.
36189         (casinh_test): Likewise.
36190         * sysdeps/i386/fpu/libm-test-ulps: Update.
36191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36193 2013-01-31  David S. Miller  <davem@davemloft.net>
36195         * po/de.po: Update from translation team.
36197 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36199         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36201 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36203         * configure.in (_AC_PROG_CC_C89): New definition.
36204         * configure: Regenerate.
36206         * configure.in (AC_PROG_CPP): New definition.
36207         * configure: Regenerate.
36209 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36211         * debug/tst-backtrace.h: New file.
36212         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36213         (ret): Remove variable.
36214         (x): Likewise.
36215         (FAIL): Remove macro.
36216         (NO_INLINE): Likewise.
36217         (fn1): Use match function instead of strstr.
36218         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36219         (ret): Remove variable.
36220         (x): Likewise.
36221         (FAIL): Remove macro.
36222         (NO_INLINE): Likewise.
36223         (fn): Use match function instead of strstr.
36224         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36225         (ret): Remove variable.
36226         (x): Likewise.
36227         (FAIL): Remove macro.
36228         (NO_INLINE): Likewise.
36229         (handle_signal): Use match function instead of strstr.
36230         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36231         (ret): Remove variable.
36232         (x): Likewise.
36233         (FAIL): Remove macro.
36234         (NO_INLINE): Likewise.
36235         (handle_signal): Use match function instead of strstr.
36237 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36239         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36241 2013-01-23  David S. Miller  <davem@davemloft.net>
36243         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36244         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36245         argument of CAS if possible.
36246         * sysdeps/sparc/sparc64/bits/atomic.h
36247         (__arch_compare_and_exchange_val_32_acq): Likewise.
36248         (__arch_compare_and_exchange_val_64_acq): Likewise.
36250 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36252         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36253         * sysdeps/posix/ulimit.c: ... this.
36254         Include <limits.h>.
36255         * sysdeps/unix/bsd/ulimit.c: Remove file.
36257 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36259         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36260         (LDFLAGS-tst-array5): Likewise.
36262 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36264         [BZ #15036]
36265         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36266         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36267         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36268         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36270 2013-01-21  David S. Miller  <davem@davemloft.net>
36272         * sysdeps/sparc/backtrace.c: New file.
36273         * sysdeps/sparc/sparc32/backtrace.h: New file.
36274         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36275         * sysdeps/sparc/sparc64/backtrace.h: New file.
36276         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36277         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36278         -funwind-tables.
36280 2013-01-21  Andreas Schwab  <schwab@suse.de>
36282         [BZ #15020]
36283         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36284         closed its stdout.
36286 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36289         "mpa2.h".
36290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36292 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36293             Mark Mitchell  <mark@codesourcery.com>
36294             Tom de Vries  <tom@codesourcery.com>
36295             Paul Pluzhnikov  <ppluzhnikov@google.com>
36297         * debug/tst-backtrace2.c: New file.
36298         * debug/tst-backtrace3.c: Likewise.
36299         * debug/tst-backtrace4.c: Likewise.
36300         * debug/tst-backtrace5.c: Likewise.
36301         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36302         (CFLAGS-tst-backtrace3.c): Likewise.
36303         (CFLAGS-tst-backtrace4.c): Likewise.
36304         (CFLAGS-tst-backtrace5.c): Likewise.
36305         (LDFLAGS-tst-backtrace2): Likewise.
36306         (LDFLAGS-tst-backtrace3): Likewise.
36307         (LDFLAGS-tst-backtrace4): Likewise.
36308         (LDFLAGS-tst-backtrace5): Likewise.
36309         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36310         tst-backtrace4 and tst-backtrace5.
36312 2013-01-18  Anton Blanchard  <anton@samba.org>
36313             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36315         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36316         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36318         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36320         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36321         "+r" and remove output regs list as redundant.  Add explicit inline
36322         asm to specify register of return val to work around compiler codegen
36323         bug.  Remove (int) cast on return value.  Add return type parameter to
36324         use in macro so that this macro does not truncate return value for
36325         64-bit values.
36326         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36327         pass to INTERNAL_VSYSCALL_NCS.
36328         (INLINE_VSYSCALL): Add 'long int' as return type to
36329         INTERNAL_VSYSCALL_NCS macro invocation.
36330         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36331         INTERNAL_VSYSCALL_NCS macro invocation.
36332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36334 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36336         [BZ #14496]
36337         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36338         Fix application of SIMD FP exception mask.
36340         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36341         mp_no from a power of two.
36342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36343         __mpexp_twomm1.  Use __pow_mp.
36345         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36346         multiplication.
36348 2013-01-17  David S. Miller  <davem@davemloft.net>
36350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36352 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36354         [BZ #15023]
36355         * include/complex.h: Condition contents on [!_COMPLEX_H].
36356         (__kernel_casinhf): New prototype.
36357         (__kernel_casinh): Likewise.
36358         (__kernel_casinhl): Likewise.
36359         * math/Makefile (libm_calls): Add k_casinh.
36360         * math/k_casinh.c: New file.
36361         * math/k_casinhf.c: Likewise.
36362         * math/k_casinhl.c: Likewise.
36363         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36364         finite nonzero arguments.
36365         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36366         finite nonzero arguments.
36367         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36368         finite nonzero arguments.
36369         * math/s_casinh.c: Do not include <float.h>.
36370         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36371         * math/s_casinhf.c: Do not include <float.h>.
36372         (__casinhf): Move code for finite nonzero arguments to
36373         k_casinhf.c.
36374         * math/s_casinhl.c: Do not include <float.h>.
36375         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36376         redefine.
36377         (__casinhl): Move code for finite nonzero arguments to
36378         k_casinhl.c.
36379         * math/libm-test.inc (cacos_test): Add more tests.
36380         * sysdeps/i386/fpu/libm-test-ulps: Update.
36381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36385         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36386         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36387         [!HAVE_MREMAP]: Remove [defined linux] case.
36388         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36390 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36392         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36394 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36396         * elf/elf.h (R_386_SIZE32): New relocation.
36397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36398         R_386_SIZE32.
36399         (elf_machine_rela): Likewise.
36400         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36401         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36403 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36405         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36406         (FP_FAST_FMA): Do not define.
36407         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36408         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36409         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36410         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36411         !_SOFT_FLOAT]: Likewise.
36412         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36413         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36414         value.
36415         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36416         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36417         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36418         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36419         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36420         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36421         file.
36423 2013-01-16  Andreas Schwab  <schwab@suse.de>
36425         [BZ #14327]
36426         * include/stdlib.h (__mktemp): Add declaration.
36427         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36428         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36430 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36432         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36433         definitions.
36434         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36435         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36436         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36437         definitions here.
36438         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36439         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36440         definitions.
36441         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36442         and ONE.
36443         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36444         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36445         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36446         definitions.
36447         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36448         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36449         definitions.
36450         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36452         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36454 2013-01-15  David S. Miller  <davem@davemloft.net>
36456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36457         trunc{,f} to libm-sysdep_routes.
36458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36460         file.
36461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36463         file.
36464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36465         file.
36466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36468         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36469         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36470         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36471         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36472         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36473         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36476         nearbyint{,f} to libm-sysdep_routes.
36477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36479         New file.
36480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36481         file.
36482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36483         New file.
36484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36485         file.
36486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36488         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36489         file.
36490         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36491         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36492         file.
36493         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36494         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36495         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36497         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36498         libc_feholdexcept and libc_fesetenv.
36500 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36502         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36504 2013-01-14  David S. Miller  <davem@davemloft.net>
36506         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36507         (SPARC_ASM_VIS2_IFUNC): Likewise.
36508         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36510         use of 'siam' instruction.
36511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36512         Likewise.
36513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36514         Likewise.
36515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36516         Likewise.
36517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36518         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36522         file.
36523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36524         file.
36525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36526         file.
36527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36528         file.
36529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36534         new VIS2 routines.
36535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36538         Likewise.
36539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36541         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36542         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36544         routines to libm-sysdep_routines.
36545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36548         fdim/fdimf to libm-sysdep_routines.
36549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36550         file.
36551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36553         file.
36554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36557         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36558         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36559         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36560         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36562 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36565         to optimize copies.
36567         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36569         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36571         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36572         local variable MPTWO.
36573         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36574         Likewise.
36576 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36578         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36579         GLOB_NOESCAPE.
36581 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36583         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36585 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36587         * manual/pattern.texi (glob_t): Document gl_flags.
36588         (glob64_t): Likewise.
36590 2013-01-11  David S. Miller  <davem@davemloft.net>
36592         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36593         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36594         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36595         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36596         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36597         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36598         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36599         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36600         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36601         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36602         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36603         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36604         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36606         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36607         sparc V9 rather than using V8 code.
36608         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36609         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36611         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36612         Move to...
36613         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36614         Here.
36616 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36618         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36619         not in the main loop.
36620         * configure: Regenerated.
36622 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36624         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36625         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36626         to just #else.
36627         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36628         [!__GLIBC_HAVE_LONG_LONG] case.
36629         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36630         condition to just #else.
36631         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36632         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36633         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36634         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36635         unconditional.
36636         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36637         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36638         #elif condition to just #else.
36639         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36640         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36641         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36642         #elif condition to just #else.
36644 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36646         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36647         (EF_MIPS_ARCH_64): Fix value.
36648         (EF_MIPS_ARCH_32R2): New.
36649         (EF_MIPS_ARCH_64R2): New.
36651 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36653         * Makeconfig (+link-pie-before-libc): New.
36654         (+link-pie-after-libc): Likewise.
36655         (+link-pie-tests): Likewise.
36656         (+link-pie): Rewritten.
36657         (link-before-libc): Remove $(config-LDFLAGS).
36658         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36659         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36660         (config-LDFLAGS): Renamed to ...
36661         (rtld-LDFLAGS): This.
36662         (rtld-tests-LDFLAGS): New macro.
36663         (link-libc-rpath-link): Likewise.
36664         (link-libc-tests-rpath-link): Likewise.
36665         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36666         (link-libc): Prepand $(link-libc-rpath-link).
36667         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36668         (test-program-prefix): New macro.
36669         (test-via-rtld-prefix): Likewise.
36670         (test-program-cmd): Likewise.
36671         (host-test-program-cmd): Likewise.
36672         * Makefile ($(common-objpfx)testrun.sh): Replace
36673         $(run-program-prefix) with $(test-program-prefix).
36674         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36675         $(rtld-LDFLAGS).
36676         ($(common-objpfx)shlib.lds): Likewise.
36677         (build-module-helper): Likewise.
36678         ($(common-objpfx)format.lds): Likewise.
36679         * Rules (binaries-pie-tests): New.
36680         (binaries-pie-notests): Likewise.
36681         (binaries-pie): Rewritten.
36682         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36683         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36684         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36685         (make-test-out): Replace $(host-built-program-cmd) with
36686         $(host-test-program-cmd).
36687         * config.make.in (build-hardcoded-path-in-tests): New variable.
36688         * configure.in (--enable-hardcoded-path-in-tests): New configure
36689         option.
36690         (hardcoded_path_in_tests): New AC_SUBST.
36691         * configure: Regenerated.
36692         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36693         $(built-program-cmd) with $(test-program-cmd).
36694         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36695         (test_program_cmd): This.
36696         * elf/Makefile ($(objpfx)order.out): Run test with
36697         $(test-program-prefix).
36698         ($(objpfx)order2.out): Likewise.
36699         ($(objpfx)tst-initorder.out): Likewise.
36700         ($(objpfx)tst-initorder2.out): Likewise.
36701         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36702         $(test-program-cmd).
36703         ($(objpfx)tst-array1-static.out): Likewise.
36704         ($(objpfx)tst-array2.out): Likewise.
36705         ($(objpfx)tst-array3.out): Likewise.
36706         ($(objpfx)tst-array4.out): Likewise.
36707         ($(objpfx)tst-array5.out): Likewise.
36708         ($(objpfx)tst-array5-static.out): Likewise.
36709         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36710         $(test-program-cmd).
36711         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36712         $(run-program-prefix) with $(test-program-prefix).
36713         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36714         (test_program_prefix): This.
36715         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36716         $(run-program-prefix) with $(test-program-prefix).
36717         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36718         (test_program_prefix): This.
36719         * iconvdata/tst-tables.sh: Likewise.
36720         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36721         $(run-program-prefix) with $(test-program-prefix).
36722         ($(objpfx)tst-translit.out): Likewise.
36723         ($(objpfx)tst-gettext2.out): Likewise.
36724         ($(objpfx)tst-gettext4.out): Likewise.
36725         ($(objpfx)tst-gettext6.out): Likewise.
36726         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36727         (test_program_prefix): This.
36728         * intl/tst-gettext2.sh: Likewise.
36729         * intl/tst-gettext4.sh  Likewise.
36730         * intl/tst-gettext6.sh: Likewise.
36731         * intl/tst-translit.sh: Likewise.
36732         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36733         with $(test-program-cmd).
36734         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36735         $(run-program-prefix) with $(test-program-prefix).
36736         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36737         (test_program_prefix): This.
36738         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36739         $(run-program-prefix) with $(test-program-prefix).
36740         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36741         (test_program_prefix): This.
36742         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36743         * posix/Makefile ($(objpfx)globtest.out): Replace
36744         $(run-via-rtld-prefix) and $(test-wrapper) with
36745         $(test-program-prefix) and $(test-via-rtld-prefix).
36746         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36747         $(test-program-prefix).
36748         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36749         $(host-test-program-cmd).
36750         (tst-spawn-ARGS): Likewise.
36751         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36752         $(test-program-prefix).
36753         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36754         (test_via_rtld_prefix): This.
36755         (test_wrapper): Renamed to ...
36756         (test_program_prefix): This.
36757         (run_program_prefix): Replaced by test_program_prefix.
36758         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36759         (test_program_prefix): This.
36760         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36761         with $(host-test-program-cmd).
36762         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36763         $(run-program-prefix) with $(test-program-prefix).
36764         ($(objpfx)tst-printf.out): Likewise.
36765         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36766         $(test-program-cmd).
36767         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36768         (test_program_prefix): This.
36769         * stdio-common/tst-unbputc.sh: Likewise.
36770         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36771         $(run-program-prefix) with $(test-program-prefix).
36772         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36773         (test_program_prefix): This.
36774         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36775         $(built-program-cmd) with $(test-program-cmd).
36777 2013-01-11  Andreas Jaeger  <aj@suse.de>
36779         [BZ #15003]
36780         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36781         value. Sync with Linux 3.7.
36783 2013-01-10  David S. Miller  <davem@davemloft.net>
36785         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36786         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36787         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36789 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36791         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36792         never set.
36793         * configure: Regenerated.
36795 2013-01-10  David S. Miller  <davem@davemloft.net>
36797         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36798         sparc V9 rather than using V8 code.
36799         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36800         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36802 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36804         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36805         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36806         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36807         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36808         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36809         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36810         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36811         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36812         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36813         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36814         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36815         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36816         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36817         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36818         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36819         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36820         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36821         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36822         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36823         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36824         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36825         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36826         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36827         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36828         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36829         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36830         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36832 2013-01-10  David S. Miller  <davem@davemloft.net>
36834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36836 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36838         * posix/Makefile (tests-static): New variable.
36839         (tests): Add $(tests-static).
36840         (tst-exec-static-ARGS): New variable.
36841         (tst-spawn-static-ARGS): Likewise.
36842         * posix/tst-exec-static.c: New file.
36843         * posix/tst-spawn-static.c: Likewise.
36844         * posix/tst-exec.c: Support run directly.
36845         * posix/tst-spawn.c: Likewise.
36847 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36849         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36850         long.
36851         * math/bits/mathcalls.h (llrint): Likewise.
36852         (llround): Likewise.
36853         * stdlib/stdlib.h (struct drand48_data): Likewise.
36854         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36855         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36856         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36857         Likewise.
36858         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36859         Likewise.
36860         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36861         (elf_greg_t): Likewise.
36862         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36863         (__jmp_buf): Likewise.
36864         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36865         definitions.
36866         (llrint): Likewise, for all definitions.
36867         (llrintl): Likewise.
36869         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36870         Remove [__GNUC__] condition.
36871         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36872         condition to just [__USE_ISOC99].
36873         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36875 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36877         [BZ #14200]
36878         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36879         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36880         defined.
36881         (_POSIX_V6_ILP32_OFF32): Likewise.
36882         (_XBS5_ILP32_OFF32): Likewise.
36883         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36884         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36886 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36888         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36890         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36891         doubles __mpexp_twomm1.  Adjust usage.
36892         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36893         Remove.
36895 2013-01-10  Andreas Schwab  <schwab@suse.de>
36897         [BZ #14964]
36898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36899         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36901 2013-01-09  David S. Miller  <davem@davemloft.net>
36903         [BZ #15003]
36904         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36905         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36906         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36907         (TCP_FASTOPEN): Define.
36908         (tcp_repair_opt): New structure.
36909         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36910         enum values.
36911         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36912         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36913         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36914         (tcp_cookie_transactions): New structure.
36916 2013-01-09  Anton Blanchard  <anton@samba.org>
36918         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36919         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36920         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36921         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36923 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
36925         * include/features.h (__USE_ANSI): Remove.
36927 2013-01-09  Roland McGrath  <roland@hack.frob.com>
36929         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36931         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36933 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36935         * sysdeps/s390/fpu/libm-test-ulps: Update.
36937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36939         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36940         (__acr): Likewise.
36941         (__cpy): Likewise.
36942         (norm): Likewise.
36943         (denorm): Likewise.
36944         (__mp_dbl): Likewise.
36945         (__dbl_mp): Likewise.
36946         (add_magnitudes): Likewise.
36947         (sub_magnitudes): Likewise.
36948         (__add): Likewise.
36949         (__sub): Likewise.
36950         (__mul): Likewise.
36951         (__inv): Likewise.
36952         (__dvd): Likewise.
36953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36954         (__acr): Likewise.
36955         (__cpy): Likewise.
36956         (norm): Likewise.
36957         (denorm): Likewise.
36958         (__mp_dbl): Likewise.
36959         (__dbl_mp): Likewise.
36960         (add_magnitudes): Likewise.
36961         (sub_magnitudes): Likewise.
36962         (__add): Likewise.
36963         (__sub): Likewise.
36964         (__mul): Likewise.
36965         (__inv): Likewise.
36966         (__dvd): Likewise.
36967         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36968         (__acr): Likewise.
36969         (__cpy): Likewise.
36970         (norm): Likewise.
36971         (denorm): Likewise.
36972         (__mp_dbl): Likewise.
36973         (__dbl_mp): Likewise.
36974         (add_magnitudes): Likewise.
36975         (sub_magnitudes): Likewise.
36976         (__add): Likewise.
36977         (__sub): Likewise.
36978         (__mul): Likewise.
36979         (__inv): Likewise.
36980         (__dvd): Likewise.
36982 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
36984         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36985         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36986         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36987         2 && __USE_EXTERN_INLINES]: Likewise.
36989 2013-01-08  Andreas Jaeger  <aj@suse.de>
36991         [BZ# 14985]
36992         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36993         Remove.
36994         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36995         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36997 2013-01-07  Anton Blanchard  <anton@samba.org>
36999         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37000         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37001         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37002         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37003         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37004         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37005         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37006         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37008         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37009         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37010         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37011         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37014         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37015         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37017         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37018         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37019         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37020         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37022         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37023         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37024         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37025         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37026         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37027         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37028         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37029         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37031         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37032         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37033         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37034         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37035         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37036         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37037         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37038         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37039         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37040         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37041         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37043 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37045         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37046         (__MALLOC_PMT): Likewise.
37047         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37048         [__GNUC__], only on [_LIBC].
37049         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37050         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37051         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37052         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37053         forward declaration.
37054         (realloc_hook_ini): Likewise.
37055         (memalign_hook_ini): Likewise.
37056         (__libc_memalign): Do not use __MALLOC_PMT in variable
37057         declaration.
37058         (__libc_valloc): Likewise.
37059         (__libc_pvalloc): Likewise.
37060         (__libc_calloc): Likewise.
37061         (__posix_memalign): Likewise.
37063         [BZ #14996]
37064         * math/s_casinh.c: Include <float.h>.
37065         (__casinh): Do not do computation with squaring and square root
37066         for large arguments.
37067         * math/s_casinhf.c: Include <float.h>.
37068         (__casinhf): Do not do computation with squaring and square root
37069         for large arguments.
37070         * math/s_casinhl.c: Include <float.h>.
37071         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37072         (__casinhl): Do not do computation with squaring and square root
37073         for large arguments.
37074         * math/libm-test.inc (casin_test): Add more tests.
37075         (casinh_test): Likewise.
37076         * sysdeps/i386/fpu/libm-test-ulps: Update.
37077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37079 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37081         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37082         (__x86_64_raw_data_cache_size): Likewise.
37083         (__x86_64_data_cache_size_half): Likewise.
37084         (__x86_64_raw_data_cache_size_half): Likewise.
37085         (__x86_64_shared_cache_size): Likewise.
37086         (__x86_64_raw_shared_cache_size): Likewise.
37087         (__x86_64_shared_cache_size_half): Likewise.
37088         (__x86_64_raw_shared_cache_size_half): Likewise.
37089         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37090         to ...
37091         (__x86_data_cache_size): This.
37092         (__x86_64_raw_data_cache_size): Renamed to ...
37093         (__x86_raw_data_cache_size): This.
37094         (__x86_64_data_cache_size_half): Renamed to ...
37095         (__x86_data_cache_size_half): This.
37096         (__x86_64_raw_data_cache_size_half): Renamed to ...
37097         (__x86_raw_data_cache_size_half): This.
37098         (__x86_64_shared_cache_size): Renamed to ...
37099         (__x86_shared_cache_size): This.
37100         (__x86_64_raw_shared_cache_size): Renamed to ...
37101         (__x86_raw_shared_cache_size): This.
37102         (__x86_64_shared_cache_size_half): Renamed to ...
37103         (__x86_shared_cache_size_half): This.
37104         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37105         (__x86_raw_shared_cache_size_half): This.
37106         * sysdeps/x86_64/memcpy.S: Updated.
37107         * sysdeps/x86_64/memset.S: Likewise.
37108         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37109         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37110         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37112 2013-01-04  David S. Miller  <davem@davemloft.net>
37114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37116 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37118         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37119         1 to avoid redefinition warning.
37120         (__USE_GNU): Don't define.
37121         (init_signaling_nan): Protoize.
37123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37125 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37127         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37129         (__cpymn): Likewise.
37130         (norm): Remove commented code.
37131         (denorm): Likewise.
37132         (__mp_dbl): Likewise.
37133         (__inv): Likewise.
37134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37135         (__cpymn): Likewise.
37136         (norm): Remove commented code.
37137         (denorm): Likewise.
37138         (__mp_dbl): Likewise.
37139         (__inv): Likewise.
37141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37142         mp_no value for 1.0 and 2.0.
37143         (norm): Use RADIXI instead of radixi.d.
37144         (denorm): Likewise.
37145         (__mul): Use 0.0 instead of zero.d.
37146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37147         mp_no value for 1.0 and 2.0.
37148         (norm): Use RADIXI instead of radixi.d.
37149         (denorm): Likewise.
37150         (__mul): Use 0.0 instead of zero.d.
37152 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37154         [BZ #14994]
37155         * math/s_casinh.c (__casinh): Reduce finite argument to first
37156         quadrant then set signs of results at the end.
37157         * math/s_casinhf.c (__casinhf): Likewise.
37158         * math/s_casinhl.c (__casinhl): Likewise.
37159         * math/libm-test.inc (casin_test): Add more tests.
37160         (casinh_test): Likewise.
37161         * sysdeps/i386/fpu/libm-test-ulps: Update.
37162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37164 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37166         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37168         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37170         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37171         declarations.
37172         (denorm): Likewise.
37173         (__mp_dbl): Likewise.
37174         (__inv): Likewise.
37176         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37177         and adjust the header comment.
37179         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37180         variable name from declaration.
37182 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37185         Initialize COMMON_CPUID_INDEX_7 element.
37186         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37187         (CPUID_RTM): Likewise.
37188         (HAS_RTM): Likewise.
37189         (COMMON_CPUID_INDEX_7): New enum.
37191 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37193         [BZ #14981]
37194         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37195         size is zero, record memory as freed.
37197 2013-01-03  Andreas Jaeger  <aj@suse.de>
37199         * po/ia.po: Add new Interlingua translation.
37201 2012-01-03  Allan McRae  <allan@archlinux.org>
37203         * locale/programs/localedef.c: Fix description of '--posix' flag.
37205 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37207         * NEWS: Update dates in second copyright notice.
37208         * README: Update copyright dates in example.
37209         * manual/libc.texinfo: Update copyright dates.
37210         * scripts/test-installation.pl: Update copyright date in --version
37211         output.
37213         * hurd/ctty-input.c: Fix copyright notice formatting.
37214         * hurd/ctty-output.c: Likewise.
37215         * hurd/dtable.c: Likewise.
37216         * hurd/hurd-raise.c: Likewise.
37217         * hurd/hurdprio.c: Likewise.
37218         * hurd/msgportdemux.c: Likewise.
37219         * misc/sys/file.h: Likewise.
37220         * misc/sys/ioctl.h: Likewise.
37221         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37222         * sysdeps/mach/hurd/chdir.c: Likewise.
37223         * sysdeps/mach/hurd/fchdir.c: Likewise.
37224         * sysdeps/mach/hurd/rename.c: Likewise.
37225         * sysdeps/mach/hurd/rmdir.c: Likewise.
37226         * sysdeps/mach/hurd/seekdir.c: Likewise.
37227         * sysdeps/mach/hurd/setsid.c: Likewise.
37228         * sysdeps/posix/wait3.c: Likewise.
37230         * All files with FSF copyright notices: Update copyright dates
37231         using scripts/update-copyrights.
37232         * intl/plural.c: Regenerated.
37233         * locale/programs/charmap-kw.h: Likewise.
37234         * locale/programs/locfile-kw.h: Likewise.
37236 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37238         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37239         four values.
37241         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37242         calculation loop and add branch prediction.
37244         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37245         check access beyond bounds of m1np.
37247         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37248         MPTWO.
37249         (__inv): Remove local variable MPTWO to use the global
37250         constant.
37251         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37253         variable MPTWO.
37254         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37255         MP3HALFS static const.
37257 2013-01-01  David S. Miller  <davem@davemloft.net>
37259         * po/ca.po: Update from translation team.
37261 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37263         * scripts/update-copyrights: New file.
37264         * Makeconfig: Reformat copyright notice.
37265         * ctype/ctype.h: Likewise.
37266         * debug/swprintf_chk.c: Likewise.
37267         * elf/dl-cache.c: Likewise.
37268         * elf/dl-debug.c: Likewise.
37269         * elf/dl-object.c: Likewise.
37270         * grp/initgroups.c: Likewise.
37271         * hurd/Makefile: Likewise.
37272         * hurd/hurd/signal.h: Likewise.
37273         * hurd/hurdfault.c: Likewise.
37274         * hurd/hurdioctl.c: Likewise.
37275         * hurd/hurdlookup.c: Likewise.
37276         * hurd/intr-msg.c: Likewise.
37277         * iconv/gconv_open.c: Likewise.
37278         * libio/swprintf.c: Likewise.
37279         * locale/lc-ctype.c: Likewise.
37280         * locale/nl_langinfo.c: Likewise.
37281         * mach/Machrules: Likewise.
37282         * mach/Makefile: Likewise.
37283         * malloc/obstack.h: Likewise.
37284         * manual/Makefile: Likewise.
37285         * manual/tsort.awk: Likewise.
37286         * misc/bits/stab.def: Likewise.
37287         * nis/nis_print_group_entry.c: Likewise.
37288         * nis/nis_table.c: Likewise.
37289         * nis/nss_compat/compat-pwd.c: Likewise.
37290         * nis/nss_compat/compat-spwd.c: Likewise.
37291         * po/Makefile: Likewise.
37292         * posix/fnmatch.c: Likewise.
37293         * posix/regex.h: Likewise.
37294         * resolv/Makefile: Likewise.
37295         * resolv/nss_dns/dns-network.c: Likewise.
37296         * resolv/res_hconf.c: Likewise.
37297         * scripts/gen-sorted.awk: Likewise.
37298         * soft-fp/soft-fp.h: Likewise.
37299         * stdio-common/printf.h: Likewise.
37300         * stdlib/monetary.h: Likewise.
37301         * stdlib/random.c: Likewise.
37302         * stdlib/random_r.c: Likewise.
37303         * sysdeps/generic/Makefile: Likewise.
37304         * sysdeps/gnu/Makefile: Likewise.
37305         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37306         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37307         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37308         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37310         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37312         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37315         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37316         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37317         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37318         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37319         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37320         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37321         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37322         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37323         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37324         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37325         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37326         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37327         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37328         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37329         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37333         * sysdeps/mach/hurd/errnos.awk: Likewise.
37334         * sysdeps/mach/hurd/fork.c: Likewise.
37335         * sysdeps/mach/hurd/getcwd.c: Likewise.
37336         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37337         * sysdeps/mach/hurd/mmap.c: Likewise.
37338         * sysdeps/mach/hurd/utimes.c: Likewise.
37339         * sysdeps/mach/hurd/xmknod.c: Likewise.
37340         * sysdeps/posix/profil.c: Likewise.
37341         * sysdeps/posix/readdir_r.c: Likewise.
37342         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37343         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37344         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37345         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37347         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37348         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37349         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37351         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37352         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37353         * sysdeps/pthread/lio_listio.c: Likewise.
37354         * sysdeps/sparc/dl-procinfo.h: Likewise.
37355         * sysdeps/unix/i386/sysdep.S: Likewise.
37356         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37357         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37358         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37359         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37361         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37362         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37363         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37364         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37365         * sysdeps/wordsize-32/divdi3.c: Likewise.
37366         * time/sys/time.h: Likewise.
37367         * wcsmbs/Makefile: Likewise.
37369 2013-01-01  David S. Miller  <davem@davemloft.net>
37371         * po/fr.po: Update from translation team.
37373         * catgets/gencat.c: Update copyright year.
37374         * csu/version.c: Likewise.
37375         * debug/catchsegv.sh: Likewise.
37376         * debug/pcprofiledump.c: Likewise.
37377         * debug/xtrace.sh: Likewise.
37378         * elf/ldconfig.c: Likewise.
37379         * elf/ldd.bash.in: Likewise.
37380         * elf/pldd.c: Likewise.
37381         * elf/sotruss.ksh: Likewise.
37382         * elf/sprof.c: Likewise.
37383         * iconv/iconv_prog.c: Likewise.
37384         * iconv/iconvconfig.c: Likewise.
37385         * locale/programs/locale.c: Likewise.
37386         * locale/programs/localedef.c: Likewise.
37387         * login/programs/pt_chown.c: Likewise.
37388         * malloc/memusage.sh: Likewise.
37389         * malloc/memusagestat.c: Likewise.
37390         * malloc/mtrace.pl: Likewise.
37391         * nscd/nscd.c: Likewise.
37392         * nss/getent.c: Likewise.
37393         * nss/makedb.c: Likewise.
37394         * posix/getconf.c: Likewise.
37396 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37398         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37399         numbers.
37401 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37403         * math/bits/mathcalls.h (modf): Use __nonnull.
37405 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37407         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37408         (split): Use macro CN instead of the bare value.
37409         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37410         could be used.
37411         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37412         instead of the bare value.
37413         (power1): Likewise.
37415 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37417         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37418         __ATAN_TWOM.
37419         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37421         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37422         their values.
37423         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37424         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37425         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37426         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37428 2012-12-28  Andreas Jaeger  <aj@suse.de>
37430         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37431         values are from Linux 3.7.
37433         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37434         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37436 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37438         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37439         TRUE case.
37441         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37442         (norm): Likewise.
37443         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37444         variables with preprocessor constants.
37445         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37446         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37447         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37449 2012-12-27  Bruno Haible  <bruno@clisp.org>
37451         [BZ #14317]
37452         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37453         only if needed.
37455 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37458         and use variable directly.
37459         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37461         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37462         MPONE.
37463         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37465         variable MPONE.
37466         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37468         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37469         include directive.  Remove local variable MPONE.
37470         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37471         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37472         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37474 2012-12-25  David S. Miller  <davem@davemloft.net>
37476         * version.h (RELEASE): Set to "development".
37477         (VERSION): Set to "2.17.90".
37478         * NEWS: Add 2.18 section.
37480 2012-12-21  David S. Miller  <davem@davemloft.net>
37482         * po/hr.po: Update from translation team.
37484 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37486         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37488 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37490         * NEWS:  Mention new memcpy for MIPS.
37492 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37494         * manual/contrib.texi (Contributors): Spelling correction.
37496 2012-12-15  David S. Miller  <davem@davemloft.net>
37498         * po/ru.po: Update from translation team.
37500 2012-12-13  David S. Miller  <davem@davemloft.net>
37502         * NEWS: Mention IFUNC testsuite enhancements.
37504         * po/pl.po: Update from translation team.
37505         * po/bg.po: Likewise.
37507         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37508         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37510 2012-12-11  David S. Miller  <davem@davemloft.net>
37512         * po/sv.po: Update from translation team.
37514         * po/vi.po: Update from translation team.
37516         * po/cs.po: Update from translation team.
37518         * po/de.po: Update from translation team.
37519         * po/eo.po: Likewise.
37520         * po/nl.po: Likewise.
37522 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37524         [BZ #14246]
37525         * manual/argp.texi (Argp Helper Functions): Move node to follow
37526         Argp Parsing State.
37528         [BZ #14872]
37529         * manual/conf.texi (Limits on File System Capacity): Mention if
37530         terminating null is included in the max size.
37532 2012-12-10  Andreas Jaeger  <aj@suse.de>
37534         * po/cs.po: Update from translation team.
37536 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37539         void pointer and cast to uintptr_t.
37540         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37541         path.
37542         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37543         * sysdeps/s390/s390-64/memset.S: Likewise.
37545 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37547         [BZ #14833]
37548         * menual/message.texi (Message Translation): Fix typos.
37549         (Helper programs for gettext): Likewise.
37551 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37553         [BZ #14898]
37554         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37555         Change to -1.
37557 2012-12-07  David S. Miller  <davem@davemloft.net>
37559         * po/libc.pot: Update.
37561 2012-12-07  Richard Henderson  <rth@redhat.com>
37563         [BZ #10114]
37564         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37565         normal/normal case to before the switch.
37566         (_FP_DIV): Likewise.
37568 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37569             Mike Frysinger  <vapier@gentoo.org>
37571         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37572         check for __NR_fadvise64_64.
37574 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37576         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37577         0, not just to plain "0" as a statement.
37578         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37579         with cw.
37581 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37583         * NEWS: Use sourceware.org in Bugzilla URL.
37585 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37588         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37590         * stdio-common/tst-put-error.c (do_test): Add newline to the
37591         padded test to ensure flush.
37593 2012-12-05  Jeff Law  <law@redhat.com>
37595         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37597 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37599         * README: Don't refer to ports add-on as distributed separately.
37600         Mention AArch64 in list of systems supported in the ports add-on.
37602         * LICENSES: Add more non-FSF copyright and license notices.
37604         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37605         ((unused)).
37607         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37609         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37610         10000 as width of padded output.
37612 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37614         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37616         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37617         variable LX with __attribute__ ((unused)).
37618         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37619         Likewise.
37620         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37621         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37622         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37623         with __attribute__ ((unused)).
37625 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37627         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37629 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37631         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37632         (CFLAGS-nldbl-acos.c): New variable.
37633         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37634         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37635         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37636         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37637         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37638         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37639         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37640         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37641         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37642         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37643         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37644         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37645         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37646         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37647         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37648         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37649         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37650         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37651         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37652         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37653         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37654         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37655         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37656         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37657         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37658         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37659         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37660         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37661         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37662         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37663         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37664         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37665         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37666         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37667         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37668         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37669         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37670         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37671         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37672         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37673         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37674         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37675         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37676         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37677         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37678         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37679         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37680         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37681         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37682         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37683         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37684         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37685         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37686         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37687         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37688         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37689         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37690         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37691         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37692         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37693         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37694         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37695         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37696         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37697         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37698         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37699         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37700         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37701         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37702         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37703         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37704         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37705         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37706         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37707         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37708         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37709         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37710         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37711         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37712         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37713         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37714         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37715         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37716         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37717         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37718         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37719         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37720         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37721         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37722         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37723         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37724         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37725         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37726         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37727         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37728         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37729         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37732         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37734         [BZ #14914]
37735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37736         whole low double instead of just low 47 bits when splitting values
37737         into two parts.
37739 2012-12-03  Allan McRae  <allan@archlinux.org>
37741         * manual/stdio.texi (Predefined Printf Handlers): Remove
37742         @hsep and @vsep usage.
37744 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37746         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37747         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37749 2012-12-03  Jeff Law  <law@redhat.com>
37751         * time/sys/time.h (settimeofday): Do not mark TV argument
37752         as __nonnull.
37754 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37756         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37757         when currently writing and seek to current position when not.
37758         * libio/Makefile (tests): Remove bug-fclose1.
37759         * libio/bug-fclose1.c: Delete.
37761 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37763         * manual/arith.texi (feenableexcept): Fix typo.
37764         (fedisableexcept): Likewise.
37766 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37768         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37769         second, differently-typed declaration, rather than a cast.
37771 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37773         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37774         * include/rpc/svc.h: ... here.
37776 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37778         [BZ #13013]
37779         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37780         depending n and resplen2 to catch cases where answer
37781         equals answerp2.
37783 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37785         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37786         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37788 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37792 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37794         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37796 2012-11-28  Jeff Law  <law@redhat.com>
37798         [BZ #13761]
37799         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37800         dataset_temporary.  Track alloca usage into alloca_used.
37801         If dataset is large allocate and release it via malloc/free.
37803 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37805         [BZ #14197]
37806         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37808 2012-11-28  David S. Miller  <davem@davemloft.net>
37810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37812 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37814         [BZ #14803]
37815         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37816         of pi/2 rounded to nearest to 64 bits.
37817         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37818         nearest to 64 bits.
37819         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37820         bits.
37822 2012-11-28  Jeff Law <law@redhat.com>
37823             Martin Osvald <mosvald@redhat.com>
37825         [BZ #14889]
37826         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37827         * sunrpc/svc.c: Include time.h.
37828         (__svc_accept_failed): New function.
37829         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37830         any reason other than EINTR, call __svc_accept_failed.
37831         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37832         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37834 2012-11-28  Andreas Schwab  <schwab@suse.de>
37836         * scripts/abilist.awk: Also handle indirect functions in .opd
37837         section.
37839 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37841         [BZ #13881]
37842         * sysdeps/x86/fpu/powl_helper.c: New file.
37843         * sysdeps/x86/fpu/Makefile: Likewise.
37844         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37845         (p3): New object.
37846         (__ieee754_powl): Use __powl_helper for finite arguments except
37847         integer exponents below 8.
37848         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37849         (p3): New object.
37850         (__ieee754_powl): Use __powl_helper for finite arguments except
37851         integer exponents below 8.
37852         * math/libm-test.inc (pow_test): Add more tests and enable some
37853         previously disabled tests.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37858             Carlos O'Donell  <carlos_odonell@mentor.com>
37860         * nss/makedb.c (is_prime): Assert that input is odd and greater
37861         than 4.  Note that fact in a comment too.
37862         (next_prime): Add 4 to input.
37864 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37866         [BZ #11741]
37867         * libio/Makefile (tests): Add test case tst-fwrite-error.
37868         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37869         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37870         * libio/tst-fwrite-error.c: New test case.
37872 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37874         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37875         before casting to void *.
37876         * include/libc-internal.h (__pointer_type): New macro.
37877         (__integer_if_pointer_type_sub): Likewise.
37878         (__integer_if_pointer_type): Likewise.
37879         (cast_to_integer): Likewise.
37880         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37881         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37882         before casting to atomic64_t.
37883         (atomic_exchange_acq): Likewise.
37884         (__arch_exchange_and_add_body): Likewise.
37885         (__arch_add_body): Likewise.
37886         (atomic_add_negative): Likewise.
37887         (atomic_add_zero): Likewise.
37889 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37891         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37892         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37893         (add_fdes): Likewise.
37894         (linear_search_fdes): Likewise.
37895         (binary_search_unencoded_fdes): Likewise.
37897 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37899         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37901 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37903         * configure.in: Autodetect C++ header directories.
37904         * configure: Regenerated.
37906 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37908         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37910 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37914 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37916         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37917         LDBL_MANT_DIG == 106]: Disable some tests.
37918         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37919         Likewise.
37920         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37921         Likewise.
37923         [BZ #14871]
37924         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37925         input for small inputs.  Return +/- pi/2 for large inputs.
37926         * math/libm-test.inc (atan_test): Add more tests.
37928         * sysdeps/generic/unwind-dw2-fde-glibc.c
37929         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37930         __attribute__ ((unused)).
37932         [BZ #14645]
37933         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37934         x * y if x and y are nonzero and z is zero.
37936         [BZ #14811]
37937         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37938         nonzero exponents with absolute value below 0x1p-117 to +/-
37939         0x1p-117.
37941         [BZ #14869]
37942         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37943         up arguments below 2**-450, not just those below 2**-500.
37944         * math/libm-test.inc (hypot_test): Add another test.
37946         [BZ #14868]
37947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37948         Return a+b for ratio over 2**120, not 2**60.
37949         * math/libm-test.inc (hypot_test): Add another test.
37951         * math/libm-test.inc (clog_test): Use
37952         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37953         (clog10_test): Likewise.
37955         [BZ #6778]
37956         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37958 2012-11-22  Andreas Schwab  <schwab@suse.de>
37960         * sysdeps/i386/fpu/libm-test-ulps: Update.
37962 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
37964         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37965         printf output with newline.
37967 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
37969         [BZ #14865]
37970         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37971         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37972         -z nodlopen, -z initfirst and -z execstack support.
37973         * configure: Regenerated.
37975         * elf/elf.h (DF_1_NODIRECT): New macro.
37976         (DF_1_IGNMULDEF): Likewise.
37977         (DF_1_NOKSYMS): Likewise.
37978         (DF_1_NOHDR): Likewise.
37979         (DF_1_EDITED): Likewise.
37980         (DF_1_NORELOC): Likewise.
37981         (DF_1_SYMINTPOSE): Likewise.
37982         (DF_1_GLOBAUDIT): Likewise.
37983         (DF_1_SINGLETON): Likewise.
37984         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37985         DT_1_SUPPORTED_MASK bits.
37986         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37988 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
37990         * sysdeps/unix/make-syscalls.sh: Document prefixes.
37992 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
37994         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37995         macro.
37997         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37998         (sendmmsg): Move declarations...
37999         * socket/sys/socket.h: ... here.
38000         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38001         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38002         include it from...
38003         * socket/recvmmsg.c: ... this new file.
38004         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38005         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38006         definition of __sendmmsg hidden.
38007         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38008         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38009         Move ENOSYS stub into and include it from...
38010         * socket/sendmmsg.c: ... this new file.
38011         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38012         (sysdep_routines): Move recvmmsg and sendmmsg...
38013         * socket/Makefile (routines): ... here.
38014         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38015         (GLIBC_PRIVATE): Add __sendmmsg.
38016         * include/sys/socket.h (__sendmmsg): Add declarations.
38017         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38018         sendmmsg.
38020 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38022         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38023         variable I1 with __attribute__ ((unused)).
38024         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38026 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38028         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38029         DUMMY variables with __attribute__ ((unused)).
38031         * bits/byteswap.h: Include <bits/types.h>.
38032         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38034 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38036         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38037         string_t.  Do not manually set errno.
38038         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38039         length with __strnlen.  Make sure to both set errno and return it on
38040         failure.
38042 2012-11-19  David S. Miller  <davem@davemloft.net>
38044         With help from Joseph Myers.
38045         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38046         very large arguments properly.
38047         * math/libm-test.inc (atan_test): New tests.
38048         (atan2_test): New tests.
38049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38052 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38054         [BZ #14856]
38055         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38056         Define to 3.
38058         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38059         [POSIX] (EADDRNOTAVAIL): Likewise.
38060         [POSIX] (EAFNOSUPPORT): Likewise.
38061         [POSIX] (EALREADY): Likewise.
38062         [POSIX] (ECONNABORTED): Likewise.
38063         [POSIX] (ECONNREFUSED): Likewise.
38064         [POSIX] (ECONNRESET): Likewise.
38065         [POSIX] (EDESTADDRREQ): Likewise.
38066         [POSIX] (EDQUOT): Likewise.
38067         [POSIX] (EHOSTUNREACH): Likewise.
38068         [POSIX] (EIDRM): Likewise.
38069         [POSIX] (EISCONN): Likewise.
38070         [POSIX] (ELOOP): Likewise.
38071         [POSIX] (EMULTIHOP): Likewise.
38072         [POSIX] (ENETDOWN): Likewise.
38073         [POSIX] (ENETUNREACH): Likewise.
38074         [POSIX] (ENOBUFS): Likewise.
38075         [POSIX] (ENODATA): Likewise.
38076         [POSIX] (ENOLINK): Likewise.
38077         [POSIX] (ENOMSG): Likewise.
38078         [POSIX] (ENOPROTOOPT): Likewise.
38079         [POSIX] (ENOSR): Likewise.
38080         [POSIX] (ENOSTR): Likewise.
38081         [POSIX] (ENOTCONN): Likewise.
38082         [POSIX] (ENOTSOCK): Likewise.
38083         [POSIX] (EOPNOTSUPP): Likewise.
38084         [POSIX] (EOVERFLOW): Likewise.
38085         [POSIX] (EPROTO): Likewise.
38086         [POSIX] (EPROTONOSUPPORT): Likewise.
38087         [POSIX] (EPROTOTYPE): Likewise.
38088         [POSIX] (ESTALE): Likewise.
38089         [POSIX] (ETIME): Likewise.
38090         [POSIX] (ETXTBSY): Likewise.
38091         [POSIX] (EWOULDBLOCK): Likewise.
38092         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38093         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38094         [POSIX] (SEEK_CUR): Likewise.
38095         [POSIX] (SEEK_END): Likewise.
38096         [POSIX || UNIX98] (mode_t): Do not require.
38097         [POSIX] (off_t): Likewise.
38098         [POSIX] (pid_t): Likewise.
38099         [POSIX] (sys/stat.h): Do not allow header.
38100         [POSIX] (unistd.h): Likewise.
38101         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38102         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38103         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38104         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38105         require.
38106         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38107         sigevent): Specify elements.
38108         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38109         entry.
38110         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38111         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38113         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38114         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38115         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38116         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38117         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38118         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38119         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38120         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38121         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38122         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38123         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38124         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38125         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38126         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38127         Likewise.
38128         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38129         Likewise.
38130         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38131         Likewise.
38132         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38133         Likewise.
38134         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38135         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38136         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38137         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38138         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38139         Specify lower bound on value.
38140         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38141         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38142         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38143         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38144         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38145         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38146         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38147         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38148         value.
38149         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38150         as optional.
38151         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38152         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38153         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38154         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38155         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38156         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38157         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38158         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38159         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38160         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38161         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38162         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38163         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38164         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38165         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38166         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38167         entry.
38168         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38169         optional.
38170         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38171         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38172         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38173         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38174         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38175         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38176         Likewise.
38177         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38178         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38179         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38180         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38181         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38182         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38183         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38184         as optional.
38185         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38186         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38187         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38188         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38189         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38190         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38191         specify as optional.
38192         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38193         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38194         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38195         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38196         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38197         [XPG3] (NL_LANGMAX): Likewise.
38198         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38199         [POSIX || XPG3] (NL_NMAX): Likewise.
38200         [POSIX || XPG3] (NL_SETMAX): Likewise.
38201         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38202         [XPG3] (NZERO): Likewise.
38203         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38204         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38205         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38206         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38207         (REG_ERANGE): Expect.
38208         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38209         optional-constant.
38210         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38211         Use (void) in prototype.
38212         [POSIX] (*_t): Allow.
38213         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38214         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38215         (WRDE_BADVAL): Expect.
38217         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38218         expect.
38219         [XPG3 || XPG4] (O_RSYNC): Likewise.
38220         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38221         Likewise.
38222         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38223         [XPG3 || XPG4] (sigqueue): Likewise.
38224         [XPG3 || XPG4] (sigtimedwait): Likewise.
38225         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38226         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38227         [XPG3 || XPG4] (vsnprintf): Likewise.
38228         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38229         Likewise.
38230         [XPG3 || XPG4] (blksize_t): Likewise.
38231         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38232         Likewise.
38233         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38234         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38235         [XPG3 || XPG4] (struct itimerspec): Likewise.
38236         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38237         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38238         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38239         [XPG3 || XPG4] (clockid_t): Likewise.
38240         [XPG3 || XPG4] (timer_t): Likewise.
38241         [XPG3 || XPG4] (clock_getres): Likewise.
38242         [XPG3 || XPG4] (clock_gettime): Likewise.
38243         [XPG3 || XPG4] (clock_settime): Likewise.
38244         [XPG3 || XPG4] (nanosleep): Likewise.
38245         [XPG3 || XPG4] (timer_create): Likewise.
38246         [XPG3 || XPG4] (timer_delete): Likewise.
38247         [XPG3 || XPG4] (timer_gettime): Likewise.
38248         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38249         [XPG3 || XPG4] (timer_settime): Likewise.
38250         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38251         [XPG3 || XPG4] (getlogin_r): Likewise.
38252         [XPG3 || XPG4] (pread): Likewise.
38253         [XPG3 || XPG4] (pthread_atfork): Likewise.
38254         [XPG3 || XPG4] (pwrite): Likewise.
38256         [BZ #14835]
38257         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38258         <bits/siginfo.h>.
38260 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38262         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38263         finalizing MALLSTREAM.
38265         * sysdeps/mach/hurd/syncfs.c: New file.
38267 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38269         [BZ #14719]
38270         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38271         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38272         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38273         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38274         (_nss_dns_gethostbyname4_r): Likewise.
38275         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38276         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38278 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38280         [BZ #13763]
38281         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38283 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38285         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38286         * elf/cache.c (print_entry): Print ",AArch64" for
38287         FLAG_AARCH64_LIB64
38289         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38290         * elf/cache.c (print_entry): Print ",hard-float" for
38291         FLAG_ARM_LIBHF.
38293 2012-11-18  David S. Miller  <davem@davemloft.net>
38295         With help from Joseph Myers.
38296         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38297         cutoff to 2**-13.
38298         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38299         cutoff to 2**-25.
38300         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38301         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38302         small.
38303         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38304         * math/libm-test.inc (y0_test): New tests.
38305         (y1_test): New tests.
38306         * sysdeps/i386/fpu/libm-test-ulps: Update.
38307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38310 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38312         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38313         64-bit targets.
38314         * configure: Regenerated.
38316 2012-11-17  David S. Miller  <davem@davemloft.net>
38318         [BZ #14811]
38319         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38320         nonzero exponents with absolute value below 0x1p-128 to +/-
38321         0x1p-128.
38323 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38325         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38327         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38329         * posix/getconf-speclist.c: New file.
38330         * posix/posix-envs.def: Likewise.
38331         * posix/confstr.c (START_ENV_GROUP): New macro.
38332         (END_ENV_GROUP): Likewise.
38333         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38334         (KNOWN_PRESENT_ENV_STRING): Likewise.
38335         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38336         (UNKNOWN_ENVIRONMENT): Likewise.
38337         (confstr): Include posix-envs.def instead of handling
38338         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38339         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38340         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38341         (END_ENV_GROUP): Likewise.
38342         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38343         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38344         (UNKNOWN_ENVIRONMENT): Likewise.
38345         (__sysconf): Include posix-envs.def instead of handling associated
38346         cases directly here.
38347         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38348         preprocessing getconf-speclist.c rather than running getconf or
38349         generating empty file.
38351 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38353         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38355 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38357         [BZ #14672]
38358         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38360 2012-11-16  David S. Miller  <davem@davemloft.net>
38362         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38363         smaller than LDBL_EPSILON/2.0L, just return xm1.
38365 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38367         * elf/tst-array1.c (init): Set constructor priority to 1000.
38368         (fini): Set destructor priority to 1000.
38369         * elf/tst-array2dep.c: Likewise.
38371 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38373         [BZ #11741]
38374         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38375         (_IO_new_file_xsputn): Also return EOF if none of the input
38376         data was written when overflow failed.
38377         * libio/iopadn.c (_IO_padn): Likewise.
38378         * libio/iowpadn.c (_IO_wpadn): Likewise.
38379         * stdio-common/tst-put-error.c: Add copyright notice.
38380         (do_test): Add case for printing padded string.
38381         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38382         _IO_padn returned error.
38383         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38384         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38385         return EOF.
38387 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38389         * libio/libioP.h: Add comment note that the references to C++
38390         bits are now obsolete.
38392 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38394         * math/libm-test.inc (check_complex): Use asprintf.
38396 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38398         * debug/pcprofiledump.c (print_version): Update copyright year.
38399         * malloc/memusagestat.c (print_version): Likewise.
38401 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38403         [BZ #14831]
38404         * elf/Makefile (tests): Add tst-audit8.
38405         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38406         ($(objpfx)tst-audit8.out): New target.
38407         (tst-audit8-ENV): New variable.
38408         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38409         audit if l_reloc_result is NULL.
38410         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38411         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38412         * elf/tst-audit8.c: New file.
38414 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38416         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38417         * misc/Makefile (CFLAGS-select.c): Define.
38418         * posix/Makefile (CFLAGS-pause.c): Define.
38420 2012-11-13  David S. Miller  <davem@davemloft.net>
38422         * crypt/Makefile: Move test targets after toplevel Rules
38423         inclusion.  Grab any necessary sysdep routines when linking.
38424         * crypt/md5.c (md5_process_block): Remove define, we will always
38425         name it __md5_process_block.
38426         (md5_finish_ctx): Update md5_process_block call.
38427         (md5_stream): Likewise.
38428         (md5_process_bytes): Likewise.
38429         (md5_process_block): Rename to __md5_process_block and move to ...
38430         * crypt/md5-block.c: ... here.
38431         * crypt/sha256.c (sha256_process_block): Move to ...
38432         * crypt/sha256-block.c: ... here.
38433         * crypt/sha512.c (sha512_process_block): Move to ...
38434         * crypt/sha512-block.c: ... here.
38435         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38436         path.
38437         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38438         * sysdeps/sparc/sparc64/multiarch/Makefile
38439         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38440         crypt subdir.
38441         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38442         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38443         multiarch changes.
38444         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38445         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38446         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38447         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38448         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38449         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38450         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38451         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38452         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38453         file.
38454         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38455         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38456         file.
38457         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38459 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38461         * timezone/tzselect.ksh: Update from tzcode git revision
38462         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38463         * timezone/zdump.c: Likewise.
38464         * timezone/zic.c: Likewise.
38465         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38466         in TZVERSION setting, not $(PKGVERSION).
38467         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38468         REPORT_BUGS_TO settings.
38470         [BZ #14838]
38471         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38472         macro.
38474 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38476         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38477         detection to immediately after _FP_ROUND().
38478         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38479         bits are 0.
38481 2012-11-11  David S. Miller  <davem@davemloft.net>
38483         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38484         inttypes.h
38485         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38486         __close rather than their public counterparts.
38488 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38490         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38491         file.
38492         [UNIX98] (sem_timedwait): Do not expect.
38493         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38494         [XPG4 || UNIX98] (sockatmark): Do not expect.
38495         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38496         (clock_getcpuclockid): Do not expect.
38497         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38498         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38499         Do not expect.
38500         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38501         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38502         [UNIX98] (vwscanf): Likewise.
38503         [UNIX98] (vswscanf): Likewise.
38505 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38507         * timezone/version.h: Remove file.
38508         * timezone/README: Do not refer to version.h.
38509         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38510         $(objpfx)version.h.
38511         ($(objpfx)zdump.o): Likewise.
38512         ($(objpfx)version.h): New target.
38514         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38515         2012i.
38516         * timezone/README: Don't mention modification to tzselect.ksh.
38517         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38518         work on unmodified tzselect.ksh.  Substitute version numbers in
38519         tzselect.ksh.
38521         * Makefile (format-me): Remove.
38522         (INSTALL): Adjust indentation.  Use commands directly instead of
38523         using $(format-me).
38525         * aclocal.m4 (ACX_PKGVERSION): New macro.
38526         (ACX_BUGURL): Likewise.
38527         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38528         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38529         (REPORT_BUGS_TO): Likewise.
38530         * configure: Regenerated.
38531         * config.h.in (PKGVERSION): New macro.
38532         (REPORT_BUGS_TO): Likewise.
38533         * config.make.in (PKGVERSION): New variable.
38534         (PKGVERSION_TEXI): Likewise.
38535         (REPORT_BUGS_TO): Likewise.
38536         (REPORT_BUGS_TEXI): Likewise.
38537         * Makefile (format-me): Use -I$(common-objpfx)manual.
38538         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38539         ($(common-objpfx)manual/%): New target.
38540         (manual/%): Remove target.
38541         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38542         (print_version): Use PKGVERSION.
38543         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38544         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38545         and REPORT_BUGS_TO.
38546         ($(objpfx)xtrace): Likewise.
38547         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38548         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38549         (print_version): Use PKGVERSION.
38550         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38551         (do_version): Use PKGVERSION.
38552         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38553         REPORT_BUGS_TO.
38554         (common-ldd-rewrite): Likewise.
38555         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38556         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38557         (print_version): Use PKGVERSION.
38558         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38559         * elf/pldd.c (argp_program_bug_address): Remove variable.
38560         (more_help): New function.
38561         (argp): Use more_help.
38562         (print_version): Use PKGVERSION.
38563         * elf/sln.c (main): Use PKGVERSION.
38564         (usage): Use REPORT_BUGS_TO.
38565         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38566         (top level): Use PKGVERSION.
38567         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38568         (print_version): Use PKGVERSION.
38569         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38570         (print_version): Use PKGVERSION.
38571         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38572         (print_version): Use PKGVERSION.
38573         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38574         (print_version): Use PKGVERSION.
38575         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38576         (print_version): Use PKGVERSION.
38577         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38578         (print_version): Use PKGVERSION.
38579         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38580         and BUGURL.
38581         ($(objpfx)memusage): Likewise.
38582         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38583         (do_version): Use PKGVERSION.
38584         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38585         (print_version): Use PKGVERSION.
38586         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38587         ($PKGVERSION): New variable.
38588         ($REPORT_BUGS_TO): Likewise.
38589         (usage): Use $REPORT_BUGS_TO.
38590         (top level): Use $PKGVERSION.
38591         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38592         ($(objpfx)pkgvers.texi): New rule.
38593         ($(objpfx)stamp-pkgvers): Likewise.
38594         * manual/install.texi: Include pkgvers.texi.
38595         (--with-pkgversion): Document new configure option.
38596         (--with-bugurl): Likewise.
38597         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38598         than necessarily for this particular distribution.  Use
38599         REPORT_BUGS_TO for where to report bugs.
38600         * INSTALL: Regenerated.
38601         * manual/libc.texinfo: Include pkgvers.texi.
38602         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38603         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38604         (print_version): Use PKGVERSION.
38605         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38606         (print_version): Use PKGVERSION.
38607         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38608         (print_version): Use PKGVERSION.
38609         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38610         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38611         macro.
38612         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38613         (print_version): Use PKGVERSION.
38614         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38615         (print_version): Use PKGVERSION.
38616         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38617         and PKGVERSION.
38619         * timezone/checktab.awk: Update from tzcode 2012i.
38620         * timezone/ialloc.c: Likewise.
38621         * timezone/private.h: Likewise.
38622         * timezone/scheck.c: Likewise.
38623         * timezone/tzfile.h: Likewise.
38624         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38625         (TZVERSION): Hardcode tzcode version number.
38626         * timezone/zdump.c: Update from tzcode 2012i.
38627         * timezone/zic.c: Likewise.
38628         * timezone/version.h: New file.
38629         * timezone/README: Describe version.h.  Update upstream location.
38631         [BZ #14824]
38632         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38633         (mktemp): Enable declaration.
38634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38635         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38637         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38638         Likewise.
38639         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38640         Likewise.
38641         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38642         Likewise.
38643         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38644         Likewise.
38645         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38646         Likewise.
38647         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38648         Likewise.
38650         [BZ #14821]
38651         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38652         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38653         for copies of such integer values.
38654         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38655         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38657 2012-11-09  Andreas Jaeger  <aj@suse.de>
38659         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38660         definitions and declarations that are provided by
38661         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38663 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38665         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38666         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38667         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38668         definition.
38670 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38672         * elf/elf.h: Update comment before AArch64 relocations.
38674 2012-11-07  David S. Miller  <davem@davemloft.net>
38676         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38677         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38678         (__start_context): Declare.
38679         (__makecontext_ret): Delete.
38680         (__makecontext): Hook up __start_context instead of
38681         __makecontext_ret.
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38683         (sysdep_routines): Add __start_context when in stdlib.
38685 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38687         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38688         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38689         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38690         hardcoded "nm".
38691         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38692         (READELF): New variable.  Use it instead of hardcoded "readelf".
38694 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38696         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38697         * sysdeps/x86/Makefile: Here.
38698         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38699         * sysdeps/x86/tst-xmmymm.sh: This.
38701 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38703         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38704         expectations.
38705         [UNIX98] (pthread_barrier_t): Do not expect.
38706         [UNIX98] (pthread_barrierattr_t): Likewise.
38707         [UNIX98] (pthread_spinlock_t): Likewise.
38708         [UNIX98] (pthread_barrier_destroy): Likewise.
38709         [UNIX98] (pthread_barrier_init): Likewise.
38710         [UNIX98] (pthread_barrier_wait): Likewise.
38711         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38712         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38713         [UNIX98] (pthread_barrierattr_init): Likewise.
38714         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38715         [UNIX98] (pthread_getcpuclockid): Likewise.
38716         [UNIX98] (pthread_mutex_timedlock): Likewise.
38717         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38718         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38719         [UNIX98] (pthread_sigmask): Likewise.
38720         [UNIX98] (pthread_spin_destroy): Likewise.
38721         [UNIX98] (pthread_spin_init): Likewise.
38722         [UNIX98] (pthread_spin_lock): Likewise.
38723         [UNIX98] (pthread_spin_trylock): Likewise.
38724         [UNIX98] (pthread_spin_unlock): Likewise.
38725         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38726         Do not expect.
38727         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38728         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38729         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38730         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38731         [XPG3 || XPG4] (pthread_key_t): Likewise.
38732         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38733         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38734         [XPG3 || XPG4] (pthread_once_t): Likewise.
38735         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38736         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38737         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38738         [XPG3 || XPG4] (pthread_t): Likewise.
38740         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38741         not expect.
38742         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38744         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38745         Change function return type to int.
38747         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38748         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38749         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38750         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38751         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38752         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38753         [!POSIX] (posix_madvise): Likewise.
38754         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38755         && !UNIX98].
38756         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38757         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38758         (mode_t): Likewise.
38759         (posix_mem_offset): Likewise.
38760         (posix_typed_mem_get_info): Likewise.
38761         (posix_typed_mem_open): Likewise.
38763         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38764         Change condition to [XOPEN2K8].
38766         * conform/conformtest.pl: Preprocess allow-header data with -x c
38767         instead of from stdin.
38768         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38769         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38770         [C99-based standards] (cerfc): Likewise.
38771         [C99-based standards] (cexp2): Likewise.
38772         [C99-based standards] (cexpm1): Likewise.
38773         [C99-based standards] (clog10): Likewise.
38774         [C99-based standards] (clog1p): Likewise.
38775         [C99-based standards] (clog2): Likewise.
38776         [C99-based standards] (clgamma): Likewise.
38777         [C99-based standards] (ctgamma): Likewise.
38778         [C99-based standards] (cerff): Likewise.
38779         [C99-based standards] (cerfcf): Likewise.
38780         [C99-based standards] (cexp2f): Likewise.
38781         [C99-based standards] (cexpm1f): Likewise.
38782         [C99-based standards] (clog10f): Likewise.
38783         [C99-based standards] (clog1pf): Likewise.
38784         [C99-based standards] (clog2f): Likewise.
38785         [C99-based standards] (clgammaf): Likewise.
38786         [C99-based standards] (ctgammaf): Likewise.
38787         [C99-based standards] (cerfl): Likewise.
38788         [C99-based standards] (cerfcl): Likewise.
38789         [C99-based standards] (cexp2l): Likewise.
38790         [C99-based standards] (cexpm1l): Likewise.
38791         [C99-based standards] (clog10l): Likewise.
38792         [C99-based standards] (clog1pl): Likewise.
38793         [C99-based standards] (clog2l): Likewise.
38794         [C99-based standards] (clgammal): Likewise.
38795         [C99-based standards] (ctgammal): Likewise.
38796         * conform/data/inttypes.h-data [C99-based standards]: Include
38797         stdint.h-data.  Remove all expectations for stdint.h contents.
38798         [C99-based standards] (PRI*): Do not allow.
38799         [C99-based standards] (SCN*): Likewise.
38800         [C99-based standards] (*_t): Likewise.
38801         [C99-based-standards] (PRId8): Expect macro.
38802         [C99-based-standards] (PRIi8): Likewise.
38803         [C99-based-standards] (PRIo8): Likewise.
38804         [C99-based-standards] (PRIu8): Likewise.
38805         [C99-based-standards] (PRIx8): Likewise.
38806         [C99-based-standards] (PRIX8): Likewise.
38807         [C99-based-standards] (SCNd8): Likewise.
38808         [C99-based-standards] (SCNi8): Likewise.
38809         [C99-based-standards] (SCNo8): Likewise.
38810         [C99-based-standards] (SCNu8): Likewise.
38811         [C99-based-standards] (SCNx8): Likewise.
38812         [C99-based-standards] (PRIdLEAST8): Likewise.
38813         [C99-based-standards] (PRIiLEAST8): Likewise.
38814         [C99-based-standards] (PRIoLEAST8): Likewise.
38815         [C99-based-standards] (PRIuLEAST8): Likewise.
38816         [C99-based-standards] (PRIxLEAST8): Likewise.
38817         [C99-based-standards] (PRIXLEAST8): Likewise.
38818         [C99-based-standards] (SCNdLEAST8): Likewise.
38819         [C99-based-standards] (SCNiLEAST8): Likewise.
38820         [C99-based-standards] (SCNoLEAST8): Likewise.
38821         [C99-based-standards] (SCNuLEAST8): Likewise.
38822         [C99-based-standards] (SCNxLEAST8): Likewise.
38823         [C99-based-standards] (PRIdFAST8): Likewise.
38824         [C99-based-standards] (PRIiFAST8): Likewise.
38825         [C99-based-standards] (PRIoFAST8): Likewise.
38826         [C99-based-standards] (PRIuFAST8): Likewise.
38827         [C99-based-standards] (PRIxFAST8): Likewise.
38828         [C99-based-standards] (PRIXFAST8): Likewise.
38829         [C99-based-standards] (SCNdFAST8): Likewise.
38830         [C99-based-standards] (SCNiFAST8): Likewise.
38831         [C99-based-standards] (SCNoFAST8): Likewise.
38832         [C99-based-standards] (SCNuFAST8): Likewise.
38833         [C99-based-standards] (SCNxFAST8): Likewise.
38834         [C99-based-standards] (PRId16): Likewise.
38835         [C99-based-standards] (PRIi16): Likewise.
38836         [C99-based-standards] (PRIo16): Likewise.
38837         [C99-based-standards] (PRIu16): Likewise.
38838         [C99-based-standards] (PRIx16): Likewise.
38839         [C99-based-standards] (PRIX16): Likewise.
38840         [C99-based-standards] (SCNd16): Likewise.
38841         [C99-based-standards] (SCNi16): Likewise.
38842         [C99-based-standards] (SCNo16): Likewise.
38843         [C99-based-standards] (SCNu16): Likewise.
38844         [C99-based-standards] (SCNx16): Likewise.
38845         [C99-based-standards] (PRIdLEAST16): Likewise.
38846         [C99-based-standards] (PRIiLEAST16): Likewise.
38847         [C99-based-standards] (PRIoLEAST16): Likewise.
38848         [C99-based-standards] (PRIuLEAST16): Likewise.
38849         [C99-based-standards] (PRIxLEAST16): Likewise.
38850         [C99-based-standards] (PRIXLEAST16): Likewise.
38851         [C99-based-standards] (SCNdLEAST16): Likewise.
38852         [C99-based-standards] (SCNiLEAST16): Likewise.
38853         [C99-based-standards] (SCNoLEAST16): Likewise.
38854         [C99-based-standards] (SCNuLEAST16): Likewise.
38855         [C99-based-standards] (SCNxLEAST16): Likewise.
38856         [C99-based-standards] (PRIdFAST16): Likewise.
38857         [C99-based-standards] (PRIiFAST16): Likewise.
38858         [C99-based-standards] (PRIoFAST16): Likewise.
38859         [C99-based-standards] (PRIuFAST16): Likewise.
38860         [C99-based-standards] (PRIxFAST16): Likewise.
38861         [C99-based-standards] (PRIXFAST16): Likewise.
38862         [C99-based-standards] (SCNdFAST16): Likewise.
38863         [C99-based-standards] (SCNiFAST16): Likewise.
38864         [C99-based-standards] (SCNoFAST16): Likewise.
38865         [C99-based-standards] (SCNuFAST16): Likewise.
38866         [C99-based-standards] (SCNxFAST16): Likewise.
38867         [C99-based-standards] (PRId32): Likewise.
38868         [C99-based-standards] (PRIi32): Likewise.
38869         [C99-based-standards] (PRIo32): Likewise.
38870         [C99-based-standards] (PRIu32): Likewise.
38871         [C99-based-standards] (PRIx32): Likewise.
38872         [C99-based-standards] (PRIX32): Likewise.
38873         [C99-based-standards] (SCNd32): Likewise.
38874         [C99-based-standards] (SCNi32): Likewise.
38875         [C99-based-standards] (SCNo32): Likewise.
38876         [C99-based-standards] (SCNu32): Likewise.
38877         [C99-based-standards] (SCNx32): Likewise.
38878         [C99-based-standards] (PRIdLEAST32): Likewise.
38879         [C99-based-standards] (PRIiLEAST32): Likewise.
38880         [C99-based-standards] (PRIoLEAST32): Likewise.
38881         [C99-based-standards] (PRIuLEAST32): Likewise.
38882         [C99-based-standards] (PRIxLEAST32): Likewise.
38883         [C99-based-standards] (PRIXLEAST32): Likewise.
38884         [C99-based-standards] (SCNdLEAST32): Likewise.
38885         [C99-based-standards] (SCNiLEAST32): Likewise.
38886         [C99-based-standards] (SCNoLEAST32): Likewise.
38887         [C99-based-standards] (SCNuLEAST32): Likewise.
38888         [C99-based-standards] (SCNxLEAST32): Likewise.
38889         [C99-based-standards] (PRIdFAST32): Likewise.
38890         [C99-based-standards] (PRIiFAST32): Likewise.
38891         [C99-based-standards] (PRIoFAST32): Likewise.
38892         [C99-based-standards] (PRIuFAST32): Likewise.
38893         [C99-based-standards] (PRIxFAST32): Likewise.
38894         [C99-based-standards] (PRIXFAST32): Likewise.
38895         [C99-based-standards] (SCNdFAST32): Likewise.
38896         [C99-based-standards] (SCNiFAST32): Likewise.
38897         [C99-based-standards] (SCNoFAST32): Likewise.
38898         [C99-based-standards] (SCNuFAST32): Likewise.
38899         [C99-based-standards] (SCNxFAST32): Likewise.
38900         [C99-based-standards] (PRId64): Likewise.
38901         [C99-based-standards] (PRIi64): Likewise.
38902         [C99-based-standards] (PRIo64): Likewise.
38903         [C99-based-standards] (PRIu64): Likewise.
38904         [C99-based-standards] (PRIx64): Likewise.
38905         [C99-based-standards] (PRIX64): Likewise.
38906         [C99-based-standards] (SCNd64): Likewise.
38907         [C99-based-standards] (SCNi64): Likewise.
38908         [C99-based-standards] (SCNo64): Likewise.
38909         [C99-based-standards] (SCNu64): Likewise.
38910         [C99-based-standards] (SCNx64): Likewise.
38911         [C99-based-standards] (PRIdLEAST64): Likewise.
38912         [C99-based-standards] (PRIiLEAST64): Likewise.
38913         [C99-based-standards] (PRIoLEAST64): Likewise.
38914         [C99-based-standards] (PRIuLEAST64): Likewise.
38915         [C99-based-standards] (PRIxLEAST64): Likewise.
38916         [C99-based-standards] (PRIXLEAST64): Likewise.
38917         [C99-based-standards] (SCNdLEAST64): Likewise.
38918         [C99-based-standards] (SCNiLEAST64): Likewise.
38919         [C99-based-standards] (SCNoLEAST64): Likewise.
38920         [C99-based-standards] (SCNuLEAST64): Likewise.
38921         [C99-based-standards] (SCNxLEAST64): Likewise.
38922         [C99-based-standards] (PRIdFAST64): Likewise.
38923         [C99-based-standards] (PRIiFAST64): Likewise.
38924         [C99-based-standards] (PRIoFAST64): Likewise.
38925         [C99-based-standards] (PRIuFAST64): Likewise.
38926         [C99-based-standards] (PRIxFAST64): Likewise.
38927         [C99-based-standards] (PRIXFAST64): Likewise.
38928         [C99-based-standards] (SCNdFAST64): Likewise.
38929         [C99-based-standards] (SCNiFAST64): Likewise.
38930         [C99-based-standards] (SCNoFAST64): Likewise.
38931         [C99-based-standards] (SCNuFAST64): Likewise.
38932         [C99-based-standards] (SCNxFAST64): Likewise.
38933         [C99-based-standards] (PRIdMAX): Likewise.
38934         [C99-based-standards] (PRIiMAX): Likewise.
38935         [C99-based-standards] (PRIoMAX): Likewise.
38936         [C99-based-standards] (PRIuMAX): Likewise.
38937         [C99-based-standards] (PRIxMAX): Likewise.
38938         [C99-based-standards] (PRIXMAX): Likewise.
38939         [C99-based-standards] (SCNdMAX): Likewise.
38940         [C99-based-standards] (SCNiMAX): Likewise.
38941         [C99-based-standards] (SCNoMAX): Likewise.
38942         [C99-based-standards] (SCNuMAX): Likewise.
38943         [C99-based-standards] (SCNxMAX): Likewise.
38944         [C99-based-standards] (PRIdPTR): Likewise.
38945         [C99-based-standards] (PRIiPTR): Likewise.
38946         [C99-based-standards] (PRIoPTR): Likewise.
38947         [C99-based-standards] (PRIuPTR): Likewise.
38948         [C99-based-standards] (PRIxPTR): Likewise.
38949         [C99-based-standards] (PRIXPTR): Likewise.
38950         [C99-based-standards] (SCNdPTR): Likewise.
38951         [C99-based-standards] (SCNiPTR): Likewise.
38952         [C99-based-standards] (SCNoPTR): Likewise.
38953         [C99-based-standards] (SCNuPTR): Likewise.
38954         [C99-based-standards] (SCNxPTR): Likewise.
38955         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38956         allow.
38957         * conform/data/stdint.h-data: Update comments to clarify
38958         requirements.
38959         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
38960         type.
38961         [C99-based standards] (INT8_MAX): Likewise.
38962         [C99-based standards] (INT16_MIN): Likewise.
38963         [C99-based standards] (INT16_MAX): Likewise.
38964         [C99-based standards] (INT32_MIN): Likewise.
38965         [C99-based standards] (INT32_MAX): Likewise.
38966         [C99-based standards] (INT64_MIN): Likewise.
38967         [C99-based standards] (INT64_MAX): Likewise.
38968         [C99-based standards] (UINT8_MAX): Likewise.
38969         [C99-based standards] (UINT16_MAX): Likewise.
38970         [C99-based standards] (UINT32_MAX): Likewise.
38971         [C99-based standards] (UINT64_MAX): Likewise.
38972         [C99-based standards] (INT_LEAST8_MIN): Likewise.
38973         [C99-based standards] (INT_LEAST8_MAX): Likewise.
38974         [C99-based standards] (INT_LEAST16_MIN): Likewise.
38975         [C99-based standards] (INT_LEAST16_MAX): Likewise.
38976         [C99-based standards] (INT_LEAST32_MIN): Likewise.
38977         [C99-based standards] (INT_LEAST32_MAX): Likewise.
38978         [C99-based standards] (INT_LEAST64_MIN): Likewise.
38979         [C99-based standards] (INT_LEAST64_MAX): Likewise.
38980         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38981         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38982         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38983         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38984         [C99-based standards] (INT_FAST8_MIN): Likewise.
38985         [C99-based standards] (INT_FAST8_MAX): Likewise.
38986         [C99-based standards] (INT_FAST16_MIN): Likewise.
38987         [C99-based standards] (INT_FAST16_MAX): Likewise.
38988         [C99-based standards] (INT_FAST32_MIN): Likewise.
38989         [C99-based standards] (INT_FAST32_MAX): Likewise.
38990         [C99-based standards] (INT_FAST64_MIN): Likewise.
38991         [C99-based standards] (INT_FAST64_MAX): Likewise.
38992         [C99-based standards] (UINT_FAST8_MAX): Likewise.
38993         [C99-based standards] (UINT_FAST16_MAX): Likewise.
38994         [C99-based standards] (UINT_FAST32_MAX): Likewise.
38995         [C99-based standards] (UINT_FAST64_MAX): Likewise.
38996         [C99-based standards] (INTPTR_MIN): Likewise.
38997         [C99-based standards] (INTPTR_MAX): Likewise.
38998         [C99-based standards] (UINTPTR_MAX): Likewise.
38999         [C99-based standards] (INTMAX_MIN): Likewise.
39000         [C99-based standards] (INTMAX_MAX): Likewise.
39001         [C99-based standards] (UINTMAX_MAX): Likewise.
39002         [C99-based standards] (PTRDIFF_MIN): Likewise.
39003         [C99-based standards] (PTRDIFF_MAX): Likewise.
39004         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39005         [C99-based standards] (SIZE_MAX): Likewise.
39006         [C99-based standards] (WCHAR_MAX): Likewise.
39007         [C99-based standards] (WINT_MAX): Likewise.
39008         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39009         constraint on value.
39010         [C99-based standards] (WCHAR_MIN): Likewise.
39011         [C99-based standards] (WINT_MIN): Likewise.
39012         [C99-based standards] (*_t): Allow.
39013         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39014         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39015         Include math.h-data and complex.h-data.  Remove all expectations
39016         of math.h and complex.h contents.
39017         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39018         at end of line.
39019         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39020         (struct tm): Expect tag.
39021         [C99-based-standards] (wcstof): Expect function.
39022         [C99-based-standards] (wcstold): Likewise.
39023         [C99-based-standards] (wcstoll): Likewise.
39024         [C99-based-standards] (wcstoull): Likewise.
39025         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39026         macro-int-constant.  Specify type.
39027         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39028         constraint on value.
39029         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39030         Specify type.
39031         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39032         Specify value.
39033         [ISO C standards]: Do not allow headers.
39034         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39035         wcs[abcdefghijklmnopqrstuvwxyz]*.
39036         [ISO C standards] (*_t): Do not allow.
39037         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39038         Expect function.
39039         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39040         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39041         Specify type.
39042         [ISO C standards]: Do not allow headers.
39043         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39044         is[abcdefghijklmnopqrstuvwxyz]*.
39045         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39046         to[abcdefghijklmnopqrstuvwxyz]*.
39047         [ISO C standards] (*_t): Do not allow.
39048         * conform/data/stdalign.h-data: New file.
39049         * conform/data/stdbool.h-data: Likewise.
39050         * conform/data/stdnoreturn.h-data: Likewise.
39052 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39054         [BZ #14815]
39055         * manual/filesys.texi (Directory Entries): Typo fix.
39056         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39058 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39060         * elf/elf.h (EM_AARCH64): New macro.
39061         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39062         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39063         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39064         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39065         (R_AARCH64_TLSDESC): Likewise.
39066         (NT_ARM_TLS): Likewise.
39067         (NT_ARM_HW_BREAK): Likewise.
39068         (NT_ARM_HW_WATCH): Likewise.
39070 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39072         [BZ #14811]
39073         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39074         (__ieee754_powl): Saturate nonzero exponents with absolute value
39075         below 0x1p-79 to +/- 0x1p-79.
39076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39077         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39078         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39079         nonzero exponents with absolute value below 0x1p-32 to +/-
39080         0x1p-32.
39081         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39082         (__ieee754_powl): Saturate nonzero exponents with absolute value
39083         below 0x1p-79 to +/- 0x1p-79.
39084         * math/libm-test.inc (pow_test): Add more tests.
39086 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39088         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39089         _dl_s390_cap_flags with kernel. Increase string length.
39090         (_dl_s390_platforms): Add z196 and zEC12.
39092 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39094         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39095         Change XOPEN21K to XOPEN2K.
39097 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39099         * string/memmove.c: Use memcpy when possible.
39101 2012-11-06  Andreas Jaeger  <aj@suse.de>
39103         * po/eo.po: Update from translation team.
39105 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39107         [BZ #14793]
39108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39109         exponent and small x and y exponents, scale x or y up.  Increase
39110         by 2 the exponent used in scaling up.
39111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39112         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39113         * math/libm-test.inc (fma_test): Add more tests.
39114         (fma_test_towardzero): Likewise.
39115         (fma_test_downward): Likewise.
39116         (fma_test_upward): Likewise.
39118 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39120         [BZ #14805]
39121         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39122         fenv_t *.
39124         [BZ #14801]
39125         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39126         namespace for names of struct fields.
39127         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39128         fenv_t fields.
39129         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39130         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39132 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39134         [BZ #3665]
39135         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39137 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39139         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39140         PTR_DEMANGLE.
39142         [BZ #5246]
39143         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39144         PTR_DEMANGLE.
39146 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39148         [BZ #14797]
39149         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39150         definitely overflow as x * y not x * y + z.
39151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39152         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39153         * math/libm-test.inc (fma_test): Add more tests.
39154         (fma_test_towardzero): Likewise.
39155         (fma_test_downward): Likewise.
39156         (fma_test_upward): Likewise.
39158 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39160         [BZ #157]
39162         * include/stub-tag.h: Remove file.
39163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39164         '#include' of it.
39165         * manual/maint.texi (Porting): Don't reference it.
39166         * Makerules ($(objpfx)stubs): Likewise.
39167         * dirent/closedir.c: Don't include <stub-tag.h>.
39168         * dirent/dirfd.c: Likewise.
39169         * dirent/fdopendir.c: Likewise.
39170         * dirent/getdents.c: Likewise.
39171         * dirent/getdents64.c: Likewise.
39172         * dirent/opendir.c: Likewise.
39173         * dirent/readdir.c: Likewise.
39174         * dirent/readdir64.c: Likewise.
39175         * dirent/readdir64_r.c: Likewise.
39176         * dirent/readdir_r.c: Likewise.
39177         * dirent/rewinddir.c: Likewise.
39178         * dirent/seekdir.c: Likewise.
39179         * dirent/telldir.c: Likewise.
39180         * gmon/profil.c: Likewise.
39181         * grp/setgroups.c: Likewise.
39182         * inet/if_index.c: Likewise.
39183         * io/access.c: Likewise.
39184         * io/chdir.c: Likewise.
39185         * io/chmod.c: Likewise.
39186         * io/chown.c: Likewise.
39187         * io/close.c: Likewise.
39188         * io/dup.c: Likewise.
39189         * io/dup2.c: Likewise.
39190         * io/dup3.c: Likewise.
39191         * io/euidaccess.c: Likewise.
39192         * io/faccessat.c: Likewise.
39193         * io/fchdir.c: Likewise.
39194         * io/fchmod.c: Likewise.
39195         * io/fchmodat.c: Likewise.
39196         * io/fchown.c: Likewise.
39197         * io/fchownat.c: Likewise.
39198         * io/fcntl.c: Likewise.
39199         * io/flock.c: Likewise.
39200         * io/fstatfs.c: Likewise.
39201         * io/fstatfs64.c: Likewise.
39202         * io/fstatvfs.c: Likewise.
39203         * io/fstatvfs64.c: Likewise.
39204         * io/futimens.c: Likewise.
39205         * io/fxstat.c: Likewise.
39206         * io/fxstat64.c: Likewise.
39207         * io/fxstatat.c: Likewise.
39208         * io/fxstatat64.c: Likewise.
39209         * io/getcwd.c: Likewise.
39210         * io/isatty.c: Likewise.
39211         * io/lchmod.c: Likewise.
39212         * io/lchown.c: Likewise.
39213         * io/link.c: Likewise.
39214         * io/linkat.c: Likewise.
39215         * io/lseek.c: Likewise.
39216         * io/lseek64.c: Likewise.
39217         * io/lxstat64.c: Likewise.
39218         * io/mkdir.c: Likewise.
39219         * io/mkdirat.c: Likewise.
39220         * io/mkfifo.c: Likewise.
39221         * io/mkfifoat.c: Likewise.
39222         * io/open.c: Likewise.
39223         * io/open64.c: Likewise.
39224         * io/openat.c: Likewise.
39225         * io/openat64.c: Likewise.
39226         * io/pipe.c: Likewise.
39227         * io/pipe2.c: Likewise.
39228         * io/poll.c: Likewise.
39229         * io/posix_fadvise.c: Likewise.
39230         * io/posix_fadvise64.c: Likewise.
39231         * io/posix_fallocate.c: Likewise.
39232         * io/posix_fallocate64.c: Likewise.
39233         * io/read.c: Likewise.
39234         * io/readlink.c: Likewise.
39235         * io/readlinkat.c: Likewise.
39236         * io/rmdir.c: Likewise.
39237         * io/sendfile.c: Likewise.
39238         * io/sendfile64.c: Likewise.
39239         * io/statfs.c: Likewise.
39240         * io/statfs64.c: Likewise.
39241         * io/statvfs.c: Likewise.
39242         * io/statvfs64.c: Likewise.
39243         * io/symlink.c: Likewise.
39244         * io/symlinkat.c: Likewise.
39245         * io/ttyname.c: Likewise.
39246         * io/ttyname_r.c: Likewise.
39247         * io/umask.c: Likewise.
39248         * io/unlink.c: Likewise.
39249         * io/unlinkat.c: Likewise.
39250         * io/utime.c: Likewise.
39251         * io/utimensat.c: Likewise.
39252         * io/write.c: Likewise.
39253         * io/xmknod.c: Likewise.
39254         * io/xmknodat.c: Likewise.
39255         * io/xstat.c: Likewise.
39256         * io/xstat64.c: Likewise.
39257         * login/getpt.c: Likewise.
39258         * login/grantpt.c: Likewise.
39259         * login/unlockpt.c: Likewise.
39260         * math/e_acoshl.c: Likewise.
39261         * math/e_acosl.c: Likewise.
39262         * math/e_asinl.c: Likewise.
39263         * math/e_atan2l.c: Likewise.
39264         * math/e_atanhl.c: Likewise.
39265         * math/e_coshl.c: Likewise.
39266         * math/e_expl.c: Likewise.
39267         * math/e_fmodl.c: Likewise.
39268         * math/e_gammal_r.c: Likewise.
39269         * math/e_hypotl.c: Likewise.
39270         * math/e_j0l.c: Likewise.
39271         * math/e_j1l.c: Likewise.
39272         * math/e_jnl.c: Likewise.
39273         * math/e_lgammal_r.c: Likewise.
39274         * math/e_log10l.c: Likewise.
39275         * math/e_log2l.c: Likewise.
39276         * math/e_logl.c: Likewise.
39277         * math/e_powl.c: Likewise.
39278         * math/e_rem_pio2l.c: Likewise.
39279         * math/e_sinhl.c: Likewise.
39280         * math/e_sqrtl.c: Likewise.
39281         * math/fclrexcpt.c: Likewise.
39282         * math/fedisblxcpt.c: Likewise.
39283         * math/feenablxcpt.c: Likewise.
39284         * math/fegetenv.c: Likewise.
39285         * math/fegetexcept.c: Likewise.
39286         * math/fegetround.c: Likewise.
39287         * math/feholdexcpt.c: Likewise.
39288         * math/fesetenv.c: Likewise.
39289         * math/fesetround.c: Likewise.
39290         * math/feupdateenv.c: Likewise.
39291         * math/fgetexcptflg.c: Likewise.
39292         * math/fraiseexcpt.c: Likewise.
39293         * math/fsetexcptflg.c: Likewise.
39294         * math/ftestexcept.c: Likewise.
39295         * math/k_cosl.c: Likewise.
39296         * math/k_rem_pio2l.c: Likewise.
39297         * math/k_sinl.c: Likewise.
39298         * math/k_tanl.c: Likewise.
39299         * math/s_asinhl.c: Likewise.
39300         * math/s_atanl.c: Likewise.
39301         * math/s_cbrtl.c: Likewise.
39302         * math/s_erfl.c: Likewise.
39303         * math/s_expm1l.c: Likewise.
39304         * math/s_log1pl.c: Likewise.
39305         * math/s_tanhl.c: Likewise.
39306         * misc/acct.c: Likewise.
39307         * misc/brk.c: Likewise.
39308         * misc/chflags.c: Likewise.
39309         * misc/chroot.c: Likewise.
39310         * misc/fchflags.c: Likewise.
39311         * misc/fgetxattr.c: Likewise.
39312         * misc/flistxattr.c: Likewise.
39313         * misc/fremovexattr.c: Likewise.
39314         * misc/fsetxattr.c: Likewise.
39315         * misc/fsync.c: Likewise.
39316         * misc/ftruncate.c: Likewise.
39317         * misc/futimes.c: Likewise.
39318         * misc/futimesat.c: Likewise.
39319         * misc/getdomain.c: Likewise.
39320         * misc/getdtsz.c: Likewise.
39321         * misc/gethostid.c: Likewise.
39322         * misc/gethostname.c: Likewise.
39323         * misc/getloadavg.c: Likewise.
39324         * misc/getpagesize.c: Likewise.
39325         * misc/getsysstats.c: Likewise.
39326         * misc/getxattr.c: Likewise.
39327         * misc/gtty.c: Likewise.
39328         * misc/ioctl.c: Likewise.
39329         * misc/lgetxattr.c: Likewise.
39330         * misc/listxattr.c: Likewise.
39331         * misc/llistxattr.c: Likewise.
39332         * misc/lremovexattr.c: Likewise.
39333         * misc/lsetxattr.c: Likewise.
39334         * misc/lutimes.c: Likewise.
39335         * misc/madvise.c: Likewise.
39336         * misc/mincore.c: Likewise.
39337         * misc/mlock.c: Likewise.
39338         * misc/mlockall.c: Likewise.
39339         * misc/mmap.c: Likewise.
39340         * misc/mprotect.c: Likewise.
39341         * misc/msync.c: Likewise.
39342         * misc/munlock.c: Likewise.
39343         * misc/munlockall.c: Likewise.
39344         * misc/munmap.c: Likewise.
39345         * misc/preadv.c: Likewise.
39346         * misc/preadv64.c: Likewise.
39347         * misc/ptrace.c: Likewise.
39348         * misc/pwritev.c: Likewise.
39349         * misc/pwritev64.c: Likewise.
39350         * misc/readv.c: Likewise.
39351         * misc/reboot.c: Likewise.
39352         * misc/remap_file_pages.c: Likewise.
39353         * misc/removexattr.c: Likewise.
39354         * misc/revoke.c: Likewise.
39355         * misc/select.c: Likewise.
39356         * misc/setdomain.c: Likewise.
39357         * misc/setegid.c: Likewise.
39358         * misc/seteuid.c: Likewise.
39359         * misc/sethostid.c: Likewise.
39360         * misc/sethostname.c: Likewise.
39361         * misc/setregid.c: Likewise.
39362         * misc/setreuid.c: Likewise.
39363         * misc/setxattr.c: Likewise.
39364         * misc/sstk.c: Likewise.
39365         * misc/stty.c: Likewise.
39366         * misc/swapoff.c: Likewise.
39367         * misc/swapon.c: Likewise.
39368         * misc/sync.c: Likewise.
39369         * misc/syncfs.c: Likewise.
39370         * misc/syscall.c: Likewise.
39371         * misc/truncate.c: Likewise.
39372         * misc/ualarm.c: Likewise.
39373         * misc/usleep.c: Likewise.
39374         * misc/ustat.c: Likewise.
39375         * misc/utimes.c: Likewise.
39376         * misc/vhangup.c: Likewise.
39377         * misc/writev.c: Likewise.
39378         * posix/_exit.c: Likewise.
39379         * posix/alarm.c: Likewise.
39380         * posix/execve.c: Likewise.
39381         * posix/fexecve.c: Likewise.
39382         * posix/fork.c: Likewise.
39383         * posix/fpathconf.c: Likewise.
39384         * posix/getaddrinfo.c: Likewise.
39385         * posix/getegid.c: Likewise.
39386         * posix/geteuid.c: Likewise.
39387         * posix/getgid.c: Likewise.
39388         * posix/getgroups.c: Likewise.
39389         * posix/getlogin.c: Likewise.
39390         * posix/getlogin_r.c: Likewise.
39391         * posix/getpgid.c: Likewise.
39392         * posix/getpid.c: Likewise.
39393         * posix/getppid.c: Likewise.
39394         * posix/getresgid.c: Likewise.
39395         * posix/getresuid.c: Likewise.
39396         * posix/getsid.c: Likewise.
39397         * posix/getuid.c: Likewise.
39398         * posix/glob64.c: Likewise.
39399         * posix/nanosleep.c: Likewise.
39400         * posix/pathconf.c: Likewise.
39401         * posix/pause.c: Likewise.
39402         * posix/posix_madvise.c: Likewise.
39403         * posix/pread.c: Likewise.
39404         * posix/pread64.c: Likewise.
39405         * posix/pwrite.c: Likewise.
39406         * posix/pwrite64.c: Likewise.
39407         * posix/sched_getaffinity.c: Likewise.
39408         * posix/sched_getp.c: Likewise.
39409         * posix/sched_gets.c: Likewise.
39410         * posix/sched_primax.c: Likewise.
39411         * posix/sched_primin.c: Likewise.
39412         * posix/sched_rr_gi.c: Likewise.
39413         * posix/sched_setaffinity.c: Likewise.
39414         * posix/sched_setp.c: Likewise.
39415         * posix/sched_sets.c: Likewise.
39416         * posix/sched_yield.c: Likewise.
39417         * posix/setgid.c: Likewise.
39418         * posix/setlogin.c: Likewise.
39419         * posix/setpgid.c: Likewise.
39420         * posix/setresgid.c: Likewise.
39421         * posix/setresuid.c: Likewise.
39422         * posix/setsid.c: Likewise.
39423         * posix/setuid.c: Likewise.
39424         * posix/sleep.c: Likewise.
39425         * posix/spawni.c: Likewise.
39426         * posix/sysconf.c: Likewise.
39427         * posix/times.c: Likewise.
39428         * posix/wait.c: Likewise.
39429         * posix/wait3.c: Likewise.
39430         * posix/wait4.c: Likewise.
39431         * posix/waitpid.c: Likewise.
39432         * resolv/gai_sigqueue.c: Likewise.
39433         * resource/getpriority.c: Likewise.
39434         * resource/getrlimit.c: Likewise.
39435         * resource/getrusage.c: Likewise.
39436         * resource/nice.c: Likewise.
39437         * resource/setpriority.c: Likewise.
39438         * resource/setrlimit.c: Likewise.
39439         * resource/ulimit.c: Likewise.
39440         * rt/aio_cancel.c: Likewise.
39441         * rt/aio_fsync.c: Likewise.
39442         * rt/aio_read.c: Likewise.
39443         * rt/aio_sigqueue.c: Likewise.
39444         * rt/aio_suspend.c: Likewise.
39445         * rt/aio_write.c: Likewise.
39446         * rt/clock_getres.c: Likewise.
39447         * rt/clock_gettime.c: Likewise.
39448         * rt/clock_nanosleep.c: Likewise.
39449         * rt/clock_settime.c: Likewise.
39450         * rt/lio_listio.c: Likewise.
39451         * rt/mq_close.c: Likewise.
39452         * rt/mq_getattr.c: Likewise.
39453         * rt/mq_notify.c: Likewise.
39454         * rt/mq_open.c: Likewise.
39455         * rt/mq_receive.c: Likewise.
39456         * rt/mq_send.c: Likewise.
39457         * rt/mq_setattr.c: Likewise.
39458         * rt/mq_timedreceive.c: Likewise.
39459         * rt/mq_timedsend.c: Likewise.
39460         * rt/mq_unlink.c: Likewise.
39461         * rt/shm_open.c: Likewise.
39462         * rt/shm_unlink.c: Likewise.
39463         * rt/timer_create.c: Likewise.
39464         * rt/timer_delete.c: Likewise.
39465         * rt/timer_getoverr.c: Likewise.
39466         * rt/timer_gettime.c: Likewise.
39467         * rt/timer_settime.c: Likewise.
39468         * setjmp/__longjmp.c: Likewise.
39469         * setjmp/setjmp.c: Likewise.
39470         * signal/kill.c: Likewise.
39471         * signal/killpg.c: Likewise.
39472         * signal/raise.c: Likewise.
39473         * signal/sigaction.c: Likewise.
39474         * signal/sigaltstack.c: Likewise.
39475         * signal/sigblock.c: Likewise.
39476         * signal/sigignore.c: Likewise.
39477         * signal/sigintr.c: Likewise.
39478         * signal/signal.c: Likewise.
39479         * signal/sigpause.c: Likewise.
39480         * signal/sigpending.c: Likewise.
39481         * signal/sigqueue.c: Likewise.
39482         * signal/sigreturn.c: Likewise.
39483         * signal/sigset.c: Likewise.
39484         * signal/sigsetmask.c: Likewise.
39485         * signal/sigstack.c: Likewise.
39486         * signal/sigsuspend.c: Likewise.
39487         * signal/sigtimedwait.c: Likewise.
39488         * signal/sigvec.c: Likewise.
39489         * signal/sigwait.c: Likewise.
39490         * signal/sigwaitinfo.c: Likewise.
39491         * signal/sysv_signal.c: Likewise.
39492         * socket/accept.c: Likewise.
39493         * socket/accept4.c: Likewise.
39494         * socket/bind.c: Likewise.
39495         * socket/connect.c: Likewise.
39496         * socket/getpeername.c: Likewise.
39497         * socket/getsockname.c: Likewise.
39498         * socket/getsockopt.c: Likewise.
39499         * socket/isfdtype.c: Likewise.
39500         * socket/listen.c: Likewise.
39501         * socket/recv.c: Likewise.
39502         * socket/recvfrom.c: Likewise.
39503         * socket/recvmsg.c: Likewise.
39504         * socket/send.c: Likewise.
39505         * socket/sendmsg.c: Likewise.
39506         * socket/sendto.c: Likewise.
39507         * socket/setsockopt.c: Likewise.
39508         * socket/shutdown.c: Likewise.
39509         * socket/sockatmark.c: Likewise.
39510         * socket/socket.c: Likewise.
39511         * socket/socketpair.c: Likewise.
39512         * stdio-common/ctermid.c: Likewise.
39513         * stdio-common/cuserid.c: Likewise.
39514         * stdio-common/remove.c: Likewise.
39515         * stdio-common/rename.c: Likewise.
39516         * stdio-common/renameat.c: Likewise.
39517         * stdio-common/tempname.c: Likewise.
39518         * stdlib/getcontext.c: Likewise.
39519         * stdlib/makecontext.c: Likewise.
39520         * stdlib/setcontext.c: Likewise.
39521         * stdlib/swapcontext.c: Likewise.
39522         * stdlib/system.c: Likewise.
39523         * streams/fattach.c: Likewise.
39524         * streams/fdetach.c: Likewise.
39525         * streams/getmsg.c: Likewise.
39526         * streams/getpmsg.c: Likewise.
39527         * streams/putmsg.c: Likewise.
39528         * streams/putpmsg.c: Likewise.
39529         * sysdeps/unix/bsd/getpt.c: Likewise.
39530         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39531         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39532         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39534         Likewise.
39535         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39536         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39537         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39538         * sysvipc/msgctl.c: Likewise.
39539         * sysvipc/msgget.c: Likewise.
39540         * sysvipc/msgrcv.c: Likewise.
39541         * sysvipc/msgsnd.c: Likewise.
39542         * sysvipc/semctl.c: Likewise.
39543         * sysvipc/semget.c: Likewise.
39544         * sysvipc/semop.c: Likewise.
39545         * sysvipc/semtimedop.c: Likewise.
39546         * sysvipc/shmat.c: Likewise.
39547         * sysvipc/shmctl.c: Likewise.
39548         * sysvipc/shmdt.c: Likewise.
39549         * sysvipc/shmget.c: Likewise.
39550         * termios/tcdrain.c: Likewise.
39551         * termios/tcflow.c: Likewise.
39552         * termios/tcflush.c: Likewise.
39553         * termios/tcgetattr.c: Likewise.
39554         * termios/tcgetpgrp.c: Likewise.
39555         * termios/tcsendbrk.c: Likewise.
39556         * termios/tcsetattr.c: Likewise.
39557         * termios/tcsetpgrp.c: Likewise.
39558         * time/adjtime.c: Likewise.
39559         * time/clock.c: Likewise.
39560         * time/getitimer.c: Likewise.
39561         * time/gettimeofday.c: Likewise.
39562         * time/setitimer.c: Likewise.
39563         * time/settimeofday.c: Likewise.
39564         * time/stime.c: Likewise.
39565         * time/time.c: Likewise.
39567 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39569         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39570         /usr/old/bin.
39572         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39573         instead of spaces.
39574         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39576 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39578         [BZ #14796]
39579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39580         FE_TONEAREST before applying Dekker multiplication and Knuth
39581         addition.  Clear inexact exceptions and check for exact zero
39582         results afterwards.
39583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39584         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39586         * math/libm-test.inc (fma_test): Add more tests.
39587         (fma_test_towardzero): Likewise.
39588         (fma_test_downward): Likewise.
39589         (fma_test_upward): Likewise.
39590         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39591         function.
39592         (libc_fesetround): New macro.
39593         (libc_fesetroundf): Likewise.
39594         (libc_fesetroundl): Likewise.
39595         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39596         function.
39597         (libc_fesetround_387): Likewise.
39598         (libc_fesetroundf): New macro.
39599         (libc_fesetround): Likewise.
39600         (libc_fesetroundl): Likewise.
39601         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39602         function.
39603         (libc_fesetroundf): New macro.
39604         (libc_fesetround): Likewise.
39605         (libc_fesetroundl): Likewise.
39606         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39607         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39608         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39609         libm_hidden_ver.
39610         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39611         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39612         libm_hidden_def.
39613         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39614         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39615         libm_hidden_ver.
39616         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39617         libm_hidden_def.
39619         [BZ #3439]
39620         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39621         integer constant usable in #if and use that to give value to enum
39622         constant.
39623         (FE_DIVBYZERO): Likewise.
39624         (FE_UNDERFLOW): Likewise.
39625         (FE_OVERFLOW): Likewise.
39626         (FE_INVALID): Likewise.
39627         (FE_INVALID_SNAN): Likewise.
39628         (FE_INVALID_ISI): Likewise.
39629         (FE_INVALID_IDI): Likewise.
39630         (FE_INVALID_ZDZ): Likewise.
39631         (FE_INVALID_IMZ): Likewise.
39632         (FE_INVALID_COMPARE): Likewise.
39633         (FE_INVALID_SOFTWARE): Likewise.
39634         (FE_INVALID_SQRT): Likewise.
39635         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39636         (FE_TONEAREST): Likewise.
39637         (FE_TOWARDZERO): Likewise.
39638         (FE_UPWARD): Likewise.
39639         (FE_DOWNWARD): Likewise.
39640         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39641         (FE_DIVBYZERO): Likewise.
39642         (FE_OVERFLOW): Likewise.
39643         (FE_UNDERFLOW): Likewise.
39644         (FE_INEXACT): Likewise.
39645         (FE_TONEAREST): Likewise.
39646         (FE_DOWNWARD): Likewise.
39647         (FE_UPWARD): Likewise.
39648         (FE_TOWARDZERO): Likewise.
39649         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39650         (FE_UNDERFLOW): Likewise.
39651         (FE_OVERFLOW): Likewise.
39652         (FE_DIVBYZERO): Likewise.
39653         (FE_INVALID): Likewise.
39654         (FE_TONEAREST): Likewise.
39655         (FE_TOWARDZERO): Likewise.
39656         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39657         (FE_OVERFLOW): Likewise.
39658         (FE_UNDERFLOW): Likewise.
39659         (FE_DIVBYZERO): Likewise.
39660         (FE_INEXACT): Likewise.
39661         (FE_TONEAREST): Likewise.
39662         (FE_TOWARDZERO): Likewise.
39663         (FE_UPWARD): Likewise.
39664         (FE_DOWNWARD): Likewise.
39665         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39666         (FE_DIVBYZERO): Likewise.
39667         (FE_OVERFLOW): Likewise.
39668         (FE_UNDERFLOW): Likewise.
39669         (FE_INEXACT): Likewise.
39670         (FE_TONEAREST): Likewise.
39671         (FE_DOWNWARD): Likewise.
39672         (FE_UPWARD): Likewise.
39673         (FE_TOWARDZERO): Likewise.
39675 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39677         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39679 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39681         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39682         commands.  Quote $PWD.
39683         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39684         -x" by "export".
39685         (remove_newlines): Remove.
39687 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39689         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39690         * stdlib/stdlib.h (atof): Moved to ...
39691         * include/bits/stdlib-float.h: Here.  New file.
39692         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39693         * stdlib/bits/stdlib-float.h: New file.
39694         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39695         -mno-sse -mno-mmx.
39696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39697         <xmmintrin.h>.
39699 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39701         * conform/conformtest.pl (@headers): Add fenv.h.
39702         * conform/data/fenv.h-data: New file.
39703         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39704         include of <math/fenv.h>.
39706         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39707         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39708         && !UNIX98].  Enables tests for XOPEN2K8.
39709         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39710         POSIX2008]: Likewise.
39712         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39713         (struct rusage): Do not expect type or its members.
39715         [BZ #3439]
39716         * math/math.h (FP_NAN): Define macro to integer constant usable in
39717         #if and use that to give value to enum constant.
39718         (FP_INFINITE): Likewise.
39719         (FP_ZERO): Likewise.
39720         (FP_SUBNORMAL): Likewise.
39721         (FP_NORMAL): Likewise.
39723 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39725         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39726         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39727         arguments.
39729 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39731         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39732         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39733         autoconf-time if not.
39734         * configure.in: Remove AC_PREREQ.
39736 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39738         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39739         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39740         of the internal implementation.
39742 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39744         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39745         except include of <misc/sys/syslog.h>.
39747 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39750         function returns with a NULL context exit with zero.
39752 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39754         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39756 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39758         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39759         (run_program_cmd): This.
39760         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39761         (tst_langinfo): New variable.  Use it.
39763 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39765         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39766         floating point opcodes.
39768 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39770         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39771         variable.
39773         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39775         * sysdeps/mach/hurd/powerpc: Remove directory.
39776         * sysdeps/mach/powerpc: Likewise.
39778 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39780         * scripts/check-local-headers.sh: Ignore c++ headers.
39782 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39784         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39785         __libc_cleanup_region_start argument.
39787 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39789         [BZ #14784]
39790         [BZ #14785]
39791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39792         x * y using scaling, not as x * y + z.
39793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39795         * math/libm-test.inc (fma_test): Add more tests.
39796         (fma_test_towardzero): Likewise.
39797         (fma_test_downward): Likewise.
39798         (fma_test_upward): Likewise.
39800 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39802         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39804 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39806         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39807         New variable.
39809 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39811         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39813 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39816         Fix sort order.
39817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39818         Likewise.
39820 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39823         Fix the order of the list for glibc 2.17.
39824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39825         Likewise.
39827 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39831 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39833         [BZ #14610]
39834         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39835         for low part of x being zero before using __atanl (y).
39836         * math/libm-test.inc (atan2_test): Add another test.
39838         * manual/install.texi (Configuring and compiling): Document
39839         general use of test-wrapper and test-wrapper-env.
39840         * INSTALL: Regenerated.
39842         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39843         (__fma): Do not extract and scale down low bits on after-rounding
39844         systems when result rounded to normal precision would have normal
39845         exponent.
39846         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39847         (__fmal): Do not extract and scale down low bits on after-rounding
39848         systems when result rounded to normal precision would have normal
39849         exponent.
39850         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39851         (__fmal): Do not extract and scale down low bits on after-rounding
39852         systems when result rounded to normal precision would have normal
39853         exponent.
39854         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39855         macro.
39856         (fma_test): Add more tests.
39857         (fma_test_towardzero): Likewise.
39858         (fma_test_downward): Likewise.
39859         (fma_test_upward): Likewise.
39861 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39863         * sysdeps/i386/tininess.h: Renamed to ...
39864         * sysdeps/x86/tininess.h: This.
39865         * sysdeps/x86_64/tininess.h: Removed.
39867 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39869         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39870         input.  Use $(build-program-cmd).
39871         ($(objpfx)tst-array1-static.out): Likewise.
39872         ($(objpfx)tst-array2.out): Likewise.
39873         ($(objpfx)tst-array3.out): Likewise.
39874         ($(objpfx)tst-array4.out): Likewise.
39875         ($(objpfx)tst-array5.out): Likewise.
39876         ($(objpfx)tst-array5-static.out): Likewise.
39878 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39880         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39881         if defined.
39883         * nss/nsswitch.h (nss_interface_function): Provide new
39884         macro for use with NSS functions.
39885         * grp/initgroups.c: Use new macro.
39886         * nss/getXXbyYY.c: Likewise.
39887         * nss/getXXbyYY_r.c: Likewise.
39888         * nss/getXXent.c: Likewise.
39889         * nss/getXXent_r.c: Likewise.
39890         * sysdeps/posix/getaddrinfo.c: Likewise.
39892 2012-10-30  Andreas Jaeger  <aj@suse.de>
39894         * po/ru.po: Update Russion translation from translation project.
39896 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39898         [BZ #14152]
39899         [BZ #14783]
39900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39901         result and shift together with sticky bit instead of replicating
39902         round-to-nearest rounding.
39903         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39904         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39905         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39906         missing underflow exceptions.
39907         (fma_test_towardzero): Add more tests.
39908         (fma_test_downward): Likewise.
39909         (fma_test_upward): Likewise.
39911         [BZ #14047]
39912         * sysdeps/generic/tininess.h: New file.
39913         * sysdeps/i386/tininess.h: Likewise.
39914         * sysdeps/sh/tininess.h: Likewise.
39915         * sysdeps/x86_64/tininess.h: Likewise.
39916         * stdlib/tst-strtod-underflow.c: Likewise.
39917         * stdlib/tst-tininess.c: Likewise.
39918         * stdlib/strtod_l.c: Include <tininess.h>.
39919         (round_and_return): Do not set errno for exact underflow cases.
39920         Force an underflow exception when setting errno for underflow.
39921         Determine underflow based on rounding to normal precision if
39922         TININESS_AFTER_ROUNDING.
39923         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39924         ERANGE for exact underflow cases.
39925         * stdlib/Makefile (tests): Add tst-tininess and
39926         tst-strtod-underflow.
39927         ($(objpfx)tst-tininess): Use $(link-libm).
39928         ($(objpfx)tst-strtod-underflow): Likewise.
39930 2012-10-30  Andreas Jaeger  <aj@suse.de>
39932         [BZ#14767]
39933         * elf/Makefile (tests): Remove conditional for have-initfini-array
39934         since this is now always required and the variable does not exist
39935         anymore.
39936         (tests-static): Likewise.
39937         (modules-names): Likewise.
39939         * po/eo.po: Add Esperanto translation from translation project.
39941         * elf/tst-array1.c (fini_array): Make writeable so that it can be
39942         merged with constructor/destructor.
39943         (init_array): Likewise.
39944         * elf/tst-array2dep.c (fini_array): Likewise.
39945         (init_array): Likewise.
39947 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
39949         * manual/message.texi: Delete @cartouche tags.
39951 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
39953         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39954         EOPNOTSUPP.
39955         * sysdeps/mach/hurd/fsync.c: Likewise.
39957         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39958         [_POSIX_REALTIME_SIGNALS]: Change condition to
39959         [_POSIX_REALTIME_SIGNALS > 0].
39961 2012-10-27  Andreas Jaeger  <aj@suse.de>
39963         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39964         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39966         [__WORDSIZE != 64]: Likewise.
39968 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
39970         *  iconvdata/tst-table.sh: Remove ${SHELL}.
39971         *  iconvdata/tst-tables.sh: Likewise.
39973 2012-10-25  David S. Miller  <davem@davemloft.net>
39975         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39976         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39977         of strtoull.
39979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39980         ifunc-impl-list.c
39981         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39982         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39983         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39984         file.
39986 2012-10-25  Roland McGrath  <roland@hack.frob.com>
39988         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39989         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39990         __getdirentries.
39992 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
39993             Jim Blandy  <jimb@codesourcery.com>
39995         * scripts/cross-test-ssh.sh: New file.
39996         * manual/install.texi (Configuring and compiling): Document use of
39997         cross-test-ssh.sh.
39998         * INSTALL: Regenerated.
40000 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40002         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40003         EOPNOTSUPP.
40005 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40007         * Makeconfig (run-program-prefix): Fix comment.
40009 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40010             Jim Blandy  <jimb@codesourcery.com>
40012         * Makeconfig (test-wrapper): New variable,
40013         (test-wrapper-env): Likewise.
40014         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40015         (run-built-tests): Define to yes.
40016         (run-program-prefix): Use $(test-wrapper).
40017         (built-program-cmd): Likewise.
40018         * Rules (make-test-out): Use $(test-wrapper-env) and
40019         $(host-built-program-cmd).
40020         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40021         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40022         tst-pathopt.sh.
40023         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40024         $(test-wrapper-env) to tst-rtld-load-self.sh.
40025         ($(objpfx)order2.out): Use $(test-wrapper).
40026         ($(objpfx)tst-initorder.out): Likewise.
40027         ($(objpfx)tst-initorder2.out): Likewise.
40028         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40029         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40030         (test_wrapper_env): New variable.  Use it to run ld.so.
40031         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40032         Use it to run ld.so.
40033         (test_wrapper_env): Likewise.
40034         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40035         $(test-wrapper) to run-iconv-test.sh.
40036         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40037         (ICONV): Use $test_wrapper.
40038         * posix/Makefile ($(objpfx)globtest.out): Pass
40039         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40040         globtest.sh, not $(run-program-prefix).
40041         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40042         (test_wrapper): Likewise.
40043         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40044         set together with run_via_rtld_prefix.
40045         (run_program_prefix): Define in terms of test_wrapper and
40046         run_via_rtld_prefix.
40048 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40050         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40051         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40052         Targets removed.
40054         [BZ #14743]
40055         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40056         Declare __clock_getres, __clock_gettime, __clock_settime,
40057         __clock_nanosleep, and __clock_getcpuclockid.
40058         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40059         Remove librt_hidden_def (clock_gettime).
40060         * sysdeps/unix/clock_gettime.c: Likewise.
40061         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40062         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40063         * rt/clock_getres.c: Define __clock_getres as an alias.
40064         * sysdeps/posix/clock_getres.c: Likewise.
40065         * rt/clock_settime.c: Define __clock_settime as an alias.
40066         * sysdeps/unix/clock_settime.c: Likewise.
40067         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40068         * sysdeps/unix/clock_nanosleep.c: Likewise.
40069         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40070         * rt/clock-compat.c: New file.
40071         * rt/Makefile (librt-routines): Add clock-compat and move
40072         $(clock-routines) to ...
40073         (routines): ... here, new variable.
40074         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40075         Don't add get_clockfreq here.
40076         * rt/Versions (libc: GLIBC_2.17): New version set.
40077         Add clock_* symbols here.
40078         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40079         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40080         (GLIBC_2.17): Add clock_* symbols.
40081         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40085         Likewise.
40086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40087         Likewise.
40088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40092         * NEWS: Mention the move.
40094         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40095         Use __open, __read, __close rather than their public counterparts.
40096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40097         (__get_clockfreq_via_cpuinfo): Likewise.
40098         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40099         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40101         * config.h.in (HAVE_IFUNC): New #undef.
40102         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40103         was successful.
40104         * configure: Regenerated.
40106 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40108         * configure.in: Move READELF check to start of file.
40109         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40110         libc_cv_asm_gnu_indirect_function in the process.
40111         * configure: Regenerated.
40113 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40115         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40116         send the output to /dev/null.
40117         (libc_cv_cc_with_libunwind): Likewise.
40118         (libc_cv_as_noexecstack): Likewise.
40119         * configure: Regenerate.
40121 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40123         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40125         * posix/globtest.sh (TMPDIR): Do not set.
40126         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40127         (testout): Likewise.
40129 2012-10-24  Andreas Jaeger  <aj@suse.de>
40131         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40132         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40133         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40134         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40135         posix_fadvise64, posix_fallocate64.
40137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40138         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40139         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40140         Likewise.
40141         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40142         Likewise.
40143         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40146         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40147         <bits/fcntl-linux.h>.
40148         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40150         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40151         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40152         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40153         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40154         [__WORDSIZE != 64]: Likewise.
40156 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40158         * Makeconfig (run-built-tests): New variable.
40159         * Rules [$(cross-compiling) = yes]: Change condition to
40160         [$(run-built-tests) = no].
40161         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40162         to [$(run-built-tests) = yes].
40163         * elf/Makefile [$(cross-compiling) = no]: Likewise
40164         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40165         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40166         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40167         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40168         * io/Makefile [$(cross-compiling) = no]: Likewise.
40169         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40170         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40171         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40172         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40173         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40174         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40175         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40176         * string/Makefile [$(cross-compiling) = no]: Likewise.
40178         * posix/Makefile ($(objpfx)globtest.out): Pass
40179         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40180         $(rtld-installed-name).
40181         * posix/globtest.sh (elf_objpfx): Remove variable.
40182         (rtld_installed_name): Likewise.
40183         (library_path): Likewise.
40184         (run_program_prefix): New variable.  Use for running globtest
40185         binary.
40187 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40188             Joseph Myers  <joseph@codesourcery.com>
40190         * Makeconfig (host-built-program-cmd): New variable.
40191         * elf/Makefile (tst-stackguard1-ARGS): Use
40192         $(host-built-program-cmd).
40193         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40194         (tst-spawn-ARGS): Likewise.
40195         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40197 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40198             Jim Blandy  <jimb@codesourcery.com>
40200         * Makeconfig (run-via-rtld-prefix): New variable.
40201         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40202         (built-program-cmd): Likewise.
40204 2012-10-22  Andreas Jaeger  <aj@suse.de>
40206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40207         __O_RSYNC if it exists, otherwise to O_SYNC.
40209 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40210             Joseph Myers  <joseph@codesourcery.com>
40212         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40213         /dev/null.
40214         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40215         from /dev/null
40216         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40217         /dev/null.
40219 2012-10-22  Andreas Jaeger  <aj@suse.de>
40221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40222         Define always.
40223         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40225         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40226         bits/fcntl-linux.h.
40228         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40229         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40231         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40232         to __O_LARGEFILE.
40233         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40234         to __O_LARGEFILE.
40236 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40237             Joseph Myers  <joseph@codesourcery.com>
40239         * config.make.in (NM): New variable.
40241 2012-10-21  Andreas Jaeger  <aj@suse.de>
40243         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40244         definitions and declarations that are provided by
40245         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40247 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40249         [BZ #14683]
40250         * elf/Makefile (tests-static): Add tst-leaks1-static.
40251         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40252         ($(objpfx)tst-leaks1-static): New rule.
40253         ($(objpfx)tst-leaks1-static-mem): Likewise.
40254         (tst-leaks1-static-ENV): New macro.
40255         * elf/dl-open.c (dl_open_worker): Check the main application
40256         only if SHARED is defined.
40257         * elf/tst-leaks1-static.c: New file.
40259 2012-10-20  Andreas Jaeger  <aj@suse.de>
40261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40262         generic values for Linux.
40263         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40264         and declarations that are provided by <bits/fcntl-linux.h> and
40265         include <bits/fcntl-linux.h>.
40266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40267         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40269 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40271         * io/fcntl.h: Move include of <bits/types.h> to the top and
40272         include it unconditionally.
40274 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40276         * wcsmbs/Makefile (tests-ifunc): New variable.
40277         (tests): Add $(tests-ifunc).
40278         * wcsmbs/test-wcschr-ifunc.c: New file.
40279         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40280         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40281         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40282         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40283         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40285         * string/Makefile (tests-ifunc): New variable.
40286         (tests): Add $(tests-ifunc).
40287         * string/test-memccpy.c (TEST_NAME): New macro.
40288         * string/test-memchr.c (TEST_NAME): Likewise.
40289         * string/test-memcmp.c (TEST_NAME): Likewise.
40290         * string/test-memcpy.c (TEST_NAME): Likewise.
40291         * string/test-memmem.c (TEST_NAME): Likewise.
40292         * string/test-memmove.c (TEST_NAME): Likewise.
40293         * string/test-memset.c (TEST_NAME): Likewise.
40294         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40295         * string/test-stpcpy.c (TEST_NAME): Likewise.
40296         * string/test-stpncpy.c (TEST_NAME): Likewise.
40297         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40298         * string/test-strcasestr.c (TEST_NAME): Likewise.
40299         * string/test-strcat.c (TEST_NAME): Likewise.
40300         * string/test-strchr.c (TEST_NAME): Likewise.
40301         * string/test-strcmp.c(TEST_NAME): Likewise.
40302         * string/test-strcpy.c (TEST_NAME): Likewise.
40303         * string/test-strcspn.c (TEST_NAME): Likewise.
40304         * string/test-strlen.c (TEST_NAME): Likewise.
40305         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40306         * string/test-strncmp.c (TEST_NAME): Likewise.
40307         * string/test-strncpy.c (TEST_NAME): Likewise.
40308         * string/test-strnlen.c (TEST_NAME): Likewise.
40309         * string/test-strpbrk.c (TEST_NAME): Likewise.
40310         * string/test-strrchr.c (TEST_NAME): Likewise.
40311         * string/test-strspn.c (TEST_NAME): Likewise.
40312         * string/test-strstr.c (TEST_NAME): Likewise.
40313         * string/test-bcopy-ifunc.c: New file.
40314         * string/test-bzero-ifunc.c: Likewise.
40315         * string/test-memccpy-ifunc.c: Likewise.
40316         * string/test-memchr-ifunc.c: Likewise.
40317         * string/test-memcmp-ifunc.c: Likewise.
40318         * string/test-memcpy-ifunc.c: Likewise.
40319         * string/test-memmem-ifunc.c: Likewise.
40320         * string/test-memmove-ifunc.c: Likewise.
40321         * string/test-mempcpy-ifunc.c: Likewise.
40322         * string/test-memset-ifunc.c: Likewise.
40323         * string/test-rawmemchr-ifunc.c: Likewise.
40324         * string/test-stpcpy-ifunc.c: Likewise.
40325         * string/test-stpncpy-ifunc.c: Likewise.
40326         * string/test-strcasecmp-ifunc.c: Likewise.
40327         * string/test-strcasestr-ifunc.c: Likewise.
40328         * string/test-strcat-ifunc.c: Likewise.
40329         * string/test-strchr-ifunc.c: Likewise.
40330         * string/test-strchrnul-ifunc.c: Likewise.
40331         * string/test-strcmp-ifunc.c: Likewise.
40332         * string/test-strcpy-ifunc.c: Likewise.
40333         * string/test-strcspn-ifunc.c: Likewise.
40334         * string/test-strlen-ifunc.c: Likewise.
40335         * string/test-strncasecmp-ifunc.c: Likewise.
40336         * string/test-strncat-ifunc.c: Likewise.
40337         * string/test-strncmp-ifunc.c: Likewise.
40338         * string/test-strncpy-ifunc.c: Likewise.
40339         * string/test-strnlen-ifunc.c: Likewise.
40340         * string/test-strpbrk-ifunc.c: Likewise.
40341         * string/test-strrchr-ifunc.c: Likewise.
40342         * string/test-strspn-ifunc.c: Likewise.
40343         * string/test-strstr-ifunc.c: Likewise.
40345         * debug/Makefile (tests-ifunc): New variable.
40346         (tests): Add $(tests-ifunc).
40347         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40348         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40349         * debug/test-stpcpy_chk-ifunc.c: New file.
40350         * debug/test-strcpy_chk-ifunc.c: Likewise.
40352 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40354         [BZ #13601]
40355         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40356         header is not read in.
40358 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40360         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40361         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40362         directly.  Pass built executable to script as
40363         $(built-program-cmd).
40364         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40365         $testprogram without using LD_LIBRARY_PATH and $ldso.
40367         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40368         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40369         $(rtld-installed-name).
40370         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40371         (rtld_installed_name): Likewise.
40372         (library_path): Likewise.
40373         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40374         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40375         $(run-program-prefix) to tst-tables.sh.
40376         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40377         it to run tst-table-from and tst-table-to.
40378         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40379         Pass it to tst-table.sh.
40380         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40381         $(run-program-prefix) to tst-gettext.sh.
40382         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40383         tst-translit.sh.
40384         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40385         tst-gettext2.sh.
40386         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40387         to run tst-gettext.
40388         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40389         to run tst-gettext2.
40390         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40391         to run tst-translit.
40392         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40393         $(run-program-prefix) to tst-mtrace.sh.
40394         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40395         to run tst-mtrace.
40396         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40397         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40398         $(rtld-installed-name).
40399         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40400         (rtld_installed_name): Likewise.
40401         (run_program_prefix): New variable.  Use it to run wordexp-test.
40403         * Makeconfig (ARCH): Remove all definitions.
40404         (machine): Likewise.
40405         [ARCH]: Remove conditional code.
40406         [!objdir]: Give error.
40407         [!objdir] (objpfx): Remove.
40408         [!objdir] (common-objpfx): Likewise.
40409         [!objdir] (common-objdir): Likewise.
40410         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40411         AC_CONFIG_FILES call.
40412         * configure: Regenerated.
40414         [BZ #13888]
40415         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40416         or TMPDIR.
40417         (testout): Likewise.
40419         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40420         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40421         $(rtld-installed-name).
40422         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40423         (rtld_installed_name): Likwise.
40424         (runit): Remove function.
40425         (run_getconf): New variable,  Use it for running getconf binary.
40427 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40429         [BZ #14716]
40430         * string/test-memmem.c (check_result): New function.
40431         (do_one_test): Use it.
40432         (check1): New function.
40433         (test_main): Use it.
40435 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40437         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40439 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40441         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40442         (_G_LSEEK64): Likewise.
40443         (_G_MMAP64): Likewise.
40444         (_G_FSTAT64): Likewise.
40445         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40446         (_G_LSEEK64): Likewise.
40447         (_G_MMAP64): Likewise.
40448         (_G_FSTAT64): Likewise.
40449         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40450         unconditional.  Call __mmap64 directly.
40451         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40452         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40453         __lseek64 directly.
40454         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40455         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40456         __mmap64 directly.
40457         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40458         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40459         __lseek64 directly.
40460         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40461         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40462         __lseek64 directly.
40463         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40464         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40465         __lseek64 directly.
40466         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40467         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40468         __fxstat64 directly.
40469         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40470         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40471         unconditional.
40472         (freopen64) [!_G_OPEN64]: Remove conditional code.
40473         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40474         unconditional.
40475         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40476         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40477         unconditional.
40478         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40479         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40480         unconditional.
40481         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40482         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40483         unconditional.
40484         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40485         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40486         unconditional.
40487         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40488         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40489         unconditional.
40490         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40491         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40492         unconditional.
40493         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40495 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40497         [BZ #12140]
40498         * manual/memory.texi (Malloc Tunable Parameters): Add note
40499         about free list pointers overwriting some perturb bytes.
40500         Wording suggested by Roland McGrath.
40502 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40504         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40505         (lgamma_test): Likewise.
40506         (tgamma_test): Likewise.
40508 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40510         [BZ #14700]
40511         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40512         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40514 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40516         * NEWS: Mention BZ #14716.
40517         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40518         when removing AVAILABLE1_USES_J macro.
40520 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40522         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40523         (__bswap_64): __uint64_t for unsigned 64-bit int.
40525 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40527         * include/string.h (memmem): Declare libc hidden alias.
40528         * string/memmem.c (memmem): Define libc hidden alias.
40529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40530         __read, __close instead of open, read, close.
40532 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40535         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40536         global and hidden.
40537         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40538         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40539         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40540         Likewise.
40541         (__rawmemchr_sse2): Likewise.
40542         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40543         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40544         (__strchr_sse2): Likewise.
40545         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40546         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40547         (__strcasecmp_sse2): Likewise.
40548         (__strncasecmp_sse2): Likewise.
40549         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40550         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40551         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40552         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40553         (__strrchr_sse2): Likewise.
40554         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40555         ifunc-impl-list.c.
40556         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40557         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40558         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40559         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40560         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40561         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40562         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40563         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40564         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40565         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40566         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40567         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40568         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40569         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40570         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40571         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40572         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40573         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40574         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40575         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40576         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40577         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40578         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40579         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40580         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40581         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40582         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40583         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40584         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40585         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40587         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40588         global and hidden.
40589         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40590         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40591         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40592         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40593         Likewise.
40594         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40595         Likewise.
40596         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40597         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40598         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40599         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40600         ifunc-impl-list.c.
40601         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40602         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40603         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40604         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40605         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40606         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40607         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40608         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40609         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40610         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40611         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40612         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40613         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40614         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40615         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40616         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40617         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40618         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40619         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40620         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40621         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40622         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40623         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40624         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40625         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40626         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40627         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40628         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40629         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40630         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40631         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40632         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40633         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40634         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40635         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40636         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40637         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40638         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40639         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40640         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40641         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40643         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40644         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40645         * include/ifunc-impl-list.h: New file.
40646         * misc/ifunc-impl-list.c: Likewise.
40647         * misc/Makefile (routines): Add ifunc-impl-list.
40648         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40649         * string/test-string.h: Include <ifunc-impl-list.h>.
40650         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40651         TEST_NAME]: New variables.
40652         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40653         are defined.
40654         (test_init): Call __libc_ifunc_impl_list to initialize
40655         func_list if TEST_IFUNC and TEST_NAME are defined.
40657         * string/Makefile (strop-tests): Add bcopy and bzero.
40658         * string/test-bcopy.c: New file.
40659         * string/test-bzero.c: Likewise.
40660         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40661         defined.
40662         * string/test-memset.c: Support bzero test if TEST_BZERO is
40663         defined.
40664         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40665         __libc_memmove.
40666         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40667         __libc_memset.
40668         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40669         of memset.
40671 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40673         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40674         * configure: Regenerated.
40676         * Makeconfig (+link-static-before-libc): Don't include
40677         $(link-static-libc).
40679         * libio/libio.h (_IO_pos_t): Remove.
40681 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40683         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40684         McGrath.
40686 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40688         * crypt/crypt-entry.c: Include fips-private.h.
40689         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40690         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40691         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40692         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40694 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40696         * crypt/crypt-private.h: Include stdbool.h.
40697         (_ufc_setup_salt_r): Return bool.
40698         * crypt/crypt-entry.c: Include errno.h.
40699         (__crypt_r): Return NULL with EINVAL for bad salt.
40700         * crypt/crypt_util.c (bad_for_salt): New.
40701         (_ufc_setup_salt_r): Check that salt is long enough and within
40702         the specified alphabet.
40703         * crypt/badsalttest.c: New file.
40704         * crypt/Makefile (tests): Add it.
40705         ($(objpfx)badsalttest): New.
40707 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40709         * NEWS: Add entry for BZ #14602.
40711 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40713         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40714         type-generic.
40715         * math/libm-test.inc: Update comment listing what functions and
40716         macros are tested.
40717         (isgreater_test): New function.
40718         (isgreaterequal_test): Likewise.
40719         (isless_test): Likewise.
40720         (islessequal_test): Likewise.
40721         (islessgreater_test): Likewise.
40722         (isunordered_test): Likewise.
40723         (main): Call the new functions.
40725 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40727         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40728         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40729         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40730         * sysdeps/i386/configure: Regenerated.
40731         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40732         * sysdeps/mach/configure: Regenerated.
40733         * sysdeps/mach/hurd/configure: Regenerated.
40734         * sysdeps/powerpc/configure: Regenerated.
40735         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40736         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40737         * sysdeps/s390/s390-32/configure: Regenerated.
40738         * sysdeps/s390/s390-64/configure: Regenerated.
40739         * sysdeps/sh/configure: Regenerated.
40740         * sysdeps/sparc/configure: Regenerated.
40741         * sysdeps/unix/sysv/linux/configure: Regenerated.
40742         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40743         * sysdeps/x86_64/configure: Regenerated.
40745         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40746         defined.  Don't check if MAP is NULL.
40748 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40750         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40751         (_G_stat64): Likewise.
40752         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40753         (_G_stat64): Likewise.
40754         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40755         instead of struct _G_stat64.
40756         * libio/fileops.c (mmap_remap_check): Likewise.
40757         (decide_maybe_mmap): Likewise.
40758         (_IO_new_file_seekoff): Likewise.
40759         (_IO_file_stat): Likewise.
40760         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40761         _G_off64_t.
40762         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40763         instead of struct _G_stat64.
40764         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40766 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40768         [BZ #14602]
40769         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40770         Replace with ...
40771         (CHECK_EOL): New macro.
40772         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40773         CHECK_EOL.
40774         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40775         Replace with CHECK_EOL.
40776         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40777         Replace with CHECK_EOL.
40779 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40781         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40782         type-generic.
40783         * math/libm-test.inc: Update comment listing what functions and
40784         macros are tested.
40785         (finite_test): New function.
40786         (isinf_test): Likewise.
40787         (isnan_test): Likewise.
40788         (fpclassify_test): Test subnormal input.
40789         (isfinite_test): Likewise.
40790         (isnormal_test): Likewise.
40791         (main): Call the new functions.
40793 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40795         [BZ #14660]
40796         * Makerules (%.dynsym): Force C locale when running
40797         $(OBJDUMP) --dynamic-syms.
40799 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40801         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40802         <stdint.h>.
40804 2012-10-06  David S. Miller  <davem@davemloft.net>
40806         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40807         upper 32-bits of the length value in %o2 since we use branch-on-register
40808         tests which consider the entire 64-bit register.
40810 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40812         * string/test-strstr.c (check2): Add a test for page boundary.
40814 2012-10-05  David S. Miller  <davem@davemloft.net>
40816         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40817         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40818         file.
40819         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40820         sysdep_routines.
40821         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40822         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40823         and bzero when HWCAP_SPARC_CRYPTO is present.
40825 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40827         [BZ #14602]
40828         * string/test-strstr.c (check2): New function.
40829         (test_main): Call check2.
40831         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40832         and bug-strchr1.
40833         * string/bug-strcasestr1.c (do_test): Moved to ...
40834         * string/test-strcasestr.c (check1): Here.  New function.
40835         (do_one_test): Break out result checking code into ...
40836         (check_result): This.  New function.
40837         (do_one_test): Call check_result.
40838         (test_main): Call check1.
40839         * string/bug-strchr1.c (do_test): Moved to ...
40840         * string/test-strchr.c (check1): Here.  New function.
40841         (do_one_test): Break out result checking code into ...
40842         (check_result): This.  New function.
40843         (do_one_test): Call check_result.
40844         (test_main): Call check1.
40845         * string/bug-strstr1.c (main): Moved to ...
40846         * string/test-strstr.c (check1): Here.  New function.
40847         (do_one_test): Break out result checking code into ...
40848         (check_result): This.  New function.
40849         (do_one_test): Call check_result.
40850         (test_main): Call check1.
40851         * string/bug-strcasestr1.c: Removed.
40852         * string/bug-strchr1.c: Likewise.
40853         * string/bug-strstr1.c: Likewise.
40855         * elf/Makefile (dl-routines): Add hwcaps.
40856         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40857         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40858         (_dl_important_hwcaps): Moved to ...
40859         * elf/dl-hwcaps.c: Here.  New file.
40860         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40862         [BZ #14557]
40863         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40864         if IS_IN_rtld isn't defined.
40866         * elf/dl-support.c (_dl_sysinfo_map): New.
40867         Include "get-dynamic-info.h" and "setup-vdso.h".
40868         (_dl_non_dynamic_init): Call setup_vdso.
40869         * elf/dynamic-link.h: Don't include <assert.h>.
40870         (elf_get_dynamic_info): Moved to ...
40871         * elf/get-dynamic-info.h: Here.  New file.
40872         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40873         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40874         * elf/setup-vdso.h: Here.  New file.
40875         * elf/rtld.c: Include "setup-vdso.h".
40876         (dl_main): Call setup_vdso.
40878 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40880         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40881         creal in comment listing functions tested.  List finite, isinf,
40882         isnan, isless, islessequal, isgreater, isgreaterequal,
40883         islessgreater, isunordered, lgamma_r and pow10 as functions and
40884         macros not tested.  Mention which functions not tested are aliases
40885         for other functions.  Fix typo.  Note that signs of NaNs are not
40886         tested.
40888         * scripts/config.guess: Update from config.git.
40889         * scripts/config.sub: Likewise.
40891 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40893         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40894         * misc/madvise.c (madvise): Renamed to __madvise.
40895         Make madvise a weak alias.
40896         * include/sys/mman.h: Declare __madvise.
40897         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40898         * sysdeps/unix/syscalls.list
40899         (madvise): Make __madvise the strong name, and madvise a weak alias.
40900         * sysdeps/unix/sysv/linux/syscalls.list
40901         (madvise, mmap): Remove redundant entries.
40902         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40903         * malloc/malloc.c (mtrim): Likewise.
40904         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40906 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40908         * sysdeps/mach/hurd/dl-cache.c: File removed.
40909         * config.h.in (USE_LDCONFIG): New #undef.
40910         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40911         * configure: Regenerated.
40912         * elf/Makefile (dl-routines): Add dl-cache only under
40913         [$(use-ldconfig) = yes].
40914         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40915         cache on [USE_LDCONFIG].
40916         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40917         [USE_LDCONFIG].
40918         * elf/rtld.c (dl_main): Likewise.
40920 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40922         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40923         _SC_LEVEL4_CACHE_LINESIZE.
40925 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40927         * sysdeps/unix/bsd/confstr.h: File removed.
40929 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
40931         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40932         sys/sdt-config.h.
40934 2012-10-02  Roland McGrath  <roland@hack.frob.com>
40936         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40937         Make 'mapoff' field ElfW(Off) rather than off_t.
40939 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
40941         * nscd/Makefile: Remove nscd-cflags and all its users.
40942         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40943         (CFLAGS-nonlib): Add compiler flags for nscd modules.
40945         [BZ #10631]
40946         * malloc.c (malloc_printerr): Clarify error message.
40948 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
40950         [BZ #14648]
40951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40952         Set bit_FMA_Usable if FMA is supported.
40953         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40954         macro.
40955         (bit_FMA4_Usable): Updated.
40956         (index_FMA_Usable): New macro.
40957         (CPUID_FMA): Likewise
40958         (HAS_FMA): Defined with bit_FMA_Usable.
40960 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40962         * bits/types.h (__swblk_t): Type removed.
40963         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40964         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40965         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40966         (__SWBLK_T_TYPE): Likewise.
40967         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40968         (__SWBLK_T_TYPE): Likewise.
40969         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40970         (__SWBLK_T_TYPE): Likewise.
40971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40972         (__SWBLK_T_TYPE): Likewise.
40974 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
40975             Honza Horak <hhorak@redhat.com>
40977         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40978         (xdr_mapname): Use YPMAXMAP as maxsize.
40979         (xdr_peername): Use YPMAXPEER as maxsize.
40980         (xdr_keydat): Use YPAXRECORD as maxsize.
40981         (xdr_valdat): Use YPMAXRECORD as maxsize.
40983 2012-10-01  Roland McGrath  <roland@hack.frob.com>
40985         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40987         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40988         * csu/init-first.c: ... here.
40989         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40990         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40991         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40992         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40993         * sysdeps/i386/init-first.c: File removed.
40994         * sysdeps/sh/init-first.c: File removed.
40996 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
40998         [BZ #14645]
40999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41000         if x * y might underflow to zero and z is zero.
41001         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41002         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41003         * math/libm-test.inc (min_subnorm_value): New variable.
41004         (fma_test): Add more tests.
41005         (fma_test_towardzero): Likewise.
41006         (fma_test_downward): Likewise
41007         (fma_test_upward): Likewise.
41008         (initialize): Set min_subnorm_value.
41010 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41012         [BZ #14638]
41013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41014         0 + 0.
41015         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41016         mode for addition resulting in exact zero.
41017         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41019         exact 0 + 0.
41020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41022         * math/libm-test.inc (fma_test): Add more tests.
41023         (fma_test_towardzero): New function.
41024         (fma_test_downward): Likewise.
41025         (fma_test_upward): Likewise.
41026         (main): Call the new functions.
41028 2012-09-28  David S. Miller  <davem@davemloft.net>
41030         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41032 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41034         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41035         instead of SIGALRM.
41037         * sysdeps/gnu/_G_config.h: Moved to ...
41038         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41039         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41040         * sysdeps/generic/_G_config.h: ... here.
41042         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41044         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41046         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41047         Conditionalize target on [libnss_test1.so-version].
41049         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41051         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41052         (elfobjdir): Move out of conditionals.
41054         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41055         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41056         (__nss_lookup_function): Conditionalize label remove_from_tree on
41057         [!DO_STATIC_NSS || SHARED], matching its only use.
41059 2012-09-28  David S. Miller  <davem@davemloft.net>
41061         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41062         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41063         file.
41064         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41065         sysdep_routines.
41066         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41067         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41068         when HWCAP_SPARC_CRYPTO is present.
41070 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41072         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41074 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41076         [BZ #6530]
41077         * stdio-common/vfprintf.c (process_string_arg): Revert
41078         2000-07-22 change.
41080 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41082         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41083         for testcase.
41084         * stdio-common/tst-sprintf.c: Include <locale.h>
41085         (main): Test sprintf's handling of incomplete multibyte
41086         characters.
41088 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41090         * elf/dl-runtime.c (VERSYMIDX): Removed.
41091         * elf/dl-version.c (VERSYMIDX): Likewise.
41092         * elf/do-rel.h (VERSYMIDX): Likewise.
41093         (VALIDX): Likewise.
41094         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41095         * elf/rtld.c (VALIDX): Likewise.
41096         (ADDRIDX): Likewise.
41097         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41098         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41099         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41100         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41101         (VALIDX): Likewise.
41102         (ADDRIDX): Likewise.
41104 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41106         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41108 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41110         [BZ #11438]
41111         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41112         to global scope.
41113         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41114         addresses are in the same scope as 192.0.2/24.
41115         * posix/gai.conf: Document new scope table defaults.
41117 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41119         [BZ #5298]
41120         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41121         for ftell.  Compute offsets from write pointers instead.
41122         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41124 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41126         [BZ #14543]
41127         * libio/Makefile (tests): New test case tst-fseek.
41128         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41129         combination works in wide mode.
41130         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41131         state when the external buffer state changes.
41133 2012-09-27  David S. Miller  <davem@davemloft.net>
41135         [BZ #14376]
41136         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41137         pass reloc->r_addend in as the 'high' argument to
41138         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41142 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41144         * rt/tst-aio2.c: Include <pthread.h>.
41145         * rt/tst-aio3.c: Likewise.
41147 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41149         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41151 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41153         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41154         contents on [SHARED].
41156 2012-09-26  Marek Polacek  <polacek@redhat.com>
41158         [BZ #14530]
41159         [BZ #13741]
41160         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41161         for C++ and GCC <4.3 as well as for non GCC compilers.
41163 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41167 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41169         * Makefile.in (all, install): Declare with .PHONY.
41170         Reported by Michael Hope <michael.hope@linaro.org>.
41172 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41174         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41175         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41176         system header.
41177         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41178         Likewise.
41179         (sydep_routines): Add the new and the internal functions.
41180         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41181         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41183         (GLIBC_2.17): Add the new function.
41184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41185         (GLIBC_2.17): Likewise.
41186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41187         (GLIBC_2.17): Likewise.
41188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41189         (GLIBC_2.17): Likewise.
41190         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41192 2012-09-25  Alan Modra  <amodra@gmail.com>
41194         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41195         Add release barrier before setting once_control to say
41196         initialisation is done.  Add hints on lwarx.  Use macro in
41197         place of isync.
41198         (clear_once_control): Add release barrier.
41200 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41202         [BZ #13629]
41203         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41204         specially.
41205         * math/s_clog10.c (__clog10): Likewise.
41206         * math/s_clog10f.c (__clog10f): Likewise.
41207         * math/s_clog10l.c (__clog10l): Likewise.
41208         * math/s_clogf.c (__clogf): Likewise.
41209         * math/s_clogl.c (__clogl): Likewise.
41210         * math/Makefile (libm-calls): Add x2y2m1.
41211         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41212         (__x2y2m1): Likewise.
41213         (__x2y2m1l): Likewise.
41214         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41215         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41218         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41219         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41220         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41221         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41224         [BZ #14621]
41225         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41226         int as type of variable DEPTH.
41227         (glob): Use size_t instead of int as type of variables NEWCOUNT
41228         and OLD_PATHC.
41230 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41232         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41233         Add s_sincosf-sse2.
41234         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41235         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41236         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41237         macros for using routine as __sincosf_ia32.
41238         Use macro for function declaration and weak_alias.
41239         * sysdeps/i386/fpu/libm-test-ulps: Update.
41241         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41244         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41245         subnormal argument.
41246         * math/s_cexpf.c (__cexpf): Likewise.
41247         * math/s_csinf.c (__csinf): Likewise.
41248         * math/s_csinhf.c (__csinhf): Likewise.
41249         * math/s_ctanf.c (__ctanf): Likewise.
41250         * math/s_ctanhf.c (__ctanhf): Likewise.
41251         * math/s_ccosh.c (__ccoshf): Likewise.
41252         * math/s_cexp.c (__cexpl): Likewise.
41253         * math/s_csin.c (__csin): Likewise.
41254         * math/s_csinh.c (__csinh): Likewise.
41255         * math/s_ctan.c (__ctan): Likewise.
41256         * math/s_ctanh.c (ctanh): Likewise.
41257         * math/s_ccoshl.c (__ccoshl): Likewise.
41258         * math/s_cexpl.c (__cexpl): Likewise.
41259         * math/s_csinl.c (__csinl): Likewise.
41260         * math/s_csinhl.c (__csinhl): Likewise.
41261         * math/s_ctanl.c (__ctanl): Likewise.
41262         * math/s_ctanhl.c (__ctanhl): Likewise.
41264 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41266         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41267         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41268         (_IO_off_t): Define to __off_t, not _G_off_t.
41269         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41270         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41271         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41272         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41273         type of __dummy and __dummy2 fields.
41274         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41275         (_G_ssize_t): Likewise.
41276         (_G_off_t): Likewise.
41277         (_G_pid_t): Likewise.
41278         (_G_uid_t): Likewise.
41279         (_G_wchar_t): Likewise.
41280         (_G_wint_t): Likewise.
41281         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41282         (_G_ssize_t): Likewise.
41283         (_G_off_t): Likewise.
41284         (_G_pid_t): Likewise.
41285         (_G_uid_t): Likewise.
41286         (_G_wchar_t): Likewise.
41287         (_G_wint_t): Likewise.
41288         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41289         (_G_ssize_t): Likewise.
41290         (_G_off_t): Likewise.
41291         (_G_pid_t): Likewise.
41292         (_G_uid_t): Likewise.
41293         (_G_wchar_t): Likewise.
41294         (_G_wint_t): Likewise.
41296 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41298         * malloc/arena.c: Include malloc-sysdep.h.
41299         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41300         is sufficient to shrink the heap or an unmap is needed.
41301         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41302         new function check_may_shrink_heap.
41303         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41304         new function check_may_shrink_heap.
41306 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41308         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41309         comments.
41311 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41313         * catgets/test-gencat.sh: Add "set -e".
41314         * elf/tst-pathopt.sh: Likewise.
41315         * grp/tst_fgetgrent.sh: Likewise.
41316         * iconvdata/run-iconv-test.sh: Likewise.
41317         * intl/tst-gettext.sh: Likewise.
41318         * intl/tst-gettext2.sh: Likewise.
41319         * intl/tst-gettext4.sh: Likewise.
41320         * intl/tst-gettext6.sh: Likewise.
41321         * intl/tst-translit.sh: Likewise.
41322         * io/ftwtest-sh: Likewise.
41323         * libio/test-freopen.sh: Likewise.
41324         * malloc/tst-mtrace.sh: Likewise.
41325         * posix/globtest.sh: Likewise.
41326         * posix/tst-getconf.sh: Likewise.
41327         * posix/wordexp-tst.sh: Likewise.
41328         * stdio-common/tst-printf.sh: Likewise.
41329         * stdio-common/tst-unbputc.sh: Likewise.
41330         * stdlib/tst-fmtmsg.sh: Likewise.
41331         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41332         * catgets/Makefile: Do not specify -e option when running
41333         testsuite shell scripts.
41334         * elf/Makefile: Likewise.
41335         * grp/Makefile: Likewise.
41336         * iconvdata/Makefile: Likewise.
41337         * intl/Makefile: Likewise.
41338         * io/Makefile: Likewise.
41339         * libio/Makefile: Likewise.
41340         * malloc/Makefile: Likewise.
41341         * posix/Makefile: Likewise.
41342         * stdio-common/Makefile: Likewise.
41343         * stdlib/Makefile: Likewise.
41344         * sysdeps/x86_64/Makefile: Likewise.
41346         * io/ftwtest-sh: Add copyright header.
41347         * posix/globtest.sh: Likewise.
41348         * posix/tst-getconf.sh: Likewise.
41349         * posix/wordexp-tst.sh: Likewise.
41350         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41352 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41354         [BZ #13679]
41355         * Makeconfig (+link): Defined as $(+link-static) if
41356         $(build-shared) isn't yes.
41357         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41358         isn't yes.
41359         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41361         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41363         [BZ #14562]
41364         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41365         new chunk size with MALLOC_ALIGN_MASK.
41367 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41369         [BZ #5044]
41370         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41371         <rounding-mode.h>.
41372         (__printf_fphex): Determine rounding using get_rounding_mode and
41373         round_away.
41374         * stdio-common/tst-printf-round.c (struct hex_test): New
41375         structure.
41376         (hex_tests): New variable.
41377         (test_hex_in_one_mode): New function.
41378         (do_test): Also run tests for hex float output.
41380 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41382         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41383         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41384         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41385         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41386         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41387         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41388         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41389         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41391 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41393         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41394         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41395         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41396         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41398 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41400         [BZ #14579]
41401         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41402         mode only.
41403         * elf/tst-rtld-load-self.sh: New test.
41404         * elf/Makefile: Run it.
41406 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41408         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41409         (tst-writev-ENV): Remove.
41410         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41412 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41414         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41416 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41418         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41419         unconditional.
41420         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41421         Likewise.
41422         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41423         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41424         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41425         Likewise.
41427 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41429         [BZ #14587]
41430         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41431         * config.make.in (have-cpp-asm-debuginfo): Removed.
41432         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41433         * configure: Regenerated.
41435 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41437         [BZ #5044]
41438         * stdio-common/printf_fp.c: Include <stdbool.h> and
41439         <rounding-mode.h>.
41440         (___printf_fp): Determine rounding using get_rounding_mode and
41441         round_away.
41442         * stdio-common/tst-printf-round.c: New file.
41443         * stdio-common/Makefile (tests): Add tst-printf-round.
41444         (link-libm): New variable.
41445         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41447 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41449         [BZ #14576]
41450         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41451         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41452         Likewise.
41453         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41454         Likewise.
41456 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41458         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41459         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41460         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41461         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41463 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41465         [BZ #14518]
41466         * include/rounding-mode.h: New file.
41467         * sysdeps/generic/get-rounding-mode.h: Likewise.
41468         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41469         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41470         (MAX_VALUE): New macro.
41471         (MIN_VALUE): Likewise.
41472         (overflow_value): New function.
41473         (underflow_value): Likewise.
41474         (round_and_return): Use overflow_value and underflow_value to
41475         determine return values in overflow and underflow cases.  Use
41476         round_away to determine rounding depending on rounding mode.
41477         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41478         determine return values in overflow and underflow cases.
41479         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41480         (struct test_results): New structure.
41481         (struct test): Use struct test_results to store expected results
41482         for all rounding modes.
41483         (TEST): Include expected results for all rounding modes.
41484         (test_in_one_mode): New function.
41485         (do_test): Use test_in_one_mode to compute and check results.
41486         Check results for all rounding modes.
41487         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41488         $(link-libm).
41490 2012-12-09  Allan McRae  <allan@archlinux.org>
41492         * sysdeps/i386/fpu/libm-test-ulps: Update
41494 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41496         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41497         (_G_int32_t): Likewise.
41498         (_G_uint16_t): Likewise.
41499         (_G_uint32_t): Likewise.
41500         (_G_HAVE_BOOL): Likewise.
41501         (_G_HAVE_ATEXIT): Likewise.
41502         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41503         (_G_HAVE_IO_FILE_OPEN): Likewise.
41504         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41505         (_G_int32_t): Likewise.
41506         (_G_uint16_t): Likewise.
41507         (_G_uint32_t): Likewise.
41508         (_G_HAVE_BOOL): Likewise.
41509         (_G_HAVE_ATEXIT): Likewise.
41510         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41511         (_G_HAVE_IO_FILE_OPEN): Likewise.
41512         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41513         (_G_int32_t): Likewise.
41514         (_G_uint16_t): Likewise.
41515         (_G_uint32_t): Likewise.
41516         (_G_HAVE_BOOL): Likewise.
41517         (_G_HAVE_ATEXIT): Likewise.
41518         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41519         (_G_HAVE_IO_FILE_OPEN): Likewise.
41521 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41523         * csu/libc-tls.c: Update copyright years.
41525 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41527         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41528         [!_G_USING_THUNKS]: Remove conditional code.
41529         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41530         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41532         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41533         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41534         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41535         (_G_VTABLE_LABEL_PREFIX): Likewise.
41536         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41537         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41538         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41539         (_G_VTABLE_LABEL_PREFIX): Likewise.
41540         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41541         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41542         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41543         (_G_VTABLE_LABEL_PREFIX): Likewise.
41544         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41546 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41548         * libio/Makefile: Include ../Makeconfig before tests.
41549         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41550         only if $(build-shared) is yes.
41552         * iconv/gconv_db.c: Update copyright years.
41554 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41556         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41557         unwind info if defined PIC. Fix special cases description.
41558         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41560         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41561         DP_HI_MASK entry.
41562         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41564 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41566         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41568         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41569         is NULL.
41571         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41572         (LDLIBS-tst-chk4): This.
41573         (LDFLAGS-tst-chk5): Renamed to ...
41574         (LDLIBS-tst-chk5): This.
41575         (LDFLAGS-tst-chk6): Renamed to ...
41576         (LDLIBS-tst-chk6): This.
41577         (LDFLAGS-tst-lfschk4): Renamed to ...
41578         (LDLIBS-tst-lfschk4): This.
41579         (LDFLAGS-tst-lfschk5): Renamed to ...
41580         (LDLIBS-tst-lfschk5): This.
41581         (LDFLAGS-tst-lfschk6): Renamed to ...
41582         (LDLIBS-tst-lfschk6): This.
41584         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41585         on $(common-objpfx)soversions.mk.
41587 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41589         [BZ #10014]
41590         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41591         example host name.
41593 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41595         * malloc/arena.c (arena_get_retry): New function that gets
41596         another arena for the caller to try its request on.
41597         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41598         current arena cannot fulfill the request.
41599         (__libc_memalign): Likewise.
41600         (__libc_memalign): Likewise.
41601         (__libc_pvalloc): Likewise.
41602         (__libc_calloc): Likewise.
41604 2012-09-05  John Tobey  <john.tobey@gmail.com>
41606         [BZ #13542]
41607         * manual/arith.texi (Operations on Complex): Fix description
41608         of carg branch cut.
41610 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41612         [BZ #10014]
41613         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41614         host name.
41616         [BZ #10038]
41617         * manual/memory.texi (Memory): Make order of menu items match
41618         order of sections.
41620 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41622         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41623         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41624         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41626 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41628         * csu/libc-tls.c (static_dtv): Renamed to ...
41629         (_dl_static_dtv): This.  Make it global.
41630         (_dl_initial_dtv): Removed.
41631         (__libc_setup_tls): Updated.
41632         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41633         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41634         DL_INITIAL_DTV.
41636 2012-09-06  Petr Machata  <pmachata@redhat.com>
41638         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41639         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41640         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41641         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41643 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41645         [BZ #14545]
41646         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41647         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41648         freeing dtv[-1].
41650 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41652         [BZ #14544]
41653         * Makeconfig (link-static-before-libc): Replace $(+prector)
41654         with $(+prectorT).
41655         (link-static-after-libc): Replace $(+postctor) with
41656         $(+postctorT).
41657         (link-bounded): Replace $(+prector)/$(+postctor) with
41658         $(+prectorT)/$(+postctorT).
41659         (+prectorT): New macro.
41660         (+postctorT): Likewise.
41662 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41664         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41665         (round_str): Handle values above the maximum for IBM long double
41666         as inexact.
41667         * stdlib/tst-strtod-round.c (tests): Regenerated.
41669 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41671         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41672         assembler flag.
41673         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41674         zarch_nohighgprs around the zarch optimized routines.
41675         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41676         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41677         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41678         for zarch.
41680 2012-09-05  David S. Miller  <davem@davemloft.net>
41682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41684         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41685         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41686         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41687         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41688         entries.
41690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41692         * malloc/arena.c: Fold copyright years.
41693         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41695 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41697         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41699 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41701         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41703 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41705         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41706         change internal state upon failure.
41708 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41710         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41711         * malloc/memusage.c (mmap): Likewise.
41712         (mmap64, mremap): Likewise.  Adjust name in comment.
41714 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41716         * libio/fileops.c: Fix typos in comments.
41717         * libio/oldfileops.c: Likewise.
41718         * libio/wfileops.c: Likewise.
41720 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41722         [BZ #1349]
41723         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41724         (tst-malloc-usable-ENV): Set environment for test case.
41725         * malloc/hooks.c (malloc_check_get_size): New function to get
41726         requested size.
41727         * malloc/malloc.c (musable): Use malloc_check_get_size.
41728         * malloc/tst-malloc-usable.c: New test case.
41730 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41732         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41734 2012-09-05  Allan McRae  <allan@archlinux.org>
41736         [BZ #13966]
41737         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41738         determine header location.
41739         * configure: Regenerated.
41741 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41743         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41744         float format.
41745         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41746         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41747         format.
41748         (test): Regenerate.
41750 2012-09-04  David S. Miller  <davem@davemloft.net>
41752         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41753         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41754         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41756 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41758         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41759         failures.
41761         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41763 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41765         [BZ #9914]
41766         * libio/iogetdelim.c: Include <limits.h>.
41767         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41768         + len + 1 would overflow.
41770 2012-09-03  Andreas Jaeger  <aj@suse.de>
41772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41773         * sysdeps/i386/fpu/libm-test-ulps: Update.
41775 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41777         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41778         Add s_sinf-sse2, s_conf-sse2.
41780         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41781         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41782         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41783         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41785         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41786         for using routine as __sinf_ia32.
41787         Use macro for function declaration and weak_alias.
41788         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41789         for using routine as __cosf_ia32.
41790         Use macro for function declaration and weak_alias.
41792         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41793         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41795         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41796         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41799         * math/libm-test.inc (cos_test): Add more test cases.
41800         (sin_test): Likewise.
41801         (sincos_test): Likewise.
41803 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41806         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41807         hidden.
41808         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41810 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41812         [BZ #14538]
41813         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41814         first element of the GOT.
41815         (elf_machine_load_address): Return the difference between
41816         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41818 2012-09-01  Allan McRae  <allan@archlinux.org>
41820         [BZ #13412]
41821         * configure.in (AWK): Require gawk version 3.0 or later.
41822         * configure: Regenerated.
41824 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41826         * sysdeps/unix/sysv/linux/kernel-features.h
41827         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41828         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41829         [__NR_clock_getres]: Make code unconditional.
41830         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41831         (clock_getcpuclockid): Remove code left unreachable by removal of
41832         conditionals.
41833         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41834         code unconditional.
41835         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41836         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41837         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41838         Make code unconditional.
41839         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41840         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41841         * sysdeps/unix/sysv/linux/clock_settime.c
41842         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41843         conditional code.
41844         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41845         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41847 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41849         [BZ #14476]
41850         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41851         scripts/test-installation.pl.
41853         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41854         and $ld_so_version if it is set.
41856 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41858         [BZ #14516]
41859         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41860         failure if reading from procfs failed.
41861         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41863 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41865         * sysdeps/unix/sysv/linux/kernel-features.h
41866         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41867         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41868         Remove conditional code.
41869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41870         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41871         Remove conditional code.
41872         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41873         * sysdeps/unix/sysv/linux/i386/fxstat.c
41874         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41875         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41876         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41877         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41878         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41879         * sysdeps/unix/sysv/linux/i386/lxstat.c
41880         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41881         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41882         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41883         Remove conditional code.
41884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41885         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41886         Remove conditional code.
41887         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41888         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41889         <kernel-features.h>.
41890         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41891         Remove.
41892         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41893         Remove conditional code.
41894         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41895         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41896         Remove conditional.
41898 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41900         [BZ #5400]
41901         * NEWS: Add fixed bug number.
41903 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41905         [BZ #14519]
41906         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41907         underflowing exponent in case of negative sign.
41908         * stdlib/tst-strtod-round-data: Add more tests.
41909         * stdlib/tst-strtod-round.c (tests): Regenerated.
41911         [BZ #3479]
41912         * stdlib/strtod_l.c (NDIG): Remove.
41913         (HEXNDIG): Likewise.
41914         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41915         smallest representable value.
41916         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41917         lie within an exact representation of 1/2 ulp of the result.
41918         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41919         unconditionally.
41920         (TENS_P9_IDX): Define unconditionally.
41921         (TENS_P9_SIZE): Likewise.
41922         (TENS_P10_IDX): Likewise.
41923         (TENS_P10_SIZE): Likewise.
41924         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41925         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41926         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41927         entries for 10^2^13 and 10^2^14.
41928         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41929         (TENS_P13_IDX): Define.
41930         (TENS_P13_SIZE): Likewise.
41931         (TENS_P14_IDX): Likewise.
41932         (TENS_P14_SIZE): Likewise.
41933         (_fpioconst_pow10): Change array size to
41934         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
41935         unconditional.
41936         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41937         1024]: Add entries for 10^2^13 and 10^2^14.
41938         [LAST_POW10 > _LAST_POW10]: Remove #error.
41939         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41940         (_fpioconst_pow10): Change array size to
41941         FPIOCONST_POW10_ARRAY_SIZE.
41942         * stdlib/gen-fpioconst.c: New file.
41943         * stdlib/gen-tst-strtod-round.c: Likewise.
41944         * stdlib/tst-strtod-round-data: Likewise.
41945         * stdlib/tst-strtod-round.c: Likewise.
41946         * stdlib/Makefile (tests): Add tst-strtod-round.
41948         [BZ #14459]
41949         * stdlib/strtod_l.c: Include <stdint.h>.
41950         (NDEBUG): Do not define.
41951         (round_and_return): Change EXPONENT parameter to type intmax_t.
41952         Rearrange calculations to avoid internal overflow possibilities.
41953         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41954         Rearrange calculations to avoid internal overflow possibilities.
41955         Assert that number fits inside MPNSIZE limbs.
41956         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41957         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
41958         calculations and add assertions to avoid internal overflow
41959         possibilities.  Add casts to avoid signed/unsigned operations.
41960         * stdlib/tst-strtod-overflow.c: New file.
41961         * stdlib/Makefile (tests): Add tst-strtod-overflow.
41963 2012-08-25  Marek Polacek  <polacek@redhat.com>
41965         * time/time.h: Fix some typos in comments.
41967 2012-08-23  Roland McGrath  <roland@hack.frob.com>
41969         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41970         * posix/tst-rfc3484-2.c: Likewise.
41971         * posix/tst-rfc3484-3.c: Likewise.
41973 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
41975         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41976         (EF_ARM_ABI_FLOAT_HARD): Likewise.
41978 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
41980         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41981         #include of fxstatat64.c.
41983 2012-08-22  Roland McGrath  <roland@hack.frob.com>
41985         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41986         * shadow/getspent_r.c: Likewise.
41987         * shadow/getspnam.c: Likewise.
41988         * shadow/getspnam_r.c: Likewise.
41989         * gshadow/getsgent.c: Likewise.
41990         * gshadow/getsgent_r.c: Likewise.
41991         * gshadow/getsgnam.c: Likewise.
41992         * gshadow/getsgnam_r.c: Likewise.
41993         * inet/getnetbyad.c: Likewise.
41994         * inet/getnetbyad_r.c: Likewise.
41995         * inet/getnetbynm.c: Likewise.
41996         * inet/getnetbynm_r.c: Likewise.
41997         * inet/getnetent.c: Likewise.
41998         * inet/getnetent_r.c: Likewise.
41999         * inet/getproto.c: Likewise.
42000         * inet/getproto_r.c: Likewise.
42001         * inet/getprtent.c: Likewise.
42002         * inet/getprtent_r.c: Likewise.
42003         * inet/getprtname.c: Likewise.
42004         * inet/getprtname_r.c: Likewise.
42005         * inet/getrpcbyname.c: Likewise.
42006         * inet/getrpcbyname_r.c: Likewise.
42007         * inet/getrpcbynumber.c: Likewise.
42008         * inet/getrpcbynumber_r.c: Likewise.
42009         * inet/getrpcent.c: Likewise.
42010         * inet/getrpcent_r.c: Likewise.
42011         * inet/getaliasent.c: Likewise.
42012         * inet/getaliasent_r.c: Likewise.
42013         * inet/getaliasname.c: Likewise.
42014         * inet/getaliasname_r.c: Likewise.
42015         * nscd/getgrgid_r.c: Likewise.
42016         * nscd/getgrnam_r.c: Likewise.
42017         * nscd/gethstbyad_r.c: Likewise.
42018         * nscd/gethstbynm3_r.c: Likewise.
42019         * nscd/getpwnam_r.c: Likewise.
42020         * nscd/getpwuid_r.c: Likewise.
42021         * nscd/getsrvbynm_r.c: Likewise.
42022         * nscd/getsrvbypt_r.c: Likewise.
42023         * nscd/gai.c: Likewise.
42025         * configure.in (build_nscd): New substituted variable, set
42026         by --disable-build-nscd and defaults to $use_nscd.
42027         * configure: Regenerated.
42028         * config.make.in (build-nscd): New substituted variable.
42029         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42030         Change conditional to require [$(build-nscd) = yes] as well.
42031         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42033         [BZ# 13696]
42034         * configure.in (use_nscd): New substituted variable, set by
42035         --disable-nscd.  If enabled, define USE_NSCD.
42036         * configure: Regenerated.
42037         * config.h.in: Add USE_NSCD.
42038         * config.make.in (use-nscd): New substituted variable.
42039         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42040         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42041         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42042         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42043         (CFLAGS-getgrnam_r.c): Likewise.
42044         (CFLAGS-initgroups.c): Likewise.
42045         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42046         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42047         Variables removed.
42048         * inet/getnetgrent_r.c
42049         (nscd_setnetgrent): New function, broken out of ...
42050         (setnetgrent): ... here.  Call it.
42051         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42052         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42053         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42054         * nscd/Makefile (routines, aux): Move definitions after include of
42055         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42056         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42057         Conditionalize on [USE_NSCD].
42058         (is_nscd, nscd_init_cb): Likewise.
42059         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42060         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42061         * nss/nss_db/db-init.c: Likewise.
42062         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42063         [USE_NSCD].
42064         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42065         (make_request): Use it.
42066         (cache_valid_p): New function.
42067         (__check_pf): Use it.
42068         * NEWS: Add item for --disable-nscd.
42070 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42072         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42073         to support sed >= 4.2.1-20-ga9bf076.
42074         * configure: Regenerated.
42076 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42078         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42079         Conditionalize whole body on [IREL].
42081 2012-08-22  Jeff Law <law@redhat.com>
42083         [BZ #14505]
42084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42085         if the family is PF_UNSPEC.
42087 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42089         * Makerules (lib-version): Rename from V.
42090         (install-lib-nosubdir): Change V to lib-version.
42092 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42094         [BZ #14252]
42095         * powerpc32/power6/wcschr.c: New file.
42096         * powerpc32/power6/wcscpy.c: New file.
42097         * powerpc32/power6/wcsrchr.c: New file.
42098         * powerpc64/power6/wcschr.c: New file.
42099         * powerpc64/power6/wcscpy.c: New file.
42100         * powerpc64/power6/wcsrchr.c: New file.
42102 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42104         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42105         (two_way_short_needle): Use it.
42106         * string/strstr.c (AVAILABLE1_USES_J): Define.
42107         * string/strcasestr.c: Likewise.
42109         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42110         array references.
42111         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42113         [BZ #11607]
42114         * NEWS: Add an entry.
42115         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42116         define their defaults.
42117         (two_way_short_needle): Detect end-of-string on-the-fly.
42118         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42119         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42120         * string/bug-strcasestr1.c: New test.
42121         * string/Makefile: Run it.
42123 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42125         [BZ #11607]
42126         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42127         the first character.
42129 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42131         * csu/elf-init.c (__libc_csu_irel): Function removed.
42132         * csu/libc-start.c (apply_irel): New function.
42133         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42135 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42137         * sysdeps/unix/sysv/linux/kernel-features.h
42138         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42139         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42140         <kernel-features.h>.
42141         [__NR_fadvise64_64]: Make code unconditional.
42142         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42143         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42144         !__NR_fadvise64_64)]: Likewise.
42145         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42146         !__NR_fadvise64_64))]: Likewise.
42147         [__NR_fadvise64]: Make code unconditional.
42148         [!__NR_fadvise64]: Remove conditional code.
42149         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42150         <kernel-features.h>.
42151         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42152         unconditional.
42153         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42154         conditional code.
42155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42156         not include <kernel-features.h>.
42157         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42158         unconditional.
42159         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42160         conditional code.
42161         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42162         include <kernel-features.h>.
42163         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42164         unconditional.
42165         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42166         conditional code.
42168 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42170         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42171         slight instruction rearrangements per scrollpipe analysis.
42172         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42174 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42176         * manual/syslog.texi (syslog; vsyslog, closelog):
42177         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42178         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42180         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42181         DSOCAPS to match condition on defining it.
42183 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42185         * sysdeps/unix/sysv/linux/kernel-features.h
42186         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42188         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42189         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42191         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42192         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42194         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42195         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42197         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42198         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42200         * sysdeps/unix/sysv/linux/kernel-features.h
42201         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42202         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42203         unconditional.
42204         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42205         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42206         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42207         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42208         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42209         Make code unconditional.
42210         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42211         (__mmap64) [!__NR_mmap2]: Likewise.
42212         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42213         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42214         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42215         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42216         [__NR_mmap2]: Make code unconditional.
42217         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42218         (__mmap64) [!__NR_mmap2]: Likewise.
42220 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42222         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42224 2012-08-18  Andreas Jaeger  <aj@suse.de>
42226         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42228 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42230         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42231         * include/unistd.h (__have_sock_cloexec): Likewise.
42232         (__have_pipe2): Likewise.
42233         (__have_dup3): Likewise.
42235 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42237         [BZ #9685]
42238         * include/unistd.h (__have_pipe2): Change define into an extern int.
42239         (__have_dup3): Likewise.
42240         * socket/have_sock_cloexec.c: Include fcntl.h.
42241         (__have_pipe2): New variable.
42242         (__have_dup3): Likewise.
42244 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42246         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42248 2012-08-17  Marek Polacek  <polacek@redhat.com>
42250         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42251         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42253 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42255         * configure.in: Add AC_SUBST for sysheaders.
42256         * configure: Regenerated.
42257         * config.make.in (sysheaders): New substituted variable.
42259         * sysdeps/unix/mkfifo.c: Moved ...
42260         * sysdeps/posix/mkfifo.c: ... here.
42261         * sysdeps/unix/mkfifoat.c: Moved ...
42262         * sysdeps/posix/mkfifoat.c: ... here.
42264         * sysdeps/unix/utime.c: Moved ...
42265         * sysdeps/posix/utime.c: ... here.
42267         * sysdeps/unix/time.c: Moved ...
42268         * sysdeps/posix/time.c: ... here.
42269         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42270         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42272         * sysdeps/unix/nice.c: Moved ...
42273         * sysdeps/posix/nice.c: ... here.
42275         * sysdeps/unix/alarm.c: Moved ...
42276         * sysdeps/posix/alarm.c: ... here.
42278         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42280 2012-08-17  Jeff Law <law@redhat.com>
42282         * intl/Makefile (codeset_mo): New variable.
42283         ($(codeset_mo)): New target.
42284         (tst-codeset.out): Depend on that.  Remove explicit rule.
42285         (tst-gettext3.out, tst-gettext5.out): Likewise.
42286         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42287         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42288         * intl/tst-codeset.sh: Remove.
42289         * intl/tst-gettext3.sh: Likewise.
42290         * intl/tst-gettext5.sh: Likewise.
42292 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42294         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42295         * sysdeps/unix/syscalls.list: ... here.
42297         * sysdeps/posix/getaddrinfo.c
42298         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42299         (gaiconf_init, gaiconf_reload): Use them.
42300         [!_STATBUF_ST_NSEC]
42301         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42302         Define using time_t rather than struct timespec.
42304         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42305         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42306         Macros removed.
42307         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42308         [!NO_THREADS].
42309         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42310         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42311         Likewise.
42313         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42314         __libc_cleanup_push argument.
42316         * bits/param.h: New file.
42317         * misc/sys/param.h: New file.
42318         * include/sys/param.h: New file.
42319         * misc/Makefile (headers): Add bits/param.h.
42320         * sysdeps/generic/sys/param.h: File removed.
42321         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42322         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42323         * sysdeps/mach/hurd/bits/param.h: New file.
42324         * sysdeps/mach/hurd/sys/param.h: File removed.
42326         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42327         last change.
42329         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42330         [_IO_MTSAFE_IO].
42331         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42332         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42333         New macros.
42335         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42336         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42337         rather than -D_IO_MTSAFE_IO conditionally.
42338         * stdio-common/Makefile (CPPFLAGS): Likewise.
42339         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42340         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42341         Use $(libio-mtsafe).
42342         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42343         of -D_IO_MTSAFE_IO.
42344         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42345         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42346         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42347         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42348         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42349         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42350         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42351         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42352         (CFLAGS-fread_u_chk.c): Likewise.
42353         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42354         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42355         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42356         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42357         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42358         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42359         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42360         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42361         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42363         * libio/Makefile: Test [$(libc-reentrant) = yes]
42364         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42366         * Makeconfig
42367         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42368         * sysdeps/pthread/configure: File removed.
42369         * sysdeps/pthread/Makeconfig: New file.
42370         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42371         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42373 2012-08-16  Gary Benson  <gbenson@redhat.com>
42375         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42376         unmapping the first object in a namespace.
42378 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42380         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42381         (__internal_setnetgrent): ... this.  Add internal_function to
42382         definition.  Add libc_hidden_def.
42383         (setnetgrent): Update caller.
42384         (internal_endnetgrent): Renamed to ...
42385         (__internal_endnetgrent): ... this.  Add internal_function to
42386         definition.  Add libc_hidden_def.
42387         (endnetgrent): Update caller.
42388         (internal_getnetgrent_r): Renamed to ...
42389         (__internal_getnetgrent_r): ... this.  Add internal_function to
42390         definition.  Add libc_hidden_def.
42391         (__getnetgrent_r): Update caller.
42392         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42394 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42396         * stdlib/longlong.h: Update from GCC.
42398 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42400         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42401         on _QL, which is set by umul_ppmm but never used.
42402         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42403         variables, which are set by GMP macros but never used.
42404         * stdio-common/_itowa.c (_itowa): Likewise.
42405         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42406         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42408 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42410         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42411         struct La_sh_regs is not constant.
42412         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42413         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42414         and struct La_sparc64_regs are not constant.
42416 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42418         * sysdeps/unix/sysv/linux/kernel-features.h
42419         (__ASSUME_POSIX_TIMERS): Remove.
42420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42421         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42422         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42423         Make code unconditional.
42424         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42425         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42426         Make code unconditional.
42427         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42428         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42429         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42430         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42431         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42432         Make code unconditional.
42433         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42434         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42435         (__libc_missing_posix_timers): Remove.
42437 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42439         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42440         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42442         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42444         * elf/dl-sym.c: Include <stdlib.h>.
42446         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42447         constants, which avoids warnings in 32-bit builds.
42449         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42450         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42452         * misc/lseek.c: File moved to ...
42453         * io/lseek.c: ... here.
42455         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42457         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42458         shifting LEN more than 31 bits at once.
42460 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42462         [BZ #14195]
42463         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42464         segmentation fault for a case of two empty input strings.
42465         * string/test-strncasecmp.c (check1): Renamed to...
42466         (bz12205): ...this.
42467         (bz14195): Add new testcase for two empty input strings and N > 0.
42468         (test_main): Call new testcase, adapt for renamed function.
42470 2012-08-15  Andreas Jaeger  <aj@suse.de>
42472         [BZ #14090]
42473         * crypt/md5test2.c: New test, based on test supplied by Serge
42474         Belyshev <belyshev@depni.sinp.msu.ru>.
42475         * crypt/Makefile (xtests): Add md5test-giant..
42476         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42478 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42480         [BZ #14090]
42481         * crypt/md5.c (md5_process_block): Don't assume the buffer
42482         length is less than 2**32.
42483         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42484         length is less than 2**64.
42486 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42488         * string/str-two-way.h: Include <sys/param.h>.
42489         (MAX): Macro removed.
42491         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42492         Move #define and #undef of memmove to just before and after
42493         including <string.h>.
42495         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42496         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42497         and after including <string.h>.  Move declarations of
42498         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42499         to before #include "string/memmove.c".
42501         * include/dirent.h: Declare __getdirentries.
42503         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42504         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42506 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42508         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42509         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42510         * sysdeps/i386/configure: Regenerated.
42511         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42512         STABS_CURRENT_FILE, and STABS_FUN.
42513         (END): Remove call to STABS_FUN_END.
42514         (STABS_CURRENT_FILE1): Delete.
42515         (STABS_CURRENT_FILE): Likewise.
42516         (STABS_FUN): Likewise.
42517         (STABS_FUN_END): Likewise.
42518         (STABS_FUN2): Likewise.
42519         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42520         * sysdeps/x86_64/configure: Regenerated.
42522 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42524         * elf/dl-open.c: Include <atomic.h>.
42525         * elf/dl-lookup.c: Likewise.
42527 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42529         * sysdeps/unix/sysv/linux/kernel-features.h
42530         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42531         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42532         unconditionally.
42533         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42534         unconditionally.
42535         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42536         condition on __ASSUME_CLONE_THREAD_FLAGS.
42538 2012-08-14  Andreas Jaeger  <aj@suse.de>
42540         * sysdeps/i386/fpu/libm-test-ulps: Update.
42542 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42544         * include/atomic.h (atomic_exchange_and_add): Split into ...
42545         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42546         New atomic macros.
42548 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42552 2012-08-13  Jeff Law <law@redhat.com>
42554         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42555         null byte in the output string.
42557 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42559         * sysdeps/unix/sysv/linux/kernel-features.h
42560         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42561         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42562         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42563         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42564         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42565         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42566         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42568 2012-08-09  Jeff Law <law@redhat.com>
42570         [BZ #13939]
42571         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42572         When avoid_arena is set, don't retry in the that arena.  Pick the
42573         next one, whatever it might be.
42574         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42575         (arena_lock): Pass in new parameter to arena_get2.
42576         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42577         arena_get2.
42578         (__libc_malloc): Unify retrying after main arena failure with
42579         __libc_memalign version.
42580         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42582 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42584         [BZ #14166]
42585         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42586         to __redirect_strstr.
42587         (__strstr_sse42): Use typeof __redirect_strstr.
42588         (__strstr_ia32): Likewise.
42589         (__libc_strstr): New prototype.
42590         (strstr): Renamed to ...
42591         (__libc_strstr): This.
42592         (strstr): New strong alias of __libc_strstr.
42593         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42594         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42595         __redirect_time.
42596         Include <time.h>.
42597         (__libc_time): New prototype.
42598         (time_ifunc): Replace time with __libc_time.
42599         (time): New strong alias and hidden definition of __libc_time.
42600         (__GI_time): Remove strong alias.
42601         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42602         Include <stddef.h>.
42603         (memmove): Redefined to __redirect_memmove.
42604         (__memmove_sse2): Use typeof __redirect_memmove.
42605         (__memmove_ssse3): Likewise.
42606         (__memmove_ssse3_back): Likewise.
42607         (__libc_memmove): New prototype.
42608         (memmove): Renamed to ...
42609         (__libc_memmove): This.
42610         (memmove): New strong alias of __libc_memmove.
42612 2012-08-08  Mark Salter  <msalter@redhat.com>
42614         * elf/elf.h
42615         (R_MN10300_TLS_GD): Define.
42616         (R_MN10300_TLS_LD): Likewise.
42617         (R_MN10300_TLS_LDO): Likewise.
42618         (R_MN10300_TLS_GOTIE): Likewise.
42619         (R_MN10300_TLS_IE): Likewise.
42620         (R_MN10300_TLS_LE): Likewise.
42621         (R_MN10300_TLS_DTPMOD): Likewise.
42622         (R_MN10300_TLS_DTPOFF): Likewise.
42623         (R_MN10300_TLS_TPOFF): Likewise.
42624         (R_MN10300_SYM_DIFF): Likewise.
42625         (R_MN10300_ALIGN): Likewise.
42626         (R_MN10300_NUM): Update.
42628 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42631         Remove.
42633 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42635         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42637         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42638         sysdeps/unix -> sysdeps/posix move.
42639         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42641 2012-08-07      Allan McRae     <allan@archlinux.org>
42643         [BZ #14303]
42644         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42645         (SUNOS_CPP): Likewise.
42646         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42647         not found.
42648         (open_input): Call CPP using execvp.
42650 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42652         * sysdeps/unix/sysv/linux/kernel-features.h
42653         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42654         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42655         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42656         (__ASSUME_WAITID_SYSCALL): Likewise.
42657         * sysdeps/unix/sysv/linux/dl-execstack.c
42658         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42659         code unconditional.
42660         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42661         conditional code.
42662         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42663         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42664         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42665         code.
42666         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42667         unconditional.
42668         [__ASSUME_WAITID_SYSCALL]: Likewise.
42669         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42671 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42673         * sysdeps/unix/closedir.c: Renamed to ...
42674         * sysdeps/posix/closedir.c: ... here.
42675         * sysdeps/unix/dirfd.c: Renamed to ...
42676         * sysdeps/posix/dirfd.c: ... here.
42677         * sysdeps/unix/dirstream.h: Renamed to ...
42678         * sysdeps/posix/dirstream.h: ... here.
42679         * sysdeps/unix/fdopendir.c: Renamed to ...
42680         * sysdeps/posix/fdopendir.c: ... here.
42681         * sysdeps/unix/opendir.c: Renamed to ...
42682         * sysdeps/posix/opendir.c: ... here.
42683         * sysdeps/unix/readdir.c: Renamed to ...
42684         * sysdeps/posix/readdir.c: ... here.
42685         * sysdeps/unix/readdir_r.c: Renamed to ...
42686         * sysdeps/posix/readdir_r.c: ... here.
42687         * sysdeps/unix/rewinddir.c: Renamed to ...
42688         * sysdeps/posix/rewinddir.c: ... here.
42689         * sysdeps/unix/seekdir.c: Renamed to ...
42690         * sysdeps/posix/seekdir.c: ... here.
42691         * sysdeps/unix/telldir.c: Renamed to ...
42692         * sysdeps/posix/telldir.c: ... here.
42693         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42694         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42695         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42696         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42698         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42699         * bits/fcntl.h: ... here.
42701         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42702         not 0.
42703         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42704         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42705         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42706         (struct flock): Move l_start, l_len to the beginning.
42707         Use __pid_t for l_pid.
42708         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42709         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42710         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42711         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42712         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42713         [__USE_LARGEFILE64] (struct flock64): New type.
42714         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42716         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42717         * bits/dirent.h: ... here.
42719         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42720         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42722 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42725         Change from 2.6.0 to 2.6.16.
42726         * sysdeps/unix/sysv/linux/configure: Regenerated.
42727         * sysdeps/unix/sysv/linux/kernel-features.h
42728         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42729         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42730         version.
42731         (__ASSUME_UTIMES): Likewise.
42732         (__ASSUME_CLONE_STOPPED): Remove.
42733         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42734         architectures, not kernel version.
42735         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42736         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42737         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42738         (__ASSUME_WAITID_SYSCALL): Likewise.
42739         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42740         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42741         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42742         refer to older versions.
42744 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42746         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42747         Define alphasort64 as an alias.
42748         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42749         Define versionsort64 as an alias.
42750         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42751         Define scandir64 as an alias.
42752         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42753         Define scandirat64 as an alias.
42754         * dirent/alphasort64.c (alphasort64):
42755         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42756         * dirent/versionsort64.c: Likewise.
42757         * dirent/scandir64.c: Likewise.
42758         * dirent/scandirat64.c: Likewise.
42759         * sysdeps/wordsize-64/alphasort.c: File removed.
42760         * sysdeps/wordsize-64/alphasort64.c: File removed.
42761         * sysdeps/wordsize-64/scandir.c: File removed.
42762         * sysdeps/wordsize-64/scandir64.c: File removed.
42763         * sysdeps/wordsize-64/scandirat.c: File removed.
42764         * sysdeps/wordsize-64/scandirat64.c: File removed.
42765         * sysdeps/wordsize-64/versionsort.c: File removed.
42766         * sysdeps/wordsize-64/versionsort64.c: File removed.
42767         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42768         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42770         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42772         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42773         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42774         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42776         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42778         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42779         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42780         [defined __arch64__ || defined __sparcv9]
42781         (__INO_T_MATCHES_INO64_T): New macro.
42782         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42783         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42784         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42785         * sysdeps/unix/sysv/linux/bits/dirent.h
42786         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42787         (_DIRENT_MATCHES_DIRENT64): New macro.
42789         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42790         Define lockf64 as an alias.
42791         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42792         Define fseeko64 as an alias.
42793         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42794         Define ftello64 as an alias.
42795         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42796         Define _IO_fgetpos64 and fgetpos64 as aliases.
42797         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42798         Define _IO_fsetpos64 and fsetpos64 as aliases.
42799         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42800         Conditionalize body on this.
42801         * libio/fseeko64.c: Likewise.
42802         * libio/ftello64.c: Likewise.
42803         * libio/iofgetpos64.c: Likewise.
42804         * libio/iofsetpos64.c: Likewise.
42805         * sysdeps/wordsize-64/lockf.c: File removed.
42806         * sysdeps/wordsize-64/lockf64.c: File removed.
42807         * sysdeps/wordsize-64/fseeko.c: File removed.
42808         * sysdeps/wordsize-64/fseeko64.c: File removed.
42809         * sysdeps/wordsize-64/ftello.c: File removed.
42810         * sysdeps/wordsize-64/ftello64.c: File removed.
42811         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42812         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42813         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42814         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42815         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42816         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42817         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42818         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42819         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42820         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42821         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42822         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42823         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42824         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42826         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42827         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42828         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42829         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42830         [defined __arch64__ || defined __sparcv9]
42831         (__OFF_T_MATCHES_OFF64_T): New macro.
42832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42833         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42835         (__OFF_T_MATCHES_OFF64_T): New macro.
42837 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42839         * stdlib/secure-getenv.c (__secure_getenv): Replace
42840         GLIBC_2_16 with GLIBC_2_17.
42842 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42844         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42847 2012-08-03  David S. Miller  <davem@davemloft.net>
42849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42851 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42853         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42854         Remove.
42855         (__ASSUME_CORRECT_SI_PID): Likewise.
42856         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42857         (__ASSUME_TMPFS_NAME): Likewise.
42858         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42859         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42860         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42861         (HAVE_AUX_SECURE): Make definition unconditional.
42862         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42863         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42865 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42867         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42868         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42869         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42870         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42871         __eloop_threshold instead of SYMLOOP_MAX.
42873         * sysdeps/generic/eloop-threshold.h: New file.
42874         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42875         of MAXSYMLINKS.
42876         * elf/chroot_canon.c (chroot_canon): Likewise.
42878 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42880         [BZ #13717]
42881         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42882         Change to 2.6.0 everywhere.
42883         * sysdeps/unix/sysv/linux/configure: Regenerated.
42884         * sysdeps/unix/sysv/linux/kernel-features.h
42885         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42886         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42887         kernel versions.
42888         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42889         (__ASSUME_FUTEX_REQUEUE): Remove.
42890         (__ASSUME_STATFS64): Define unconditionally.
42891         (__ASSUME_AT_SECURE): Likewise.
42892         (__ASSUME_CORRECT_SI_PID): Likewise.
42893         (__ASSUME_TGKILL): Define without depending on kernel version for
42894         i386.
42895         (__ASSUME_UTIMES): Likewise.
42896         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42897         kernel version.
42898         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42899         (__ASSUME_TMPFS_NAME): Likewise.
42900         * README: Update reference to Linux kernel versions.
42902 2012-08-02  Marek Polacek  <polacek@redhat.com>
42904         [BZ# 14150]
42905         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42906         libc_cv_asm_type_prefix with %.
42907         * configure: Regenerated.
42908         * include/libc-symbols.h: Remove comment about
42909         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42910         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42911         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42912         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42913         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42914         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42915         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42916         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42917         * elf/tst-unique2mod1.c: Likewise.
42918         * elf/tst-unique1mod2.c: Likewise.
42919         * elf/tst-unique1mod1.c: Likewise.
42920         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42921         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42922         Replace ASM_TYPE_DIRECTIVE with .type.
42923         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42924         * sysdeps/i386/sysdep.h: Likewise.
42925         * sysdeps/x86_64/sysdep.h: Likewise.
42926         * sysdeps/sh/sysdep.h: Likewise.
42927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42928         Do not define ASM_TYPE_DIRECTIVE.
42929         * sysdeps/powerpc/sysdep.h: Likewise.
42930         * sysdeps/powerpc/powerpc32/sysdep.h:
42931         Replace ASM_TYPE_DIRECTIVE with .type.
42932         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42933         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42934         * sysdeps/i386/fpu/e_powf.S: Likewise.
42935         * sysdeps/i386/fpu/e_expl.S: Likewise.
42936         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42937         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42938         * sysdeps/i386/fpu/e_pow.S: Likewise.
42939         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42940         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42941         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42942         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42943         * sysdeps/i386/fpu/e_log2.S: Likewise.
42944         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42945         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42946         * sysdeps/i386/fpu/e_powl.S: Likewise.
42947         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42948         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42949         * sysdeps/i386/fpu/e_logl.S: Likewise.
42950         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42951         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42952         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42953         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42954         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42955         * sysdeps/i386/fpu/e_log.S: Likewise.
42956         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42957         * sysdeps/i386/fpu/e_logf.S: Likewise.
42958         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42959         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42960         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42961         * sysdeps/i386/fpu/e_log10.S: Likewise.
42962         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42963         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42964         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42965         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42966         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42967         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42968         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42969         * sysdeps/i386/i686/strtok.S: Likewise.
42970         * sysdeps/i386/i386-mcount.S: Likewise.
42971         * sysdeps/i386/strtok.S: Likewise.
42972         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42973         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42974         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42975         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42976         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42977         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42978         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42979         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42980         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42981         * sysdeps/x86_64/_mcount.S: Likewise.
42982         * sysdeps/x86_64/strtok.S: Likewise.
42983         * sysdeps/sh/_mcount.S: Likewise.
42985 2012-08-01  Roland McGrath  <roland@hack.frob.com>
42987         * libio/iofopen.c: Include <fcntl.h>.
42988         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42989         (_IO_fopen64, fopen64): Define as aliases.
42990         * libio/iofopen64.c: Include <fcntl.h>.
42991         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42992         Conditionalize body on this.
42993         * sysdeps/wordsize-64/iofopen.c: File removed.
42994         * sysdeps/wordsize-64/iofopen64.c: File removed.
42996 2012-08-01  Marek Polacek  <polacek@redhat.com>
42998         * libc/Makeconfig: Use elf in place of binfmt-subdir.
42999         Use dlfcn directly instead of a variable.
43000         (binfmt-subdir): Do not define.
43001         (dlfcn): Likewise.
43003 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43005         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43006         Remove all definitions.
43007         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43008         <kernel-features.h>.
43009         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43010         (miss_F_GETOWN_EX): Remove all definitions.
43011         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43012         macro definition.
43013         [!__ASSUME_FCNTL64]: Remove conditional code.
43014         [__ASSUME_FCNTL64]: Make code unconditional.
43015         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43016         <kernel-features.h>.
43017         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43018         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43019         (lockf64) [__NR_fcntl64]: Make code unconditional.
43020         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43022         * sysdeps/unix/sysv/linux/kernel-features.h
43023         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43024         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43025         Make code unconditional.
43026         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43027         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43029         [__NR_vfork]: Make code unconditional.
43030         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43031         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43033         [__NR_vfork]: Make code unconditional.
43034         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43035         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43037 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43039         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43040         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43042         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43043         Define mkstemp64 as an alias.
43044         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43045         Define mkstemps64 as an alias.
43046         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43047         Define mkostemp64 as an alias.
43048         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43049         Define mkostemps64 as an alias.
43050         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43051         Conditionalize body on this.
43052         * misc/mkostemp64.c: Likewise.
43053         * misc/mkostemps64.c: Likewise.
43054         * misc/mkstemps64.c: Likewise.
43055         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43056         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43057         * sysdeps/wordsize-64/mkostemp.c: File removed.
43058         * sysdeps/wordsize-64/mkstemp.c: File removed.
43059         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43060         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43061         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43062         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43064         [BZ #14138]
43065         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43066         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43067         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43068         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43070         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43071         compat_symbol macros from <shlib-compat.h> rather than the underlying
43072         default_symbol_version and symbol_version macros, so that DEFAULT
43073         lines in shlib-versions are respected.
43074         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43076 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43078         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43079         Declare with warn_unused_result.
43080         (setgid, setregid, setegid, setresgid): Likewise.
43081         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43082         Likewise.
43083         * WUR-REPORT: Remove set*id functions.
43085 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43087         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43089 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43091         [BZ #10191]
43092         * include/sys/socket.h (__libc_accept, __libc_accept4):
43093         Add attribute_hidden.
43094         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43096         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43097         use of PTR_MANGLE.
43098         * inet/getnetgrent_r.c (setup): Likewise.
43100         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43102 2012-07-31  David S. Miller  <davem@davemloft.net>
43104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43106 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43108         [BZ #13629]
43109         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43110         value between 1.0 and 2.0 and smaller part has absolute value less
43111         than 1.0.
43112         * math/s_clog10.c (__clog10): Likewise.
43113         * math/s_clog10f.c (__clog10f): Likewise.
43114         * math/s_clog10l.c (__clog10l): Likewise.
43115         * math/s_clogf.c (__clogf): Likewise.
43116         * math/s_clogl.c (__clogl): Likewise.
43117         * math/libm-test.inc (clog_test): Add more tests.
43118         (clog10_test): Likewise.
43119         * sysdeps/i386/fpu/libm-test-ulps: Update.
43120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43122 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43124         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43125         Exit with zero in case no suitable GID is found, and write a
43126         message to standard error.
43128 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43130         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43131         rather than to 1.
43132         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43133         (MAXPATHLEN): Removed.
43134         (NOGROUP, NODEV): New macros.
43135         (setbit, clrbit, isset, isclr): New macros.
43136         (howmany, roundup, powerof2): New macros.
43137         (DEV_BSIZE): New macro.
43139         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43140         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43142         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43143         definition on [!__NO_LONG_DOUBLE_MATH].
43145         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43146         PTR_MANGLE and PTR_DEMANGLE.
43148         * socket/accept4.c (accept4): Rename to __libc_accept4.
43149         Define accept4 as a weak alias.
43151         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43152         on [_DIRENT_HAVE_D_TYPE].
43153         * io/ftw.c (ftw_dir): Likewise.
43155         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43157         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43159         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43160         Use the BSD numbers rather than the arbitrary ones we had.
43161         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43162         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43163         (SIGXCPU, SIGXFSZ): New macros.
43164         (_NSIG): Now 32.
43166         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43167         initializer on [_LIBC_REENTRANT].
43169         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43170         definitions inside [_POSIX_MAPPED_FILES].
43172         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43174         * dirent/opendir.c: Include <fcntl.h>.
43176         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43177         (__libc_getspecific): Likewise.
43178         (__libc_key_create): Likewise.
43180         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43181         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43182         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43183         (tmpfile64): Define as alias.
43184         * sysdeps/wordsize-64/tmpfile.c: File removed.
43185         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43186         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43187         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43189         * stdio-common/vfscanf.c: Include <stdbool.h>.
43190         * nss/makedb.c: Likewise.
43191         * stdio-common/_i18n_number.h: Likewise.
43192         * argp/argp-help.c: Likewise.
43193         * posix/wordexp.c: Likewise.
43194         * sysdeps/posix/spawni.c: Likewise.
43195         * nss/nss_files/files-initgroups.c: Likewise.
43196         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43197         * nss/nss_files/files-initgroups.c: Likewise.
43198         * nss/nss_db/db-netgrp.c: Likewise.
43199         * nss/nss_db/db-initgroups.c: Likewise.
43200         * io/fchmodat.c: Include <sys/stat.h>.
43202         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43203         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43205         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43206         [HAVE_MMAP].
43208         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43209         Add multiple inclusion protection.
43211 2012-07-27  David S. Miller  <davem@davemloft.net>
43213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43215 2012-07-27  Gary Benson  <gbenson@redhat.com>
43217         [BZ #14298]
43218         * elf/rtld.c: Include <stap-probe.h>.
43219         (dl_main): Added static probes "init_start" and "init_complete".
43220         * elf/dl-load.c: Include <stap-probe.h>.
43221         (lose): Take new parameter "nsid".
43222         Added static probe "map_failed".
43223         (_dl_map_object_from_fd): Pass namespace id to lose.
43224         Added static probe "map_start".
43225         (open_verify): Pass namespace id to lose.
43226         * elf/dl-open.c: Include <stap-probe.h>.
43227         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43228         and "reloc_complete".
43229         * elf/dl-close.c: Include <stap-probe.h>.
43230         (_dl_close_worker): Added static probes "unmap_start" and
43231         "unmap_complete".
43232         * elf/rtld-debugger-interface.txt: New file documenting the above.
43234 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43236         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43237         rather than a string variable.
43238         * sunrpc/rpc_main.c (h_output): Likewise.
43239         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43241 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43243         * inet/check_native.c: New file.
43245 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43247         [BZ #13629]
43248         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43249         if larger part has absolute value 1.0.
43250         * math/s_clog10.c (__clog10): Likewise.
43251         * math/s_clog10f.c (__clog10f): Likewise.
43252         * math/s_clog10l.c (__clog10l): Likewise.
43253         * math/s_clogf.c (__clogf): Likewise.
43254         * math/s_clogl.c (__clogl): Likewise.
43255         * math/libm-test.inc (clog_test): Add more tests.
43256         (clog10_test): Likewise.
43257         * sysdeps/i386/fpu/libm-test-ulps: Update.
43258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43260         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43261         (pltexit): Likewise.
43262         (La_regs): Likewise.
43263         (La_retval): Likewise.
43264         (int_retval): Likewise.
43265         Update #error for removed macros to refer only to definitions in
43266         tst-audit.h.
43267         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43268         macro.
43269         (pltexit): Likewise.
43270         (La_regs): Likewise.
43271         (La_retval): Likewise.
43272         (int_retval): Likewise.
43273         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43274         macro.
43275         (pltexit): Likewise.
43276         (La_regs): Likewise.
43277         (La_retval): Likewise.
43278         (int_retval): Likewise.
43279         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43280         macro.
43281         (pltexit): Likewise.
43282         (La_regs): Likewise.
43283         (La_retval): Likewise.
43284         (int_retval): Likewise.
43285         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43286         macro.
43287         (pltexit): Likewise.
43288         (La_regs): Likewise.
43289         (La_retval): Likewise.
43290         (int_retval): Likewise.
43291         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43292         macro.
43293         (pltexit): Likewise.
43294         (La_regs): Likewise.
43295         (La_retval): Likewise.
43296         (int_retval): Likewise.
43297         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43298         macro.
43299         (pltexit): Likewise.
43300         (La_regs): Likewise.
43301         (La_retval): Likewise.
43302         (int_retval): Likewise.
43303         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43304         macro definitions in tst-audit.h.
43305         * sysdeps/i386/tst-audit.h: New file.
43306         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43307         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43308         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43309         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43310         * sysdeps/sh/tst-audit.h: Likewise.
43311         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43312         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43313         * sysdeps/x86_64/tst-audit.h: Likewise.
43315 2012-07-26  Andreas Jaeger  <aj@suse.de>
43317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43318         ptrace.
43320         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43321         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43322         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43323         PTRACE_O_MASK.
43324         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43325         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43326         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43328         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43329         value.
43331         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43332         _sigsys.
43333         (si_call_addr, si_syscall, si_arch): Define new macro.
43334         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43335         _sigsys.
43336         (si_call_addr, si_syscall, si_arch): Define new marcro.
43337         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43338         _sigsys.
43339         (si_call_addr, si_syscall, si_arch): Define new macro.
43340         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43341         _sigsys.
43342         (si_call_addr, si_syscall, si_arch): Define new macro.
43344 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43346         [BZ #13717]
43347         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43348         Change to 2.4.21 where previously 2.4.1.
43349         * sysdeps/unix/sysv/linux/configure: Regenerated.
43350         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43351         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43352         Linux kernel version.
43353         (__ASSUME_STD_AUXV): Remove.
43354         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43355         kernel version.
43356         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43357         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43358         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43359         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43360         (__ASSUME_NETLINK_SUPPORT): Likewise.
43361         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43362         (__no_netlink_support): Remove conditional definition.
43363         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43364         Remove.
43365         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43366         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43367         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43368         (if_nameindex_ioctl): Remove.
43369         (if_nameindex_netlink): Do not handle __no_netlink_support.
43370         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43371         code.
43372         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43373         Remove conditional code.
43374         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43375         code.
43376         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43377         unconditional.
43378         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43379         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43380         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43381         Remove.
43382         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43383         [!__ASSUME_STD_AUXV]: Remove conditional code.
43384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43385         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43386         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43388         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43389         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43390         code.
43391         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43393         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43394         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43395         conditional code.
43396         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43398         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43399         code.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43401         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43402         conditional code.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43404         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43405         code unconditional.
43406         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43407         conditional code.
43408         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43409         unconditional.
43410         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43411         conditional code.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43413         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43414         unconditional.
43415         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43416         conditional code.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43418         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43419         code unconditional.
43420         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43421         conditional code.
43422         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43423         unconditional.
43424         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43425         conditional code.
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43427         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43428         code unconditional.
43429         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43430         conditional code.
43431         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43432         unconditional.
43433         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43434         conditional code.
43436 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43438         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43439         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43440         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43441         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43442         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43443         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43444         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43445         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43446         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43447         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43448         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43449         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43450         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43451         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43452         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43453         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43454         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43456         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43458         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43459         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43460         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43462 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43464         * Versions.def: Add GLIBC_2.17.
43465         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43466         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43467         Introduce __libc_secure_getenv.
43468         * stdlib/Versions (2.17): Add secure_getenv
43469         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43470         * stdlib/secure-getenv.c: Rename __secure_getenv to
43471         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43472         symbol __secure_getenv for GLIBC_2.0.
43473         * stdlib/tst-secure-getenv.c: New.
43474         * stdlib/Makefile (tests): Add testcase.
43475         * manual/startup.texi (Environment Access): Document
43476         secure_getenv.
43477         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43478         __libc_secure_getenv.
43479         * inet/ruserpass.c (ruserpass): Likewise.
43480         * malloc/mtrace.c (mtrace): Likewise.
43481         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43482         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43483         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43484         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43485         HAVE_SECURE_GETENV.
43486         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43487         __secure_getenv to __libc_secure_getenv.
43488         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43490         Likewise.
43491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43492         Likewise.
43493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43495         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43501 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43503         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43504         (struct La_i86_retval): Likewise.
43505         (struct La_x86_64_regs): Likewise.
43506         (struct La_x86_64_retval): Likewise.
43507         (struct La_x32_regs): Likewise.
43508         (struct La_x32_retval): Likewise.
43509         (struct La_ppc32_regs): Likewise.
43510         (struct La_ppc32_retval): Likewise.
43511         (struct La_ppc64_regs): Likewise.
43512         (struct La_ppc64_retval): Likewise.
43513         (struct La_sh_regs): Likewise.
43514         (struct La_sh_retval): Likewise.
43515         (struct La_s390_32_regs): Likewise.
43516         (struct La_s390_32_retval): Likewise.
43517         (struct La_s390_64_regs): Likewise.
43518         (struct La_s390_64_retval): Likewise.
43519         (struct La_sparc32_regs): Likewise.
43520         (struct La_sparc32_retval): Likewise.
43521         (struct La_sparc64_regs): Likewise.
43522         (struct La_sparc64_retval): Likewise.
43523         (struct audit_ifaces): Remove architecture-specific pltenter and
43524         pltexit members.
43525         * sysdeps/i386/ldsodefs.h: New file.
43526         * sysdeps/powerpc/ldsodefs.h: Likewise.
43527         * sysdeps/s390/ldsodefs.h: Likewise.
43528         * sysdeps/sh/ldsodefs.h: Likewise.
43529         * sysdeps/sparc/ldsodefs.h: Likewise.
43530         * sysdeps/x86_64/ldsodefs.h: Likewise.
43532 2012-07-25  Marek Polacek  <polacek@redhat.com>
43534         [BZ #6808]
43535         * math/libm-test.inc (yn_test): Add another test.
43536         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43537         to ERANGE when the result is +-Inf.
43538         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43539         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43540         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43541         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43543 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43545         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43546         equal to 0.
43547         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43548         clock_t.
43549         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43551 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43553         * configure.in <sysdeps resolving>: Correct printing
43554         Implies_before.
43555         * configure: Regenerate.
43557 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43559         * math/w_ilogb.c: Include <limits.h>.
43560         * math/w_ilogbl.c: Likewise.
43562 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43564         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43565         va_copy.  Document allowing for unavailable va_copy only as
43566         pre-C99 compatibility.
43567         * manual/string.texi (Copying and Concatenation): Use va_copy
43568         instead of __va_copy in concat example.
43570 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43572         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43573         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43574         it if not null.
43576         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43577         with O_NOLINK passed to __file_name_lookup.
43579         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43580         with O_NOLINK passed to __file_name_lookup.
43582         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43583         negative N or less than NGIDS.
43585         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43586         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43587         enough.  Use memcpy instead of strncpy.
43589 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43591         * elf/Makefile (check-data): Remove.
43592         (localplt.data): New vpath directive.
43593         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43594         instead of $(check-data).
43595         * scripts/data/localplt-generic.data: Move to ...
43596         * sysdeps/generic/localplt.data: ... here.
43597         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43598         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43599         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43601         ... here.
43602         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43604         ... here.
43605         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43607         ... here.
43608         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43610         ... here.
43611         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43613         ... here.
43614         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43616         ... here.
43618 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43620         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43621         PPC32 and PPC64 files.
43622         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43623         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43625 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43627         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43628         __makecontext_ret to ...
43629         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43630         ... here and call exit if uc_link is NULL.  New file.
43631         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43632         __makecontext_ret.S.
43633         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43634         __makecontext_ret to ...
43635         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43636         ... here and call exit if uc_link is NULL.  New file.
43637         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43638         __makecontext_ret.S.
43640 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43642         * elf/elf.h (R_390_IRELATIVE): New definition.
43643         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43644         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43645         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43646         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43647         (elf_machine_lazy_rel): Likewise.
43648         * sysdeps/s390/dl-irel.h: New file.
43649         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43650         * sysdeps/s390/s390-64/memset.S: New asm code.
43651         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43652         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43653         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43654         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43655         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43656         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43658         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43659         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43660         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43661         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43662         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43663         * sysdeps/s390/s390-32/memset.S: New asm code.
43664         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43666 2012-07-17  Marek Polacek  <polacek@redhat.com>
43668         [BZ #14349]
43669         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43670         * sysdeps/s390/s390-64/configure.in: Likewise.
43671         * sysdeps/sparc/configure.in: Likewise.
43672         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43673         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43674         * sysdeps/i386/configure.in: Likewise.
43675         * sysdeps/x86_64/configure.in: Likewise.
43676         * sysdeps/sh/configure.in: Likewise.
43677         * sysdeps/s390/s390-32/configure: Regenerated.
43678         * sysdeps/s390/s390-64/configure: Likewise.
43679         * sysdeps/x86_64/configure: Likewise.
43680         * sysdeps/sh/configure: Likewise.
43681         * sysdeps/powerpc/powerpc64/configure: Likewise.
43682         * sysdeps/powerpc/powerpc32/configure: Likewise.
43683         * sysdeps/sparc/configure: Likwise.
43684         * sysdeps/i386/configure: Likewise.
43686         * elf/dl-open.c: Comment fixes.
43688 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43690         * Makefile [CXX] (check-data): Remove.
43691         [CXX] (c++-types.data): New vpath directive.
43692         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43693         vpath.  Do not allow for C++ type data being missing.
43694         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43695         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43696         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43697         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43698         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43699         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43700         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43702         ... here.
43703         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43705         ... here.
43706         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43708         ... here.
43709         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43711         ... here.
43712         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43713         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43714         ... here.
43715         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43717         ... here.
43718         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43720         ... here.
43721         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43724         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43725         definitions to architecture-specific files.
43726         (TLS_IE): Likewise.
43727         (TLS_LD): Likewise.
43728         (TLS_GD): Likewise.
43729         * sysdeps/i386/tls-macros.h: New file.
43730         * sysdeps/powerpc/tls-macros.h: Likewise.
43731         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43732         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43733         * sysdeps/sh/tls-macros.h: Likewise.
43734         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43735         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43736         * sysdeps/x86_64/tls-macros.h: Likewise.
43738 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43740         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43741         zero value for regular exit case.
43743         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43744         (__start_context): Preserve zero value for regular exit case.
43746 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43747             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43749         * manual/setjmp.texi (setcontext): Clarify normal process
43750         termination when uc_link is the null pointer.
43751         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43752         exit call.
43754 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43756         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43757         preprocessor.  Test for each exception mask separately.
43759 2012-07-16  Andreas Jaeger  <aj@suse.de>
43761         * po/ru.po: Update from translation team.
43763 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43765         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43766         equal to 0.
43767         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43768         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43769         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43770         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43773 2012-07-13  Andreas Jaeger  <aj@suse.de>
43775         * po/fr.po: Update from translation team.
43777 2012-07-12  Marek Polacek  <polacek@redhat.com>
43779         [BZ #14173]
43780         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43782         loop condition.
43784 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43786         [BZ #13717]
43787         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43788         Change to 2.4.1 where previously 2.4.0.
43789         * sysdeps/unix/sysv/linux/configure: Regenerated.
43790         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43791         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43792         version.
43793         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43794         (__ASSUME_AT_CLKTCK): Remove.
43795         (__ASSUME_AT_PAGESIZE): Likewise.
43796         (__ASSUME_AT_XID): Likewise.
43797         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43798         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43799         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43800         unconditionally.
43801         (HAVE_AUX_PAGESIZE): Likewise.
43802         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43803         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43804         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43806 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43808         [BZ #14307]
43809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43810         the temporary buffer used to invoke __gethostbyname2_r,
43811         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43812         host_data / struct gaih_addrtuple.
43813         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43814         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43815         header file nss/nsswitch.h.
43816         * nss/nsswitch.h (global scope): Add definition of implementation
43817         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43818         resolv/nss_dns/dns-host.c).
43820 2012-07-11  Andreas Jaeger  <aj@suse.de>
43822         * po/fr.po: Update from translation team.
43824         * po/sv.po: Update from translation team
43825         * po/fr.po: Another update from translation team.
43827 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43829         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43830         for subnormals or multiply small sinh result by itself.
43831         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43834 2012-07-11  David S. Miller  <davem@davemloft.net>
43836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43838 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43840         [BZ #14347]
43841         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43842         (INTERNAL_MARK): Shift it here.
43844 2012-07-10  Marek Polacek  <polacek@redhat.com>
43846         [BZ #14151]
43847         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43848         libc_cv_asm_global_directive with .globl.
43849         * configure: Regenerated.
43850         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43851         with .globl.
43852         * sysdeps/i386/configure: Regenerated.
43853         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43854         with .globl.
43855         * sysdeps/x86_64/configure: Regenerated.
43856         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43857         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43858         * elf/tst-unique2mod2.c: Likewise.
43859         * elf/tst-unique2mod1.c: Likewise.
43860         * elf/tst-unique1mod2.c: Likewise.
43861         * elf/tst-unique1mod1.c: Likewise.
43862         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43863         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43865         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43866         * sysdeps/mach/sysdep.h: Likewise.
43867         * sysdeps/i386/sysdep.h: Likewise.
43868         * sysdeps/i386/i386-mcount.S: Likewise.
43869         * sysdeps/x86_64/_mcount.S: Likewise.
43870         * sysdeps/x86_64/sysdep.h: Likewise.
43871         * sysdeps/sh/_mcount.S: Likewise.
43872         * sysdeps/sh/sysdep.h: Likewise.
43873         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43874         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43875         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43876         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43877         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43878         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43879         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43880         * locale/localeinfo.h: Likewise.
43881         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43882         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43884 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43886         [BZ #14336]
43887         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43888         system".
43889         * manual/message.texi (The Uniforum approach): Likewise.
43890         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43891         (glibc iconv Implementation): Likewise.
43893 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43895         [BZ #14337]
43896         * math/s_clog.c (__clog): Avoid scaling a value down where that
43897         could result in underflow.
43898         * math/s_clog10.c (__clog10): Likewise.
43899         * math/s_clog10f.c (__clog10f): Likewise.
43900         * math/s_clog10l.c (__clog10l): Likewise.
43901         * math/s_clogf.c (__clogf): Likewise.
43902         * math/s_clogl.c (__clogl): Likewise.
43903         * math/libm-test.inc (clog_test): Add more tests.
43904         (clog10_test): Likewise.
43905         * sysdeps/i386/fpu/libm-test-ulps: Update.
43906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43908 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43910         [BZ #14283]
43911         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43912         by 7 not 8 to examine high bit of fractional part.
43914         [BZ #14042]
43915         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43916         for call to __mcount_internal.
43917         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43918         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43919         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43921 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
43923         [BZ #14154]
43924         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43925         approximation for values within 0x1p-13f of an odd multiple of
43926         pi/4.
43927         * math/libm-test.inc (tan_test): Do not allow spurious underflow
43928         exception.  Add more tests.
43929         * sysdeps/i386/fpu/libm-test-ulps: Update.
43931         [BZ #6778]
43932         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43933         inputs and return -1 for them.  Do not check for +Inf in case not
43934         reachable for +Inf.
43935         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43936         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43937         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43938         and return -1 for them.  Do not check for +Inf in case not
43939         reachable for +Inf.
43940         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43941         define.
43942         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43943         and return -1 for them.  Do not check for +Inf in case not
43944         reachable for +Inf.
43945         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
43946         spurious underflow.
43947         * sysdeps/i386/fpu/libm-test-ulps: Update.
43948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43950 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
43952         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43954 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
43956         [BZ #14157]
43957         [BZ #14331]
43958         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43959         could result in spurious underflow.  Scale down values above
43960         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43961         * math/s_csqrtf.c (__csqrtf): Likewise.
43962         * math/s_csqrtl.c (__csqrtl): Likewise.
43963         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
43964         spurious underflow.
43965         * sysdeps/i386/fpu/libm-test-ulps: Update.
43966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43968 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
43970         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43971         xopen-msg.sed.
43972         * catgets/xopen-msg.awk: New file.
43973         * catgets/xopen-msg.sed: Removed.
43975         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43976         po2text.sed.
43977         * intl/po2test.awk: New file.
43978         * intl/po2test.sed: Removed.
43980 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
43982         [BZ #14328]
43983         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43984         or multiply small sinh result by itself.
43985         * math/s_ctanf.c (__ctanf): Likewise.
43986         * math/s_ctanh.c (__ctanh): Likewise.
43987         * math/s_ctanhf.c (__ctanhf): Likewise.
43988         * math/s_ctanhl.c (__ctanhl): Likewise.
43989         * math/s_ctanl.c (__ctanl): Likewise.
43990         * math/libm-test.inc (ctan_test_tonearest): New function.
43991         (ctan_test_towardzero): Likewise.
43992         (ctan_test_downward): Likewise.
43993         (ctan_test_upward): Likewise.
43994         (ctanh_test_tonearest): Likewise.
43995         (ctanh_test_towardzero): Likewise.
43996         (ctanh_test_downward): Likewise.
43997         (ctanh_test_upward): Likewise.
43998         (main): Call these new functions.
43999         * sysdeps/i386/fpu/libm-test-ulps: Update.
44000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44002 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44004         * .gitignore: Delete /ports entry.
44006 2012-07-03  Andreas Jaeger  <aj@suse.de>
44008         * po/bg.po: Update from translation team.
44009         * po/cs.po: Likewise.
44010         * po/de.po: Likewise.
44011         * po/hr.po: Likewise.
44012         * po/nl.pl: Likewise.
44013         * po/pl.po: Likewise.
44014         * po/vi.po: Likewise.
44016 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44018         * Makeconfig [!+link] (+link-before-libc): New variable.
44019         [!+link] (+link-after-libc): Likewise.
44020         [!+link] (+link-tests): Likewise.
44021         [!+link] (+link): Define in terms of $(+link-before-libc) and
44022         $(+link-after-libc).
44023         [!+link-static] (+link-static-before-libc): New variable.
44024         [!+link-static] (+link-static-after-libc): Likewise.
44025         [!+link-static] (+link-static-tests): Likewise.
44026         [!+link-static] (+link-static): Define in terms of
44027         $(+link-static-before-libc) and $(+link-static-after-libc).
44028         [build-shared] (link-libc-before-gnulib): New variable.
44029         [build-shared] (link-libc-tests): Likewise.
44030         [build-shared] (link-libc): Define in terms of
44031         $(link-libc-before-gnulib).
44032         [!build-shared] (link-libc-tests): New variable.
44033         (link-libc-static-tests): New variable.
44034         [!gnulib] (gnulib-arch): New variable.
44035         [!gnulib] (gnulib-tests): Likewise.
44036         [!gnulib] (static-gnulib-arch): Likewise.
44037         [!gnulib] (static-gnulib-tests): Likewise.
44038         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44039         Define with "=" instead of ":=".
44040         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44041         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44042         * Rules (binaries-all-notests): New variable.
44043         (binaries-all-tests): Likewise.
44044         (binaries-static-notests): Likewise.
44045         (binaries-static-tests): Likewise.
44046         (binaries-all): Define using $(binaries-all-notests) and
44047         $(binaries-all-tests).
44048         (binaries-static): Define using $(binaries-static-notests) and
44049         $(binaries-static-tests).
44050         (binaries-shared-tests): New variable.
44051         (binaries-shared-notests): Likewise.
44052         (binaries-shared): Remove variable.
44053         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44054         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44055         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44056         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44057         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44058         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44059         * elf/Makefile (sln-modules): New variable.
44060         (extra-objs): Add $(sln-modules:=.o).
44061         (ldconfig-modules): Add static-stubs.
44062         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44063         * elf/static-stubs.c: New file.
44065         [BZ #14283]
44066         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44067         by 7 not 8 to examine high bit of fractional part.  Use volatile
44068         variables when splitting into final array of floats if
44069         __FLT_EVAL_METHOD__ != 0.
44070         * math/libm-test.inc (cos_test): Add another test.
44071         (sin_test): Likewise.
44072         * sysdeps/i386/fpu/libm-test-ulps: Update.
44074         [BZ #14273]
44075         * math/libm-test.inc (cosh_test): Add more tests.
44077         * version.h (RELEASE): Set to "development".
44078         (VERSION): Set to "2.16.90".
44080 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44082         * NEWS: Update copyright. Remove last-updated date.
44083         Mention math library bug fixes and timezone data changes.
44084         * README: Mention GNU/Hurd, x32, and HPPA support status.
44086 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44088         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44090 2012-06-27  Andreas Jaeger  <aj@suse.de>
44092         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44094 2012-06-25  Andreas Jaeger  <aj@suse.de>
44096         * sysdeps/s390/fpu/libm-test-ulps: Update.
44098 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44099             Thomas Schwinge  <thomas@codesourcery.com>
44101         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44102         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44103         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44104         fanotify_mark.
44106 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44108         * sysdeps/mach/start.c: Remove file.
44109         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44110         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44111         * sysdeps/sh/init-first.c: Likewise.
44113         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44114         registers for frame unwinding purposes, add CFI directives.
44115         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44116         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44117         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44118         Likewise.
44120         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44121         __fortify_fail returning.
44122         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44124         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44125         sysdeps/sh/____longjmp_chk.S.
44126         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44127         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44128         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44129         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44131         * sysdeps/sh/abort-instr.h: New file.
44132         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44133         process in case exit returns.
44135         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44136         initialize the GOT register before use.
44138         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44139         calculation of ARGC > 4.
44141         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44142         meaningful names to some local labels.
44144 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44145             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44147         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44148         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44149         (__arch_compare_and_exchange_val_16_acq): Likewise.
44150         (__arch_compare_and_exchange_val_32_acq): Likewise.
44151         (atomic_exchange_and_add): Fix gUSA sequence.
44152         (atomic_add): Likewise.
44153         (atomic_add_negative): Likewise.
44154         (atomic_add_zero): Likewise.
44155         (atomic_bit_test_set): Likewise.
44157 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44159         [BZ #13579]
44160         * include/link.h (struct link_map): Add l_free_initfini.
44161         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44162         l_initfini.
44163         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44164         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44165         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44166         set.
44168 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44170         * configure.in: Use AC_LANG_SOURCE.
44171         * configure: Regenerate.
44173 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44175         * configure.in (libc_cv_localstatedir): New substituted variable.
44176         * configure: Regenerated.
44177         * config.make.in (localstatedir): New variable, substituted from
44178         libc_cv_localstatedir.
44179         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44180         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44181         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44182         * sysdeps/gnu/configure: Regenerated.
44184 2012-06-21  Jeff Law  <law@redhat.com>
44186         [BZ #14277]
44187         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44188         free.  Simplify list management for _LIBC case.
44190 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44192         [BZ #14273]
44193         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44194         Clear sign bit of 64-bit integer value before comparing against
44195         overflow value.
44197         * sysdeps/mach/configure: Regenerated.
44199 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44201         [BZ #14278]
44202         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44204 2012-06-21  Jeff Law  <law@redhat.com>
44206         [BZ #13882]
44207         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44208         uint16_t for elements in the "seen" array to avoid char overflows.
44209         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44210         * elf/dl-open.c (dl_open_worker): Likewise.
44212 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44214         * scripts/list-sources.sh: Scan PORTS for translations.
44215         * po/libc.pot: Regenerated.
44217 2012-06-21  Andreas Jaeger  <aj@suse.de>
44219         [BZ #12194]
44220         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44221         warning.
44222         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44223         * bits/byteswap-16.h (__bswap_16): Likewise.
44224         * bits/byteswap.h (__bswap_constant_16): Likewise.
44226 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44228         [BZ #14117]
44229         * sysdeps/i386/fpu_control.h: Removed.
44230         * sysdeps/x86_64/fpu_control.h: Moved to ...
44231         * sysdeps/x86/fpu_control.h: Here.
44233         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44234         (_FPU_SETCW): Likewise.
44236 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44238         [BZ #14117]
44239         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44240         * sysdeps/x86/fpu/bits/mathinline.h: This.
44241         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44243         [BZ #14050]
44244         [BZ #14117]
44245         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44246         functions if __x86_64__ is defined.
44248 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44250         * string/endian.h: Add !__ASSEMBLER__ condition for including
44251         conversion interfaces.
44253 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44255         [BZ #14241]
44256         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44257         of ABS(x) in calculating zero to negative powers other than odd
44258         integers.
44259         * math/libm-test.inc (pow_test): Add more tests.
44261 2012-06-15  Andreas Jaeger  <aj@suse.de>
44263         * manual/contrib.texi (Contributors): Update entry of Liubov
44264         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44265         Machado Filho.
44267 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44269         * string/string.h: Add __wur to GNU version of strerror_r.
44271 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44273         [BZ #14229]
44274         * string/Makefile (tests): Add tst-strtok_r.
44275         * string/tst-strtok_r.c: New file.
44276         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44277         RAX_LP/RDX_LP on SAVE_PTR.
44279 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44281         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44283 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44285         * libm_test.inc (csqrt_test): Allow more spurious underflow
44286         exceptions.
44287         (j0_test): Likewise.
44288         (j1_test): Likewise.
44289         (y0_test): Likewise.
44290         (y1_test): Likewise.
44292 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44294         * po/Makefile (libc.pot): Use UTF-8 charset.
44296 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44298         [BZ #14210]
44299         Suppress sign-conversion warning from FD_SET.
44300         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44301         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44302         not unsigned long int.
44303         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44305 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44307         [BZ #14050]
44308         [BZ #14117]
44309         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44310         __extern_always_inline instead of __extern_inline.
44311         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44312         (__signbit): Likewise.
44313         (__signbitl): Support C++ namespace.
44314         (lrintf): New inline function.
44315         (lrint): Likewise.
44316         (llrintf): Likewise.
44317         (llrint): Likewise.
44318         (fmaxf): Likewise.
44319         (fmax): Likewise.
44320         (fminf): Likewise.
44321         (fmin): Likewise.
44322         (rint): Likewise.
44323         (rintf): Likewise.
44324         (ceil): Likewise.
44325         (ceilf): Likewise.
44326         (floor): Likewise.
44327         (floorf): Likewise.
44328         (nearbyint): Likewise.
44329         (nearbyintf): Likewise.
44331 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44333         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44334         non-default versions.
44336 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44338         [BZ #14218]
44339         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44341 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44343         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44344         (FE_UPWARD, FE_DOWNWARD): Don't define.
44345         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44346         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44348         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44349         reading it.
44350         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44351         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44353 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44355         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44357         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44358         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44360 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44362         [BZ #14117]
44363         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44364         * sysdeps/i386/fpu/Implies: New file.
44365         * sysdeps/x86_64/fpu/Implies: Likewise.
44366         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44367         * sysdeps/x86/fpu/bits/fenv.h: This.
44369         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44370         __SSE_MATH__.
44372 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44374         [BZ #14134]
44375         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44376         character 0xffff that matches the last element of the
44377         conversion table.
44379 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44381         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44382         fmodl commit.
44384 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44386         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44387         values higher than 25.6283.
44389 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44391         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44392         subnormal exponent extraction and add some __builtin_expect.
44393         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44394         Fix for subnormal mantissa calculation.
44396 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44398         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44399         cpu2 is -1 and errno is not ENOSYS.
44401 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44403         [BZ #14117]
44404         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44405         * sysdeps/x86/bits/string.h: This.
44406         * sysdeps/x86_64/bits/string.h: Removed.
44408         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44409         if not compiling for x86-64, but compiling for >= i486.
44411         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44412         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44414         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44415         New macro from Linux kernel 3.4.0.
44416         (FP_XSTATE_MAGIC2): Likewise.
44417         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44418         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44419         (struct _fpx_sw_bytes): New struct.
44420         (struct _xsave_hdr): Likewise.
44421         (struct _ymmh_state): Likewise.
44422         (struct _xstate): Likewise.
44424         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44425         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44426         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44427         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44428         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44429         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44431         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44432         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44433         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44434         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44435         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44436         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44438 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44440         [BZ #13743]
44441         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44442         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44443         (sysdep_headers): Include sys/platform/ppc.h.
44444         * sysdeps/powerpc/test-gettimebase.c: Test for
44445         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44446         * manual/Makefile (appendices): Include platform.texi.
44447         * manual/contrib.texi (Contributors): Update @node pointers.
44448         * manual/maint.texi (Maintenance): Likewise.
44449         (Platform): New node.
44450         * manual/platform.texi: New file.  Document the new features.
44452 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44453             Jakub Jelinek  <jakub@redhat.com>
44455         [BZ #14188]
44456         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44457         where __builtin_expect is unavailable.
44459 2012-06-03  David S. Miller  <davem@davemloft.net>
44461         * stdlib/longlong.h: Updated from GCC.
44463 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44465         [BZ #14042]
44466         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44467         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44468         __mcount_internal.
44469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44470         (GLIBC_2.16): Likewise.
44472 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44474         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44476 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44479         (default-abi): New variable.
44480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44481         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44482         variable.
44483         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44484         Likewise.
44485         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44486         Likewise.
44487         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44488         Likewise.
44490         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44491         definition.  Document in comment.
44493 2012-06-01  David S. Miller  <davem@davemloft.net>
44495         * stdlib/longlong.h: Updated from GCC.
44497 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44499         [BZ #14117]
44500         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44501         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44502         sys/debugreg.h sys/io.h here.
44503         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44504         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44505         sys/io.h.
44506         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44507         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44508         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44509         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44510         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44511         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44513         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44514         Define only if __x86_64__ is defined.
44516 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44518         [BZ #14048]
44519         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44520         Use int64_t for variable i.
44521         * math/libm-test.inc (fmod_test): Add more tests.
44523         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44524         z computation is not scheduled after fetestexcept.
44525         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44526         Use math_force_eval instead of asm to ensure calculation scheduled
44527         before exception test.
44528         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44529         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44531 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44534         computation is not scheduled after fetestexcept.
44536 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44538         [BZ #14117]
44539         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44540         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44542 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44544         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44545         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44547 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44549         [BZ #14117]
44550         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44551         <bits/wordsize.h>.
44552         (__WCHAR_MIN): Support __WORDSIZE == 64.
44553         (__WCHAR_MAX): Likewise.
44555         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44556         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44558         [BZ #14183]
44559         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44560         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44562         [BZ #14117]
44563         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44564         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44566         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44567         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44569         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44570         Defined to 1 if __x86_64__ isn't defined.
44571         (_STAT_VER_LINUX_OLD): New.
44572         (st_atime): Remove duplicate.
44573         (st_mtime): Likewise.
44574         (st_ctime): Likewise.
44576 2012-05-31  David S. Miller  <davem@davemloft.net>
44578         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44579         entries.
44581 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44583         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44584         gen-libm-test.pl.
44586         [BZ #14132]
44587         * elf/dl-reloc.c: Include <_itoa.h>.
44588         (_dl_reloc_bad_type): Remove use of INTUSE.
44589         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44590         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44591         * stdio-common/psiginfo.c (psiginfo): Likewise.
44592         * stdio-common/psignal.c (psignal): Likewise.
44593         * string/strsignal.c (strsignal): Likewise.
44594         * include/signal.h (_sys_siglist): Declare hidden proto.
44595         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44596         INTVARDEF with libc_hidden_data_def.
44597         * stdio-common/itoa-udigits.c: Likewise.
44598         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44599         (_itoa_lower_digits_internal): Remove declaration.
44600         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44601         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44602         (_sys_sigabbrev_internal): Remove aliases.
44603         (_sys_siglist): Define hidden alias.
44605 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44608         bits/sysctl.h.
44610 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44612         [BZ #14117]
44613         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44614         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44616         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44617         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44618         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44619         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44620         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44621         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44623         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44624         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44625         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44627         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44628         with __addr.
44629         (insw): Likewise.
44630         (insl): Likewise.
44631         (outsb): Likewise.
44632         (outsw): Likewise.
44633         (outsl): Likewise.
44635         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44636         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44637         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44639         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44640         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44641         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44642         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44643         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44644         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44646         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44647         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44649         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44650         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44652         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44653         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44654         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44656         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44657         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44658         to ...
44659         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44661         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44662         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44663         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44665         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44666         for x86-64.
44667         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44669 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44671         * math/math.h (M_El): Use two more decimal places.
44672         (M_LOG2El): Likewise.
44673         (M_LOG10El): Likewise.
44674         (M_LN2l): Likewise.
44675         (M_LN10l): Likewise.
44676         (M_PIl): Likewise.
44677         (M_PI_2l): Likewise.
44678         (M_PI_4l): Likewise.
44679         (M_1_PIl): Likewise.
44680         (M_2_PIl): Likewise.
44681         (M_2_SQRTPIl): Likewise.
44682         (M_SQRT2l): Likewise.
44683         (M_SQRT1_2l): Likewise.
44685 2012-05-31  David S. Miller  <davem@davemloft.net>
44687         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44688         values between float registers.
44689         * sysdeps/sparc/sparc64/memset.S: Likewise.
44690         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44692 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44694         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44695         -D_FORTIFY_SOURCE=1.
44696         (CPPFLAGS-tst-longjmp_chk.c): Define.
44697         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44698         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44699         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44700         CFLAGS-tst-wchar-h.c.
44702 2012-05-31  Marek Polacek  <polacek@redhat.com>
44704         [BZ #14132]
44705         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44706         __endmntent_internal): Remove declaration.
44707         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44708         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44709         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44711 2012-05-30  David S. Miller  <davem@davemloft.net>
44713         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44714         (___Q_simulate_exceptions): Use real FP ops rather than writing
44715         into the %fsr.
44716         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44717         Likewise.
44719 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44721         [BZ #14117]
44722         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44723         * sysdeps/x86/bits/xtitypes.h: This.
44725         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44726         * sysdeps/x86/bits/wordsize.h: This.
44728         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44729         * sysdeps/x86/bits/huge_vall.h: This.
44731         * sysdeps/i386/bits/select.h: Removed.
44732         * sysdeps/x86_64/bits/select.h: Renamed to ...
44733         * sysdeps/x86/bits/select.h: This.
44735         * sysdeps/i386/bits/setjmp.h: Removed.
44736         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44737         * sysdeps/x86/bits/setjmp.h: This.
44739         * sysdeps/i386/bits/mathdef.h: Removed.
44740         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44741         * sysdeps/x86/bits/mathdef.h: This.
44743 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44745         [BZ #14132]
44746         * include/sys/socket.h (__connect_internal)
44747         (__libc_sa_len_internal): Remove declaration.
44748         (__connect, __libc_sa_len): Declare hidden_proto.
44749         (SA_LEN): Remove use of INTUSE.
44750         * socket/connect.c: Add libc_hidden_def.
44751         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44752         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44753         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44754         alias.
44755         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44756         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44757         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44758         of adding _internal alias.
44760 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44762         [BZ #14117]
44763         * sysdeps/i386/bits/link.h: Removed.
44764         * sysdeps/i386/bits/linkmap.h: Likewise.
44765         * sysdeps/x86_64/bits/link.h: Renamed to ...
44766         * sysdeps/x86/bits/link.h: This.
44767         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44768         * sysdeps/x86/bits/linkmap.h: This.
44770         * sysdeps/i386/bits/endian.h: Removed.
44771         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44772         * sysdeps/x86/bits/endian.h: This.
44774         * sysdeps/i386/bits/byteswap.h: Removed.
44775         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44776         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44777         * sysdeps/x86/bits/byteswap.h: This.
44778         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44779         * sysdeps/x86/bits/byteswap-16.h: This.
44780         * sysdeps/i386/Implies: Add x86.
44781         * sysdeps/x86_64/Implies: Likewise.
44783 2012-05-30  David S. Miller  <davem@davemloft.net>
44785         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44786         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44787         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44788         (FP_TRAPPING_EXCEPTIONS): Define.
44789         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44790         (FP_TRAPPING_EXCEPTIONS): Define.
44791         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44792         subnormals only when inexact has been signalled or underflow
44793         exceptions are enabled.
44794         (_FP_PACK_CANONICAL): Likewise.
44796 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44798         [BZ #14183]
44799         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44800         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44802 2012-05-30  Richard Henderson  <rth@twiddle.net>
44804         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44805         with #ifndef NOT_IN_libc.
44807         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44808         marked to avoid plt entry.
44810 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44812         [BZ #14112]
44813         * Makeconfig (default-abi): New macro.
44814         (abi-includes): Likewise.
44815         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44816         $(abi-$(default-abi)-lib-soname) for soname if defined.
44817         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44818         abi-variants.
44819         * Makefile (installed-stubs): Likewise.
44820         * include/stubs-biarch.h: Removed.
44821         * scripts/lib-names.awk: Only handle one library at a time.
44822         * scripts/soversions.awk: Remove WORDSIZE support.
44823         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44824         entries.
44825         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44826         Removed.
44827         (syscall-list-default-condition): Likewise.
44828         (syscall-list-default-condition): Likewise.
44829         (syscall-list-includes): Likewise.
44830         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44831         syscall-list-* with abi-*.  Handle undefined abi-variants.
44832         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44833         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44834         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44835         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44836         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44837         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44838         Removed.
44839         (syscall-list-32-options): Likewise.
44840         (syscall-list-32-condition): Likewise.
44841         (syscall-list-64-options): Likewise.
44842         (syscall-list-64-condition): Likewise.
44843         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44844         macro.
44845         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44846         Renamed to ...
44847         (abi-*): This.
44848         (abi-64-ld-soname): New macro.
44849         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44850         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44851         Renamed to ...
44852         (abi-*): This.
44853         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44854         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44856 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44858         * sysdeps/unix/sysv/linux/kernel-features.h
44859         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44860         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44861         include <kernel-features.h>.
44862         [!__NR_ftruncate64]: Remove conditional code.
44863         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44864         [__NR_ftruncate64]: Make code unconditional.
44865         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44866         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44867         include <kernel-features.h>.
44868         [!__NR_ftruncate64]: Remove conditional code.
44869         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44870         [__NR_ftruncate64]: Make code unconditional.
44871         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44873         include <kernel-features.h>.
44874         [!__NR_ftruncate64]: Remove conditional code.
44875         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44876         [__NR_ftruncate64]: Make code unconditional.
44877         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44879         include <kernel-features.h>.
44880         [!__NR_ftruncate64]: Remove conditional code.
44881         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44882         [__NR_ftruncate64]: Make code unconditional.
44883         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44885         * configure.in (libc_cv_fpie): Weaken to a compile test using
44886         LIBC_TRY_CC_OPTION.
44887         * configure: Regenerated.
44889 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44895         Refreshed.
44896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44902         Refreshed.
44904 2012-05-27  David S. Miller  <davem@davemloft.net>
44906         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44907         (___Q_zero): New.
44908         (__Q_simulate_exceptions): Return void.  Change to simulate
44909         exceptions by writing into the %fsr.
44910         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44911         (__Qp_handle_exceptions): Likewise.
44912         (numbers): Delete.
44913         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44914         __Qp_handle_exceptions.
44915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44916         __Qp_handle_exceptions.
44917         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44918         as unused and give dummy FP_RND_NEAREST initializer.
44919         (FP_INHIBIT_RESULTS): Define.
44920         (___Q_simulate_exceptions): Update declaration.
44921         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44922         formatting.
44923         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44924         as unused and give dummy FP_RND_NEAREST initializer.
44925         (__Qp_handle_exceptions): Update declaration.
44926         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44927         formatting.
44929 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
44931         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44932         the temporary FPU control word.
44933         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44934         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44935         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44936         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44937         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44938         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44939         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44940         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44941         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44942         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44943         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44945 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44947         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44948         fields.
44950 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
44952         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44953         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44954         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44955         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44956         Likewise.
44957         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44958         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44959         Likewise.
44961 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
44963         * po/h.po: Update from translation team.
44965 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
44967         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44969         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44970         handling of denormals.
44971         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44972         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44973         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44974         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44975         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44976         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44978         Likewise.
44980 2012-05-26  Marek Polacek  <polacek@redhat.com>
44982         [BZ #14152]
44983         * math/libm-test.inc (fma_test): Don't always expect underflow
44984         exception.
44986 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44988         [BZ #12416]
44989         * elf/tst-execstack.c: Include stackinfo.h.
44990         (do_test): Adjust test case to ensure that pthread_getattr_np
44991         behaviour remains the same after marking stack executable.
44993 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
44995         * sysdeps/unix/sysv/linux/kernel-features.h
44996         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44997         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44998         kernel-features.h.
44999         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45000         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45001         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45002         kernel-features.h.
45003         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45004         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45006 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45008         * configure.in: Define the default includes to being none.
45009         * configure: Regenerated.
45011 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45013         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45014         * sysdeps/x86_64/setjmp.S: Likewise.
45015         * sysdeps/i386/bsd-setjmp.S: Likewise.
45016         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45017         * sysdeps/i386/setjmp.S: Likewise.
45018         * sysdeps/i386/__longjmp.S: Likewise.
45019         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45020         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45022         * include/stap-probe.h: New file.
45023         * configure.in: Handle --enable-systemtap.
45024         * configure: Regenerated.
45025         * config.h.in (USE_STAP_PROBE): New #undef.
45026         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45027         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45028         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45030 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45032         [BZ #13717]
45033         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45034         to 2.4.0 where earlier.
45035         * sysdeps/unix/sysv/linux/configure: Regenerated.
45036         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45037         <kernel-features.h>.
45038         [__ASSUME_32BITUIDS]: Make code unconditional.
45039         [!__ASSUME_32BITUIDS]: Remove conditional code.
45040         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45041         <kernel-features.h>.
45042         [__ASSUME_32BITUIDS]: Make code unconditional.
45043         [!__ASSUME_32BITUIDS]: Remove conditional code.
45044         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45045         [__ASSUME_32BITUIDS]: Make code unconditional.
45046         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45047         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45048         <kernel-features.h>.
45049         [__ASSUME_32BITUIDS]: Make code unconditional.
45050         [!__ASSUME_32BITUIDS]: Remove conditional code.
45051         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45052         <kernel-features.h>.
45053         [__ASSUME_32BITUIDS]: Make code unconditional.
45054         [!__ASSUME_32BITUIDS]: Remove conditional code.
45055         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45056         <kernel-features.h>.
45057         [__ASSUME_32BITUIDS]: Make code unconditional.
45058         [!__ASSUME_32BITUIDS]: Remove conditional code.
45059         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45060         <kernel-features.h>.
45061         [__ASSUME_32BITUIDS]: Make code unconditional.
45062         [!__ASSUME_32BITUIDS]: Remove conditional code.
45063         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45064         <kernel-features.h>.
45065         [__ASSUME_32BITUIDS]: Make code unconditional.
45066         [!__ASSUME_32BITUIDS]: Remove conditional code.
45067         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45068         <kernel-features.h>.
45069         [__ASSUME_32BITUIDS]: Make code unconditional.
45070         [!__ASSUME_32BITUIDS]: Remove conditional code.
45071         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45072         <kernel-features.h>.
45073         [__ASSUME_32BITUIDS]: Make code unconditional.
45074         [!__ASSUME_32BITUIDS]: Remove conditional code.
45075         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45076         <kernel-features.h>.
45077         [__ASSUME_32BITUIDS]: Make code unconditional.
45078         [!__ASSUME_32BITUIDS]: Remove conditional code.
45079         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45080         <kernel-features.h>.
45081         [__ASSUME_32BITUIDS]: Make code unconditional.
45082         [!__ASSUME_32BITUIDS]: Remove conditional code.
45083         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45084         <kernel-features.h>.
45085         [__ASSUME_32BITUIDS]: Make code unconditional.
45086         [!__ASSUME_32BITUIDS]: Remove conditional code.
45087         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45088         <kernel-features.h>.
45089         [__NR_setresgid] (__setresgid): Do not declare.
45090         [__ASSUME_32BITUIDS]: Make code unconditional.
45091         [!__ASSUME_32BITUIDS]: Remove conditional code.
45092         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45093         <kernel-features.h>.
45094         [__NR_setresuid] (__setresuid): Do not declare.
45095         [__ASSUME_32BITUIDS]: Make code unconditional.
45096         [!__ASSUME_32BITUIDS]: Remove conditional code.
45097         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45098         <kernel-features.h>.
45099         [__ASSUME_32BITUIDS]: Make code unconditional.
45100         [!__ASSUME_32BITUIDS]: Remove conditional code.
45101         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45102         <kernel-features.h>.
45103         [__ASSUME_32BITUIDS]: Make code unconditional.
45104         [!__ASSUME_32BITUIDS]: Remove conditional code.
45105         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45106         <kernel-features.h>.
45107         [__ASSUME_32BITUIDS]: Make code unconditional.
45108         [!__ASSUME_32BITUIDS]: Remove conditional code.
45109         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45110         <kernel-features.h>.
45111         [__ASSUME_32BITUIDS]: Make code unconditional.
45112         [!__ASSUME_32BITUIDS]: Remove conditional code.
45113         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.c: Do not include
45122         <kernel-features.h>.
45123         [__ASSUME_32BITUIDS]: Make code unconditional.
45124         [!__ASSUME_32BITUIDS]: Remove conditional code.
45125         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45126         <kernel-features.h>.
45127         [__ASSUME_32BITUIDS]: Make code unconditional.
45128         [!__ASSUME_32BITUIDS]: Remove conditional code.
45129         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45130         <kernel-features.h>.
45131         [__ASSUME_32BITUIDS]: Make code unconditional.
45132         [!__ASSUME_32BITUIDS]: Remove conditional code.
45133         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45134         <kernel-features.h>.
45135         [__ASSUME_32BITUIDS]: Make code unconditional.
45136         [!__ASSUME_32BITUIDS]: Remove conditional code.
45137         * sysdeps/unix/sysv/linux/kernel-features.h
45138         (__ASSUME_SETRESUID_SYSCALL): Remove.
45139         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45140         (__ASSUME_32BITUIDS): Likewise.
45141         (__ASSUME_LDT_WORKS): Likewise.
45142         (__ASSUME_O_DIRECTORY): Likewise.
45143         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45144         architecture but not kernel version.
45145         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45146         (__ASSUME_MMAP2_SYSCALL): Likewise.
45147         (__ASSUME_STAT64_SYSCALL): Likewise.
45148         (__ASSUME_IPC64): Likewise.
45149         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45150         <kernel-features.h>.
45151         [__ASSUME_32BITUIDS]: Make code unconditional.
45152         [!__ASSUME_32BITUIDS]: Remove conditional code.
45153         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45154         <kernel-features.h>.
45155         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45156         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45157         132096]: Remove conditional code.
45158         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45159         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45160         <kernel-features.h>.
45161         [__ASSUME_32BITUIDS]: Make code unconditional.
45162         [!__ASSUME_32BITUIDS]: Remove conditional code.
45163         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45164         <kernel-features.h>.
45165         [__ASSUME_32BITUIDS]: Make code unconditional.
45166         [!__ASSUME_32BITUIDS]: Remove conditional code.
45167         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45168         <kernel-features.h>.
45169         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45170         unconditional.
45171         (__setresgid): Do not declare.
45172         [__ASSUME_32BITUIDS]: Make code unconditional.
45173         [!__ASSUME_32BITUIDS]: Remove conditional code.
45174         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45175         <kernel-features.h>.
45176         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45177         unconditional.
45178         (__setresuid): Do not declare.
45179         [__ASSUME_32BITUIDS]: Make code unconditional.
45180         [!__ASSUME_32BITUIDS]: Remove conditional code.
45181         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45182         <kernel-features.h>.
45183         [__ASSUME_32BITUIDS]: Make code unconditional.
45184         [!__ASSUME_32BITUIDS]: Remove conditional code.
45185         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45186         <kernel-features.h>.
45187         [__ASSUME_32BITUIDS]: Make code unconditional.
45188         [!__ASSUME_32BITUIDS]: Remove conditional code.
45190 2012-05-25  Richard Henderson  <rth@twiddle.net>
45192         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45193         dl_hwcap to ifunc resolver.
45194         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45195         elf_ifunc_invoke.
45196         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45197         dl_hwcap to ifunc resolver.
45198         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45200 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45202         [BZ #14153]
45203         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45204         for |x| <= 2**-26, not 2**-57.
45205         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45206         exception.
45208 2012-05-24  Jeff Law  <law@redhat.com>
45210         * stdio-common/Makefile (tests): Add bug25.
45211         * stdio-common/bug25.c: New test.
45213 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45215         [BZ #13576]
45216         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45217         multiple of MALLOC_ALIGNMENT in size.
45218         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45220 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45222         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45223         Require >= 256.
45224         (FILENAME_MAX): Use macro-int-constant.
45225         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45226         (_IOFBF): Use macro-int-constant.
45227         (_IOLBF): Likewise.
45228         (_IONBF): Likewise.
45229         (SEEK_CUR): Likewise.
45230         (SEEK_END): Likewise.
45231         (SEEK_SET): Likewise.
45232         (TMP_MAX): Likewise.
45233         (EOF): Use macro-int-constant.  Require < 0.
45234         (NULL): Use macro-constant.  Require == 0.
45235         (stdin): Require type to be FILE *.
45236         (stdout): Likewise.
45237         (stderr): Likewise.
45238         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45239         macro-int-constant.
45240         (EXIT_SUCCESS): Likewise.
45241         (NULL): Use macro-constant.  Require == 0.
45242         (RAND_MAX): Use macro-int-constant.
45243         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45244         [C99-based standards] (strtof): Require function.
45245         [C99-based standards] (strtold): Likewise.
45246         [C99-based standards] (strtoll): Likewise.
45247         [C99-based standards] (strtoull): Likewise.
45248         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45249         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45250         [ISO || ISO99 || ISO11] (math.h): Likewise.
45251         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45252         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45253         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45255 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45257         [BZ #14132]
45258         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45259         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45260         * intl/dgettext.c (DCGETTEXT): Likewise.
45261         * intl/gettext.c (DCGETTEXT): Likewise.
45262         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45263         * posix/regex_internal.h (gettext): Likewise.
45264         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45265         Remove declaration.
45266         * include/argz.h (__argz_count_internal)
45267         (__argz_stringify_internal): Remove declaration.
45268         (__argz_count, __argz_stringify): Declare hidden proto.
45269         * intl/dcgettext.c: Remove use of INTDEF.
45270         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45271         * string/argz-stringify.c: Likewise.
45272         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45273         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45274         Declare hidden proto.
45275         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45276         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45277         Declare hidden proto.
45278         * include/stdio.h (__asprintf_internal): Don't declare.
45279         (__asprintf): Don't define as macro.  Declare hidden proto.
45280         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45281         (__fsetlocking): Declare hidden proto.
45282         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45283         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45284         hidden proto.
45285         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45286         (_IO_setlinebuf): Remove use of INTUSE.
45287         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45288         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45289         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45290         Remove declaration.
45291         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45292         (_IO_do_flush): Remove use of INTUSE.
45293         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45294         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45295         (_IO_adjust_column, _IO_least_wmarker)
45296         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45297         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45298         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45299         (_IO_default_doallocate, _IO_wdefault_doallocate)
45300         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45301         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45302         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45303         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45304         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45305         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45306         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45307         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45308         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45309         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45310         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45311         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45312         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45313         proto.
45314         (_IO_flush_all_internal, _IO_adjust_column_internal)
45315         (_IO_default_uflow_internal, _IO_default_finish_internal)
45316         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45317         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45318         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45319         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45320         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45321         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45322         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45323         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45324         (_IO_file_close_internal, _IO_file_close_it_internal)
45325         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45326         (_IO_file_init_internal, _IO_file_attach_internal)
45327         (_IO_file_fopen_internal, _IO_file_read_internal)
45328         (_IO_file_sync_internal, _IO_file_seek_internal)
45329         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45330         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45331         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45332         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45333         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45334         (_IO_list_all_internal, _IO_link_in_internal)
45335         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45336         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45337         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45338         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45339         (_IO_do_write_internal, _IO_padn_internal)
45340         (_IO_getline_info_internal, _IO_getline_internal)
45341         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45342         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45343         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45344         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45345         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45346         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45347         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45348         with libc_hidden_ver, remove use of INTUSE.
45349         * libio/genops.c: Likewise.
45350         * libio/freopen.c: Likewise.
45351         * libio/freopen64.c: Likewise.
45352         * libio/iofclose.c: Likewise.
45353         * libio/iofdopen.c: Likewise.
45354         * libio/iofflush.c: Likewise.
45355         * libio/iofflush_u.c: Likewise.
45356         * libio/iofgets.c: Likewise.
45357         * libio/iofgets_u.c: Likewise.
45358         * libio/iofopen.c: Likewise.
45359         * libio/iofopncook.c: Likewise.
45360         * libio/iofread.c: Likewise.
45361         * libio/iofread_u.c: Likewise.
45362         * libio/ioftell.c: Likewise.
45363         * libio/iofwrite.c: Likewise.
45364         * libio/iogetline.c: Likewise.
45365         * libio/iogets.c: Likewise.
45366         * libio/iogetwline.c: Likewise.
45367         * libio/iopadn.c: Likewise.
45368         * libio/iopopen.c: Likewise.
45369         * libio/ioseekoff.c: Likewise.
45370         * libio/ioseekpos.c: Likewise.
45371         * libio/iosetbuffer.c: Likewise.
45372         * libio/iosetvbuf.c: Likewise.
45373         * libio/ioungetc.c: Likewise.
45374         * libio/ioungetwc.c: Likewise.
45375         * libio/iovdprintf.c: Likewise.
45376         * libio/iovsprintf.c: Likewise.
45377         * libio/iovsscanf.c: Likewise.
45378         * libio/memstream.c: Likewise.
45379         * libio/obprintf.c: Likewise.
45380         * libio/oldfileops.c: Likewise.
45381         * libio/oldiofclose.c: Likewise.
45382         * libio/oldiofdopen.c: Likewise.
45383         * libio/oldiofopen.c: Likewise.
45384         * libio/oldiopopen.c: Likewise.
45385         * libio/oldstdfiles.c: Likewise.
45386         * libio/putc.c: Likewise.
45387         * libio/setbuf.c: Likewise.
45388         * libio/setlinebuf.c: Likewise.
45389         * libio/stdfiles.c: Likewise.
45390         * libio/strops.c: Likewise.
45391         * libio/vasprintf.c: Likewise.
45392         * libio/vscanf.c: Likewise.
45393         * libio/vsnprintf.c: Likewise.
45394         * libio/vswprintf.c: Likewise.
45395         * libio/wfiledoalloc.c: Likewise.
45396         * libio/wfileops.c: Likewise.
45397         * libio/wgenops.c: Likewise.
45398         * libio/wmemstream.c: Likewise.
45399         * libio/wstrops.c: Likewise.
45400         * libio/__fpurge.c: Likewise.
45401         * libio/__fsetlocking.c: Likewise.
45402         * assert/assert.c: Likewise.
45403         * debug/fgets_chk.c: Likewise.
45404         * debug/fgets_u_chk.c: Likewise.
45405         * debug/fread_chk.c: Likewise.
45406         * debug/fread_u_chk.c: Likewise.
45407         * debug/gets_chk.c: Likewise.
45408         * debug/obprintf_chk.c: Likewise.
45409         * debug/vasprintf_chk.c: Likewise.
45410         * debug/vdprintf_chk.c: Likewise.
45411         * debug/vsnprintf_chk.c: Likewise.
45412         * debug/vsprintf_chk.c: Likewise.
45413         * malloc/mtrace.c: Likewise.
45414         * misc/error.c: Likewise.
45415         * misc/syslog.c: Likewise.
45416         * stdio-common/asprintf.c: Likewise.
45417         * stdio-common/fxprintf.c: Likewise.
45418         * stdio-common/getw.c: Likewise.
45419         * stdio-common/isoc99_fscanf.c: Likewise.
45420         * stdio-common/isoc99_scanf.c: Likewise.
45421         * stdio-common/isoc99_vfscanf.c: Likewise.
45422         * stdio-common/isoc99_vscanf.c: Likewise.
45423         * stdio-common/isoc99_vsscanf.c: Likewise.
45424         * stdio-common/printf-prs.c: Likewise.
45425         * stdio-common/printf_fp.c: Likewise.
45426         * stdio-common/printf_fphex.c: Likewise.
45427         * stdio-common/printf_size.c: Likewise.
45428         * stdio-common/putw.c: Likewise.
45429         * stdio-common/scanf.c: Likewise.
45430         * stdio-common/sprintf.c: Likewise.
45431         * stdio-common/tmpfile.c: Likewise.
45432         * stdio-common/vfprintf.c: Likewise.
45433         * stdio-common/vfscanf.c: Likewise.
45434         * stdlib/strfmon_l.c: Likewise.
45435         * sunrpc/openchild.c: Likewise.
45436         * sunrpc/xdr_stdio.c: Likewise.
45437         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45438         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45440 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45442         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45444         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45445         in the third column, to generate for the shared library an IFUNC
45446         that uses _dl_vdso_vsym.
45447         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45448         * Makeconfig (object-suffixes-noshared): New variable.
45450         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45451         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45452         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45453         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45455         [BZ #14132]
45456         * include/sys/time.h (__gettimeofday): Remove macro.
45457         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45458         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45459         Remove INTDEF.
45460         (__gettimeofday): Add libc_hidden_def.
45461         (gettimeofday): Add libc_hidden_weak.
45462         * sysdeps/mach/gettimeofday.c: Likewise.
45463         * sysdeps/posix/gettimeofday.c: Likewise.
45464         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45465         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45466         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45467         (__gettimeofday_internal): Remove strong_alias.
45468         (__gettimeofday): Add libc_hidden_def.
45469         (gettimeofday): Add libc_hidden_weak.
45470         * sysdeps/unix/syscalls.list (gettimeofday):
45471         Remove __gettimeofday_internal alias.
45473 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45474             H.J. Lu  <hongjiu.lu@intel.com>
45476         [BZ #12495]
45477         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45478         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45479         (largebin_index_32_big): New.
45480         (largebin_index): Use it for 16-byte alignment.
45481         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45482         correction with front_misalign.
45484 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45488         Likewise.
45489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45490         Likewise.
45491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45492         Likewise.
45493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45494         Likewise.
45495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45496         Likewise.
45497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45498         Likewise.
45499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45500         Likewise.
45501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45502         Likewise.
45503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45504         Likewise.
45505         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45506         Likewise.
45507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45508         Likewise.
45509         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45510         Likewise.
45512         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45513         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45515 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45517         [BZ #10846]
45518         [BZ #14036]
45519         * math/libm-test.inc (exp_test): Add test from bug 14036.
45520         (pow_test): Add test from bug 10846.
45522         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45523         and other flags.
45524         (special_function): Do not include flags in test name.
45525         (parse_args): Likewise.
45526         * sysdeps/i386/fpu/libm-test-ulps: Update.
45527         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45529         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45532         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45533         exceptions.
45534         * math/libm-test.inc ("Philosophy"): Update comment about
45535         exception testing.
45536         (UNDERFLOW_EXCEPTION): New macro.
45537         (UNDERFLOW_EXCEPTION_OK): Likewise.
45538         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45539         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45540         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45541         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45542         (INVALID_EXCEPTION_OK): Update value.
45543         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45544         (OVERFLOW_EXCEPTION_OK): Likewise.
45545         (IGNORE_ZERO_INF_SIGN): Likewise.
45546         (test_exceptions): Handle underflow exceptions.
45547         (acos_test): Update for underflow exception expectations.
45548         (cexp_test): Likewise.
45549         (clog_test): Likewise.
45550         (clog10_test): Likewise.
45551         (csqrt_test): Likewise.
45552         (ctan_test): Likewise.
45553         (ctanh_test): Likewise.
45554         (exp_test): Likewise.
45555         (exp10_test): Likewise.
45556         (exp2_test): Likewise.
45557         (expm1_test): Likewise.
45558         (fma_test): Likewise.
45559         (j0_test): Likewise.
45560         (jn_test): Likewise.
45561         (nexttoward_test): Likewise.
45562         (pow_test): Likewise.
45563         (scalbn_test): Likewise.
45564         (scalbln_test): Likewise.
45565         (tan_test): Likewise.
45566         (y1_test): Likewise.
45567         * sysdeps/i386/fpu/libm-test-ulps: Update.
45568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45570 2012-05-23  David S. Miller  <davem@davemloft.net>
45572         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45573         (__libc_sigaction): Remove unused local variables.
45575 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45577         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45579 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45581         mktime: avoid signed integer overflow
45582         * time/mktime.c (__mktime_internal): Do not mishandle the case
45583         where diff == INT_MIN.
45585         mktime: simplify computation of average
45586         * time/mktime.c (ranged_convert): Use new time_t_avg function
45587         instead of rolling our own (probably-slower) code.
45589         mktime: do not assume signed right shift propagates sign bit
45590         * time/mktime.c (isdst_differ): New static function.
45591         (__mktime_internal): No need to normalize tm_isdst now.
45592         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45593         tm_isdst values.
45595         mktime: merge another wrapv change from gnulib
45596         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45597         from some compilers.
45599         mktime: remove incorrect attempt at unusual arithmetics
45600         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45601         The code didn't really work on such machines anyway.
45602         (TYPE_MINIMUM): Assume two's complement.
45603         (twos_complement_arithmetic): Verify that long_int and time_t
45604         are two's complement (or unsigned, in the latter case).
45606         mktime: check signed shifts on long_int and time_t, too
45607         * time/mktime.c (SHR): Check that shifts work as desired
45608         on the types long_int and time_t too, as SHR is used on
45609         such types.
45611         mktime: do not assume 'long' is wide enough
45612         * time/mktime.c (verify): Move decl up.
45613         (long_int): New type.
45614         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45615         to remove assumption in the code that 'long' is wide enough to
45616         store year values.  This assumption is not true on x32 and on
45617         some non-glibc platforms.
45619         mktime: merge wrapv change from gnulib
45620         * time/mktime.c (WRAPV): New macro.
45621         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45622         (guess_time_tm, __mktime_internal): Do not assume that signed
45623         integer overflow wraps around; modern compilers generate code
45624         where this assumption is no longer valid.
45626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45628         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45629         Replace "jmp L(pseudo_end)" with "ret".
45630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45631         Likewise.
45633 2012-05-23  Andreas Jaeger  <aj@suse.de>
45635         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45636         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45638 2012-05-23  Andreas Jaeger  <aj@suse.de>
45639             Maximilian Attems  <max@stro.at>
45641         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45642         New macros.
45644 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45646         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45647         code so that pseudo_end is just ret and the stack pointer is
45648         correct also for static library in error case.
45650 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45652         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45653         move to syscalls.list.
45654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45659         * manual/install.texi (Running make install): Do not mention Linux
45660         kernel version for which pt_chown is not needed.
45661         (Linux): Do not mention problems with nscd with 2.0 kernels.
45662         * INSTALL: Regenerated.
45664 2012-05-23  Andreas Jaeger  <aj@suse.de>
45666         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45667         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45668         macro.
45669         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45670         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45671         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45672         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45673         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45674         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45675         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45676         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45677         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45678         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45679         * sysdeps/unix/sysv/linux/bits/in.h
45680         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45682 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45684         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45685         (PREPARE_VERSION): Just use assert instead, it will be elided
45686         under [NDEBUG] anyway.
45688 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45690         * sysdeps/unix/sysv/linux/Makefile: Include
45691         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45692         (sysdep_routines): Remove sysctl.
45693         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45694         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45695         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45696         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45697         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45699 2012-05-22  Andreas Jaeger  <aj@suse.de>
45701         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45702         that pseudo_end is just ret and the stack pointer is correct also
45703         for static library in error case.
45705 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45707         [BZ #14122]
45708         * nss/nsswitch.c (defconfig_entries): New variable.
45709         (__nss_database_lookup): Don't leak defconfig entries.
45710         (nss_parse_service_list): Don't leak on error paths.
45711         (free_database_entries): New function.
45712         (free_defconfig): New function.
45713         (free_mem): Move common code to free_database_entries.
45715 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45717         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45718         Add arch_prctl.
45719         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45721         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45722         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45724         New macro.
45725         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45726         (INTERNAL_SYSCALL_TYPES): Likewise.
45727         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45728         (LOAD_REGS_TYPES_[1-6]): Likewise.
45729         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45730         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45732 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45734         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45735         copysignl for GLIBC_2_0.
45736         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45737         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45739         logbl for GLIBC_2_0.
45740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45741         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45743 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45746         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45748         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45749         Use "neg %eax".
45751         * time/mktime.c: Update copyright years.
45753 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45755         mktime: merge comment-quoting-style change from gnulib
45756         * time/mktime.c: Quote 'like this' in comments.
45757         The GNU coding standards suggest that we no longer quote `like this',
45758         as "`" and "'" are typically rendered asymmetrically nowadays.
45759         The typical gnulib style is to quote 'like this' when quoting
45760         code, and "like this" when quoting English.
45762         * time/mktime.c (compile-command): Add "-I.".
45764         mktime: merge mktime-internal.h change from gnulib
45765         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45767         mktime: merge time_r change from gnulib
45768         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45770         mktime: merge DEBUG change from gnulib
45771         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45772         case system <time.h> has a #define.
45774         mktime: merge <sys/types.h> change from gnulib
45775         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45776         since <time.t> is now guaranteed to define time_t.
45778         mktime: merge HAVE_CONFIG_H change from gnulib
45779         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45781 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45784         Use "neg %eax".
45786         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45787         __rlim_t cast.
45788         (struct rusage): Use anonymous union to pad each field to
45789         __syscall_slong_t.
45791 2012-05-21  David S. Miller  <davem@davemloft.net>
45793         * Makefules (o-iterator): Remove .s cases.
45794         (compile-command.s): Delete.
45795         (COMPILE.s): Delete.
45796         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45798 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45800         * configure.in (libc_cv_predef_stack_protector): Only consider
45801         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45802         * configure: Regenerated.
45804 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45806         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45807         New macro.  Use R*LP on int and pointer.
45808         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45809         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45810         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45811         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45813         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45814         [__WORDSIZE_TIME64_COMPAT32] instead of
45815         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45816         (struct utmp): Likewise.
45817         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45818         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45819         Renamed to ...
45820         (__WORDSIZE_TIME64_COMPAT32): This.
45821         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45822         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45823         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45824         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45825         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45826         (__WORDSIZE_TIME64_COMPAT32): New macro.
45828 2012-05-21  Andreas Jaeger  <aj@suse.de>
45830         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45831         only if [SHARED]. Add prototype for __wcschr_ia32.
45833 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45835         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45836         of %rbp unmolested in the jmp_buf while mangling the low bits.
45837         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45838         unmolested high bits of %rbp while demangling the low bits.
45839         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45841 2012-05-21  Andreas Jaeger  <aj@suse.de>
45843         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45844         * sunrpc/svc_simple.c: Use it for registerrpc.
45845         * sunrpc/xcrypt.c: Use it for passwd2des.
45847         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45849 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45851         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45852         Don't define if [__SYSCALL_WORDSIZE != 32].
45853         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45854         New macro.
45856 2012-05-21  Bruno Haible  <bruno@clisp.org>
45857             Andreas Jaeger  <aj@suse.de>
45859         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45860         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45861         inptr and inend for must_buffer_ch.
45862         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45863         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45864         * stdio-common/Makefile (tests): Remove bug15.
45865         (bug15-ENV): Remove macro.
45866         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45867         anymore.
45869 2012-05-19  Andreas Jaeger  <aj@suse.de>
45870             Roland McGrath  <roland@hack.frob.com>
45872         * manual/contrib.texi: Completely rewritten. It contains now an
45873         alphabetical list of contributors and their contributions.
45875 2012-05-21  Richard Henderson  <rth@twiddle.net>
45877         * misc/getauxval.c (__getauxval): Use unsigned long int.
45878         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45879         (getauxval): Use unsigned long int.
45881 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45883         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45885 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45887         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45888         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45889         __alignof__ (long double).
45891 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45895 2012-05-20  Richard Henderson  <rth@twiddle.net>
45897         * misc/getauxval.c: New file.
45898         * misc/sys/auxv.h: New file.
45899         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45900         (routines): Add getauxval.
45901         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45902         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45903         * elf/dl-sysdep.c (_dl_auxv): Remove.
45904         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45905         * elf/dl-support.c (_dl_auxv): New variable.
45906         (_dl_aux_init): Initialize it.
45907         * manual/startup.texi (Auxiliary Vector): New node.
45908         * sysdeps/generic/bits/hwcap.h: New file.
45909         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45910         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45911         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45912         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45913         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45914         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45916         Update.
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45920         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45926 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45930 2012-05-19  David S. Miller  <davem@davemloft.net>
45932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45934 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45936         [BZ #14123]
45937         * math/s_ccosh.c: Include <float.h>
45938         (__ccosh): Avoid internal overflow calculating sinh and cosh
45939         values before multiplying by sin and cos values.
45940         * math/s_ccoshf.c: Likewise.
45941         * math/s_ccoshl.c: Likewise.
45942         * math/s_csin.c: Likewise.
45943         * math/s_csinf.c: Likewise.
45944         * math/s_csinl.c: Likewise.
45945         * math/s_csinh.c: Likewise.
45946         * math/s_csinhf.c: Likewise.
45947         * math/s_csinhl.c: Likewise.
45948         * math/libm-test.inc (ccos_test): Add more tests.
45949         (ccosh_test): Likewise.
45950         (csin_test): Likewise.
45951         (csinh_test): Likewise.
45952         * sysdeps/i386/fpu/libm-test-ulps: Update.
45953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45955 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
45957         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45958         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45960         * sysdeps/x86_64/x32/_itoa.h: Add comment.
45962 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
45964         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45965         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45966         * sysdeps/powerpc/soft-fp/Versions: Likewise.
45967         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45968         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45969         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45970         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45971         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45972         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45973         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45974         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45975         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45976         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45977         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45978         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45979         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45980         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45981         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45982         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45983         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45984         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45985         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45986         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45987         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45988         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45989         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45990         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45991         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45992         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45993         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45994         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45996 2012-05-18  Andreas Jaeger  <aj@suse.de>
45998         * csu/.gitignore: Delete.
46000 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46002         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46003         (timex): Use __syscall_slong_t.
46005 2012-05-18  Andreas Jaeger  <aj@suse.de>
46006             Carlos O'Donell  <carlos_odonell@mentor.com>
46008         * manual/install.texi (Configuring and compiling): Update
46009         description about files modified in the source directory.
46010         * INSTALL: Regenerated.
46012 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46014         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46015         value.  Use "or" to set return value to -1.
46016         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46017         negate return value.
46019 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46021         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46022         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46023         failure if the compiler has Graphite support disabled.
46024         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46025         Likewise.
46026         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46027         (CFLAGS-memmove.c): Likewise.
46028         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46029         Likewise.
46031 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46033         * sysdeps/x86_64/x32/_itoa.h: New file.
46035         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46036         getdents system call only if kernel and user dirents have the
46037         same d_ino and d_off.
46039         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46040         LLONG_MAX != LONG_MAX.
46041         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46042         (_fitoa_word): Likewise.
46044         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46045         years.
46046         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46047         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46048         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46051         include <bits/wordsize.h>.  Check __x86_64__ instead of
46052         __WORDSIZE.
46053         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46054         if __x86_64__ is defined.  Use anonymous union on fpstate.
46056         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46057         anonymous union.
46059 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46061         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46062         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46063         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46064         Refer to _rtld_local_ro instead of _rtld_global_ro.
46065         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46066         Likewise.
46067         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46068         Likewise.
46069         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46070         Likewise.
46071         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46072         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46073         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46075         * sysdeps/powerpc/powerpc32/dl-machine.c
46076         (__elf_machine_runtime_setup) [PROF]: Don't reference
46077         _dl_prof_resolve.
46079 2012-05-18  Andreas Jaeger  <aj@suse.de>
46081         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46082         function only available for GCCs before 3.4 since GCC 3.4
46083         introduced a builtin.
46084         (lrint): Likewise.
46085         (llrintf): Likewise.
46086         (llrint): Likewise.
46087         (fmaxf): Likewise.
46088         (fmax): Likewise.
46089         (fminf): Likewise.
46090         (fmin): Likewise.
46091         (rint): Likewise.
46092         (rintf): Likewise.
46093         (nearbyint): Likewise.
46094         (nearbyintf): Likewise.
46095         (ceil): Likewise.
46096         (ceilf): Likewise.
46097         (floor): Likewise.
46098         (floorf): Likewise.
46100 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46102         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46103         on both fields and cast pointer to __syscall_ulong_t.
46105         * bits/types.h (__fsword_t): New type.
46106         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46107         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46108         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46109         (__FSWORD_T_TYPE): Likewise.
46110         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46111         (__FSWORD_T_TYPE): Likewise.
46112         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46113         (__FSWORD_T_TYPE): Likewise.
46114         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46115         (__FSWORD_T_TYPE): Likewise.
46116         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46117         __SWORD_TYPE with __fsword_t.
46118         (statfs64): Likewise.
46120 2012-05-17  David S. Miller  <davem@davemloft.net>
46122         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46124 2012-05-17  Andreas Jaeger  <aj@suse.de>
46126         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46127         warning.
46129 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46131         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46133 2012-05-17  Andreas Jaeger  <aj@suse.de>
46135         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46136         when it is used.
46138 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46140         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46142 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46144         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46145         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46147 2012-05-17  Andreas Jaeger  <aj@suse.de>
46148             Carlos O'Donell  <carlos_odonell@mentor.com>
46150         [BZ #14059]
46151         * sysdeps/x86_64/multiarch/init-arch.h
46152         (bit_YMM_Usable): Rename to...
46153         (bit_AVX_Usable): ... this.
46154         (bit_FMA4_Usable): New macro.
46155         (bit_XMM_state): New macro.
46156         (bit_YMM_state): New macro.
46157         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46158         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46159         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46160         (CPUID_OSXSAVE): New macro.
46161         (CPUID_AVX): New macro.
46162         (CPUID_FMA4): New macro.
46163         (index_YMM_Usable): Rename to...
46164         (index_AVX_Usable): ... this.
46165         (HAS_AVX): Use HAS_ARCH_FEATURE.
46166         (HAS_FMA4): Likewise.
46167         (HAS_YMM_USABLE): Remove.
46168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46169         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46170         are present.
46171         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46172         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46173         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46174         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46175         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46177 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46179         * math/libm-test.c: Support platforms without multiple rounding modes.
46180         * math/bug-nextafter.c: Support platforms without FP exceptions.
46181         * math/bug-nexttoward.c: Likewise.
46182         * math/test-fenv.c: Likewise.
46183         * math/test-misc.c: Likewise.
46184         * stdlib/bug-getcontext.c: Likewise.
46186 2012-05-17  Andreas Jaeger  <aj@suse.de>
46188         * manual/examples/search.c (critter_cmp): Change signature to
46189         avoid warnings.
46190         * manual/string.texi (Collation Functions): Likewise.
46192 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46194         * bits/types.h: Fold copyright years.
46195         * bits/typesizes.h: Likewise.
46196         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46198         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46199         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46200         * time/time.h: Likewise.
46202 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46204         [BZ #208]
46205         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46206         in instead of returning them.  Return void.
46207         (__libc_mallinfo): Accumulate over all arenas.
46208         (__malloc_stats): Adjust for change in int_mallinfo interface.
46210 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46212         [BZ #10375]
46213         * configure.in (NM): Add AC_CHECK_TOOL for it.
46214         (libc_extra_cflags): New substituted variable.
46215         Check for -fstack-protector being used implicitly.
46216         * configure: Regenerated.
46217         * config.make.in (config-extra-cflags): New variable,
46218         gets @libc_extra_cflags@.
46219         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46221         [BZ #10375]
46222         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46223         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46224         * configure: Regenerated.
46225         * config.make.in (CPPUNDEFS): New substituted variable.
46226         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46227         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46228         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46230 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46232         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46233         (mq_attr): Use __syscall_slong_t.
46235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46237         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46238         Check __x86_64__ instead of __WORDSIZE.
46239         (_STAT_VER_LINUX): Likewise.
46240         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46241         __syscall_ulong_t and __syscall_slong_t.
46242         (stat64): Likewise.
46244 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46246         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46248 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46250         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46252 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46254         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46255         __syscall_ulong_t.
46257         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46258         include <bits/wordsize.h>.  Check __x86_64__ instead of
46259         __WORDSIZE.
46260         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46261         defined.
46262         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46264         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46265         include <bits/wordsize.h>.  Check __x86_64__ instead of
46266         __WORDSIZE.
46267         (user_regs_struct): Use "__extension__ unsigned long long"
46268         instead of "unsigned long" if __x86_64__ is defined.
46269         (user): Likewise.  Pad after pointer field if __ILP32__ is
46270         defined.
46272 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46274         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46275         versions 5 to 9.
46276         * configure: Regenerated.
46277         * manual/install.texi (texinfo): Increase version requirement to
46278         4.5 or later.
46279         * INSTALL: Regenerated.
46281         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46283 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46285         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46287         * sysdeps/x86_64/x32/ffs.c: New file.
46289         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46290         __syscall_ulong_t.
46291         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46292         defined.  Use __syscall_ulong_t.
46293         (shminfo): Use __syscall_ulong_t.
46294         (shm_info): Likewise.
46296         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46297         __syscall_ulong_t.
46299         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46300         <bits/wordsize.h>.
46301         (msgqnum_t): Use __syscall_ulong_t.
46302         (msglen_t): Likewise.
46303         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46304         __syscall_ulong_t.
46306         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46307         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46309         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46311         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46312         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46314         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46315         __syscall_slong_t.
46317         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46318         include <bits/wordsize.h>.  Check __x86_64__ instead of
46319         __WORDSIZE.
46321         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46322         "unsigned long long int" if __x86_64__ is defined.
46323         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46325         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46326         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46327         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46329         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46330         <stdint.h>.
46331         (GET_PC): Cast to uintptr_t first.
46332         (GET_FRAME): Likewise.
46333         (GET_STACK): Likewise.
46335         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46336         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46337         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46338         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46339         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46340         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46341         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46342         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46343         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46344         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46345         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46346         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46347         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46348         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46349         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46350         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46351         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46352         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46353         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46354         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46355         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46356         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46357         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46358         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46359         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46361         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46362         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46363         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46365 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46367         * Makerules (+depfiles): Also collect depfiles from .oS in
46368         $(extra-objs).
46369         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46370         .oS, $(libnldbl-routines)).
46372         * Makerules (native-compile-mkdep-flags): Define.
46373         * sunrpc/Makefile (extra-objs): Add $(addprefix
46374         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46375         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46376         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46377         calling $(make-target-directory).
46379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46381         * bits/types.h (__snseconds_t): Removed.
46382         * time/time.h (struct timespec): Replace __snseconds_t with
46383         __syscall_slong_t.
46384         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46385         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46386         Likewise.
46387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46388         (__SNSECONDS_T_TYPE): Likewise.
46389         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46390         (__SNSECONDS_T_TYPE): Likewise.
46391         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46392         (__SNSECONDS_T_TYPE): Likewise.
46394 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46396         * sysdeps/mach/hurd/bits/typesizes.h
46397         (__SYSCALL_SLONG_TYPE): New macro.
46398         (__SYSCALL_ULONG_TYPE): Likewise.
46400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46402         * bits/types.h (__syscall_slong_t): New type.
46403         (__syscall_ulong_t): Likewise.
46405         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46406         (__SYSCALL_ULONG_TYPE): Likewise.
46407         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46408         (__SYSCALL_SLONG_TYPE): Likewise.
46409         (__SYSCALL_ULONG_TYPE): Likewise.
46410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46411         (__SYSCALL_SLONG_TYPE): Likewise.
46412         (__SYSCALL_ULONG_TYPE): Likewise.
46413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46414         (__SYSCALL_SLONG_TYPE): Likewise.
46415         (__SYSCALL_ULONG_TYPE): Likewise.
46417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46419         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46420         Add sigaltstack-offsets.sym.
46421         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46422         <sigaltstack-offsets.h>.
46423         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46424         longjmp_msg pointer.
46425         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46426         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46427         signal stack.
46428         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46430 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46432         * elf/stackguard-macros.h: Remove file.
46433         * sysdeps/generic/stackguard-macros.h: New file.
46434         * sysdeps/i386/stackguard-macros.h: Likewise.
46435         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46436         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46437         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46438         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46439         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46440         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46441         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46442         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46443         <elf/stackguard-macros.h>.
46445         [BZ #14109]
46446         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46447         __aligned__ in attribute.
46448         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46449         (gregset_t): Likewise.
46451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46453         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46454         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46455         * sysdeps/x86_64/x32/Implies-after: New file.
46457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46459         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46460         and access return value for _dl_profile_fixup.  Use R10_LP to
46461         load frame size.
46463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46465         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46469         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46470         * sysdeps/x86_64/x32/sysdep.h: New file.
46472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46474         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46475         * sysdeps/x86_64/setjmp.S: Likewise.
46477 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46479         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46480         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46481         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46482         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46483         remove unused global constant.
46485 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46487         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46488         include of <not-cancel.h>.
46490 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46492         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46494 2012-05-15  Jeff Law  <law@redhat.com>
46495             Andreas Jaeger  <aj@suse.de>
46497         [BZ #13594]
46498         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46499         out from...
46500         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46501         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46502         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46503         code changing __hst_map_handle.map.
46505 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46507         * configure.in (sysnames): Look for Implies-before and Implies-after
46508         files.
46509         * configure: Regenerated.
46511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46513         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46514         8-byte data alignment with LP_SIZE alignment.
46516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46518         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46519         into R10_LP.
46521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46523         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46527         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46528         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46529         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46530         Likewise.
46531         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46535         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46536         (stackinfo_sub_sp): Likewise.
46538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46540         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46541         RAX_LP.
46543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46546         into R*_LP.
46548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46550         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46551         sizes into R*_LP.
46553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46555         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46559         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46560         into R11_LP and load __x86_64_shared_cache_size_half into
46561         R8_LP.
46563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46565         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46566         R8_LP.
46568 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46570         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46571         logb for POWER7.
46572         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46573         logbf for POWER7.
46574         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46575         logbl for POWER7.
46576         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46577         powerpc32/power7/fpu/s_logb.c via #include.
46578         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46579         powerpc32/power7/fpu/s_logbf.c via #include.
46580         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46581         powerpc32/power7/fpu/s_logbl.c via #include.
46583 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46585         * README.libm: Remove file.
46587 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46589         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46590         count for x32.  Use R*_LP and omit operand-size suffix.
46592 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46594         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46595         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46596         * sysdeps/x86_64/x32/shlib-versions: New file.
46598 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46600         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46601         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46602         Use _dl_fatal_printf instead.
46604 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46606         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46607         set if not set by the user.  Do not allow for being unset.
46608         * sysdeps/unix/sysv/linux/configure: Regenerated.
46610 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46612         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46613         the `q' suffix from lea and replace .quad with ASM_ADDR.
46615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46617         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46618         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46619         instead of $17.
46620         (PTR_DEMANGLE): Likewise.
46622 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46624         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46625         (LP_OP): Likewise.
46626         (ASM_ADDR): Likewise.
46627         (RAX_LP): Likewise.
46628         (RBP_LP): Likewise.
46629         (RBX_LP): Likewise.
46630         (RCX_LP): Likewise.
46631         (RDI_LP): Likewise.
46632         (RSI_LP): Likewise.
46633         (RSP_LP): Likewise.
46634         (R8_LP): Likewise.
46635         (R9_LP): Likewise.
46636         (R10_LP): Likewise.
46637         (R10_LP): Likewise.
46638         (R11_LP): Likewise.
46639         (R12_LP): Likewise.
46640         (R13_LP): Likewise.
46641         (R14_LP): Likewise.
46642         (R15_LP): Likewise.
46644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46646         * sysdeps/x86_64/x32/dl-machine.h: New file.
46648 2012-05-14  Andreas Jaeger  <aj@suse.de>
46650         * manual/Makefile (subdir): Remove export of subdir.
46651         (all): Remove target.
46652         (.PHONY): Remove all from list.
46653         (mkinstalldirs): Remove.
46654         (.PHONY): Remove installdirs from list.
46655         ($(inst_infodir)/libc.info): Use make-target-directory.
46656         (installdirs): Remove.
46657         (subdir_%): Remove.
46658         (glibc-targets): Remove.
46659         (lib): Remove.
46660         (stubs): Remove.
46661         ($(objpfx)stubs ../po/manual.pot): Remove.
46662         ($(objpfx)stamp%): Remove.
46663         (make-target-directory): Remove.
46664         (subdir_install): Remove.
46665         (routines): Remove.
46666         (aux): Remove.
46667         (sources): Remove.
46668         (objects): Remove.
46669         (headers): Remove.
46671         [BZ #13750]
46672         * manual/.gitignore: Remove, it's not needed anymore.
46673         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46674         all files in it.
46675         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46676         directory.
46677         (texis): Renamed to $(objpfx)texis.
46678         (texis-path): New, contains path to generated files.
46679         (chapters.%): Use texis-path for complete path, add extra argument
46680         libc-texinfo.sh.
46681         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46682         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46683         (summary,texi, stamp-summary): Use complete path of
46684         files. Generate files in build dir.
46685         (dir-add.texi): Build in build dir.
46686         (libm-err.texi,stamp-libm-err): Likewise.
46687         (version.texi, stamp-version): Likewise.
46688         (.%c.texi): Likewise.
46689         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46690         (mostlyclean): Remove target.
46691         (realclean): Remove target.
46692         (generated): Add new variable with contents from mostlyclean and
46693         realclean, remove entries duplicated in common-mostlyclean, add
46694         stamp-libm-err and stamp-version.
46695         (generated-dirs): Add libc directory.
46696         ($(inst_infodir)/libc.info): Install files from build dir.
46698         * manual/install.texi (Configuring and compiling): Adjust since
46699         the info files are not part of the tar ball anymore.
46701 2012-05-14  Andreas Jaeger  <aj@suse.de>
46703         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46704         variable.
46706 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46708         [BZ #13717]
46709         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46710         to 2.2.0 where earlier.
46711         * sysdeps/unix/sysv/linux/configure: Regenerated.
46712         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46713         Remove conditional code.
46714         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46715         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46716         Remove conditional code.
46717         [!__NR_lchown]: Likewise.
46718         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46719         [__NR_lchown]: Likewise.
46720         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46721         comment referencing __ASSUME_LCHOWN_SYSCALL.
46722         * sysdeps/unix/sysv/linux/i386/sigaction.c
46723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46725         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46726         Remove conditional code.
46727         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46728         (__protocol_available): Remove #if 0 code.
46729         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46730         conditional code.
46731         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46732         * sysdeps/unix/sysv/linux/kernel-features.h
46733         (__ASSUME_GETCWD_SYSCALL): Don't define.
46734         (__ASSUME_REALTIME_SIGNALS): Likewise.
46735         (__ASSUME_PREAD_SYSCALL): Likewise.
46736         (__ASSUME_PWRITE_SYSCALL): Likewise.
46737         (__ASSUME_POLL_SYSCALL): Likewise.
46738         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46739         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46740         non-SPARC.
46741         (__ASSUME_SIOCGIFNAME): Don't define.
46742         (__ASSUME_MSG_NOSIGNAL): Likewise.
46743         (__ASSUME_SENDFILE): Define unconditionally.
46744         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46745         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46746         conditional code.
46747         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46748         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46749         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46750         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46751         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46752         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46753         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46755         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46756         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46758         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46759         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46761         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46764         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46765         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46767         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46770         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46771         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46776         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46777         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46778         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46779         Remove conditional code.
46780         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46781         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46782         Remove conditional code.
46783         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46784         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46785         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46786         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46787         Remove conditional code.
46788         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46789         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46790         Remove conditional code.
46791         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46792         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46793         Remove conditional code.
46794         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46795         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46796         Remove conditional code.
46797         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46798         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46799         Remove conditional code.
46800         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46801         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46802         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46803         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46804         * sysdeps/unix/sysv/linux/sigaction.c
46805         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46806         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46807         * sysdeps/unix/sysv/linux/sigpending.c
46808         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46809         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46810         * sysdeps/unix/sysv/linux/sigprocmask.c
46811         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46812         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46813         * sysdeps/unix/sysv/linux/sigsuspend.c
46814         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46815         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46816         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46817         (__libc_missing_rt_sigs): Remove.
46818         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46819         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46820         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46821         Remove conditional code.
46822         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46823         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46824         return 1.
46825         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46826         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46827         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46828         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46830 2012-05-14  Andreas Jaeger  <aj@suse.de>
46832         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46833         it's not used in glibc.
46834         (__coshm1): Likewise.
46835         (__acosh1p): Likewise.
46836         (__sgn): Likewise.
46838         * manual/string.texi (Copying and Concatenation): Add missing
46839         variable in concat example.
46840         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46842 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46844         [BZ #14103]
46845         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46846         __builtin_clzl with __builtin_clzll.
46848 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46850         [BZ #14104]
46851         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46852         libc_freeres_ptr.
46854 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46856         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46857         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46858         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46859         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46861 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46863         * NEWS: Update ia64 info.
46865 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46867         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46868         used as bcopy.
46870 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46872         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46873         * sysdeps/unix/syscalls.list (dup3): Likewise.
46874         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46875         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46877 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46879         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46880         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46882 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46884         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46885         thread pointer.
46886         (TLS_IE): Use mov/add instead of movq/addq to load thread
46887         pointer.
46888         (TLS_GD_PREFIX): New.
46889         (TLS_GD): Use it.
46891 2012-05-11  David S. Miller  <davem@davemloft.net>
46893         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46894         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46895         (_FPU_SETCW): Likewise.
46897 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46899         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46900         is 32-byte aligned.
46902 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46904         [BZ #11837]
46905         * iconvdata/gb18030.c: Update tables.
46906         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46907         characters specially.
46908         (BODY for TO_LOOP): Add encoding of missing ranges.
46910 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46912         [BZ #13673]
46913         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46914         * sysdeps/mach/hurd/dup3.c: Likewise.
46915         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46916         * sysdeps/powerpc/memmove.c:: Likewise.
46918 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46920         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46921         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46923 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46925         * elf/elf.h (R_X86_64_RELATIVE64): New.
46926         (R_X86_64_NUM): Updated.
46927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46928         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
46929         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46930         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46931         tst-quad1pie tst-quad2pie
46932         (modules-names): Add tst-quadmod1 tst-quadmod2.
46933         ($(objpfx)tst-quad1): New dependency.
46934         ($(objpfx)tst-quad2): Likewise.
46935         ($(objpfx)tst-quad1pie): Likewise.
46936         ($(objpfx)tst-quad2pie): Likewise.
46937         * sysdeps/x86_64/tst-quad1.c: New file.
46938         * sysdeps/x86_64/tst-quad1pie.c: New file.
46939         * sysdeps/x86_64/tst-quad2.c: Likewise.
46940         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46941         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46942         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46943         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46944         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46948         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46949         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46950         * streams/stropts.h (t_scalar_t): Define type.
46952         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46953         (_PATH_PRESERVE): Set to "/var/lib".
46954         (_PATH_RWHODIR): Set to "/var/spool/rwho".
46956         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46957         instead of int.
46959         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46960         if __dir_mkfile succeeded.
46962         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46963         checking for _hurd_dtablesize.  Unlock it right after having
46964         finished _hurd_dtable allocation.
46966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
46968         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46969         * sysdeps/mach/hurd/configure: Regenerated.
46970         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46971         special-casing to...
46972         * sysdeps/gnu/configure.in: ... this new file.
46973         * sysdeps/unix/sysv/linux/configure: Regenerated.
46974         * sysdeps/gnu/configure: New generated file.
46976         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46977         for Linux: use nsec instead of usec, as well as:
46978         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46979         members of type struct timespec.
46980         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46981         New macros.
46982         (struct stat64): Likewise.
46983         (_STATBUF_ST_NSEC): New macro.
46984         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46986         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46987         __strtoul_internal rather than strtoul.
46989 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46991         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46992         and reject them.
46994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46996         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46997         which preserves existing values.
46998         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47000 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47002         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47003         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47004         greater than FD_SETSIZE.
47006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47008         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47009         allocated, call __vm_protect to finish enabling the existing space, and
47010         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47011         allocate the remainder.
47013 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47015         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47016         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47018 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47020         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47021         sysdeps/mach/hurd/readlink.c.
47023         * posix/tst-sysconf.c (posix_options): Only use
47024         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47025         _POSIX_SYNCHRONIZED_IO when they are defined
47026         * sysdeps/mach/hurd/bits/posix_opt.h:
47027         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47028         (_XOPEN_REALTIME): Undefine macro.
47029         (_XOPEN_REALTIME_THREADS): Undefine macro.
47030         (_XOPEN_SHM): Undefine macro.
47031         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47032         macro to -1.
47033         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47034         macro to -1.
47035         (_POSIX_ASYNC_IO): Undefine macro.
47036         (_POSIX_PRIORITIZED_IO): Undefine macro.
47037         (_POSIX_SPIN_LOCKS): Define macro to -1.
47039         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47040         SA_NODEFER, SA_RESETHAND.
47041         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47042         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47043         F_DUPFD_CLOEXEC.
47045 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47047         * elf/Makefile (pldd-modules): Define unconditionally.
47049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47051         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47053 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47055         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47056         Return ENOENT when name is empty.
47057         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47061         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47063         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47067         Fix mlock in all cases except non-readable pages.
47068         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47069         instead of VM_PROT_ALL as parameter to __vm_wire function.
47071         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47072         (__mkdir): When path is `/', just fail with EEXIST.
47073         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47075 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47077         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47078         <sys/uio.h> (for writev).
47079         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47080         and <sys/param.h> (for MIN).
47082 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47084         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47085         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47086         if interrupted.
47088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47090         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47091         Depend on against $(link-rpcuserlibs).
47093 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47095         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47096         (__libc_stack_end): Do not use attribute_relro.
47097         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47098         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47099         to libthread-provided value.
47100         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47101         attribute_relro.
47103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47105         [BZ #3748]
47106         * bits/libc-lock.h (__libc_once_get): New macro.
47107         * sysdeps/mach/bits/libc-lock.h: Likewise.
47108         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47109         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47110         instead of using implementation details.
47112         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47113         * libio/freopen.c: Likewise.
47114         * libio/freopen64.c: Likewise.
47115         * misc/syslog.c: Likewise.
47116         * nscd/connections.c: Likewise.
47117         * nscd/netgroupcache.c: Likewise.
47118         * sysdeps/posix/getcwd.c: Likewise.
47120 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47122         * math/w_ilogbf.c: Add #include <limits.h>.
47124 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47126         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47127         path instead of returning without unlocking.
47129         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47130         immediate-write ioctls.
47131         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47135         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47136         __builtin_frame_address instead of making assumptions about the
47137         location of the return address relative to DATA.  Force early load of
47138         the return address.
47139         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47140         __builtin_frame_address.
47142         dup3 for GNU Hurd.
47143         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47144         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47145         implement dup3 and do some further code clean-ups.
47146         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47147         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47149 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47151         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47153         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47154         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47155         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47156         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47157         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47158         d->port.lock.
47160         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47161         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47162         when handler == SIG_ERR, not when handler != SIG_ERR.
47164 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47166         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47167         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47168         definitions.
47170         accept4 for GNU Hurd.
47171         * include/sys/socket.h (__libc_accept4): New prototype.
47172         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47173         to implement __libc_accept4.
47174         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47175         __libc_accept4.
47176         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47178         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47179         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47180         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47181         signal-defines.sym.
47183 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47185         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47187 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47189         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47190         assertion on O_CLOEXEC flag.
47191         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47192         * hurd/intern-fd.c: Likewise.
47193         * hurd/port2fd.c: Likewise.
47195 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47197         [BZ #3906]
47198         * bits/in.h (IPV6_PKTINFO): Define new macro.
47199         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47201 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47203         [BZ #13954]
47204         [BZ #13955]
47205         [BZ #13956]
47206         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47207         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47208         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47209         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47211         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47212         * math/libm-test.inc (logb_test) : Additional logb tests.
47214 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47215             Andreas Jaeger  <aj@suse.de>
47217         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47218         * configure: Regenerated.
47219         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47220         * config.make.in (link-obsolete-rpc): New substituted variable.
47221         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47222         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47223         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47224         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47225         so that libc.a contains the symbols.
47226         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47227         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47228         * sunrpc/auth_none.c: Likewise.
47229         * sunrpc/auth_unix.c: Likewise.
47230         * sunrpc/authdes_prot.c: Likewise.
47231         * sunrpc/authuxprot.c: Likewise.
47232         * sunrpc/clnt_gen.c: Likewise.
47233         * sunrpc/clnt_perr.c: Likewise.
47234         * sunrpc/clnt_raw.c: Likewise.
47235         * sunrpc/clnt_simp.c: Likewise.
47236         * sunrpc/clnt_tcp.c: Likewise.
47237         * sunrpc/clnt_udp.c: Likewise.
47238         * sunrpc/clnt_unix.c: Likewise.
47239         * sunrpc/des_crypt.c: Likewise.
47240         * sunrpc/des_soft.c: Likewise.
47241         * sunrpc/get_myaddr.c: Likewise.
47242         * sunrpc/key_call.c: Likewise.
47243         * sunrpc/key_prot.c: Likewise.
47244         * sunrpc/netname.c: Likewise.
47245         * sunrpc/pm_getmaps.c: Likewise.
47246         * sunrpc/pm_getport.c: Likewise.
47247         * sunrpc/pmap_clnt.c: Likewise.
47248         * sunrpc/pmap_prot.c: Likewise.
47249         * sunrpc/pmap_prot2.c: Likewise.
47250         * sunrpc/pmap_rmt.c: Likewise.
47251         * sunrpc/publickey.c: Likewise.
47252         * sunrpc/rpc_cmsg.c: Likewise.
47253         * sunrpc/rpc_common.c: Likewise.
47254         * sunrpc/rpc_dtable.c: Likewise.
47255         * sunrpc/rpc_prot.c: Likewise.
47256         * sunrpc/rpc_thread.c: Likewise.
47257         * sunrpc/rtime.c: Likewise.
47258         * sunrpc/svc.c: Likewise.
47259         * sunrpc/svc_auth.c: Likewise.
47260         * sunrpc/svc_raw.c: Likewise.
47261         * sunrpc/svc_run.c: Likewise.
47262         * sunrpc/svc_tcp.c: Likewise.
47263         * sunrpc/svc_udp.c: Likewise.
47264         * sunrpc/svc_unix.c: Likewise.
47265         * sunrpc/svcauth_des.c: Likewise.
47266         * sunrpc/xcrypt.c: Likewise.
47267         * sunrpc/xdr.c: Likewise.
47268         * sunrpc/xdr_array.c: Likewise.
47269         * sunrpc/xdr_float.c: Likewise.
47270         * sunrpc/xdr_intXX_t.c: Likewise.
47271         * sunrpc/xdr_mem.c: Likewise.
47272         * sunrpc/xdr_rec.c: Likewise.
47273         * sunrpc/xdr_ref.c: Likewise.
47274         * sunrpc/xdr_sizeof.c: Likewise.
47275         * sunrpc/xdr_stdio.c: Likewise.
47277 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47279         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47280         change.  Update copyright years.
47282 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47284         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47286 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47287             Joseph Myers  <joseph@codesourcery.com>
47288             Paul Pluzhnikov  <ppluzhnikov@google.com>
47290         [BZ #14012]
47291         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47292         requiring rpcgen.
47293         [cross-compiling] (extra-libs): Likewise.
47294         [cross-compiling] (extra-libs-others): Likewise.
47295         [cross-compiling] (librpcsvc-routines): Likewise.
47296         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47297         [cross-compiling] (omit-deps): Likewise.
47298         (sunrpc-CPPFLAGS): New variable.
47299         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47300         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47301         (cross-rpcgen-objs): New variable.
47302         (extra-objs): Append $(cross-rpcgen-objs).
47303         ($(cross-rpcgen-objs)): New rule.
47304         ($(objpfx)cross-rpcgen): Likewise.
47305         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47306         comment.
47307         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47308         ($(objpfx)x%.stmp): Likewise.
47309         * sunrpc/proto.h [IS_IN_build] (_): Define.
47310         [IS_IN_build] (_libc_intl_domainname): Likewise.
47312 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47314         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47315         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47316         and R_X86_64_TPOFF64.
47318 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47320         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47321         sysdeps/unix/sysv/syscalls.list.
47322         (stime): Likewise.
47323         (utime): Likewise.
47324         * sysdeps/unix/sysv/syscalls.list: Remove file.
47326 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47328         [BZ #3440]
47329         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47330         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47331         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47332         (__LC_IDENTIFICATION): Make these macros useful in #if
47333         expressions, as required by C99.
47335 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47337         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47338         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47339         after this.
47341 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47343         * stdlib/longlong.h: Updated from GCC.
47345 2012-05-09  Andreas Jaeger  <aj@suse.de>
47347         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47348         default is first entry.
47349         (run_mode): Set type.
47350         (main): Remove informal message about syslog.
47351         (options): Fix typo.
47353         [BZ #14053]
47354         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47355         to asm.
47356         (lrint): Likewise.
47357         (llrintf): Likewise.
47358         (llrint): Likewise.
47359         (rint): Likewise.
47360         (rintf): Likewise.
47361         (nearbyint): Likewise.
47362         (nearbyintf): Likewise.
47364 2012-05-09  Andreas Jaeger  <aj@suse.de>
47365             Pedro Alves  <palves@redhat.com>
47367         * nscd/nscd.c (run_mode): Use enum.
47368         (main): Cleanup coding style issue.
47370 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47371             Andreas Jaeger  <aj@suse.de>
47373         * nscd/nscd.c (go_background): Replaced with...
47374         (run_mode): ... this.
47375         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47376         (options): Add -F --foreground.
47377         (main): Implement it.
47378         (parse_opt): Parse it.
47380 2012-05-09  Andreas Jaeger  <aj@suse.de>
47382         [BZ #14083]
47383         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47384         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47385         -Wconversion warning.
47386         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47387         Likewise.
47389 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47391         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47392         == 0.
47393         (LC_ALL): Use macro-int-constant.
47394         (LC_COLLATE): Likewise.
47395         (LC_CTYPE): Likewise.
47396         (LC_MESSAGES): Likewise.
47397         (LC_MONETARY): Likewise.
47398         (LC_NUMERIC): Likewise.
47399         (LC_TIME): Likewise.
47400         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47401         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47403         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47404         Specify type.
47405         [C99-based standards] (float_t): Expect type.
47406         [C99-based standards] (double_t): Expect type.
47407         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47408         type.
47409         [C99-based standards] (HUGE_VALL): Likewise.
47410         [C99-based standards] (INFINITY): Likewise.
47411         [C99-based standards] (NAN): Likewise.
47412         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47413         [C99-based standards] (FP_NAN): Likewise.
47414         [C99-based standards] (FP_NORMAL): Likewise.
47415         [C99-based standards] (FP_SUBNORMAL): Likewise.
47416         [C99-based standards] (FP_ZERO): Likewise.
47417         [C99-based standards] (FP_FAST_FMA): Use
47418         optional-macro-int-constant.  Specify type.  Require == 1.
47419         [C99-based standards] (FP_FAST_FMAF): Likewise.
47420         [C99-based standards] (FP_FAST_FMAL): Likewise.
47421         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47422         [C99-based standards] (FP_ILOGBNAN): Likewise.
47423         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47424         Specify type.
47425         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47426         [C99-based standards] (math_errhandling): Specify type.
47427         [ISO99 || ISO11] (signgam): Do not allow.
47428         [non-C99-based standards] (copysignf): Do not allow.
47429         [non-C99-based standards] (exp2f): Likewise.
47430         [non-C99-based standards] (log2f): Likewise.
47431         [non-C99-based standards] (modff): Allow.
47432         [non-C99-based standards] (erff): Do not allow.
47433         [non-C99-based standards] (erfcf): Likewise.
47434         [non-C99-based standards] (gammaf): Likewise.
47435         [non-C99-based standards] (hypotf): Likewise.
47436         [non-C99-based standards] (j0f): Likewise.
47437         [non-C99-based standards] (j1f): Likewise.
47438         [non-C99-based standards] (jnf): Likewise.
47439         [non-C99-based standards] (lgammaf): Likewise.
47440         [non-C99-based standards] (tgammaf): Likewise.
47441         [non-C99-based standards] (y0f): Likewise.
47442         [non-C99-based standards] (y1f): Likewise.
47443         [non-C99-based standards] (ynf): Likewise.
47444         [non-C99-based standards] (isnanf): Likewise.
47445         [non-C99-based standards] (acoshf): Likewise.
47446         [non-C99-based standards] (asinhf): Likewise.
47447         [non-C99-based standards] (atanhf): Likewise.
47448         [non-C99-based standards] (cbrtf): Likewise.
47449         [non-C99-based standards] (expm1f): Likewise.
47450         [non-C99-based standards] (ilogbf): Likewise.
47451         [non-C99-based standards] (log1pf): Likewise.
47452         [non-C99-based standards] (logbf): Likewise.
47453         [non-C99-based standards] (nextafterf): Likewise.
47454         [non-C99-based standards] (remainderf): Likewise.
47455         [non-C99-based standards] (rintf): Likewise.
47456         [non-C99-based standards] (scalbf): Likewise.
47457         [non-C99-based standards] (copysignl): Likewise.
47458         [non-C99-based standards] (exp2l): Likewise.
47459         [non-C99-based standards] (log2l): Likewise.
47460         [non-C99-based standards] (modfl): Allow.
47461         [non-C99-based standards] (erfl): Do not allow.
47462         [non-C99-based standards] (erfcl): Likewise.
47463         [non-C99-based standards] (gammal): Likewise.
47464         [non-C99-based standards] (hypotl): Likewise.
47465         [non-C99-based standards] (j0l): Likewise.
47466         [non-C99-based standards] (j1l): Likewise.
47467         [non-C99-based standards] (jnl): Likewise.
47468         [non-C99-based standards] (lgammal): Likewise.
47469         [non-C99-based standards] (tgammal): Likewise.
47470         [non-C99-based standards] (y0l): Likewise.
47471         [non-C99-based standards] (y1l): Likewise.
47472         [non-C99-based standards] (ynl): Likewise.
47473         [non-C99-based standards] (isnanl): Likewise.
47474         [non-C99-based standards] (acoshl): Likewise.
47475         [non-C99-based standards] (asinhl): Likewise.
47476         [non-C99-based standards] (atanhl): Likewise.
47477         [non-C99-based standards] (cbrtl): Likewise.
47478         [non-C99-based standards] (expm1l): Likewise.
47479         [non-C99-based standards] (ilogbl): Likewise.
47480         [non-C99-based standards] (log1pl): Likewise.
47481         [non-C99-based standards] (logbl): Likewise.
47482         [non-C99-based standards] (nextafterl): Likewise.
47483         [non-C99-based standards] (remainderl): Likewise.
47484         [non-C99-based standards] (rintl): Likewise.
47485         [non-C99-based standards] (scalbl): Likewise.
47486         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47487         [non-C99-based standards] (FP_*): Do not allow.
47488         [C99-based standards] (FP_*): Change to
47489         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47490         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47491         allow.
47492         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47493         (SIG_ERR): Likewise.
47494         [X/Open-based standards] (SIG_HOLD): Likewise.
47495         (SIG_IGN): Likewise.
47496         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47497         positive value.
47498         (SIGFPE): Likewise.
47499         (SIGILL): Likewise.
47500         (SIGINT): Likewise.
47501         (SIGSEGV): Likewise.
47502         (SIGTER): Likewise.
47503         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47504         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47505         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47506         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47507         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47508         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47509         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47510         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47511         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47512         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47513         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47514         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47515         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47516         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47517         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47518         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47519         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47520         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47521         [X/Open-based standards] (SIGTRAP): Likewise.
47522         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47523         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47524         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47525         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47526         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47527         allow.
47529 2012-05-08  Ian Wienand  <ianw@vmware.com>
47531         [BZ #14080]
47532         * time/tzset.c (__tzset_parse_tz): Update default rules for
47533         daylight time changes in the Energy Policy Act of 2005.
47535 2012-05-09  Andreas Jaeger  <aj@suse.de>
47537         [BZ #13983]
47538         * elf/ldconfig.c (parse_conf): Change string to make clear that
47539         ldconfig only issued a warning if ld.so.conf does not exist.
47541 2012-05-08  David S. Miller  <davem@davemloft.net>
47543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47544         movxtod instead of popping the value on the stack.
47546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47548 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47550         * config.h.in: Add HAVE_ARM_PCS_VFP.
47552 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47554         [BZ #13979]
47555         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47556         checking but the checks are disabled for any reason.
47558 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47561         and ELF64_R_TYPE with ELFW(R_TYPE).
47563 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47565         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47566         (ulimit): Likewise.
47568         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47569         (settimeofday): Likewise.
47571 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47573         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47574         a struct th_u2 inside the union, and move tu_block/tu_code into
47575         a new th_u3 union of tu_block/tu_code inside of that.  Move
47576         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47577         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47578         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47579         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47580         (th_stuff): Change to th_u1.tu_stuff.
47581         (th_data): Define.
47582         (th_msg): Change to th_u1.th_u2.tu_data.
47584 2012-05-07  David S. Miller  <davem@davemloft.net>
47586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47588         [BZ #14074]
47589         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47590         (SETUP_PIC_REG): Use it.
47591         (SETUP_PIC_REG_LEAF): Use it.
47593 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47595         [BZ #13885]
47596         [BZ #13923]
47597         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47598         USE_AS_EXPM1L.
47599         (EXPL_FINITE): Likewise.
47600         (FLDLOG): Likewise.
47601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47602         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47603         e_expl.S.
47604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47605         USE_AS_EXPM1L.
47606         (EXPL_FINITE): Likewise.
47607         (FLDLOG): Likewise.
47608         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47609         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47610         e_expl.S.
47611         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47612         test of -max_value argument for long double.
47613         * sysdeps/i386/fpu/libm-test-ulps: Update.
47614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47616 2012-05-06  David S. Miller  <davem@davemloft.net>
47618         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47619         quad soft-float symbols whose references which are compiler
47620         generated.
47621         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47623 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47625         [BZ #13884]
47626         [BZ #13914]
47627         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47628         USE_AS_EXP10L.
47629         (EXPL_FINITE): Likewise.
47630         (FLDLOG): Likewise.
47631         (c0): Likewise.
47632         (c1): Likewise.
47633         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47634         Adjust comments for base varying.
47635         (__expl_finite): Change alias to EXPL_FINITE.
47636         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47637         e_expl.S.
47638         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47639         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47640         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47641         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47642         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47643         USE_AS_EXP10L.
47644         (EXPL_FINITE): Likewise.
47645         (FLDLOG): Likewise.
47646         (c0): Likewise.
47647         (c1): Likewise.
47648         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47649         Adjust comments for base varying.
47650         (__expl_finite): Change alias to EXPL_FINITE.
47651         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47652         tests for bugs.
47653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47655         [BZ #14064]
47656         * math/libm-test.inc (check_float_internal): Correct ulp
47657         calculation for subnormal expected results.
47659 2012-05-06  Andreas Jaeger  <aj@suse.de>
47661         * Makeconfig (+math-flags): New, set to -frounding-math.
47662         (+cflags): Add +math-flags so that all of glibc gets compiled with
47663         it.
47665         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47667 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47669         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47670         Disable one test.
47672         [BZ #13787]
47673         [BZ #13922]
47674         [BZ #14036]
47675         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47676         (__ieee754_expl): Allow for and saturate large arguments.
47677         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47678         (u_threshold): Likewise.
47679         (__exp): Call __ieee754_exp before checking for overflow and
47680         underflow.
47681         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47682         (u_threshold): Likewise.
47683         (__expf): Call __ieee754_expf before checking for overflow and
47684         underflow.
47685         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47686         (u_threshold): Likewise.
47687         (__expl): Call __ieee754_expl before checking for overflow and
47688         underflow.
47689         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47690         (__ieee754_expl): Allow for and saturate large arguments.
47691         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47692         missing overflow exception on overflow.
47693         (expm1_test): Do not allow missing overflow exception on overflow.
47695         * sysdeps/i386/fpu/e_expl.c: Move to ...
47696         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47697         rather than using inline asm.
47698         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47699         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47700         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47702         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47703         (nice): Likewise.
47704         (poll): Likewise.
47705         (signal): Likewise.
47706         (time): Likewise.
47707         (times): Likewise.
47709 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47711         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47712         sysdeps/unix/common/syscalls.list.
47713         (fchmod): Likewise.
47714         (fchown): Likewise.
47715         (ftruncate): Likewise.
47716         (getrusage): Likewise.
47717         (gettimeofday): Likewise.
47718         (setpgid): Likewise.
47719         (setregid): Likewise.
47720         (setreuid): Likewise.
47721         (sigaction): Likewise.
47722         (truncate): Likewise.
47723         (vhangup): Likewise.
47724         * sysdeps/unix/common/syscalls.list: Remove file.
47725         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47726         * sysdeps/unix/sysv/linux/Implies: Likewise.
47728 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47730         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47732         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47733         Moved to ...
47734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47735         Here.
47736         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47737         to ...
47738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47739         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47740         to ...
47741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47742         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47743         to ...
47744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47745         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47746         to ...
47747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47748         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47749         to ...
47750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47751         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47752         to ...
47753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47754         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47755         to ...
47756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47757         Here.
47758         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47759         to ...
47760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47761         Here.
47762         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47763         to ...
47764         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47765         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47766         Moved to ...
47767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47768         Here.
47769         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47770         to ...
47771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47773 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47775         * sysdeps/unix/common/bits/dirent.h: Remove file.
47776         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47778         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47779         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47780         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47781         * sysdeps/unix/bsd/isatty.c: Likewise.
47782         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47783         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47784         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47786 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47788         [BZ #13563]
47789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47790         long double comparison inaccuracies.
47791         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47794 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47796         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47797         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47799 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47801         [BZ #14049]
47802         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47803         nonzero digits before rounding a hex value.
47804         * stdlib/tst-strtod.c (tests): Add another test.
47806 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47808         * sysdeps/s390/fpu/libm-test-ulps: Update.
47810 2012-05-03  Andreas Jaeger  <aj@suse.de>
47812         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47813         does not get optimized out.
47814         (malloc_opt_barrier): New.
47816 2012-05-03  Andreas Jaeger  <aj@suse.de>
47817             Roland McGrath  <roland@hack.frob.com>
47819         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47820         intermediate file deletion.
47821         (generated): Add .symlist files.
47823 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47825         [BZ #13775]
47826         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47827         Redirect under this condition.
47828         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47829         [__USE_GNU] (__dprintf_chk): Not under this condition.
47830         [__USE_GNU] (__vdprintf_chk): Likewise.
47831         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47832         under this condition.
47833         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47834         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47835         [__USE_XOPEN2K8] (vdprintf): Likewise.
47836         [__USE_GNU] (__dprintf_chk): Not under this condition.
47837         [__USE_GNU] (__vdprintf_chk): Likewise.
47838         [__USE_GNU] (dprintf): Likewise.
47839         [__USE_GNU] (vdprintf): Likewise.
47841 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47843         * elf/Makefile (common-generated): Set this instead of generated for
47844         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47845         $(all-built-dso)-derived lists.
47847 2012-05-03  Andreas Jaeger  <aj@suse.de>
47849         * sysdeps/i386/fpu/libm-test-ulps: Update.
47851         * FAQ: Removed.
47852         * FAQ.in: Likewise.
47853         * scripts/gen-FAQ.pl: Likewise.
47854         * manual/install.texi (Installation): Point to online location of
47855         FAQ.
47856         * Makefile (files-for-dist): Remove FAQ.
47857         (FAQ): Remove.
47859 2012-05-02  Allan McRae  <allan@archlinux.org>
47861         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47862         (LDFLAGS-reldepmod5.so): Likewise.
47863         (LDFLAGS-reldep6mod1.so): Likewise.
47864         (LDFLAGS-reldep6mod4.so): Likewise.
47865         (LDFLAGS-reldep8mod3.so): Likewise.
47866         (LDFLAGS-unload4mod1.so): Likewise.
47867         (LDFLAGS-unload4mod2.so): Likewise.
47868         (LDFLAGS-tst-initorder): Likewise.
47869         (LDFLAGS-tst-initordera2.so): Likewise.
47870         (LDFLAGS-tst-initordera3.so): Likewise.
47871         (LDFLAGS-tst-initordera4.so): Likewise.
47872         (LDFLAGS-tst-initorderb2.so): Likewise.
47873         (LDFLAGS-noload): Likewise.
47874         (LDFLAGS-next): Likewise.
47875         (LDFLAGS-order2mod1.so): Likewise.
47876         (LDFLAGS-order2mod2.so): Likewise.
47877         (LDFLAGS-tst-initorder2): Likewise.
47878         (LDFLAGS-tst-initorder2a.so): Likewise.
47879         (LDFLAGS-tst-initorder2b.so): Likewise.
47880         (LDFLAGS-tst-initorder2c.so): Likewise.
47881         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47883 2012-05-02  David S. Miller  <davem@davemloft.net>
47885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47887 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47889         [BZ #14055]
47890         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47892 2012-05-02  Andreas Jaeger  <aj@suse.de>
47894         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47895         since we manipulate rounding mode.
47896         (CPPFLAGS-test-idouble.c): Likewise.
47897         (CPPFLAGS-test-ifloat.c): Likewise.
47898         (CFLAGS-test-ldouble.c): Likewise.
47899         (CFLAGS-test-double.c): Likewise.
47900         (CFLAGS-test-float.c): Likewise.
47901         (CFLAGS-test-misc.c): Likewise.
47902         (CFLAGS-test-test-fenv.c): Likewise.
47904 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47906         [BZ #2550]
47907         [BZ #2570]
47908         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47909         comparisons to determine direction to adjust input.
47911 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47913         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47914         output to the target.
47916         * scripts/localplt.awk: New file.
47917         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47918         (check-localplt-CFLAGS): Variable removed.
47919         ($(all-built-dso:=.jmprel)): New static pattern rule.
47920         (generated): Add those targets.
47921         (localplt-built-dso): New variable.
47922         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47924         * elf/check-localplt.c: File removed.
47926         * scripts/check-execstack.awk: New file.
47927         * elf/Makefile ($(objpfx)check-execstack): Target removed.
47928         (check-execstack-CFLAGS): Variable removed.
47929         ($(objpfx)check-execstack.h): Target removed.
47930         ($(objpfx)execstack-default): New target.
47931         (generated): Add that instead of check-execstack.h.
47932         ($(all-built-dso:=.phdr)): New static pattern rule.
47933         (generated): Add those targets.
47934         * elf/check-execstack.c: File removed.
47936         * scripts/check-textrel.awk: New file.
47937         * elf/Makefile ($(objpfx)check-textrel): Target removed.
47938         (check-textrel-CFLAGS): Variable removed.
47939         (all-built-dso): Use := to define.o
47940         ($(all-built-dso:=.dyn)): New static pattern rule.
47941         (generated): Add those targets.
47942         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47943         * config.make.in (READELF): New substituted variable.
47944         * elf/check-textrel.c: File removed.
47946 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
47948         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47949         allow.
47950         * conform/data/ctype.h-data [C99-based standards] (isblank):
47951         Expect function.
47952         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47953         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47954         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47955         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47956         Specify type.  Require positive value.
47957         (EILSEQ): Likewise.
47958         (ERANGE): Likewise.
47959         [ISO || POSIX] (EILSEQ): Do not expect.
47960         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47961         Specify type.  Require positive value.
47962         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47963         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47964         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47965         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47966         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47967         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47968         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47969         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47970         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47971         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47972         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47973         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47974         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47975         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47976         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47977         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47978         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47979         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47980         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47981         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47982         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47983         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47984         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47985         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47986         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47987         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47988         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47989         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47990         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47991         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47992         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47993         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47994         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47995         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47996         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47997         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47998         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47999         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48000         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48001         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48002         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48003         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48004         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48005         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48006         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48007         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48008         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48009         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48010         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48011         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48012         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48013         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48014         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48015         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48016         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48017         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48018         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48019         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48020         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48021         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48022         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48023         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48024         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48025         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48026         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48027         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48028         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48029         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48030         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48031         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48032         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48033         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48034         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48035         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48036         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48037         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48038         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48039         Require >= 2.
48040         (FLT_ROUNDS): Expect as macro, not constant.
48041         (FLT_MANT_DIG): Use macro-int-constant.
48042         (DBL_MANT_DIG): Likewise.
48043         (LDBL_MANT_DIG): Likewise.
48044         (FLT_DIG): Likewise.
48045         (DBL_DIG): Likewise.
48046         (LDBL_DIG): Likewise.
48047         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48048         (DBL_MIN_EXP): Likewise.
48049         (LDBL_MIN_EXP): Likewise.
48050         (FLT_MAX_EXP): Use macro-int-constant.
48051         (DBL_MAX_EXP): Likewise.
48052         (LDBL_MAX_EXP): Likewise.
48053         (FLT_MAX_10_EXP): Likewise.
48054         (DBL_MAX_10_EXP): Likewise.
48055         (LDBL_MAX_10_EXP): Likewise.
48056         (FLT_MAX): Use macro-constant.
48057         (DBL_MAX): Likewise.
48058         (LDBL_MAX): Likewise.
48059         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48060         (DBL_EPSILON): Likewise.
48061         (LDBL_EPSILON): Likewise.
48062         (FLT_MIN): Likewise.
48063         (DBL_MIN): Likewise.
48064         (LDBL_MIN): Likewise.
48065         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48066         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48067         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48068         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48069         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48070         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48071         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48072         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48073         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48074         [ISO11] (FLT_TRUE_MIN): Likewise.
48075         [ISO11] (LDBL_TRUE_MIN): Likewise.
48076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48077         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48078         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48079         (SCHAR_MAX): Likewise.
48080         (UCHAR_MAX): Likewise.
48081         (CHAR_MIN): Likewise.
48082         (CHAR_MAX): Likewise.
48083         (MB_LEN_MAX): Use macro-int-constant.
48084         (SHRT_MIN): Use macro-int-constant.  Specify type.
48085         (SHRT_MAX): Likewise.
48086         (USHRT_MAX): Likewise.
48087         (INT_MAX): Likewise.
48088         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48089         bound negative.
48090         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48091         bound with "U".
48092         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48093         bound with "L".
48094         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48095         bound negative.  Suffix upper bound with "L".
48096         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48097         bound with "UL".
48098         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48099         Specify type.
48100         [C99-based standards] (LLONG_MAX): Likewise.
48101         [C99-based standards] (ULLONG_MAX): Likewise.
48102         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48103         == 0.
48104         [ISO11] (max_align_t): Require type.
48105         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48107         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48108         from $CFLAGS, without defining away __attribute__ calls.
48109         (checknamespace): Use $CFLAGS_namespace.
48111         * conform/conformtest.pl (@keywords): Only include C99 keywords
48112         for standards based on C99 or C11.
48114         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48115         Disable tests.
48116         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48117         UNIX98]: Likewise.
48119         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48120         usability of symbols in #if.
48122         * conform/conformtest.pl: If macro or constant types start
48123         "promoted:", expect the symbol to be of the following type
48124         promoted by the integer promotions.
48126         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48127         in one place.  Also handle "macro-constant".
48129         * conform/conformtest.pl: Only accept expected macro values with
48130         "==".  Parse all "macro" lines in one place.
48131         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48133         * conform/conformtest.pl: Handle braced types on "constant" lines
48134         instead of handling "typed-constant".
48135         * conform/data/signal.h-data: Use "constant" instead of
48136         "typed-constant".
48138         * conform/conformtest.pl: Handle "optional-" at start of lines in
48139         one place rather than duplicating several cases.  Handle each
48140         format of "macro" line with initial "optional-".
48142         * conform/conformtest.pl: Only accept expected constant or
48143         optional-constant values with "==".  Parse all "constant" lines in
48144         one place.  Parse all "optional-constant" lines in one place.
48145         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48146         * conform/data/fmtmsg.h-data: Likewise.
48147         * conform/data/netinet/in.h-data: Likewise.
48148         * conform/data/tar.h-data: Likewise.
48149         * conform/data/limits.h-data: Use "==" form on "constant" and
48150         "optional-constant" lines.
48152         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48153         Use -std=c99 for XOPEN2K.
48154         (@knownproblems): Remove.
48155         (newtoken): Don't check %isknown.
48157         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48158         Do not expect macro.
48159         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48160         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48161         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48162         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48163         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48164         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48165         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48166         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48167         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48168         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48169         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48170         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48171         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48172         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48173         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48174         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48175         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48176         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48177         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48178         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48179         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48180         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48181         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48182         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48183         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48184         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48185         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48186         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48187         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48188         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48189         [XPG3] (acosh): Likewise.
48190         [XPG3] (asinh): Likewise.
48191         [XPG3] (atanh): Likewise.
48192         [XPG3] (cbrt): Likewise.
48193         [XPG3] (expm1): Likewise.
48194         [XPG3] (ilogb): Likewise.
48195         [XPG3] (log1p): Likewise.
48196         [XPG3] (logb): Likewise.
48197         [XPG3] (nextafter): Likewise.
48198         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48199         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48200         [XPG3] (remainder): Likewise.
48201         [XPG3] (rint): Likewise.
48202         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48203         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48204         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48205         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48206         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48207         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48208         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48209         [UNIX98 || XOPEN2K] (scalb): Expect.
48210         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48211         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48212         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48213         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48214         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48215         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48216         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48217         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48218         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48219         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48220         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48221         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48222         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48223         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48224         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48225         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48226         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48227         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48228         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48229         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48230         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48231         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48232         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48233         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48234         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48235         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48236         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48237         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48238         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48239         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48240         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48241         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48242         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48243         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48244         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48245         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48246         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48247         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48248         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48249         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48250         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48251         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48252         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48253         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48254         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48255         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48256         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48257         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48258         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48259         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48260         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48261         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48262         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48263         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48264         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48265         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48266         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48267         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48268         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48269         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48270         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48271         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48272         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48273         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48274         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48275         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48276         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48277         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48278         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48279         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48280         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48281         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48282         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48283         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48284         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48285         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48286         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48287         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48288         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48289         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48290         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48291         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48292         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48293         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48294         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48295         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48296         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48297         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48298         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48299         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48300         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48301         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48302         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48303         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48304         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48305         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48306         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48307         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48308         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48309         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48310         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48311         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48312         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48313         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48314         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48315         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48316         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48317         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48318         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48319         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48320         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48321         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48322         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48323         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48324         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48325         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48326         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48327         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48328         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48329         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48330         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48331         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48332         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48333         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48334         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48335         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48336         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48337         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48338         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48339         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48340         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48341         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48342         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48343         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48344         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48345         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48346         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48348         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48349         _XOPEN_SOURCE_EXTENDED for XPG4.
48351         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48353         * Makeconfig (localtime): Remove variable.
48354         (inst_localtime-file): Likewise.
48356 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48359         Update.
48360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48361         Update.
48362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48363         Update.
48364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48365         Update.
48366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48367         Update.
48368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48369         Update.
48370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48371         Update.
48372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48373         Update.
48374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48375         Update.
48377 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48379         [BZ #2550]
48380         [BZ #2570]
48381         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48382         comparisons to determine direction to adjust input.
48383         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48384         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48385         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48386         Likewise.
48387         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48388         Likewise.
48389         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48390         Likewise.
48391         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48392         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48393         Likewise.
48394         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48395         Likewise.
48396         * math/libm-test.inc (nexttoward_test): Add more tests.
48398 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48400         [BZ #14040]
48401         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48402         in version GLIBC_2.1, not GLIBC_2.0.
48403         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48404         Likewise.
48406 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48408         [BZ #13942]
48409         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48410         (1 - x) * (1 + x).
48411         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48412         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48413         * math/libm-test.inc (acos_test): Add more tests.
48414         (asin_test): Likewise.
48415         * sysdeps/i386/fpu/libm-test-ulps: Update.
48416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48418         [BZ #14034]
48419         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48420         of square root.
48421         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48422         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48423         * math/libm-test.inc (acos_test_tonearest): New function.
48424         (acos_test_towardzero): Likewise.
48425         (acos_test_downward): Likewise.
48426         (acos_test_upward): Likewise.
48427         (asin_test_tonearest): Likewise.
48428         (asin_test_towardzero): Likewise.
48429         (asin_test_downward): Likewise.
48430         (asin_test_upward): Likewise.
48431         (main): Call the new functions.
48432         * sysdeps/i386/fpu/libm-test-ulps: Update.
48433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48435         [BZ #13884]
48436         [BZ #13924]
48437         * math/e_exp10.c: Include <float.h>.
48438         (__ieee754_exp10): Handle underflow here rather than multiplying
48439         large negative argument by M_LN10.
48440         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48441         of __ieee754_expf.
48442         * math/e_exp10l.c: Include <float.h>.
48443         (__ieee754_exp10l): Handle underflow here rather than multiplying
48444         large negative argument by M_LN10l.
48445         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48446         spurious overflow exception on underflow.
48448 2012-04-29  Marek Polacek  <polacek@redhat.com>
48450         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48451         (__fortify_function): New macro.
48452         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48453         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48454         __extern_always_inline.
48455         * libio/bits/stdio2.h: Likewise.
48456         * libio/bits/stdio.h: Likewise.
48457         * string/string.h: Likewise.
48458         * string/bits/string3.h: Likewise.
48459         * include/stdio.h: Likewise.
48460         * stdlib/bits/stdlib.h: Likewise.
48461         * stdlib/stdlib.h: Likewise.
48462         * rt/bits/mqueue2.h: Likewise.
48463         * rt/mqueue.h: Likewise.
48464         * posix/bits/unistd.h: Likewise.
48465         * posix/unistd.h: Likewise.
48466         * io/bits/poll2.h: Likewise.
48467         * io/bits/fcntl2.h: Likewise.
48468         * io/fcntl.h: Likewise.
48469         * io/sys/poll.h: Likewise.
48470         * misc/bits/syslog.h: Likewise.
48471         * misc/bits/syslog-ldbl.h: Likewise.
48472         * misc/sys/syslog.h: Likewise.
48473         * socket/bits/socket2.h: Likewise.
48474         * socket/sys/socket.h: Likewise.
48475         * debug/tst-chk1.c: Likewise.
48476         * wcsmbs/bits/wchar2.h: Likewise.
48477         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48478         * wcsmbs/wchar.h: Likewise.
48480 2012-04-29  Andreas Jaeger  <aj@suse.de>
48482         * Makerules (tests): Remove enable-check-abi protection.
48483         (check-abi-warn): Remove.
48484         (check-abi-%): Remove check-abi-warn usage.
48486         * configure.in: Remove check-abi configure option.
48487         * configure: Regenerated.
48488         * config.make.in (enable-check-abi): Remove.
48490 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48492         [BZ #14033]
48493         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48494         double functions to double *_finite functions.
48496         [BZ #13941]
48497         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48498         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48499         LDBL_MIN_EXP.
48500         * stdio-common/Makefile (tests): Add tst-sprintf3.
48501         * stdio-common/tst-sprintf3.c: New file.
48503         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48504         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48506 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48508         * conform/conformtest.pl: Remove duplicate typed-constant
48509         handling.
48511 2012-04-28  David S. Miller  <davem@davemloft.net>
48513         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48514         (check-abi-%): Remove AWK script prerequisite and explicit
48515         abilist directory.
48516         (check-abi): Rewrite to just diff the symlist with the abilist.
48517         (config-tls, config-abi-config): Delete, no longer used.
48518         (update-abi-%): Remove AWK script and explicit abilist directory.
48519         (update-abi): Rewrite to simply compare and conditionally copy the
48520         symlist and the sysdep abilist file.  Remove update-abi-config
48521         checks.
48522         * abilist/ld.abilist: Remove.
48523         * abilist/libBrokenLocale.abilist: Remove.
48524         * abilist/libanl.abilist: Remove.
48525         * abilist/libcrypt.abilist: Remove.
48526         * abilist/libdl.abilist: Remove.
48527         * abilist/librt.abilist: Remove.
48528         * abilist/libthread_db.abilist: Remove.
48529         * abilist/libutil.abilist: Remove.
48530         * scripts/extract-abilist.awk: Remove.
48531         * scripts/merge-abilist.awk: Remove.
48532         * sysdeps/generic/libcidn.abilist: New file.
48533         * sysdeps/generic/libnss_compat.abilist: New file.
48534         * sysdeps/generic/libnss_db.abilist: New file.
48535         * sysdeps/generic/libnss_dns.abilist: New file.
48536         * sysdeps/generic/libnss_files.abilist: New file.
48537         * sysdeps/generic/libnss_hesiod.abilist: New file.
48538         * sysdeps/generic/libnss_nis.abilist: New file.
48539         * sysdeps/generic/libnss_nisplus.abilist: New file.
48540         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48541         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48542         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48543         file.
48544         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48545         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48546         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48547         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48548         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48549         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48550         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48551         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48552         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48553         file.
48554         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48555         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48556         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48557         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48558         file.
48559         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48560         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48561         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48562         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48563         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48564         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48565         file.
48566         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48567         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48568         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48569         file.
48570         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48572         New file.
48573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48574         New file.
48575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48576         New file.
48577         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48578         New file.
48579         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48580         New file.
48581         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48582         New file.
48583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48584         New file.
48585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48586         New file.
48587         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48588         New file.
48589         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48590         New file.
48591         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48592         New file.
48593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48594         New file.
48595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48596         New file.
48597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48598         file.
48599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48600         New file.
48601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48602         New file.
48603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48604         file.
48605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48606         New file.
48607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48608         New file.
48609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48610         file.
48611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48612         New file.
48613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48614         New file.
48615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48616         New file.
48617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48618         New file.
48619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48620         New file.
48621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48622         New file.
48623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48625         file.
48626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48627         New file.
48628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48629         file.
48630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48631         file.
48632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48633         file.
48634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48635         file.
48636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48637         file.
48638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48639         New file.
48640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48641         file.
48642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48643         file.
48644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48645         New file.
48646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48647         file.
48648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48650         file.
48651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48652         New file.
48653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48654         file.
48655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48656         file.
48657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48658         file.
48659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48660         file.
48661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48662         file.
48663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48664         New file.
48665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48666         file.
48667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48668         file.
48669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48670         New file.
48671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48672         file.
48673         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48674         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48675         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48676         file.
48677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48678         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48679         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48680         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48681         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48682         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48683         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48684         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48685         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48686         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48689         file.
48690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48691         New file.
48692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48693         file.
48694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48695         file.
48696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48697         file.
48698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48699         file.
48700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48701         file.
48702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48703         New file.
48704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48705         New file.
48706         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48707         file.
48708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48709         New file.
48710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48711         file.
48712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48714         file.
48715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48716         New file.
48717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48718         file.
48719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48720         file.
48721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48722         file.
48723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48724         file.
48725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48726         file.
48727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48728         New file.
48729         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48730         New file.
48731         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48732         file.
48733         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48734         New file.
48735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48736         file.
48738 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48740         * conform/conformtest.pl: Fix typo in handling typed-constant from
48741         allow-header.
48743 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48745         * README: Cut down references to pre-2.6 Linux kernels and
48746         Linuxthreads.  Update lists of configurations in libc and ports
48747         and sort alphabetically.  Say "or newer" with Linux kernel version
48748         requirements.
48750         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48752 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48754         [BZ #887]
48755         * math/libm-test.inc (logb_test_downward): New test to expose
48756         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48757         rounding mode.
48759 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48761         [BZ #14027]
48762         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48763         to be done.
48764         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48765         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48767 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48769         * sysdeps/unix/i386/brk.S: Remove file.
48770         * sysdeps/unix/i386/dl-brk.S: Likewise.
48771         * sysdeps/unix/i386/pipe.S: Likewise.
48772         * sysdeps/unix/i386/sigreturn.S: Likewise.
48773         * sysdeps/unix/i386/syscall.S: Likewise.
48774         * sysdeps/unix/i386/vfork.S: Likewise.
48775         * sysdeps/unix/i386/wait.S: Likewise.
48777         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48778         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48780         * configure.in (arm*-none*): Do not allow without
48781         --enable-hacker-mode.
48782         (netbsd*): Remove case setting base_os.
48783         (386bsd*): Likewise.
48784         (freebsd*): Likewise.
48785         (bsdi*): Likewise.
48786         (osf*): Likewise.
48787         (sunos*): Likewise.
48788         (ultrix*): Likewise.
48789         (newsos*): Likewise.
48790         (dynix*): Likewise.
48791         (*bsd*): Likewise.
48792         (sysv*): Likewise.
48793         (isc*): Likewise.
48794         (esix*): Likewise.
48795         (sco*): Likewise.
48796         (minix*): Likewise.
48797         (irix4*): Likewise.
48798         (irix6*): Likewise.
48799         (solaris[2-9]*): Likewise.
48800         (none): Likewise.
48801         * configure: Regenerated.
48803 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48805         [BZ #11521]
48806         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48807         overflow or cancellation in calculating denominator.
48808         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48809         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48810         down expression to avoid unexpected rounding in newer GCCs.
48811         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48813 2012-04-26  David S. Miller  <davem@davemloft.net>
48815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48816         long-double compat symbols.
48817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48831 2012-04-25  David S. Miller  <davem@davemloft.net>
48833         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48834         HWCAP_* values only after the memory barriers have been defined.
48835         (atomic_full_barrier): Define.
48836         (atomic_read_barrier): Define.
48837         (atomic_write_barrier): Define.
48839 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48841         * shlib-versions: Add libgcc_s version information.
48842         * sysdeps/generic/libgcc_s.h: Remove.
48843         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48844         libgcc_s.h.
48845         * sysdeps/gnu/unwind-resume.c: Likewise.
48846         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48848 2012-04-25  David S. Miller  <davem@davemloft.net>
48850         * sysdeps/unix/sparc/brk.S: Delete.
48851         * sysdeps/unix/sparc/dl-brk.S: Delete.
48852         * sysdeps/unix/sparc/pipe.S: Delete.
48853         * sysdeps/unix/sparc/sysdep.S: Delete.
48854         * sysdeps/unix/sparc/sysdep.h: Delete.
48855         * sysdeps/unix/sparc/vfork.S: Delete.
48856         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48857         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48858         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48859         (ret_ERRVAL, r0, r1, MOVE): Define.
48860         (JUMPTARGET): Remove.
48861         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48862         sysdeps/unix/sparc/sysdep.h
48863         (ENTRY, END): Remove.
48864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48866 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48868         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48869         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48870         -DIS_IN_build.
48872         * timezone/README: Update upstream location and email address for
48873         tzcode and tzdata.
48874         * timezone/zdump.c: Update from tzcode 2012b.
48875         * timezone/zic.c: Likewise.
48877         * configure.in (libc_cv_as_needed): Remove test.
48878         * configure: Regenerated.
48879         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48880         conditional definition.
48881         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48882         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48883         * config.make.in (have-as-needed): Remove variable.
48885 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48886             Paul Pluzhnikov  <ppluzhnikov@google.com>
48888         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48889         strings correctly.
48891 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48893         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48894         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48895         * sysdeps/sh/strlen.S: Likewise.
48897 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48899         * sysdeps/unix/fork.S: Remove file.
48900         * sysdeps/unix/i386/fork.S: Likewise.
48901         * sysdeps/unix/sparc/fork.S: Likewise.
48903         * sysdeps/unix/system.c: Remove file.
48904         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48906         * sysdeps/unix/getegid.S: Remove file.
48907         * sysdeps/unix/geteuid.S: Likewise.
48909 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48911         * scripts/check-localplt.awk: New file.
48912         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48913         of diff.
48914         * scripts/data/localplt-generic.data: Add a comment.
48916         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48917         NODE when __dir_mkfile failed.
48918         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48919         Reported by Ludovic Courtès <ludo@gnu.org>.
48921 2012-04-24  Andreas Jaeger  <aj@suse.de>
48923         * Makerules (common-clean): Also remove gen-as-const-headers
48924         files.
48926 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48928         * Makerules (native-compile): Do not change working directory for
48929         build.  Use $(OUTPUT_OPTION) in command.
48930         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48932 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48934         [BZ #13886]
48935         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48936         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48937         * math/libm-test.inc (floor_test): Add more tests.
48938         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48940 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48942         * sysdeps/unix/getdents.c: Remove file.
48943         * sysdeps/unix/sysv/getdents.c: Likewise.
48944         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48946         * sysdeps/unix/syscalls.list (madvise): Add syscall from
48947         sysdeps/unix/mman/syscalls.list.
48948         (mmap): Likewise.
48949         (mprotect): Likewise.
48950         (msync): Likewise.
48951         (munmap): Likewise.
48952         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48953         * sysdeps/unix/mman/syscalls.list: Remove.
48954         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48956         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48957         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48958         * configure: Regenerated.
48959         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48960         $(libgcc_s_suffix).
48961         * config.make.in (libgcc_s_suffix): Remove variable.
48963 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
48965         * sysdeps/unix/sysv/gethostname.c: Move to ...
48966         * sysdeps/posix/gethostname.c: ... here.
48968         * sysdeps/unix/execve.S: Remove file.
48970         * sysdeps/unix/_exit.S: Remove file.
48972 2012-04-23  Andreas Jaeger  <aj@suse.de>
48974         [BZ #13739]
48975         * manual/Makefile: Remove make dist support, there's no
48976         need for a stand-alone documentation tar ball.
48977         (TEXI2DVI): Define always, it's not in Makeconfig.
48978         (dist): Removed.
48979         (tar-it): Removed.
48980         (edition): Removed.
48981         (glibc-doc-$(edition).tar): Removed
48982         (%.Z): Removed.
48983         (%.gz): Removed.
48984         (%.uu): Removed.
48985         (ETAGS): Remove, it's in Makeconfig.
48986         (move-if-change): Remove, it's in Makeconfig.
48988 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
48990         [BZ #13970]
48991         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48992         (strtod, strtof, strtold, strtol, strtoul, strtoq)
48993         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48994         (strtod_l, strtof_l, strtold_l): Remove __wur.
48995         It is not necessarily an error to ignore strtol's return value.
48996         One can reliably look at the stored endptr to decide whether
48997         the number had valid syntax.
48999 2012-04-21  Andreas Jaeger  <aj@suse.de>
49001         [BZ #13739]
49002         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49004 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49006         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49007         * sysdeps/unix/sysv/Versions: Remove file.
49009 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49011         [BZ #13927]
49012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49014 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49016         [BZ #7064]
49017         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49018         version from __vm86.
49020 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49022         * sysdeps/unix/common/lxstat.c: Remove file.
49023         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49025         * sysdeps/unix/sysv/Makefile: Remove file.
49027         * sysdeps/unix/sysv/direct.h: Remove file.
49029         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49030         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49031         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49032         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49033         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49034         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49035         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49037         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49039         * sysdeps/unix/xmknod.c: Remove file.
49040         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49042         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49044         * sysdeps/unix/sysv/i386/time.S: Remove file.
49046         * sysdeps/unix/fxstat.c: Remove file.
49047         * sysdeps/unix/xstat.c: Likewise.
49048         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49050         * sysdeps/unix/sysv/sigaction.c: Remove file.
49052         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49053         (sysdep_headers): Remove variable.
49054         [termio.h not in sysdep_headers] (generated): Likewise.
49055         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49056         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49057         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49058         * sysdeps/unix/sysv/tcflow.c: Likewise.
49059         * sysdeps/unix/sysv/tcflush.c: Likewise.
49060         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49061         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49062         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49063         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49064         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49066         * sysdeps/unix/siglist.c: Remove file.
49068         * sysdeps/unix/getppid.S: Remove file.
49070         * sysdeps/unix/mkdir.c: Remove file.
49071         * sysdeps/unix/rmdir.c: Likewise.
49073 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49075         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49076         ERR_MAX value.
49077         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49078         errlist-compat value.
49080 2012-04-18  David S. Miller  <davem@davemloft.net>
49082         * sysdeps/generic/memcopy.h (reg_char): Delete.
49083         * debug/strcat_chk.c: Use char, not reg_char.
49084         * debug/strcpy_chk.c: Likewise.
49085         * debug/strncat_chk.c: Likewise.
49086         * debug/strncpy_chk.c: Likewise.
49087         * string/memchr.c: Likewise.
49088         * string/memrchr.c: Likewise.
49089         * string/rawmemchr.c: Likewise.
49090         * string/strcat.c: Likewise.
49091         * string/strchr.c: Likewise.
49092         * string/strchrnul.c: Likewise.
49093         * string/strcmp.c: Likewise.
49094         * string/strcpy.c: Likewise.
49095         * string/strncat.c: Likewise.
49096         * string/strncmp.c: Likewise.
49097         * string/strncpy.c: Likewise.
49099 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49101         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49102         __builtin_memcopy is called when src and dest ranges are known to not
49103         overlap.
49105 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49107         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49108         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49109         fwd_align_merge macro call.
49110         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49111         bwd_align_merge macro call.
49112         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49114 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49116         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49117         bwd_align_merge macros.
49118         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49119         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49120         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49122 2012-04-18  David S. Miller  <davem@davemloft.net>
49124         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49126 2012-04-18  Andreas Jaeger  <aj@suse.de>
49128         [BZ# 6794]
49129         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49130         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49131         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49133         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49134         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49135         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49137         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49138         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49139         Adjust for changed ldbl-128 files.
49141         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49142         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49143         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49145 2012-04-17  David S. Miller  <davem@davemloft.net>
49147         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49149 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49151         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49152         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49153         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49154         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49155         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49156         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49158 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49160         [BZ #6794]
49161         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49162         * math/libm-test.inc: Add ilogb errno and exception tests.
49163         * math/w_ilogb.c: New file: ilogb wrapper.
49164         * math/w_ilogbf.c: New file: ilogbf wrapper.
49165         * math/w_ilogbl.c: New file: ilogbl wrapper.
49166         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49167         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49168         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49169         exception being thrown with 0.0 as argument.
49170         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49171         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49172         exception being thrown with 0.0 as argument.
49173         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49174         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49175         exception being thrown with 0.0 as argument.
49176         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49177         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49178         exception being thrown with 0.0 as argument.
49179         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49180         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49181         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49182         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49183         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49184         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49185         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49186         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49187         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49189 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49191         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49192         with altivec.
49194 2012-04-16  Marek Polacek  <polacek@redhat.com>
49196         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49198 2012-04-16  Marek Polacek  <polacek@redhat.com>
49200         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49201         operands of fdivp instruction.
49203 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49205         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49206         * elf/tst-auditmod3b.c: Likewise.
49207         * elf/tst-auditmod4b.c: Likewise.
49208         * elf/tst-auditmod5b.c: Likewise.
49209         * elf/tst-auditmod6b.c: Likewise.
49210         * elf/tst-auditmod6c.c: Likewise.
49211         * elf/tst-auditmod7b.c: Likewise.
49212         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49213         * sysdeps/x86_64/preconfigure.in: Likewise.
49214         * sysdeps/x86_64/preconfigure: Regenerated.
49216 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49218         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49219         __ILP32__.
49221 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49223         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49224         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49226 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49228         [BZ #13973]
49229         * locale/iso-639.def: Fix gl language name. Spotted by
49230         Yaron Shahrabani.
49232 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49234         [BZ #2074]
49235         * libio/libio.h (__io_write_fn): Update comment.
49237 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49239         [BZ #2074]
49240         * stdio.texi (Hook Functions): The user provided writer function
49241         is not allowed to return -1.
49243 2012-04-11  David S. Miller  <davem@davemloft.net>
49245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49247 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49249         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49250         Add a leading slash to rtkaio.
49252 2012-04-11  Jim Meyering  <meyering@redhat.com>
49254         [BZ #11959]
49255         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49256         It is not necessarily an error to ignore fwrite's return
49257         value.  One can reliably use ferror to test for errors after
49258         the fact.
49260 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49262         * bits/types.h (__snseconds_t): New type.
49263         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49265         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49267         (__SNSECONDS_T_TYPE): Likewise.
49268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49269         (__SNSECONDS_T_TYPE): Likewise.
49270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49271         (__SNSECONDS_T_TYPE): Likewise.
49273 2012-04-10  Andreas Jaeger  <aj@suse.de>
49275         [BZ #2636]
49276         * manual/time.texi (Processor Time): Return type of times is
49277         elapsed real time since an arbitrary point in the past.
49278         (CPU Time): Move CLK_TCK from here...
49279         (Processor Time): ...to here.  Correct description.
49280         * manual/conf.texi (Constants for Sysconf): Correct description of
49281         _SC_CLK_TCK.
49283 2012-04-10  David S. Miller  <davem@davemloft.net>
49285         [BZ #13967]
49286         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49287         where the is a gap between DT_REL(A) and DT_JMPREL.
49289 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49291         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49292         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49293         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49295 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49297         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49298         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49299         (dl_main): Handle --inhibit-cache.
49300         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49301         _dl_inhibit_cache.
49302         * elf/dl-load.c (_dl_map_object): Use it.
49303         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49305 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49307         [BZ #13872]
49308         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49309         (__ieee754_powl): Saturate large exponents rather than testing for
49310         overflow of y*log2(x).
49311         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49312         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49313         exceptions.
49315         [BZ #11521]
49316         * math/s_ctan.c: Include <float.h>.
49317         (__ctan): Avoid internal overflow or cancellation in calculating
49318         denominator.
49319         * math/s_ctanf.c: Likewise.
49320         * math/s_ctanl.c: Likewise.
49321         * math/s_ctanh.c: Likewise.
49322         * math/s_ctanhf.c: Likewise.
49323         * math/s_ctanhl.c: Likewise.
49324         * math/libm-test.inc (ctan_test): Add more tests.
49325         (ctanh_test): Likewise.
49326         * sysdeps/i386/fpu/libm-test-ulps: Update.
49327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49329 2012-04-09  Andreas Jaeger  <aj@suse.de>
49331         [BZ #6894]
49332         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49333         is an optional BSD extension.
49335         [BZ #10254]
49336         * manual/stdio.texi (Opening Streams): Document additional fopen
49337         parameters.
49339 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49341         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49342         %eax without telling the compiler.
49344 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49346         [BZ # 13963]
49347         * manual/install.texi: Use sourceware.org.
49349 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49351         [BZ #13873]
49352         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49353         (__ieee754_pow): Generate overflow and underflow using huge*huge
49354         and tiny*tiny rather than just returning constant infinity or zero
49355         for large exponents.
49356         * math/libm-test.inc (pow_test): Require overflow exceptions for
49357         applicable cases of large exponents.
49359         [BZ #706]
49360         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49361         (__ieee754_pow): Use iterative multiplication algorithm only for
49362         integer exponents with absolute value below 1024.  Check for odd
49363         integer exponents when using algorithm for real exponents.
49364         * math/libm-test.inc (pow_test): Add more tests.
49365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49367 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49369         [BZ #13705]
49370         * math/libm-test.inc (exp_test): Do not allow overflow exception
49371         on underflow test.
49373 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49375         [BZ #13705]
49376         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49377         instead of __kernel_standard_f.
49379 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49381         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49382         * sysdeps/x86_64/memset_chk.S: Likewise.
49384 2012-04-08  Andreas Jaeger  <aj@suse.de>
49386         [BZ #10153]
49387         * manual/startup.texi (Environment Access): Describe return value
49388         for putenv and setenv.
49390         [BZ #6895]
49391         * manual/filesys.texi (Directory Entries): Add description for
49392         DT_LNK.
49394         [BZ #6890]
49395         * manual/filesys.texi (Directory Entries): Clarify that it's file
49396         system not operating system in the description of DT_UNKNOWN.
49398         [BZ #6578]
49399         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49401 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49403         [BZ #6649]
49404         * manual/llio.texi (Opening and Closing Files): Add cross
49405         reference to explain mode argument.
49407 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49409         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49410         * sysdeps/x86_64/memset_chk.S: Likewise.
49412 2012-04-07  David S. Miller  <davem@davemloft.net>
49414         * elf/elf.h (R_SPARC_WDISP10): Define.
49415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49416         R_SPARC_SIZE32.
49417         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49418         R_SPARC_SIZE64 and R_SPARC_H34.
49420 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49423         conditions and remove no longer applicable assertion.
49425 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49427         * bits/byteswap.h: Include <features.h>.
49428         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49429         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49431 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49433         * bits/byteswap.h (__bswap_16): Removed.
49434         Include <bits/byteswap-16.h> to get __bswap_16.
49435         * sysdeps/i386/bits/byteswap.h: Likewise.
49436         * sysdeps/s390/bits/byteswap.h: Likewise.
49437         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49438         * bits/byteswap-16.h: New file.
49439         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49440         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49441         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49442         * string/Makefile (headers): Add bits/byteswap-16.h.
49444 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49446         [BZ #13895]
49447         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49448         extra indirection.
49449         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49450         * nss/tst-nss-static.c: New.
49452 2012-04-06  Robert Millan  <rmh@gnu.org>
49454         [BZ #6486]
49455         * manual/llio.texi (File Position Primitive): lseek
49456         refers to WHENCE when it really means OFFSET.
49458 2012-04-06  Andreas Jaeger  <aj@suse.de>
49460         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49461         strncmp declarations.
49463         * abilist/libc.abilist: Add __poll and __ppoll.
49465 2012-04-05  David S. Miller  <davem@davemloft.net>
49467         * scripts/check-local-headers.sh: Accept a host triplet in the
49468         path matched by the exclude regexp.
49470         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49471         definition.
49472         * sysdeps/powerpc/powerpc32/dl-machine.h
49473         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49474         * sysdeps/s390/s390-32/dl-machine.h
49475         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49476         * sysdeps/sparc/sparc32/dl-machine.h
49477         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49478         * sysdeps/sparc/sparc64/dl-machine.h
49479         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49481         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49482         lazy binding.
49483         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49484         undefined symbol errors.
49486         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49487         DT_NEEDED entries.
49489 2012-04-05  Michael Matz  <matz@suse.de>
49491         [BZ #13592]
49492         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49494 2012-04-05  Andreas Jaeger  <aj@suse.de>
49496         [BZ #13908]
49497         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49498         comment.
49500 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49502         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49503         which ROUND is no valid rounding mode.
49505 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49507         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49508         read again.
49509         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49511 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49513         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49514         an exception using FPU order intentionally.
49516 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49518         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49519         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49520         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49521         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49523 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49525         [BZ #12340]
49526         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49527         EINVAL when BUFLEN is too smal.
49529 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49531         [BZ #13553]
49532         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49533         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49535 2012-04-03  Andreas Jaeger  <aj@suse.de>
49537         [BZ #13938]
49538         * manual/setjmp.texi (System V contexts): Fix sentence.
49540         [BZ #13926]
49541         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49542         New macro for this case.
49543         [!__GNUC__] (__bswap_64): New inline function for this case.
49544         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49545         * bits/byteswap.h: Likewise.
49546         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49547         ull, guard with __GLIBC_HAVE_LONG_LONG.
49549         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49550         __GLIBC_HAVE_LONG_LONG.
49552         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49553         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49555 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49557         [BZ #13691]
49558         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49559         inptr and inend, rather than using last_ch.
49561 2012-04-02  David S. Miller  <davem@davemloft.net>
49563         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49564         * stdio-common/printf-parse.h (read_int): Change return type to
49565         'int', return -1 on INT_MAX overflow.
49566         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49567         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49568         overflows INT_MAX.  Check for overflow of in-format-string precision
49569         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49570         SIZE_MAX not INT_MAX for integer overflow test.
49571         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49572         skip the construct in the format string but do not record anything.
49573         * stdio-common/bug22.c: Adjust to test both width/prevision
49574         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49575         explicitly for proper errno values.
49577 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49579         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49580         CHAR_MAX.
49581         * string/test-strcmp.c [! WIDE]: Likewise.
49582         * time/tst-mktime2.c: Likewise for INT_MAX.
49583         * string/test-string.h: #include <sys/param.h> for MIN.
49585         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49586         * sysdeps/i386/init-first.c (init): Likewise.
49587         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49588         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49589         * sysdeps/sh/init-first.c (init): Likewise.
49591 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49593         * po/ru.po: Update from translation team.
49594         * po/vi.po: Likewise.
49596 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49598         * resolv/nss_dns/dns-host.c: Merge copyright years.
49600 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49602         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49603         Optimize memcpy with prefetch if
49604         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49605         src, dst pointers have unequal 16 byte alignments.
49607 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49609         [BZ #13928]
49610         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49611         from a CNAME entry and return the minimum ttl for the query.
49612         (gaih_getanswer_slice): Likewise.
49614 2012-03-30  Jeff Law  <law@redhat.com>
49616         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49617         due to long keys.
49618         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49619         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49621         * resolv/nss_dns/dns-host.c: Update copyright year.
49623 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49625         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49626         requests to save a system call.  Fix check that all bytes are sent.
49628         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49629         comments for sendmmsg.
49631 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49633         [BZ #13691]
49634         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49635         with only 1 character between 0x0041 and 0x01b0.
49636         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49637         * wcsmbs/tst-mbsnrtowcs.c: New file.
49639 2012-03-29  David S. Miller  <davem@davemloft.net>
49641         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49642         small copies by hand.
49644 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49646         [BZ #13761]
49647         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49648         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49649         group memberships.
49651 2012-03-28  David S. Miller  <davem@davemloft.net>
49653         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49654         that branches into memcpy.
49655         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49656         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49657         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49658         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49659         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49660         bits.
49661         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49662         implementation too.
49663         * sysdeps/sparc/mempcpy.S: New file.
49665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49666         the IFUNC routine in the libc case.
49667         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49669         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49670         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49671         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49672         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49673         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49674         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49675         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49676         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49678         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49679         loop to 256 bytes instead of 64 bytes and fix test signedness.
49681         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49682         * sysdeps/sparc/sparc32/Makefile: rather than here...
49683         * sysdeps/sparc/sparc64/Makefile: and here.
49685 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49687         * malloc/mallocbug.c: Avoid warnings about unused variables.
49689 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49691         [BZ #13760]
49692         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49693         in the right place. Discard and retry query if response is
49694         larger than input buffer size.
49696 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49698         [BZ #369]
49699         [BZ #2678]
49700         [BZ #3866]
49701         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49702         x for large integer exponent.
49703         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49704         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49705         sign of result as needed afterwards.
49706         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49707         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49708         result for underflowing pow the same as for overflow.
49709         (__kernel_standard_l): Handle powl overflow and underflow here
49710         rather than calling __kernel_standard.
49711         * math/libm-test.inc (pow_test): Add more tests.
49713         [BZ #3868]
49714         [BZ #13879]
49715         [BZ #13910]
49716         [BZ #13911]
49717         [BZ #13912]
49718         [BZ #13913]
49719         [BZ #13915]
49720         [BZ #13916]
49721         [BZ #13917]
49722         [BZ #13918]
49723         [BZ #13919]
49724         [BZ #13920]
49725         [BZ #13921]
49726         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49727         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49728         (__kernel_standard_l): New function.
49729         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49730         __kernel_standard.
49731         * math/w_acosl.c (__acosl): Likewise.
49732         * math/w_asinl.c (__asinl): Likewise.
49733         * math/w_atan2l.c (__atan2l): Likewise.
49734         * math/w_atanhl.c (__atanhl): Likewise.
49735         * math/w_coshl.c (__coshl): Likewise.
49736         * math/w_exp10l.c (__exp10l): Likewise.
49737         * math/w_exp2l.c (__exp2l): Likewise.
49738         * math/w_fmodl.c (__fmodl): Likewise.
49739         * math/w_hypotl.c (__hypotl): Likewise.
49740         * math/w_j0l.c (__j0l, __y0l): Likewise.
49741         * math/w_j1l.c (__j1l, __y1l): Likewise.
49742         * math/w_jnl.c (__jnl, __ynl): Likewise.
49743         * math/w_lgammal.c (__lgammal): Likewise.
49744         * math/w_log10l.c (__log10l): Likewise.
49745         * math/w_log2l.c (__log2l): Likewise.
49746         * math/w_logl.c (__logl): Likewise.
49747         * math/w_powl.c (__powl): Likewise.
49748         * math/w_remainderl.c (__remainderl): Likewise.
49749         * math/w_scalbl.c (sysv_scalbl): Likewise.
49750         * math/w_sinhl.c (__sinhl): Likewise.
49751         * math/w_sqrtl.c (__sqrtl): Likewise.
49752         * math/w_tgammal.c (__tgammal): Likewise.
49753         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49754         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49755         * math/libm-test.inc (acos_test): Add more tests.
49756         (acosh_test): Likewise.
49757         (asin_test): Likewise.
49758         (atanh_test): Likewise.
49759         (exp_test): Likewise.
49760         (exp10_test): Likewise.
49761         (exp2_test): Likewise.
49762         (expm1_test): Likewise.
49763         (lgamma_test): Likewise.
49764         (log_test): Likewise.
49765         (log10_test): Likewise.
49766         (log1p_test): Likewise.
49767         (log2_test): Likewise.
49768         (pow_test): Do not allow some spurious overflow exceptions.
49769         (sqrt_test): Add more tests.
49770         (tgamma_test): Likewise.
49771         (y0_test): Likewise.
49772         (y1_test): Likewise.
49773         (yn_test): Likewise.
49775 2012-03-27  Anton Blanchard  <anton@samba.org>
49777         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49778         MAP_HUGETLB.
49779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49780         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49783 2012-03-27  David S. Miller  <davem@davemloft.net>
49785         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49787         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49788         have-as-vis3 check.
49790 2012-03-27  Andreas Jaeger  <aj@suse.de>
49792         * sysdeps/x86_64/elf/configure.in: Moved to ...
49793         * sysdeps/x86_64/configure.in: ... here.
49794         * sysdeps/x86_64/elf/start.S: Moved to ...
49795         * sysdeps/x86_64/start.S: ... here.
49796         * sysdeps/x86_64/elf/configure: Delete.
49798         * sysdeps/x86_64/configure.in: Merge contents from
49799         sysdeps/i386/configure.in (without i686 check).
49801         * sysdeps/i386/elf/Versions: Merge into ...
49802         * sysdeps/i386/Versions: ... this.
49803         * sysdeps/i386/elf/Versions: Delete file.
49804         * sysdeps/i386/elf/start.S: Moved to ...
49805         * sysdeps/i386/start.S: ...here.
49806         * sysdeps/i386/elf/configure.in: Merge into...
49807         * sysdeps/i386/configure.in: ...here.
49808         * sysdeps/i386/elf/configure.in: Delete file.
49809         * sysdeps/i386/elf/configure: Delete file.
49811         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49812         * debug/backtracesyms.c: ... here.
49813         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49814         * debug/backtracesymsfd.c: ... here.
49815         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49816         * sysdeps/generic/ifunc-sel.h: ... here.
49818         * sysdeps/unix/i386/start.c: Delete file.
49819         * sysdeps/unix/sparc/start.c: Delete file.
49820         * sysdeps/unix/start.c: Delete file.
49822         * sysdeps/sh/elf/configure.in: Moved to ...
49823         * sysdeps/sh/configure.in: ... here.
49824         * sysdeps/sh/elf/start.S: Moved to ...
49825         * sysdeps/sh/start.S: ... here.
49826         * sysdeps/sh/elf/configure: Delete file.
49828         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49829         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49830         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49831         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49832         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49833         * sysdeps/powerpc/powerpc64/start.S: here.
49834         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49835         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49836         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49837         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49838         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49840         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49841         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49842         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49843         * sysdeps/powerpc/powerpc32/start.S: ... here.
49844         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49845         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49846         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49848         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49849         * sysdeps/powerpc/ifunc-sel.h: ... here.
49850         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49851         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49853         * sysdeps/sparc/elf/configure.in: Moved to ...
49854         * sysdeps/sparc/configure.in: ... here.
49855         * sysdeps/sparc/elf/configure: Delete file.
49856         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49857         * sysdeps/sparc/sparc32/start.S: ... here.
49858         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49859         * sysdeps/sparc/sparc64/start.S: ... here.
49860         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49861         * sysdeps/sparc/sparc32/Makefile: ... this.
49862         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49863         * sysdeps/sparc/sparc64/Makefile: ... this.
49865         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49866         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49867         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49868         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49869         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49870         * sysdeps/s390/s390-32/setjmp.S: ... here.
49871         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49872         * sysdeps/s390/s390-32/configure.in: ... here.
49873         * sysdeps/s390/s390-32/elf/configure: Delete file.
49874         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49875         * sysdeps/s390/s390-32/start.S: ... here.
49877         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49878         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49879         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49880         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49881         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49882         * sysdeps/s390/s390-64/setjmp.S: ... here.
49883         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49884         * sysdeps/s390/s390-64/configure.in: ... here
49885         * sysdeps/s390/s390-64/elf/configure: Delete file.
49886         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49887         * sysdeps/s390/s390-64/start.S: ... here.
49888         * sysdeps/s390/s390-64/elf/configure: Delete.
49890         * configure.in: Remove support for elf directories in sysdeps.
49892         * configure: Regenerated.
49893         * sysdeps/i386/configure: Regenerated.
49894         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49895         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49896         * sysdeps/s390/s390-32/configure: Regenerated.
49897         * sysdeps/s390/s390-64/configure: Regenerated.
49898         * sysdeps/sh/configure: Regenerated.
49899         * sysdeps/sparc/configure: Regenerated.
49900         * sysdeps/x86_64/configure: Regenerated.
49902 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49906         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49907         denormal result into account.
49909 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49911         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49912         Reported by Allan McRae <allan@archlinux.org>.
49914 2012-03-23  Jeff Law  <law@redhat.com>
49916         * nss/getnssent.c (__nss_getent): Fix typo.
49918 2012-03-23  David S. Miller  <davem@davemloft.net>
49920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49922 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
49924         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49925         to pad to uint64_t for each field.
49926         (dl_tls_index): Replace unsigned long with uint64_t.
49928 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
49929         Paul Pluzhnikov  <ppluzhnikov@google.com>
49931         [BZ #6528]
49932         * grp/Makefile (otherlibs): Don't set it.
49933         * inet/Makefile (otherlibs): Likewise.
49934         * login/Makefile (otherlibs): Likewise.
49935         * nscd/Makefile (otherlibs): Likewise.
49936         * posix/Makefile (otherlibs): Likewise.
49937         * pwd/Makefile (otherlibs): Likewise.
49938         * rt/Makefile (otherlibs): Likewise.
49939         * sunrpc/Makefile (otherlibs): Likewise.
49940         * nss/Makefile (otherlibs): Likewise.
49941         Add libnss_files to routines and static-only-routines.
49942         ($(objpfx)getent): Remove rule.
49943         * resolv/Makefile: Add libnss_dns and libresolv to routines and
49944         static-only-routines.
49946 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49948         [BZ #13892]
49949         * math/s_cexp.c: Include <float.h>.
49950         (__cexp): Handle exp result overflowing not necessarily
49951         overflowing both real and imaginary parts of result.
49952         * math/s_cexpf.c: Likewise.
49953         * math/s_cexpl.c: Likewise.
49954         * math/libm-test.inc (cexp_test): Add more tests.
49955         * sysdeps/i386/fpu/libm-test-ulps: Update.
49956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49958 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49960         * include/link.h (ELFW): New macro.
49961         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49962         Replace ELF64_R_TYPE with ELFW(R_TYPE).
49964 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49966         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49967         with uint64_t.
49969 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49971         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49972         declaration.
49973         (struct La_x32_retval): Likewise.
49975 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
49977         * sysdeps/x86_64/preconfigure.in: New file.
49978         * sysdeps/x86_64/preconfigure: New generated file.
49980 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #13824]
49983         * math/e_exp2l.c: Include <float.h>.
49984         (__ieee754_exp2l): Handle overflow and underflow cases
49985         separately.  Only pass fractional part of argument to
49986         __ieee754_expl.
49987         * math/libm-test.inc (exp2_test): Add more tests.
49989         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49990         negating x to take absolute value.
49991         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49992         Likewise.
49993         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49994         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49995         Likewise.
49996         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49997         computing low part if x was negated.
49998         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50000 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50002         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50003         la_x32_gnu_pltexit.
50004         (pltexit): Cast int_retval to ptrdiff_t.
50005         * elf/tst-auditmod3b.c: Likewise.
50006         * elf/tst-auditmod4b.c: Likewise.
50007         * elf/tst-auditmod5b.c: Likewise.
50008         * elf/tst-auditmod6b.c: Likewise.
50009         * elf/tst-auditmod6c.c: Likewise.
50010         * elf/tst-auditmod7b.c: Likewise.
50012         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50013         and x32_gnu_pltexit.
50015         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50016         __ELF_NATIVE_CLASS.
50017         (La_x32_regs): New macro.
50018         (La_x32_retval): Likewise.
50019         (la_x32_gnu_pltenter): New function prototype.
50020         (la_x32_gnu_pltexit): Likewise.
50022 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50025         exponent.
50027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50029         * configure.in (libc_cv_cc_nofma): Check for option to disable
50030         generation of FMA instructions.
50031         * configure: Regenerate.
50032         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50033         * sysdeps/ieee754/dbl-64/Makefile: New file.
50034         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50035         Remove brandred-fma4.
50036         (CFLAGS-brandred-fma4.c): Remove.
50037         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50038         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50039         define.
50040         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50041         define.
50043 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50045         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50046         LLONG_MAX != LONG_MAX.
50047         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50048         (_fitoa_word): Likewise.
50049         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50050         LLONG_MAX != LONG_MAX.
50051         * stdio-common/_itowa.h: Include <_itoa.h>.
50052         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50053         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50054         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50055         only if not defined.
50056         (_ITOA_WORD_TYPE): Likewise.
50057         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50058         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50060 2012-03-21  David S. Miller  <davem@davemloft.net>
50062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50064 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50066         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50067         of x86_64 when setting libc_cv_slibdir, libdir and
50068         libc_cv_localedir.
50069         * sysdeps/unix/sysv/linux/configure: Regenerated.
50071 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50073         * manual/lang.texi (Old Varargs): Remove section.
50074         (How Variadic): Update menu.
50075         (va_start): Do not mention varargs.h.
50077 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50078             Joseph Myers  <joseph@codesourcery.com>
50080         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50081         link test.
50082         * configure: Regenerated.
50084 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50086         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50087         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50088         conformtest.pl
50090 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50092         * NOTES: Remove.
50093         * Makefile (files-for-dist): Remove NOTES.
50094         (NOTES): Remove rule.
50095         * README: Don't refer to NOTES.
50096         * manual/creature.texi: Don't include macros.texi.
50097         * manual/intro.texi (creature.texi): Remove comment referring to
50098         NOTES.
50100         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50101         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50102         * configure: Regenerated.
50103         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50104         LIBC_TRY_CC_OPTION.
50105         (libc_cv_as_i686): Likewise.
50106         (libc_cv_cc_avx): Likewise.
50107         (libc_cv_cc_sse2avx): Likewise.
50108         (libc_cv_cc_fma4): Likewise.
50109         (libc_cv_cc_novzeroupper): Likewise.
50110         * sysdeps/i386/configure: Regenerated.
50112         [BZ #13883]
50113         * sysdeps/i386/fpu/s_cexp.S: Remove.
50114         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50115         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50116         * math/libm-test.inc (cexp_test): Add more tests.
50117         * sysdeps/i386/fpu/libm-test-ulps: Update.
50118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50120 2012-03-21  Allan McRae  <allan@archlinux.org>
50122         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50124 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50126         [BZ #13871]
50127         * math/w_exp2.c: Do not include <float.h>.
50128         (o_threshold, u_threshold): Remove.
50129         (__exp2): Calculate result before checking finiteness and calling
50130         __kernel_standard.
50131         * math/w_exp2f.c: Likewise.
50132         * math/w_exp2l.c: Likewise.
50133         * math/libm-test.inc (exp2_test): Require overflow exception for
50134         1e6 input.
50136         [BZ #3866]
50137         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50138         range of signed 64-bit integers before using fistpll.  Remove
50139         checks for whether integers fit in mantissa bits.
50140         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50141         the range of signed 32-bit integers before using fistpl.  Remove
50142         checks for whether integers fit in mantissa bits.
50143         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50144         (__ieee754_powl): Test for y outside the range of signed 64-bit
50145         integers before using fistpll.  Reduce 64-bit values to 63-bit
50146         ones as needed.
50147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50148         divide-by-zero is raised for zero to large negative powers.
50149         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50150         (__ieee754_powl): Test for y outside the range of signed 64-bit
50151         integers before using fistpll.  Reduce 64-bit values to 63-bit
50152         ones as needed.
50153         * math/libm-test.inc (pow_test): Add more tests.
50155 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50157         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50158         <stdio-common/_itoa.h>.
50159         * debug/segfault.c: Likewise.
50160         * elf/dl-cache.c: Likewise.
50161         * elf/dl-minimal.c: Likewise.
50162         * elf/dl-misc.c: Likewise.
50163         * elf/dl-sysdep.c: Likewise.
50164         * elf/dl-version.c: Likewise.
50165         * elf/rtld.c: Likewise.
50166         * hurd/hurdsock.c: Likewise.
50167         * hurd/lookup-retry.c: Likewise.
50168         * malloc/malloc.c: Likewise.
50169         * malloc/mtrace.c: Likewise.
50170         * nscd/nscd_getgr_r.c: Likewise.
50171         * nscd/nscd_getpw_r.c: Likewise.
50172         * nscd/nscd_getserv_r.c: Likewise.
50173         * posix/getopt_init.c: Likewise.
50174         * posix/wordexp.c: Likewise.
50175         * stdio-common/_itoa.c: Likewise.
50176         * stdio-common/printf_fphex.c: Likewise.
50177         * stdio-common/vfprintf.c: Likewise.
50178         * string/_strerror.c: Likewise.
50179         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50180         * sysdeps/i386/i686/hp-timing.h: Likewise.
50181         * sysdeps/mach/_strerror.c: Likewise.
50182         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50183         * sysdeps/mach/hurd/sethostid.c: Likewise.
50184         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50185         * sysdeps/mach/xpg-strerror.c: Likewise.
50186         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50187         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50188         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50189         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50190         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50191         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50192         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50193         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50194         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50195         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50196         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50197         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50198         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50199         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50200         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50201         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50202         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50203         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50204         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50205         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50206         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50208         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50210         * stdio-common/_itoa.h: Moved to ...
50211         * sysdeps/generic/_itoa.h: Here.
50213         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50215         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50216         instead of "_itoa.h" and "_itowa.h".
50217         * stdio-common/vfprintf.: Likewise.
50219 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50221         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50222         <bits/wordsize.h>.
50223         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50224         (__signbit): Likwise.
50225         (llrintf): Likwise.
50226         (llrint): Likwise.
50228 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50230         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50231         __WORDSIZE != 64.
50233 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50235         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50236         OVERFLOW_EXCEPTION_OK.
50237         * math/libm-test.inc ("Philosophy"): Update comment about
50238         exception testing.
50239         (OVERFLOW_EXCEPTION): Define.
50240         (OVERFLOW_EXCEPTION_OK): Likewise.
50241         (INVALID_EXCEPTION_OK): Renumber.
50242         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50243         (IGNORE_ZERO_INF_SIGN): Likewise.
50244         (test_exceptions): Handle FE_OVERFLOW.
50245         (exp10_test): Expect overflow exceptions.
50246         (exp2_test): Likewise.
50247         (expm1_test): Likewise.
50248         (nextafter_test): Likewise.
50249         (pow_test): Likewise.
50250         (scalbn_test): Likewise.
50251         (scalbln_test): Likewise.
50253 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50255         * sysdeps/x86_64/bits/atomic.h
50256         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50257         64bit integer.
50258         (atomic_exchange_acq): Likewise.
50259         (__arch_exchange_and_add_body): Likewise.
50260         (__arch_add_body): Likewise.
50261         (atomic_add_negative): Likewise.
50262         (atomic_add_zero): Likewise.
50264 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50266         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50267         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50269 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50271         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50272         Check __x86_64__ instead of __WORDSIZE.
50274 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50276         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50278 2012-03-19  David S. Miller  <davem@davemloft.net>
50280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50282         * sysdeps/sparc/fpu/fenv_private.h: New file.
50283         * sysdeps/sparc/fpu/math_private.h: Use it.
50284         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50285         Remove.
50286         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50287         (libc_feholdexcept_setroundl): Remove.
50288         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50289         Remove.
50290         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50291         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50293 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50295         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50296         int64_t instead of long int.
50297         (INSERT_WORDS64): Likwise.
50299 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50301         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50302         _Unwind_GetCFA return to _Unwind_Ptr first.
50304 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50306         [BZ #13629]
50307         * math/s_clog.c: Include <float.h>.
50308         (__clog): Scale large or subnormal inputs.
50309         * math/s_clogf.c: Likewise.
50310         * math/s_clogl.c: Likewise.
50311         * math/s_clog10.c: Include <float.h>.
50312         (M_LOG10_2): Define.
50313         (__clog10): Scale large or subnormal inputs.
50314         * math/s_clog10f.c: Likewise.
50315         * math/s_clog10l.c: Likewise.
50316         * math/libm-test.inc (clog_test): Add more tests.
50317         (clog10_test): Likewise.
50318         * sysdeps/i386/fpu/libm-test-ulps: Update.
50319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50321         [BZ #11451]
50322         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50323         x and y.
50324         * math/libm-test.inc (atan2_test): Add another test.
50326         * Makerules (common-objdir-compile): Remove.
50327         * sysdeps/unix/Makefile (config-generated): Do not add
50328         $(unix-generated) to variable.
50329         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50330         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50331         Remove rule.
50332         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50333         Likewise.
50334         [generic bits/local_lim.h] (before-compile): Do not append to
50335         variable.
50336         [generic bits/local_lim.h] (common-generated): Likewise.
50337         [generic sys/param.h] (before-compile): Do not append to variable.
50338         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50339         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50340         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50341         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50342         include.
50343         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50344         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50345         [generic sys/param.h] ($(addprefix
50346         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50347         [generic sys/param.h] (common-generated): Do not append to
50348         variable.
50349         [generic sys/param.h] (sysdep_headers): Likewise.
50350         [generic bits/errno.h] (before-compile): Do not append to
50351         variable.
50352         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50353         rule.
50354         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50355         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50356         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50357         [generic bits/errno.h] (common-generated): Do not append to
50358         variable.
50359         [generic bits/ioctls.h] (before-compile): Do not append to
50360         variable.
50361         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50362         rule.
50363         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50364         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50365         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50366         rule.
50367         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50368         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50369         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50370         [generic bits/ioctls.h] (common-generated): Do not append to
50371         variable.
50372         [generic sys/syscall.h] (syscall.h): Remove variable.
50373         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50374         rule.
50375         [generic sys/syscall.h] (before-compile): Do not append to
50376         variable.
50377         [generic sys/syscall.h] (common-generated): Likewise.
50378         * sysdeps/unix/errnos-tmpl.c: Remove file.
50379         * sysdeps/unix/errnos.awk: Likewise.
50380         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50381         * sysdeps/unix/ioctls.awk: Likewise.
50382         * sysdeps/unix/mk-local_lim.c: Likewise.
50383         * sysdeps/unix/snarf-ioctls: Likewise.
50385 2012-03-19  Richard Henderson  <rth@twiddle.net>
50387         * sysdeps/i386/fpu/fenv_private.h: New file.
50388         * sysdeps/i386/fpu/math_private.h: Use it.
50389         (math_opt_barrier, math_force_eval): Remove.
50390         (libc_feholdexcept_setround_53bit): Remove.
50391         (libc_feupdateenv_53bit): Remove.
50392         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50393         (math_opt_barrier, math_force_eval): Remove.
50394         (libc_feholdexcept): Remove.
50395         (libc_feholdexcept_setround): Remove.
50396         (libc_fetestexcept, libc_fesetenv): Remove.
50397         (libc_feupdateenv_test): Remove.
50398         (libc_feupdateenv, libc_feholdsetround): Remove.
50399         (libc_feresetround): Remove.
50401         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50402         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50404         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50405         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50406         (libc_feupdateenv_testl): New.
50407         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50408         (libc_feupdateenv_testf): New.
50409         (libc_feupdateenv): Use libc_feupdateenv_test.
50410         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50411         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50413         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50414         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50415         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50416         (libc_feresetround_noex): New.
50417         (libc_feresetround_noexf): New.
50418         (libc_feresetround_noexl): New.
50419         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50420         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50421         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50422         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50423         SET_RESTORE_ROUND.
50424         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50426         (__cos): Likewise.
50427         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50428         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50429         SET_RESTORE_ROUND_NOEX.
50430         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50431         SET_RESTORE_ROUND_NOEXF.
50432         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50433         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50434         (libc_feholdsetroundf): New.
50435         (libc_feresetround, libc_feresetroundf): New.
50437         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50438         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50439         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50441         * sysdeps/generic/math_private.h: Include <fenv.h>.
50442         (default_libc_feholdexcept): New.
50443         (default_libc_feholdexcept_setround): New.
50444         (default_libc_fesetenv, default_libc_feupdateenv): New.
50445         (libc_feholdexcept): Only define if undefined.
50446         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50447         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50448         (libc_feholdexcept_setroundl): Likewise.
50449         (libc_feholdexcept_setround_53bit): Likewise.
50450         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50451         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50452         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50453         (libc_feupdateenv_53bit): Likewise.
50454         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50455         (libc_feholdexcept): Convert from macro to inline function.
50456         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50457         (libc_fesetenv, libc_feupdateenv): Likewise.
50459         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50460         not previously defined.
50461         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50462         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50463         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50464         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50465         * sysdeps/ieee754/flt-32/math_private.h: New file.
50466         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50467         math_private.h below SET_FLOAT_WORD.
50468         (__isnan, __isinf_ns, __finite): Remove.
50469         (__isnanf, __isinf_nsf, __finitef): Remove.
50471 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50475 2012-03-17  David S. Miller  <davem@davemloft.net>
50477         [BZ #6471]
50478         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50479         for 2.16.
50481 2012-03-16  David S. Miller  <davem@davemloft.net>
50483         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50484         warnings.
50486         [BZ #6471]
50487         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50488         properly.
50489         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50490         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50491         sysdep_routines when subdir is sysvipc.
50492         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50493         __getshmlba helper.
50495         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50497 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50499         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50500         [__LP64__].
50502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50504         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50505         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50506         (__lround): Renamed to ...
50507         (__llround): This.  Replace long int with long long int.
50508         Define lround functions as aliases of llround functions.
50509         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50511 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50513         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50514         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50515         adresses to uintptr_t.  Replace "long int" and "unsigned long
50516         int" with "greg_t" on va_arg.
50518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50520         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50521         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50523         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50524         Move e_machine check before EI_CLASS check.  Handle x32
50525         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50526         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50527         SKIP_EM_IA_64 and include
50528         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50530         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50531         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50532         (add_system_dir): New macro.
50534         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50535         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50537 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50539         [BZ #2551]
50540         [BZ #2552]
50541         [BZ #2553]
50542         [BZ #2554]
50543         [BZ #2562]
50544         [BZ #2563]
50545         [BZ #2565]
50546         [BZ #2566]
50547         [BZ #2576]
50548         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50549         (y0): Likewise.
50550         * math/w_j0f.c (j0f): Likewise.
50551         (y0f): Likewise.
50552         * math/w_j0l.c (__j0l): Likewise.
50553         (__y0l): Likewise.
50554         * math/w_j1.c (j1): Likewise.
50555         (y1): Likewise.
50556         * math/w_j1f.c (j1f): Likewise.
50557         (y1f): Likewise.
50558         * math/w_j1l.c (__j1l): Likewise.
50559         (__y1l): Likewise.
50560         * math/w_jn.c (jn): Likewise.
50561         (yn): Likewise.
50562         * math/w_jnf.c (jnf): Likewise.
50563         (ynf): Likewise.
50564         * math/w_jnl.c (__jnl): Likewise.
50565         (__ynl): Likewise.
50566         * math/libm-test.inc (j0_test): Add more tests.
50567         (j1_test): Likewise.
50568         (jn_test): Likewise.  Add trailing semicolon to existing test.
50569         (y0_test): Likewise.
50570         (y1_test): Likewise.
50571         * sysdeps/i386/fpu/libm-test-ulps: Update.
50572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50574         [BZ #13851]
50575         [BZ #13854]
50576         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50577         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50578         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50579         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50580         (__tanl): Set errno for infinite argument.
50581         * sysdeps/i386/fpu/mptan.c: Remove.
50582         * sysdeps/i386/fpu/s_tan.S: Likewise.
50583         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50584         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50585         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50586         * math/libm-test.inc (tan_test): Add more tests and enable more
50587         tests for double and long double.
50588         * sysdeps/i386/fpu/libm-test-ulps: Update.
50589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50591 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50593         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50594         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50596 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50598         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50599         * configure.in: Use it for both main tree and add-ons.
50600         * configure: Regenerated.
50602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50604         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50606 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50608         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50609         in comment.
50611         [BZ #13851]
50612         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50613         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50614         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50615         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50616         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50617         infinite argument.
50618         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50619         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50620         != 0 for prec == 2.
50621         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50622         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50623         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50624         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50625         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50626         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50627         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50628         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50629         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50630         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50631         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50632         * math/libm-test.inc (cos_test): Add more tests and enable more
50633         tests for long double.
50634         (sin_test): Likewise.
50635         (sincos_test): Likewise.
50636         * sysdeps/i386/fpu/libm-test-ulps: Update.
50637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50639 2012-03-16  David S. Miller  <davem@davemloft.net>
50641         * sysdeps/sparc/fpu/math_private.h: New file.
50643 2012-03-15  David S. Miller  <davem@davemloft.net>
50645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50646         file.
50647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50649         file.
50650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50652         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50653         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50654         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50655         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50656         sysdep routines.
50657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50659         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50660         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50662         * sysdeps/sparc/sparc-ifunc.h: New file.
50663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50664         sparc-ifunc.h
50665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50667         Likewise.
50668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50669         Likewise.
50670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50674         Likewise.
50675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50680         Likewise.
50681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50682         Likewise.
50683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50689         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50690         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50703         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50704         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50708 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50710         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50711         scaling.
50712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50714 2012-03-15  Andreas Jaeger  <aj@suse.de>
50716         [BZ #13852]
50717         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50718         ieee754/flt-32 implementation for sin, cos and sincos.
50719         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50720         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50721         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50722         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50723         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50724         ieee754/flt-32 implementation for tan.
50726         * math/libm-test.inc (cos_test): Enable some large input tests for
50727         float as well
50728         (sin_test): Likewise.
50729         (sincos_test): Likewise.
50730         (tan_test): Add tests for large input.
50732         * sysdeps/i386/fpu/libm-test-ulps: Update.
50734 2012-03-15  Andreas Jaeger  <aj@suse.de>
50736         [BZ #13658]
50737         * math/libm-test.inc (cos_test): Add more test cases.
50738         (sin_test): Likewise.
50739         (sincos_test): Likewise.
50741 2012-03-15  Andreas Jaeger  <aj@suse.de>
50743         [BZ #13837]
50744         * math/libm-test.inc (cos_test): Add a test case for large input
50745         value.
50746         (sin_test): Likewise.
50747         (sincos_test): Likewise.
50749 2012-03-15  Andreas Jaeger  <aj@suse.de>
50750             Joseph Myers  <joseph@codesourcery.com>
50752         [BZ #13658]
50753         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50754         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50755         * sysdeps/i386/fpu/branred.c: Likewise.
50756         * sysdeps/i386/fpu/dosincos.c: Likewise.
50757         * sysdeps/i386/fpu/mpa.c: Likewise.
50758         * sysdeps/i386/fpu/s_cos.S: Likewise.
50759         * sysdeps/i386/fpu/s_sin.S: Likewise.
50760         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50761         * sysdeps/i386/fpu/sincos32.c: Likewise.
50763         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50764         Define.
50765         (libc_feupdateenv_53bit): Define.
50766         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50767         Define.
50768         (libc_feupdateenv_53bit): Define.
50770         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50771         53 bit (without extend i386 double precision).
50773         * math/libm-test.inc (sincos_test): Add tests for large input.
50774         (sin): Likewise.
50775         (cos): Likewise.
50777         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50779 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50783 2012-03-15  David S. Miller  <davem@davemloft.net>
50785         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50786         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50787         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50788         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50792         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50801         file.
50802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50804         file.
50805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50807         file.
50808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50810         file.
50811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50813         fmin/fmax sysdep routines.
50814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50816 2012-03-14  David S. Miller  <davem@davemloft.net>
50818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50822         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50823         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50824         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50825         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50828         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50829         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50830         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50831         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50832         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50833         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50834         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50835         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50836         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50837         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50838         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50839         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50840         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50841         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50842         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50843         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50844         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50845         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50846         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50847         routines.
50848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50849         file.
50850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50852         file.
50853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50855         file.
50856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50858         file.
50859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50861         file.
50862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50864         file.
50865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50866         file.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50868         file.
50869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50870         file.
50871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50872         New file.
50873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50874         file.
50875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50876         file.
50877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50879         file.
50880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50882         file.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50885         file.
50886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50888         VIS3 routines.
50890         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50891         New file.
50893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50895         * sysdeps/sparc/configure.in: New file.
50896         * sysdeps/sparc/configure: Generate.
50897         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50898         * configure: Regenerate.
50899         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50900         * config.make.in (have-as-vis3): New.
50901         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50902         available use -Av9d instead of -Av9a.
50903         * sysdeps/sparc/sparc64/Makefile: Likewise.
50904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50906         New file.
50907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50908         file.
50909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50910         New file.
50911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50912         file.
50913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50914         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50915         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50916         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50917         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50919         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50920         fzeros/fnegs to load 0x80000000 into a float register instead of
50921         using the stack.
50922         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50924 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50927         bits/syscall.h.
50928         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50929         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50930         ($(inst_includedir)/bits/syscall.h): Remove rule.
50931         ($(objpfx)bits/syscall.d): Include instead of
50932         $(objpfx)syscall-list.d.
50933         (generated): Change syscall-list.h and syscall-list.d to
50934         bits/syscall.h and bits/syscall.d.
50936 2012-03-14  Roland McGrath  <roland@hack.frob.com>
50938         [BZ #13846]
50939         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50941 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
50943         [BZ #13841]
50944         * math/s_csqrt.c: Include <float.h>.
50945         (__csqrt): Scale large or subnormal inputs.
50946         * math/s_csqrtf.c: Likewise.
50947         * math/s_csqrtl.c: Likewise.
50948         * math/libm-test.inc (csqrt_test): Add more tests.
50949         * sysdeps/i386/fpu/libm-test-ulps: Update.
50950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50952         [BZ #13840]
50953         * math/libm-test.inc (hypot_test): Add more tests.
50955 2012-03-13  David S. Miller  <davem@davemloft.net>
50957         [BZ #13840]
50958         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50959         double-precision for the calculation instead of scaling.
50961 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
50963         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50964         manipulate bits before adding and subtracting TWO52[sx].
50965         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50966         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50967         Likewise.
50968         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50970 2012-03-13  David S. Miller  <davem@davemloft.net>
50972         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50973         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50975         rtld-global-offsets.h
50976         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50978         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50979         large parameters.
50981         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50983         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50984         'err' in the ifdef scope in which it is actually used.
50986         * nss/nss_db/db-init.c: Include string.h
50988 2012-03-12  David S. Miller  <davem@davemloft.net>
50990         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50991         masking out of the most significant byte of random value used.
50992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50993         Fix coding style in previous change.
50995         * sysdeps/unix/sysv/linux/kernel-features.h
50996         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50997         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50998         expression.
50999         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51000         later.
51002 2012-03-11  David S. Miller  <davem@davemloft.net>
51004         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51005         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51006         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51007         for 'resultvar' otherwise things get truncated on 64-bit.
51009         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51010         Fix masking out of the most significant byte of random value used.
51012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51014 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51018 2012-03-09  David S. Miller  <davem@davemloft.net>
51020         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51021         variables with appropriate CPP guards.
51022         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51023         from the frame pointer, not the stack pointer.  Correct layout
51024         comments.  Fix test on resulting framesize and the management of
51025         the outregs buffer for pltexit.  Preserve floating point return
51026         values across _dl_call_pltexit call.
51027         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51028         framesize and the management of the outregs buffer for pltexit.
51029         Preserve floating point return values across _dl_call_pltexit
51030         call.
51031         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51032         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51033         (la_sparc64_gnu_pltexit): New functions.
51034         (print_exit): Fix format string for return register value.
51036 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51038         * sunrpc/Makefile (others): Add rpcgen.
51039         ($(objpfx)rpcgen): Remove special build rule and dependency on
51040         libc.
51041         * sunrpc/rpcgen.c: New file.
51043 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51045         [BZ #13673]
51046         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51047         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51048         * sysdeps/i386/crti.S: Likewise.
51049         * sysdeps/i386/crtn.S: Likewise.
51050         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51051         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51052         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51053         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51054         * sysdeps/sh/crti.S: Likewise.
51055         * sysdeps/sh/crtn.S: Likewise.
51056         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51058         [BZ #13673]
51059         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51060         with URL.
51061         * locale/programs/locfile-kw.gperf: Likewise.
51062         * locale/programs/charmap-kw.h: Regenerated.
51063         * locale/programs/locfile-kw.h: Likewise.
51065         [BZ #13673]
51066         * intl/plural.y: Replace FSF snail mail address with URL.
51067         * intl/plural.c: Regenerated.
51069 2012-03-09  Richard Henderson  <rth@twiddle.net>
51071         * include/math_private.h: Remove file.
51072         * math/math_private.h: Move file ...
51073         * sysdeps/generic/math_private.h: ... here.
51075         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51076         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51077         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51079         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51080         and <math_private.h>.
51081         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51082         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51083         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51084         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51085         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51086         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51087         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51088         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51089         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51090         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51092         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51093         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51094         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51095         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51096         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51097         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51098         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51099         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51100         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51101         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51102         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51103         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51104         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51105         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51106         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51107         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51108         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51111         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51112         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51113         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51114         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51115         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51116         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51117         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51118         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51119         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51120         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51121         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51122         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51123         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51124         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51125         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51126         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51127         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51128         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51129         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51130         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51131         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51132         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51133         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51134         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51135         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51136         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51137         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51138         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51139         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51140         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51141         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51142         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51143         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51144         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51145         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51146         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51147         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51148         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51149         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51150         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51151         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51152         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51153         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51154         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51155         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51156         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51157         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51158         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51160         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51161         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51162         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51163         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51164         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51165         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51167         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51168         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51169         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51170         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51171         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51172         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51173         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51174         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51175         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51176         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51177         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51178         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51179         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51180         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51181         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51182         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51183         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51184         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51185         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51186         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51187         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51188         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51189         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51190         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51191         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51192         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51193         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51194         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51195         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51196         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51197         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51198         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51199         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51200         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51201         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51202         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51203         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51204         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51205         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51206         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51207         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51208         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51209         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51210         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51211         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51212         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51213         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51214         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51215         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51216         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51217         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51218         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51219         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51220         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51221         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51222         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51223         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51224         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51225         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51226         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51227         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51228         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51229         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51230         * sysdeps/ieee754/k_standard.c: Likewise.
51231         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51232         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51233         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51234         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51235         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51236         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51237         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51238         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51239         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51240         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51241         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51242         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51243         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51244         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51245         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51246         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51247         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51248         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51249         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51250         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51251         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51252         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51253         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51254         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51255         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51256         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51257         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51258         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51259         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51260         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51261         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51262         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51263         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51264         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51265         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51266         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51267         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51268         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51269         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51270         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51271         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51272         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51273         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51274         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51275         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51276         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51277         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51278         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51279         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51280         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51281         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51282         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51283         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51284         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51285         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51286         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51287         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51288         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51289         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51290         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51291         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51292         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51293         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51294         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51296         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51297         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51298         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51299         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51300         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51303         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51304         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51305         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51307         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51308         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51309         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51310         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51311         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51312         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51313         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51314         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51315         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51316         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51317         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51318         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51319         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51320         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51321         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51322         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51323         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51324         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51325         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51326         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51327         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51328         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51329         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51330         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51331         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51332         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51333         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51334         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51335         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51337         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51338         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51339         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51340         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51341         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51342         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51343         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51345         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51347         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51348         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51349         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51350         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51351         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51352         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51353         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51354         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51355         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51356         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51357         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51358         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51359         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51360         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51361         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51362         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51363         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51364         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51365         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51366         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51367         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51368         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51369         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51370         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51371         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51372         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51373         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51374         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51375         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51376         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51377         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51378         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51379         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51380         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51381         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51382         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51383         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51384         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51385         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51387         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51388         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51389         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51390         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51391         * sysdeps/ieee754/s_lib_version.c: Likewise.
51392         * sysdeps/ieee754/s_matherr.c: Likewise.
51393         * sysdeps/ieee754/s_signgam.c: Likewise.
51394         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51395         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51396         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51397         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51398         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51399         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51400         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51401         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51402         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51403         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51404         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51405         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51406         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51407         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51408         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51409         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51410         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51411         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51412         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51413         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51414         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51416 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51418         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51419         * sunrpc/rpc_main.c: Likewise.
51420         * sunrpc/rpc_svcout.c: Likewise.
51422 2012-03-09  David S. Miller  <davem@davemloft.net>
51424         * include/math_private.h: New file.
51426 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51428         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51429         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51430         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51431         from <bits/socket_type.h>.
51432         (enum __socket_type): Don't define here.
51433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51435         bits/socket_type.h.
51437         [BZ #13566]
51438         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51439         checking __USE_GNU.
51441         * Makerules ($(inst_includedir)/%.h): New rule.
51442         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51443         (install-others): Remove variable setting.
51444         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51446 2012-03-08  Richard Henderson  <rth@twiddle.net>
51448         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51449         from macro to inline function; merge with the
51450         !__LIBC_INTERNAL_MATH_INLINES version.
51451         (__ieee754_sqrtf): Likewise.
51453         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51454         to inline function.
51455         (__rintf, __floor, __floorf): Likewise.
51457         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51458         macro to inline function.
51459         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51462         not <math/math_private.h>.
51464 2012-03-08  David S. Miller  <davem@davemloft.net>
51466         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51467         copyright year.
51468         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51470 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51472         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51473         normalization.
51474         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51475         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51477 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51479         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51480         be defined individually, they must be defined as a block.  Define
51481         S for printing a string instead of hidint the different by using a
51482         macro for adding the 'l'.
51483         * stdio-common/tst-fphex-wide.c: Adjust.
51485 2012-03-07  Marek Polacek  <polacek@redhat.com>
51487         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51489 2012-03-08  Marek Polacek  <polacek@redhat.com>
51491         [BZ #13806]
51492         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51493         * stdio-common/tst-fphex.c: Define a few macros to make the
51494         test reusable.  Use them.
51495         * stdio-common/tst-fphex-wide.c: New file.
51497 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51499         [BZ #6911]
51500         * manual/macros.texi (gnusystems): New macro.
51501         (nongnusystems): Likewise.
51502         (gnulinuxhurdsystems): Likewise.
51503         (gnuhurdsystems): Likewise..
51504         (gnulinuxsystems): Likewise.
51505         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51506         variants of the GNU system, not "GNU system".
51507         * manual/conf.texi: Likewise.
51508         * manual/errno.texi: Likewise.  Update example of errno macro
51509         expansion.
51510         * manual/filesys.texi: Likewise.
51511         (getumask): Document as specific to GNU/Hurd.
51512         * manual/install.texi: Likewise.  Reword some references to
51513         GNU/Linux.
51514         * manual/intro.texi: Likewise.
51515         * manual/io.texi: Likewise.
51516         (File Name Portability): Detail which constraints are inapplicable
51517         to all GNU systems and which are only inapplicable to GNU/Hurd.
51518         * manual/job.texi: Likewise.
51519         * manual/llio.texi: Likewise.
51520         (O_NOCTTY): Document as present on GNU/Linux.
51521         * manual/maint.texi: Likewise.
51522         * manual/memory.texi: Likewise.
51523         * manual/pattern.texi: Likewise.
51524         * manual/pipe.texi: Likewise.
51525         * manual/process.texi: Likewise.
51526         * manual/resource.texi: Likewise.
51527         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51528         child on GNU/Hurd.
51529         * manual/setjmp.texi: Likewise.
51530         * manual/signal.texi: Likewise.
51531         * manual/startup.texi: Likewise.
51532         * manual/stdio.texi: Likewise.
51533         * manual/terminal.texi: Likewise.
51534         (ONLCR): Document as POSIX.
51535         (OXTABS): Document availability on GNU/Linux as XTABS.
51536         (ONOEOT): Document availability separately from other bits.
51537         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51538         * manual/time.texi: Likewise.
51539         * manual/users.texi: Likewise.
51540         * INSTALL: Regenerated.
51541         * sysdeps/gnu/errlist.c: Regenerated.
51543         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51544         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51545         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51546         puts.
51547         * configure: Regenerated.
51549 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51551         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51552         default includes instead of AC_HEADER_CHECK.
51553         * sysdeps/i386/configure: Regenerated.
51555         [BZ #10716]
51556         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51557         * math/s_cacoshf.c (__cacoshf): Likewise.
51558         * math/s_cacoshl.c (__cacoshl): Likewise.
51559         * math/s_casinh.c (__casinh): Set signs of result from argument.
51560         * math/s_casinhf.c (__casinhf): Likewise.
51561         * math/s_casinhl.c (__casinhl): Likewise.
51562         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51563         (casinh_test): Add more tests.
51564         * sysdeps/i386/fpu/libm-test-ulps: Update.
51565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51567 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51569         * po/zh_TW.po: Update from translation team.
51571         * login/Makefile (distribute): Remove variable.
51572         * catgets/Makefile: Likewise.
51573         * mach/Makefile: Likewise.
51574         * malloc/Makefile: Likewise.
51575         * misc/Makefile: Likewise.
51576         * iconv/Makefile: Likewise.
51577         * nscd/Makefile: Likewise.
51578         * hurd/Makefile: Likewise.
51579         * manual/Makefile: Likewise.
51580         * locale/Makefile: Likewise.
51581         * intl/Makefile: Likewise.
51582         * conform/Makefile: Likewise.
51583         * nss/Makefile: Likewise.
51584         * time/Makefile: Likewise.
51585         * soft-fp/Makefile: Likewise.
51586         * dirent/Makefile: Likewise.
51587         * gmon/Makefile: Likewise.
51588         * po/Makefile: Likewise.
51589         * rt/Makefile: Likewise.
51590         * socket/Makefile: Likewise.
51591         * math/Makefile: Likewise.
51592         * signal/Makefile: Likewise.
51593         * debug/Makefile: Likewise.
51594         * elf/Makefile: Likewise.
51595         * timezone/Makefile: Likewise.
51596         * stdlib/Makefile: Likewise.
51597         * iconvdata/Makefile: Likewise.
51598         * sunrpc/Makefile: Likewise.
51599         * io/Makefile: Likewise.
51600         * argp/Makefile: Likewise.
51601         * inet/Makefile: Likewise.
51602         * hesiod/Makefile: Likewise.
51603         * grp/Makefile: Likewise.
51604         * csu/Makefile: Likewise.
51605         * wctype/Makefile: Likewise.
51606         * crypt/Makefile: Likewise.
51607         * libio/Makefile: Likewise.
51608         * string/Makefile: Likewise.
51609         * nis/Makefile: Likewise.
51610         * resolv/Makefile: Likewise.
51611         * stdio-common/Makefile: Likewise.
51612         * wcsmbs/Makefile: Likewise.
51613         * dlfcn/Makefile: Likewise.
51614         * posix/Makefile: Likewise.
51616         [BZ #6959]
51617         * timezone/Makefile: Don't install timezone files, just the programs
51618         and scripts.
51620 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51622         * nss/databases.def: Add missing gshadow entry.
51624         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51626 2012-03-06  Marek Polacek  <polacek@redhat.com>
51628         [BZ #13726]
51629         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51630         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51631         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51632         * stdio-common/tst-long-dbl-fphex.c: New file.
51634 2012-03-06  David S. Miller  <davem@davemloft.net>
51636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51637         (set_obp_int): New function.
51638         (get_obp_int): New function.
51639         (__get_clockfreq_via_dev_openprom): Likewise.
51640         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51641         Avoid unused variable warnings on 'val' and use builtin_expect.
51642         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51643         __builtin_expect.
51644         (INLINE_CLONE_SYSCALL): Likewise.
51646 2012-03-05  David S. Miller  <davem@davemloft.net>
51648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51650 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51654         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51655         only for |x| >= 40.
51656         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51658 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51660         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51661         Replace gettimeofday with __vdso_gettimeofday.
51663         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51664         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51665         __vdso_clock_gettime and __vdso_getcpu.
51667         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51668         time with __vdso_time.
51670 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51672         * manual/lang.texi (size_t): Note types to which size_t may be
51673         equivalent with the GNU C Library, but do not describe when
51674         differences between them are significant.
51676 2012-03-05  Andreas Jaeger  <aj@suse.de>
51678         * sysdeps/i386/fpu/libm-test-ulps: Update.
51680 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51682         [BZ #3976]
51683         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51684         (__ieee754_pow): Save and restore rounding mode and use
51685         round-to-nearest for main computations.
51686         * math/libm-test.inc (pow_test_tonearest): New function.
51687         (pow_test_towardzero): Likewise.
51688         (pow_test_downward): Likewise.
51689         (pow_test_upward): Likewise.
51690         (main): Call the new functions.
51691         * sysdeps/i386/fpu/libm-test-ulps: Update.
51692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51694         [BZ #3976]
51695         * math/libm-test.inc (cosh_test_tonearest): New function.
51696         (cosh_test_towardzero): Likewise.
51697         (cosh_test_downward): Likewise.
51698         (cosh_test_upward): Likewise.
51699         (sinh_test_tonearest): Likewise.
51700         (sinh_test_towardzero): Likewise.
51701         (sinh_test_downward): Likewise.
51702         (sinh_test_upward): Likewise.
51703         (main): Call the new functions.
51704         * sysdeps/i386/fpu/libm-test-ulps: Update.
51705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51707 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51709         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51710         default stack guard is set in last bytes.
51711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51713 2012-03-05  Kees Cook  <keescook@chromium.org>
51715         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51717         [BZ #13656]
51718         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51719         possibly allocate from heap instead of stack.
51720         * stdio-common/bug-vfprintf-nargs.c: New file.
51721         * stdio-common/Makefile (tests): Add nargs overflow test.
51723 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51727 2012-03-03  Marek Polacek  <polacek@redhat.com>
51729         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51730         * math/math_private.h: Likewise.
51731         * stdlib/tst-strtod.c: Likewise.
51732         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51733         * sysdeps/x86_64/bits/atomic.h: Likewise.
51735 2012-03-02  David S. Miller  <davem@davemloft.net>
51737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51741         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51742         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51743         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51744         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51746 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51748         [BZ #13792]
51749         * manual/examples/README: New file, says the example source files
51750         can be used under GPL>=2.
51751         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51752         line containing just "*/".
51753         * manual/examples/add.c: Add copyright header (GPL>=2).
51754         * manual/examples/argp-ex1.c: Likewise.
51755         * manual/examples/argp-ex2.c: Likewise.
51756         * manual/examples/argp-ex3.c: Likewise.
51757         * manual/examples/argp-ex4.c: Likewise.
51758         * manual/examples/atexit.c: Likewise.
51759         * manual/examples/db.c: Likewise.
51760         * manual/examples/dir.c: Likewise.
51761         * manual/examples/dir2.c: Likewise.
51762         * manual/examples/execinfo.c: Likewise.
51763         * manual/examples/filecli.c: Likewise.
51764         * manual/examples/filesrv.c: Likewise.
51765         * manual/examples/fmtmsgexpl.c: Likewise.
51766         * manual/examples/genpass.c: Likewise.
51767         * manual/examples/inetcli.c: Likewise.
51768         * manual/examples/inetsrv.c: Likewise.
51769         * manual/examples/isockad.c: Likewise.
51770         * manual/examples/longopt.c: Likewise.
51771         * manual/examples/memopen.c: Likewise.
51772         * manual/examples/memstrm.c: Likewise.
51773         * manual/examples/mkfsock.c: Likewise.
51774         * manual/examples/mkisock.c: Likewise.
51775         * manual/examples/mygetpass.c: Likewise.
51776         * manual/examples/pipe.c: Likewise.
51777         * manual/examples/popen.c: Likewise.
51778         * manual/examples/rprintf.c: Likewise.
51779         * manual/examples/search.c: Likewise.
51780         * manual/examples/select.c: Likewise.
51781         * manual/examples/setjmp.c: Likewise.
51782         * manual/examples/sigh1.c: Likewise.
51783         * manual/examples/sigusr.c: Likewise.
51784         * manual/examples/stpcpy.c: Likewise.
51785         * manual/examples/strdupa.c: Likewise.
51786         * manual/examples/strftim.c: Likewise.
51787         * manual/examples/strncat.c: Likewise.
51788         * manual/examples/subopt.c: Likewise.
51789         * manual/examples/swapcontext.c: Likewise.
51790         * manual/examples/termios.c: Likewise.
51791         * manual/examples/testopt.c: Likewise.
51792         * manual/examples/testpass.c: Likewise.
51793         * manual/examples/timeval_subtract.c: Likewise.
51795         [BZ #13792]
51796         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51797         function to ...
51798         * manual/timeval_subtract.c.texi: ... here, new file.
51800 2012-03-02  David S. Miller  <davem@davemloft.net>
51802         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51804 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51806         [BZ #3976]
51807         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51808         (__sin): Save and restore rounding mode and use round-to-nearest
51809         for all computations.
51810         (__cos): Save and restore rounding mode and use round-to-nearest
51811         for all computations.
51812         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51813         <fenv.h>.
51814         (tan): Save and restore rounding mode and use round-to-nearest for
51815         all computations.
51816         * math/libm-test.inc (cos_test_tonearest): New function.
51817         (cos_test_towardzero): Likewise.
51818         (cos_test_downward): Likewise.
51819         (cos_test_upward): Likewise.
51820         (sin_test_tonearest): Likewise.
51821         (sin_test_towardzero): Likewise.
51822         (sin_test_downward): Likewise.
51823         (sin_test_upward): Likewise.
51824         (tan_test_tonearest): Likewise.
51825         (tan_test_towardzero): Likewise.
51826         (tan_test_downward): Likewise.
51827         (tan_test_upward): Likewise.
51828         (main): Call the new functions.
51829         * sysdeps/i386/fpu/libm-test-ulps: Update.
51830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51832         [BZ #10135]
51833         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51834         small n, then large n, before computing and testing k+n.
51835         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51836         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51837         Likewise.
51838         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51839         Likewise.
51840         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51841         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51842         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51843         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51844         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51845         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51847         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51848         * math/libm-test.inc (scalbn_test): Add more tests.
51849         (scalbln_test): Likewise.
51851         * manual/filesys.texi (mode_t): Describe constraints on size and
51852         signedness, not exact equivalence to a particular type.
51853         (ino_t): Likewise.
51854         (ino64_t): Likewise.
51855         (dev_t): Likewise.
51856         (nlink_t): Likewise.
51857         (blkcnt_t): Likewise.
51858         (blkcnt64_t): Likewise.
51859         * manual/llio.texi (off_t): Likewise.
51861         [BZ #3976]
51862         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51863         (__ieee754_exp): Save and restore rounding mode and use
51864         round-to-nearest for all computations.
51865         * math/libm-test.inc (exp_test_tonearest): New function.
51866         (exp_test_towardzero): Likewise.
51867         (exp_test_downward): Likewise.
51868         (exp_test_upward): Likewise.
51869         (main): Call the new functions.
51870         * sysdeps/i386/fpu/libm-test-ulps: Update.
51871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51873 2012-03-01  Chris Demetriou  <cgd@google.com>
51875         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51876         have predictable order.
51878 2012-03-01  David S. Miller  <davem@davemloft.net>
51880         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51882         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51883         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51884         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51885         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51887         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51888         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51889         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51891         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51892         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51893         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51894         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51895         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51899         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51900         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51903         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51904         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51905         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51906         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51907         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51908         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51910         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51911         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51912         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51913         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51914         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51916         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51917         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51919         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51920         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51921         * sysdeps/sparc/elf/configure: Regenerated.
51923 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
51925         * configure.in (AS, LD): Require binutils 2.20 or later.
51926         * configure: Regenerated.
51927         * manual/install.texi (Tools for Compilation): Give binutils 2.20
51928         as required minimum version.
51929         * INSTALL: Regenerated.
51931         [BZ #2541]
51932         [BZ #4108]
51933         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51934         before squaring exponent.
51935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51936         bottom long double and 27 bits of top long double before squaring
51937         exponent.
51938         * math/libm-test.inc (erfc_test): Add more tests.
51939         * sysdeps/i386/fpu/libm-test-ulps: Update.
51940         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51943 2012-03-01  Kai Tietz  <ktietz@redhat.com>
51945         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51946         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51947         containing bit-fields.
51948         * soft-fp/extended.h (_FP_UNION_E): Likewise.
51949         * soft-fp/single.h (_FP_UNION_S): Likewise.
51950         * soft-fp/double.h (_FP_UNION_D): Likewise.
51952 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51954         [BZ #13786]
51955         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51956         not include ../strcmp.S.
51957         [USE_AS_STRNCASECMP_L]: Likewise.
51958         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51959         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51960         * sysdeps/i386/i686/multiarch/strncase_l-c.c
51961         (__strncasecmp_l_ia32): Define as alias to
51962         __strncasecmp_l_nonascii.
51964         [BZ #5794]
51965         * math/libm-test.inc (expm1_test): Add test for bug 5794.
51966         * sysdeps/i386/fpu/libm-test-ulps: Update.
51967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51969         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51972 2012-02-29  Jeff Law  <law@redhat.com>
51974         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51975         out of bounds read.
51977 2012-02-29  Marek Polacek  <polacek@redhat.com>
51979         [BZ #13706]
51980         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51981         * elf/Makefile: Add rules to run tst-unused-dep.out.
51983 2012-02-28  David S. Miller  <davem@davemloft.net>
51985         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51986         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51987         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51988         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51989         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51990         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51992 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
51994         * math/libm-test.inc (llround_test): Move one test from
51995         lround_test.  Use TEST_f_L in moved test.
51996         (lround_test): Move misplaced test to llround_test.  Add testcase
51997         from bug 2561.
51999 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52001         * sysdeps/x86_64/fpu/e_expf.S: New file.
52002         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52004 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52006         [BZ #13637]
52007         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52008         of remain_len that may cause incomplete multi-byte character and
52009         false match.
52010         * posix/bug-regex33.c: New file.
52011         * posix/Makefile (tests): Add bug-regex33.
52013 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52015         * manual/macros.texi: New file.
52016         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52017         * manual/libc.texinfo: Include macros.texi.
52018         * manual/creatute.texi: Likewise.
52019         * manual/install.texi: Likewise.
52020         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52021         @glibcadj{} in references to the GNU C Library.
52022         * manual/charset.texi: Likewise.
52023         * manual/conf.texi: Likewise.
52024         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52025         when not using those macros.
52026         * manual/creature.texi: Likewise.
52027         * manual/crypt.texi: Likewise.
52028         * manual/errno.texi: Likewise.
52029         * manual/filesys.texi: Likewise.
52030         * manual/header.texi: Likewise.
52031         * manual/install.texi: Likewise.
52032         * manual/intro.texi: Likewise.
52033         * manual/io.texi: Likewise.
52034         * manual/job.texi: Likewise.
52035         * manual/lang.texi: Likewise.
52036         * manual/libc.texiinfo: Likewise.
52037         * manual/llio.texi: Likewise.
52038         * manual/locale.texi: Likewise.
52039         * manual/maint.texi: Likewise.
52040         * manual/math.texi: Likewise.
52041         * manual/memory.texi: Likewise.
52042         * manual/message.texi: Likewise.
52043         * manual/nss.texi: Likewise.
52044         * manual/pattern.texi: Likewise.
52045         * manual/process.texi: Likewise.
52046         * manual/resource.texi: Likewise.
52047         * manual/search.texi: Likewise.
52048         * manual/setjmp.texi: Likewise.
52049         * manual/signal.texi: Likewise.
52050         * manual/socket.texi: Likewise.
52051         * manual/startup.texi: Likewise.
52052         * manual/stdio.texi: Likewise.
52053         * manual/string.texi: Likewise.
52054         * manual/sysinfo.texi: Likewise.
52055         * manual/syslog.texi: Likewise.
52056         * manual/terminal.texi: Likewise.
52057         * manual/time.texi: Likewise.
52058         * manual/users.texi: Likewise.
52059         * INSTALL: Regenerated.
52060         * NOTES: Regenerated.
52061         * sysdeps/gnu/errlist.c: Regenerated.
52063 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52065         * include/dirent.h: Include <dirstream.h> before
52066         <dirent/dirent.h>.
52068 2012-02-28  David S. Miller  <davem@davemloft.net>
52070         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52071         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52072         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52073         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52075 2012-02-27  David S. Miller  <davem@davemloft.net>
52077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52079         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52080         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52083         frame pointer instead of stack pointer relative arg slot.
52084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52085         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52086         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52088 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52090         [BZ #3992]
52091         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52093 2012-02-27  David S. Miller  <davem@davemloft.net>
52095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52099         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52100         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52101         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52102         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52104 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52106         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52107         later.  Allow versions 5-9.
52108         * configure: Regenerated.
52109         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52110         required minimum version and 4.6 as recommended version.  Do not
52111         mention bugs in GCC 2.7 and 2.8.
52112         * INSTALL: Regenerated.
52114 2012-02-27  David S. Miller  <davem@davemloft.net>
52116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52120         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52121         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52122         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52123         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52125         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52126         manipulate bits before adding and subtracting TWO112[sx].
52127         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52129 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52131         [BZ #13775]
52132         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52133         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52134         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52135         being in POSIX, because they are in 1003.1-2008.
52137         * rt/tst-aio.c: Include <fcntl.h>.
52138         * rt/tst-aio7.c: Likewise.
52139         * rt/tst-aio64.c: Likewise.
52141         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52143 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52145         * manual/install.texi (--with-headers): Describe headers as
52146         interface headers, not private headers.
52147         (Specific advice for GNU/Linux systems): Describe use of headers
52148         from "make headers_install", not private headers from older
52149         kernels.
52150         * INSTALL: Regenerated.
52151         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52152         Change to 2.6.19.
52153         * sysdeps/unix/sysv/linux/configure: Regenerated.
52155         * manual/llio.texi (fclean): Remove documentation.
52157         * manual/Makefile (libc-texi-generated): New variable.  Include
52158         version.texi.
52159         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52160         $(libc-texi-generated), not duplicated list of files.
52161         (version.texi, stamp-version): New rules.
52162         (realclean): Remove $(libc-texi-generated), not individual files
52163         from that list.  Do not remove dir-add.texinfo.
52164         * manual/libc.texinfo: Comment out uses of edition numbers and
52165         references to printed manual.  Remove last-updated dates.
52166         (EDITION): Comment out.
52167         (ISBN): Likewise.
52168         (VERSION, UPDATED): Remove.
52169         (version.texi): Include.
52171 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52173         * sysdeps/posix/spawni.c: Include <signal.h>.
52174         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52175         * sysdeps/pthread/aio_fsync.c: Likewise.
52177 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52179         * conform/Makefile (tests): Run only when not cross-compiling and
52180         when fast-check is not defined.
52182         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52183         * conform/data/limits.h-data: Fixes for POSIX2008.
52184         * conform/run-conformtest.sh: Run all tests.
52185         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52186         headers.
52187         * include/bits/dlfcn.h: Likewise.
52188         * include/langinfo.h: Likewise.
52189         * include/monetary.h: Likewise.
52190         * include/sys/poll.h: Likewise.
52192         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52193         for __USE_GNU.
52194         * posix/spawn.h: Define __need_sigset_t.
52195         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52196         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52197         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52198         to get sigevent_t only.
52199         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52200         only for __USE_GNU.
52201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52202         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52203         process_vm_writev only for __USE_GNU.
52204         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52206         * conform/Makefile: For now ignore errors from run-conformtest.
52207         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52208         POSIX to avoid namespace pollution.  Don't prepend headers.
52209         * conform/data/aio.h-data: Fixes for POSIX testing.
52210         * conform/data/fcntl.h-data: Likewise.
52211         * conform/data/glob.h-data: Likewise.
52212         * conform/data/grp.h-data: Likewise.
52213         * conform/data/pthread.h-data: Likewise.
52214         * conform/data/pwd.h-data: Likewise.
52215         * conform/data/signal.h-data: Likewise.
52216         * conform/data/spawn.h-data: Likewise.
52217         * conform/data/stdio.h-data: Likewise.
52218         * conform/data/stdlib.h-data: Likewise.
52219         * conform/data/stropts.h-data: Likewise.
52220         * conform/data/sys/mman.h-data: Likewise.
52221         * conform/data/sys/stat.h-data: Likewise.
52222         * conform/data/sys/types.h-data: Likewise.
52223         * conform/data/sys/wait.h-data: Likewise.
52224         * conform/data/time.h-data: Likewise.
52225         * conform/data/unistd.h-data: Likewise.
52226         * conform/data/utime.h-data: Likewise.
52228         * io/sys/stat.h: fchmod was always in POSIX.
52229         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52230         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52231         * rt/aio.h: Define __need_timespec before including <time.h>.
52232         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52233         struct.  Add forward declaration of pthread_attr_t and use it in
52234         sigevent.
52235         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52237         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52238         always remove CLK_TCK definition.
52240 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52242         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52244 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52246         * conform/run-conformtest.sh: New file.
52247         * conform/Makefile: Run run-conformtest for tests.
52248         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52249         support.
52251         * conform/data/uchar.h-data: New file.
52252         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52253         * conform/data/arpa/inet.h-data: Likewise.
52254         * conform/data/assert.h-data: Likewise.
52255         * conform/data/complex.h-data: Likewise.
52256         * conform/data/cpio.h-data: Likewise.
52257         * conform/data/ctype.h-data: Likewise.
52258         * conform/data/dirent.h-data: Likewise.
52259         * conform/data/dlfcn.h-data: Likewise.
52260         * conform/data/errno.h-data: Likewise.
52261         * conform/data/fcntl.h-data: Likewise.
52262         * conform/data/float.h-data: Likewise.
52263         * conform/data/fmtmsg.h-data: Likewise.
52264         * conform/data/fnmatch.h-data: Likewise.
52265         * conform/data/ftw.h-data: Likewise.
52266         * conform/data/glob.h-data: Likewise.
52267         * conform/data/grp.h-data: Likewise.
52268         * conform/data/iconv.h-data: Likewise.
52269         * conform/data/inttypes.h-data: Likewise.
52270         * conform/data/langinfo.h-data: Likewise.
52271         * conform/data/libgen.h-data: Likewise.
52272         * conform/data/limits.h-data: Likewise.
52273         * conform/data/locale.h-data: Likewise.
52274         * conform/data/math.h-data: Likewise.
52275         * conform/data/monetary.h-data: Likewise.
52276         * conform/data/mqueue.h-data: Likewise.
52277         * conform/data/ndbm.h-data: Likewise.
52278         * conform/data/net/if.h-data: Likewise.
52279         * conform/data/netdb.h-data: Likewise.
52280         * conform/data/netinet/in.h-data: Likewise.
52281         * conform/data/nl_types.h-data: Likewise.
52282         * conform/data/poll.h-data: Likewise.
52283         * conform/data/pthread.h-data: Likewise.
52284         * conform/data/pwd.h-data: Likewise.
52285         * conform/data/regex.h-data: Likewise.
52286         * conform/data/sched.h-data: Likewise.
52287         * conform/data/search.h-data: Likewise.
52288         * conform/data/semaphore.h-data: Likewise.
52289         * conform/data/setjmp.h-data: Likewise.
52290         * conform/data/signal.h-data: Likewise.
52291         * conform/data/spawn.h-data: Likewise.
52292         * conform/data/stdarg.h-data: Likewise.
52293         * conform/data/stdio.h-data: Likewise.
52294         * conform/data/stdlib.h-data: Likewise.
52295         * conform/data/string.h-data: Likewise.
52296         * conform/data/strings.h-data: Likewise.
52297         * conform/data/stropts.h-data: Likewise.
52298         * conform/data/sys/ipc.h-data: Likewise.
52299         * conform/data/sys/mman.h-data: Likewise.
52300         * conform/data/sys/msg.h-data: Likewise.
52301         * conform/data/sys/resource.h-data: Likewise.
52302         * conform/data/sys/select.h-data: Likewise.
52303         * conform/data/sys/sem.h-data: Likewise.
52304         * conform/data/sys/shm.h-data: Likewise.
52305         * conform/data/sys/socket.h-data: Likewise.
52306         * conform/data/sys/stat.h-data: Likewise.
52307         * conform/data/sys/statvfs.h-data: Likewise.
52308         * conform/data/sys/time.h-data: Likewise.
52309         * conform/data/sys/timeb.h-data: Likewise.
52310         * conform/data/sys/times.h-data: Likewise.
52311         * conform/data/sys/types.h-data: Likewise.
52312         * conform/data/sys/uio.h-data: Likewise.
52313         * conform/data/sys/un.h-data: Likewise.
52314         * conform/data/sys/utsname.h-data: Likewise.
52315         * conform/data/sys/wait.h-data: Likewise.
52316         * conform/data/syslog.h-data: Likewise.
52317         * conform/data/tar.h-data: Likewise.
52318         * conform/data/termios.h-data: Likewise.
52319         * conform/data/utime.h-data: Likewise.
52320         * conform/data/utmpx.h-data: Likewise.
52321         * conform/data/varargs.h-data: Likewise.
52322         * conform/data/wchar.h-data: Likewise.
52323         * conform/data/wctype.h-data: Likewise.
52324         * conform/data/wordexp.h-data: Likewise.
52326         * include/stropts.h: New file.
52327         * include/uchar.h: New file.
52328         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52329         * include/assert.h: Likewise.
52330         * include/ctype.h: Likewise.
52331         * include/dirent.h: Likewise.
52332         * include/dlfcn.h: Likewise.
52333         * include/fcntl.h: Likewise.
52334         * include/fnmatch.h: Likewise.
52335         * include/glob.h: Likewise.
52336         * include/grp.h: Likewise.
52337         * include/libio.h: Likewise.
52338         * include/locale.h: Likewise.
52339         * include/math.h: Likewise.
52340         * include/net/if.h: Likewise.
52341         * include/netdb.h: Likewise.
52342         * include/netinet/in.h: Likewise.
52343         * include/pthread.h: Likewise.
52344         * include/pwd.h: Likewise.
52345         * include/regex.h: Likewise.
52346         * include/sched.h: Likewise.
52347         * include/search.h: Likewise.
52348         * include/setjmp.h: Likewise.
52349         * include/signal.h: Likewise.
52350         * include/stdio.h: Likewise.
52351         * include/stdlib.h: Likewise.
52352         * include/string.h: Likewise.
52353         * include/sys/cdefs.h: Likewise.
52354         * include/sys/mman.h: Likewise.
52355         * include/sys/msg.h: Likewise.
52356         * include/sys/resource.h: Likewise.
52357         * include/sys/select.h: Likewise.
52358         * include/sys/socket.h: Likewise.
52359         * include/sys/stat.h: Likewise.
52360         * include/sys/statvfs.h: Likewise.
52361         * include/sys/time.h: Likewise.
52362         * include/sys/times.h: Likewise.
52363         * include/sys/uio.h: Likewise.
52364         * include/sys/utsname.h: Likewise.
52365         * include/sys/wait.h: Likewise.
52366         * include/termios.h: Likewise.
52367         * include/time.h: Likewise.
52368         * include/ulimit.h: Likewise.
52369         * include/unistd.h: Likewise.
52370         * include/utime.h: Likewise.
52371         * include/wchar.h: Likewise.
52372         * include/wctype.h: Likewise.
52373         * include/wordexp.h: Likewise.
52375         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52377         * time/time.h: TIME_UTC must be a macro.
52378         Make timespec_get available for ISO C11 only as well.
52380 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52382         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52383         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52385 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52387         * configure.in: Use -o not -a in test for unsupported multi-arch.
52389 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52391         * manual/texinfo.tex: Update to version 2012-01-19.16.
52393 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52395         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52397 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52399         [BZ #13738]
52400         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52401         * manual/fdl-1.3.texi: New file.
52402         * manual/fdl-1.1.texi: File removed.
52404         [BZ #13738]
52405         * manual/libc.texinfo (FDL_VERSION): New @set.
52406         Use it for mention of FDL in cover text.
52407         (Documentation License): Use it in @include file name.
52409 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52410             Roland McGrath  <roland@hack.frob.com>
52412         [BZ #5461]
52413         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52414         (not LONG_LONG_MAX and LONG_LONG_MIN.
52415         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52416         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52417         name.
52418         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52420 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52422         [BZ #2547]
52423         [BZ #11365]
52424         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52425         manipulate bits before adding and subtracting TWO23[sx].
52426         * math/libm-test.inc (nearbyint_test): Add more tests.
52428 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52430         [BZ #2548]
52431         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52432         bits before adding and subtracting TWO23[sx].
52433         * math/libm-test.inc (rint_test): Add more tests.
52434         (rint_test_tonearest): Likewise.
52435         (rint_test_towardzero): Likewise.
52436         (rint_test_downward): Likewise.
52437         (rint_test_upward: Likewise.
52439 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52441         [BZ #10110]
52442         * include/stdc-predef.h: New file.  Extracted from features.h.
52443         * include/features.h: Include stdc-predef.h.
52444         * Makefile (headers): Add stdc-predef.h.
52445         * CONFORMANCE (Compiler limitations): Update.
52447 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52449         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52451 2012-02-21  David S. Miller  <davem@davemloft.net>
52453         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52454         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52456 2012-02-20  David S. Miller  <davem@davemloft.net>
52458         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52459         using a normal save/restore sequence, rather than allocating a
52460         dummy stack frame just to store a frame pointer and restore.
52461         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52463 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52465         * manual/install.texi: Fix stray word in line-wrapped comment.
52467 2012-02-20  David S. Miller  <davem@davemloft.net>
52469         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52470         both binutils and gcc support GOTDATA.
52472         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52473         "rd %pc" in the PIC register setup sequences.
52475         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52476         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52477         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52478         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52479         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52481         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52482         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52484         (SYSCALL_ERROR_HANDLER): Likewise.
52485         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52486         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52487         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52488         (SYSCALL_ERROR_HANDLER): Likewise.
52490         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52491         (HAVE_GCC_GOTDATA): New.
52492         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52493         relocation support in both binutils and gcc.
52494         * sysdeps/sparc/elf/configure: Regenerate.
52496         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52497         * sysdeps/sparc/sparc32/elf/configure: Delete.
52498         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52499         * sysdeps/sparc/sparc64/elf/configure: Delete.
52500         * sysdeps/sparc/elf/configure.in: New file.
52501         * sysdeps/sparc/elf/configure: Generate.
52503         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52504         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52506         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52507         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52509 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52511         * manual/install.texi: Do not mention specific glibc version
52512         numbers.
52513         * manual/libc.texinfo (VERSION, UPDATED): Update.
52514         (@copying): Use @copyright{} and range of years.
52516 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52518         [BZ #13695]
52519         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52520         [crti.S not in sysdirs] (generated): Do not append.
52521         [crti.S not in sysdirs] (omit-deps): Likewise.
52522         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52523         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52524         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52525         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52526         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52527         Likewise.
52528         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52529         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52530         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52531         * csu/defs.awk: Remove file.
52532         * sysdeps/generic/initfini.c: Likewise.
52533         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52534         variable.
52535         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52536         Likewise.
52538 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52540         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52541         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52542         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52543         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52544         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52545         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52546         <bits/epoll.h>.
52547         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52548         (__EPOLL_PACKED): Define to empty if not defined by
52549         <bits/epoll.h>.
52550         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52551         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52552         bits/epoll.h.
52554 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52556         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52557         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52558         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52559         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52560         <bits/timerfd.h>.
52561         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52562         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52563         bits/timerfd.h.
52565 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52567         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52568         in C locale.
52569         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52570         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52571         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52574 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52576         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52577         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52579 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52581         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52582         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52583         defined.
52584         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52585         Likewise.
52586         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52587         entry for 2.16.
52589 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52591         * math/w_acos.c: Use non-signaling floating-point comparisons.
52592         * math/w_acosf.c: Likewise.
52593         * math/w_acosh.c: Likewise.
52594         * math/w_acoshf.c: Likewise.
52595         * math/w_acoshl.c: Likewise.
52596         * math/w_acosl.c: Likewise.
52597         * math/w_asin.c: Likewise.
52598         * math/w_asinf.c: Likewise.
52599         * math/w_asinl.c: Likewise.
52600         * math/w_atanh.c: Likewise.
52601         * math/w_atanhf.c: Likewise.
52602         * math/w_atanhl.c: Likewise.
52603         * math/w_exp2.c: Likewise.
52604         * math/w_exp2f.c: Likewise.
52605         * math/w_exp2l.c: Likewise.
52606         * math/w_j0.c: Likewise.
52607         * math/w_j0f.c: Likewise.
52608         * math/w_j0l.c: Likewise.
52609         * math/w_j1.c: Likewise.
52610         * math/w_j1f.c: Likewise.
52611         * math/w_j1l.c: Likewise.
52612         * math/w_jn.c: Likewise.
52613         * math/w_jnf.c: Likewise.
52614         * math/w_log.c: Likewise.
52615         * math/w_log10.c: Likewise.
52616         * math/w_log10f.c: Likewise.
52617         * math/w_log10l.c: Likewise.
52618         * math/w_log2.c: Likewise.
52619         * math/w_log2f.c: Likewise.
52620         * math/w_log2l.c: Likewise.
52621         * math/w_logf.c: Likewise.
52622         * math/w_logl.c: Likewise.
52623         * math/w_sqrt.c: Likewise.
52624         * math/w_sqrtf.c: Likewise.
52625         * math/w_sqrtl.c: Likewise.
52626         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52627         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52628         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52629         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52630         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52632 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52634         [BZ #9739]
52635         * manual/string.texi (strnlen): Use correct parameter name in
52636         equivalent expression.
52638 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52640         [BZ #11174]
52641         * manual/users.texi (seteuid): Consistently use neweuid for
52642         argument name.
52644 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52646         [BZ #13704]
52647         * manual/nss.texi (Services in the NSS configuration): Correct
52648         list of services in example configuration file.
52650 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52652         [BZ #11322]
52653         * manual/arith.texi: Remove statements about negative zero
52654         behaving identically to zero.
52656 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52658         [BZ #5993]
52659         * manual/install.texi: Do not document upgrading from libc5.
52661 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52663         [BZ #4596]
52664         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52666 2012-02-18  David S. Miller  <davem@davemloft.net>
52668         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52669         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52670         %o7 across the call.
52671         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52672         instead.
52673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52674         SETUP_PIC_REG_LEAF.
52675         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52676         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52677         * sysdeps/sparc/crtn.S: Likewise.
52679 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52681         * aout/Makefile: Remove.
52683 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52685         [BZ #13058]
52686         * manual/examples/argp-ex1.c (main): Format definition in GNU
52687         style.
52688         * manual/examples/argp-ex2.c (main): Likewise.
52689         * manual/examples/argp-ex3.c (main): Likewise.
52690         * manual/examples/argp-ex4.c (main): Likewise.
52691         * manual/examples/longopt.c (main): Use new-style prototype
52692         definition.
52693         * manual/examples/strncat.c (main): Specify return type and use
52694         (void) for arguments.
52695         * manual/examples/subopt.c (main): Use char **argv argument.
52697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52699         [BZ #5077]
52700         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52701         rounding modes.
52703 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52705         [BZ #6907]
52706         * manual/string.texi (strchr): Change when strchrnul is
52707         recommended.
52709 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52711         [BZ #174]
52712         * manual/locale.texi (setlocale): Document LOCPATH.
52714 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52716         [BZ #10210]
52717         * manual/process.texi (execle): Move @dots{} before last argument.
52719 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52721         [BZ #12047]
52722         * manual/charset.texi (Generic Charset Conversion): Fix typo
52723         (LC_TYPE -> LC_CTYPE).
52725 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52727         [BZ #5805]
52728         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52729         (scalbnf): Likewise.
52730         (scalbnl): Likewise.
52731         (scalbln): Likewise.
52732         (scalblnf): Likewise.
52733         (scalblnl): Likewise.
52734         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52735         (vwarnx): Likewise.
52736         (verr): Likewise.
52737         (verrx): Likewise.
52738         * manual/filesys.texi (telldir): Use braces around return type.
52739         * manual/llio.texi (mmap): Add space after comma.
52740         (mmap64): Likewise.
52741         * manual/math.texi (jn): Use @var{} on parameter names.
52742         (jnf): Likewise.
52743         (jnl): Likewise.
52744         (yn): Likewise.
52745         (ynf): Likewise.
52746         (ynl): Likewise.
52747         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52748         line.
52749         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52750         "...".
52751         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52752         (sched_get_priority_max): Likewise.
52753         * manual/signal.texi (sigvec): Add space after comma.
52754         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52755         names.
52756         (if_indextoname): Likewise.
52757         (if_freenameindex): Likewise.
52758         (sendto): Use ',' instead of '.' in prototype.
52759         * manual/startup.texi (syscall): Use @dots{} instead of literal
52760         "...".
52761         * manual/stdio.texi (__fpending): Separate initial words of
52762         paragraph from @deftypefun line.
52763         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52764         "...".
52765         (vsyslog): Use @var{} on parameter names.
52766         * manual/terminal.texi (stty): Use @var{} on parameter names.
52767         * manual/users.texi (getutmp): Use @var{} on parameter names.
52768         (getutmpx): Likewise.
52770 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52772         [BZ #6884]
52773         * manual/stdio.texi (fopen): Fix typos in description of
52774         ",ccs=STRING".
52776 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52778         [BZ #4026]
52779         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52780         get clock_id definition.
52782 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52784         [BZ #4822]
52785         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52786         (madvise): Cast every argument to void on its own.
52788 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52790         [BZ #9902]
52791         * manual/startup.texi (Exit Status): Fix typo.
52793 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52795         [BZ #10140]
52796         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52797         * manual/examples/argp-ex2.c: Likewise.
52798         * manual/examples/argp-ex3.c: Likewise.
52800 2012-02-16  Richard Henderson  <rth@redhat.com>
52802         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52803         * sysdeps/s390/s390-32/initfini.c: Remove.
52804         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52805         * sysdeps/s390/s390-64/initfini.c: Remove.
52807 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52809         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52810         compiler output for sysdeps/generic/initfini.c.
52811         * sysdeps/sh/elf/initfini.c: Remove file.
52813 2012-02-16  David S. Miller  <davem@davemloft.net>
52815         [BZ #11494]
52816         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52818         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52819         * sysdeps/sparc/crti.S: New file.
52820         * sysdeps/sparc/crtn.S: New file.
52821         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52822         * sysdeps/sparc/sparc64/Makefile: Likewise.
52824 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52826         [BZ #3335]
52827         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52829 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52831         [BZ #4822]
52832         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52834         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52835         (write, read, close): Likewise.
52836         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52838 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52840         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52841         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52842         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52843         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52844         <bits/signalfd.h>.
52845         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52847         bits/signalfd.h.
52849 2012-02-14  Marek Polacek  <polacek@redhat.com>
52851         * sysdeps/x86_64/crti.S: New file.
52852         * sysdeps/x86_64/crtn.S: New file.
52853         * sysdeps/x86_64/elf/initfini.c: Remove file.
52855 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52857         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52858         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52859         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52860         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52861         <bits/inotify.h>.
52862         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52864         bits/inotify.h.
52866 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52868         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52869         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52870         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52871         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52872         <bits/eventfd.h>.
52873         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52875         bits/eventfd.h.
52877 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52879         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52880         __feraiseexcept instead of feraiseexcept.
52882         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52883         nanosleep invocations.
52884         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52885         strings, and add error checking for a nanosleep invocations.
52887 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52889         Replace FSF snail mail address with URLs, as per GNU coding standards.
52890         Most of the snail mail addresses were wrong anyway, and omitting
52891         them makes the source code easier to maintain.  Almost all of the
52892         changes are to license notices and to locale LC_IDENTIFICATION
52893         addresses, except for this one:
52894         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52895         not its snail mail address.
52897 2012-02-09  Richard Henderson  <rth@twiddle.net>
52899         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52900         of kernel-features.h.
52902         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52904 2012-02-08  Marek Polacek  <polacek@redhat.com>
52906         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52907         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52908         * sysdeps/gnu/_G_config.h: Likewise.
52909         * sysdeps/generic/_G_config.h: Likewise.
52911 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52913         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52914         tests.
52915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52917         * sysdeps/powerpc/powerpc32/crti.S: New file.
52918         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52919         * sysdeps/powerpc/powerpc64/crti.S: New file.
52920         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52922         * Makeconfig (have-initfini): Don't set.
52923         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52924         * configure.in (nopic_initfini): Don't substitute.
52925         * config.h.in (HAVE_INITFINI): Don't #undef.
52926         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52927         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52929 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
52931         Support crti.S and crtn.S provided directly by architectures.
52932         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52933         [crti.S in sysdirs] (omit-deps): Likewise.
52934         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52935         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52936         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52937         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52938         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52939         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52940         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52941         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52942         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52943         compiler output for sysdeps/generic/initfini.c.
52944         * sysdeps/i386/elf/Makefile: Remove file.
52945         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52947 2012-02-07  Marek Polacek  <polacek@redhat.com>
52949         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52950         * sysdeps/gnu/_G_config.h: Likewise.
52951         * sysdeps/mach/hurd/_G_config.h: Likewise.
52953 2012-02-07  Marek Polacek  <polacek@redhat.com>
52955         * math/Makefile (tests): Add tst-CMPLX2.
52956         * math/tst-CMPLX2.c: New file.
52958 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
52960         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52962         * math/libm-test.inc (jn_test): Add missing L suffix.
52964 2012-02-06  Marek Polacek  <polacek@redhat.com>
52966         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52967         * sysdeps/i386/fpu/e_powf.S: Likewise.
52968         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52969         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52970         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52971         * sysdeps/i386/fpu/e_pow.S: Likewise.
52972         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52973         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52974         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52975         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52976         * sysdeps/i386/fpu/e_log2.S: Likewise.
52977         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52978         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52979         * sysdeps/i386/fpu/e_powl.S: Likewise.
52980         * sysdeps/i386/fpu/s_log1p.S: Likewise.
52981         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52982         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52983         * sysdeps/i386/fpu/e_logl.S: Likewise.
52984         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52985         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52986         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52987         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52988         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52989         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52990         * sysdeps/i386/fpu/e_log.S: Likewise.
52991         * sysdeps/i386/fpu/s_cexp.S: Likewise.
52992         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52993         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52994         * sysdeps/i386/fpu/e_logf.S: Likewise.
52995         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52996         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52997         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52998         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52999         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53000         * sysdeps/i386/fpu/e_log10.S: Likewise.
53001         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53002         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53003         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53004         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53005         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53006         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53007         * sysdeps/i386/asm-syntax.h: Likewise.
53008         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53009         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53010         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53011         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53012         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53013         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53014         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53015         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53016         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53017         * sysdeps/powerpc/sysdep.h: Likewise.
53018         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53019         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53021 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53023         [BZ #411]
53024         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53026 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53028         * sysdeps/i386/sysdep.h: Include <features.h>.
53029         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53030         version.
53032 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53034         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53035         Define.
53036         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53037         LOAD_PIC_REG_STR.
53039 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53041         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53042         (SETUP_PIC_REG): Use GET_PC_THUNK.
53043         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53044         macro.
53046 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53048         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53049         for non-PIC compilation.
53050         (SETUP_PIC_REG): Add .p2align directive.
53051         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53052         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53053         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53054         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53055         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53056         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53057         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53065         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53066         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53067         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53068         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53069         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53070         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53071         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53075         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53077         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53078         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53079         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53080         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53081         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53082         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53083         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53086         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53087         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53088         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53089         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53090         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53091         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53093 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53095         * math/tst-CMPLX.c: Include <stdio.h>.
53097 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53099         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53100         float.
53101         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53102         * sysdeps/sparc/bits/mathdef.h: Likewise.
53104 2012-01-31  Marek Polacek  <polacek@redhat.com>
53106         * libio/libio.h: Don't define _PARAMS.
53107         * locale/programs/config.h: Don't define PARAMS.
53108         * stdlib/strtol_l.c: Likewise.
53109         (__strtol_l): Remove PARAMS from the prototype.
53111 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53113         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53114         names.  Just use the correct names.  Remove unnecessary wrapper
53115         functions.
53116         * malloc/arena.c: Likewise.
53117         * malloc/hooks.c: Likewise.
53119         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53120         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53121         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53123 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53125         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53126         into tail calls.
53127         (update_get_addr): New function.
53128         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53129         GET_ADDR_MODULE parameter.
53131 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53133         * crypt/cert.c: Remove __STDC__ conditionals.
53134         * crypt/crypt-entry.c: Likewise.
53135         * crypt/crypt_util.c: Likewise.
53136         * libio/filedoalloc.c: Likewise.
53137         * libio/fileops.c: Likewise.
53138         * libio/genops.c: Likewise.
53139         * libio/iofclose.c: Likewise.
53140         * libio/iofdopen.c: Likewise.
53141         * libio/iofopen.c: Likewise.
53142         * libio/iofopen64.c: Likewise.
53143         * libio/iogetdelim.c: Likewise.
53144         * libio/iopopen.c: Likewise.
53145         * libio/obprintf.c: Likewise.
53146         * libio/oldfileops.c: Likewise.
53147         * libio/oldiofclose.c: Likewise.
53148         * libio/oldiofdopen.c: Likewise.
53149         * libio/oldiofopen.c: Likewise.
53150         * libio/oldiopopen.c: Likewise.
53151         * libio/wfiledoalloc.c: Likewise.
53152         * libio/wgenops.c: Likewise.
53153         * locale/programs/xmalloc.c: Likewise.
53154         * misc/syslog.c: Likewise.
53155         * stdio-common/xbug.c: Likewise.
53156         * string/memchr.c: Likewise.
53157         * string/memcmp.c: Likewise.
53158         * string/memrchr.c: Likewise.
53159         * string/rawmemchr.c: Likewise.
53160         * sysdeps/posix/getcwd.c: Likewise.
53161         * time/strftime_l.c: Likewise.
53163 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53165         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53166         * config.make.in (config-cflags-sse2avx): Define.
53167         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53168         Fix typo.
53170 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53172         * scripts/config.guess: Update from upstream config git repository.
53173         * scripts/config.sub: Likewise.
53175 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53177         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53178         (EM_NUM): Update.
53179         (R_TILEPRO_*, R_TILEGX_*): New macros.
53181         * scripts/firstversions.awk: Fix bug in version range handling.
53183         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53185         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53187         * include/sys/epoll.h: New file.
53188         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53189         libc_hidden_def.
53191 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53193         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53194         Avoid unnecessary __WORDSIZE == 64 test.
53195         (fmaxf): Use VEX format if possible.
53196         (fmax): Likewise.
53197         (fminf): Likewise.
53198         (fmin): Likewise.
53200         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53201         * math/math_private.h: Remove libc_fegetround* and
53202         libc_fesetround*.
53203         * sysdeps/i386/configure.in: Check for -msse2avx.
53204         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53205         also if SSE2AVX is defined.
53206         Remove libc_fegetround* and libc_fesetround*.
53207         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53208         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53209         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53210         of HAS_YMM_USABLE.
53211         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53212         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53213         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53214         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53215         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53217         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53219 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53221         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53222         size is not set.
53223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53225 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53227         [BZ #13618]
53228         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53229         relocation.
53230         * Makeconfig (libm): Define.
53231         * elf/Makefile: Add rules to build and run tst-relsort1.
53232         * elf/tst-relsort1.c: New file.
53233         * elf/tst-relsort1mod1.c: New file.
53234         * elf/tst-relsort1mod2.c: New file.
53236 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53238         * math/s_ldexp.c: Remove __STDC__ conditionals.
53239         * math/s_ldexpf.c: Likewise.
53240         * math/s_ldexpl.c: Likewise.
53241         * math/s_nextafter.c: Likewise.
53242         * math/s_nexttowardf.c: Likewise.
53243         * math/s_significand.c: Likewise.
53244         * math/s_significandf.c: Likewise.
53245         * math/s_significandl.c: Likewise.
53246         * math/w_jnl.c: Likewise.
53247         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53248         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53249         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53250         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53251         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53252         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53253         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53254         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53255         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53256         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53257         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53258         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53259         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53260         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53261         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53262         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53263         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53264         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53265         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53266         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53267         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53268         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53269         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53270         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53271         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53272         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53273         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53274         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53275         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53276         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53277         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53278         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53279         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53280         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53281         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53282         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53283         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53284         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53285         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53286         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53287         * sysdeps/ieee754/k_standard.c: Likewise.
53288         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53289         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53290         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53291         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53292         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53293         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53294         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53295         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53296         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53297         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53298         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53299         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53300         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53301         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53302         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53304         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53305         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53306         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53307         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53308         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53309         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53310         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53311         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53312         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53313         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53314         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53315         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53316         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53317         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53318         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53319         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53320         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53321         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53322         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53323         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53324         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53325         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53326         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53327         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53328         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53329         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53330         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53331         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53332         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53333         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53334         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53335         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53336         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53337         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53338         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53339         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53340         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53341         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53342         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53343         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53344         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53345         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53346         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53347         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53348         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53349         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53350         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53351         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53352         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53353         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53354         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53355         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53356         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53357         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53358         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53359         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53360         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53361         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53362         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53363         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53364         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53365         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53366         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53367         * sysdeps/ieee754/s_matherr.c: Likewise.
53368         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53369         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53371         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53373 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53375         * crypt/md5.h: Remove __STDC__ conditionals.
53376         * libio/libioP.h: Likewise.
53377         * locale/programs/config.h: Likewise.
53378         * sysdeps/generic/sysdep.h: Likewise.
53379         * sysdeps/i386/asm-syntax.h: Likewise.
53380         * sysdeps/s390/asm-syntax.h: Likewise.
53381         * sysdeps/unix/sysdep.h: Likewise.
53382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53385 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53387         * libio/libio.h: Remove __STDC__ conditionals.
53388         * malloc/obstack.h: Likewise.
53389         * math/complex.h: Likewise.
53390         * math/math.h: Likewise.
53391         * sysdeps/generic/_G_config.h: Likewise.
53392         * sysdeps/gnu/_G_config.h: Likewise.
53393         * sysdeps/mach/hurd/_G_config.h: Likewise.
53394         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53395         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53396         * sysdeps/sparc/bits/mathdef.h: Likewise.
53398 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53400         [BZ #13583]
53401         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53402         Clean up HAS_* macros.
53403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53404         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53405         possible.
53406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53407         HAS_AVX.
53408         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53409         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53410         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53411         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53412         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53414 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53416         * elf/tst-unique3.cc (gets): Remove declaration.
53417         * elf/tst-unique3lib.cc (gets): Likewise.
53418         * elf/tst-unique3lib2.cc (gets): Likewise.
53419         * elf/tst-unique4.cc (gets): Likewise.
53421 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53423         * include/stdio.h: Add C++ protection.  Add gets declarations and
53424         definitions.
53425         * debug/tst-chk1.c: Don't declare gets here.
53426         * stdio-common/tst-gets.c: Likewise.
53428 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53430         * posix/glob: Remove directory.
53432 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53434         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53436 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53438         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53439         of the non-standard EPFNOSUPPORT.
53441 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53443         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53444         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53445         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53447 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53449         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53451 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53453         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53454         transient errors.
53455         * nscd/grpcache.c (cache_addgr): Likewise.
53456         * nscd/hstcache.c (cache_addhst): Likewise.
53457         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53458         * nscd/pwdcache.c (cache_addpw): Likewise.
53459         * nscd/servicescache.c (cache_addserv): Likewise.
53461 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53463         * malloc/malloc.c: Various cleanups.
53464         * malloc/hooks.c: Likewise.
53466         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53467         * stdlib/bug-fmtmsg1.c: New file.
53469         * stdlib/fmtmsg.c (init): Add missing unlock.
53470         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53472 2012-01-12  Marek Polacek  <polacek@redhat.com>
53474         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53475         and _GNU_SOURCE.
53477 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53479         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53480         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53481         macro to ensure uniqueness of label name.
53482         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53483         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53485 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53487         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53489         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53490         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53491         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53492         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53494 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53496         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53498         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53499         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53500         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53502         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53504         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53505         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53506         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53507         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53509         * math/bits/math-finite.h: Add ldexp support.
53511 2012-01-10  Marek Polacek  <polacek@redhat.com>
53513         * locale/programs/localedef.h (show_archive_content): Add noreturn
53514         attribute.
53516 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53518         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53520 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53522         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53524         * io/Makefile (headers): Add bits/poll2.h.
53526 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53529         typo #include statement.
53531 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53533         * include/sys/cdefs.h: Define __attribute_alloc_size.
53534         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53535         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53536         * elf/pldd.c: Likewise.
53537         * iconv/iconv_charmap.c: Likewise.
53538         * iconv/iconvconfig.c: Likewise.
53539         * iconv/strtab.c: Likewise.
53540         * locale/programs/locale.c: Likewise.
53541         * locale/programs/localedef.h: Likewise.
53542         * locale/programs/simple-hash.c: Likewise.
53543         * nscd/nscd.h: Likewise.
53544         * nss/makedb.c: Likewise.
53545         * sysdeps/generic/ldconfig.h: Likewise.
53546         * locale/programs/localedef.c: Remove xmalloc prototype.
53547         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53549 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53551         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53552         appropriate.
53554 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53556         * math/Makefile (tests): Add tst-CMPLX.
53557         * math/tst-CMPLX.c: New file.
53559         * math/complex.h (CMPLXL): Fix typo.
53561         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53562         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53563         GLIBC_2.16.
53564         * debug/tst-chk1.c: Add poll and ppoll tests.
53565         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53566         * include/sys/poll.h: Add hidden proto for ppoll.
53567         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53568         * sysdeps/mach/hurd/ppoll.c: Likewise.
53569         * io/ppoll.c: Likewise.
53570         * debug/poll_chk.c: New file.
53571         * debug/ppoll_chk.c: New file.
53572         * include/bits/poll2.h: New file.
53573         * io/bits/poll2.h: New file.
53575         [BZ #1350]
53576         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53578         * configure.in: static is always set to yes.  Remove.
53579         * config.make.in: Don't set build-static.
53580         * Makeconfig: Remove use of build-static.
53581         * dlfcn/Makefile: Likewise.
53582         * elf/Makefile: Likewise.
53583         * math/Makefile: Likewise.
53584         * misc/Makefile: Likewise.
53585         * nptl/Makefile: Likewise.
53586         * sysdeps/mach/hurd/Makefile: Likewise.
53588         * configure.in: PWD_P is not used anymore.
53589         * config.make.in: Remove PWD_P entry.
53591         * configure.in: Remove last remnants of RANLIB.
53592         No need to check for signed size_t anymore.
53593         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53594         and IA-64.
53595         Remove __builtin_expect test because we require at least gcc 3.4.
53596         * aclocal.m4: Likewise.
53598         * wcsmbs/mbrtoc16.c: Implement using towc function.
53599         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53600         * wcsmbs/wcsmbsload.c: Likewise.
53601         * iconv/gconv_simple.c: Likewise.
53602         * iconv/gconv_int.h: Likewise.
53603         * iconv/gconv_builtin.h: Likewise.
53604         * iconv/iconv_prog.c: Remove CHAR16 handling.
53606         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53608         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53610         * configure.in: Remove --with-elf and --enable-bounded options.
53611         Dont set base_machine for ia64.  More non-ELF conditions removed.
53612         Remove testing and setting of leading underscore information.
53613         * config.make.in (build-bounded): Set to no.
53614         * config.h.in: Remove NO_UNDERSCORES entry.
53615         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53616         them.
53617         * csu/start.c: Remove !NO_UNDERSCORE code.
53618         * locale/localeinfo.h: Likewise.
53619         * sysdeps/generic/machine-gmon.h: Likewise.
53620         * sysdeps/generic/sysdep.h: Likewise.
53621         * sysdeps/i386/sysdep.h: Likewise.
53622         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53623         * sysdeps/mach/sysdep.h: Likewise.
53624         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53625         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53626         * sysdeps/sh/sysdep.h: Likewise.
53627         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53628         * sysdeps/unix/i386/sysdep.S: Likewise.
53629         * sysdeps/unix/sparc/start.c: Likewise.
53630         * sysdeps/unix/sparc/sysdep.S: Likewise.
53631         * sysdeps/unix/sparc/sysdep.h: Likewise.
53632         * sysdeps/unix/start.c: Likewise.
53633         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53634         * sysdeps/x86_64/sysdep.h: Likewise.
53636 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53638         [BZ #13553]
53639         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53640         for non-gcc.
53641         * argp/argp-fmtstream.h: Use const instead __const.
53642         * argp/argp.h: Likewise.
53643         * assert/assert.h: Likewise.
53644         * bits/fenv.h: Likewise.
53645         * bits/sched.h: Likewise.
53646         * bits/sigset.h: Likewise.
53647         * bits/sigthread.h: Likewise.
53648         * catgets/nl_types.h: Likewise.
53649         * conform/data/pthread.h-data: Likewise.
53650         * crypt/crypt-private.h: Likewise.
53651         * crypt/crypt.h: Likewise.
53652         * crypt/crypt_util.c: Likewise.
53653         * ctype/ctype.h: Likewise.
53654         * debug/execinfo.h: Likewise.
53655         * debug/mbsnrtowcs_chk.c: Likewise.
53656         * debug/mbsrtowcs_chk.c: Likewise.
53657         * debug/wcsnrtombs_chk.c: Likewise.
53658         * debug/wcsrtombs_chk.c: Likewise.
53659         * debug/wcstombs_chk.c: Likewise.
53660         * dirent/dirent.h: Likewise.
53661         * dlfcn/dlfcn.h: Likewise.
53662         * elf/neededtest4.c: Likewise.
53663         * grp/grp.h: Likewise.
53664         * gshadow/gshadow.h: Likewise.
53665         * iconv/gconv.h: Likewise.
53666         * iconv/gconv_int.h: Likewise.
53667         * iconv/gconv_simple.c: Likewise.
53668         * iconv/iconv.h: Likewise.
53669         * iconv/loop.c: Likewise.
53670         * iconv/skeleton.c: Likewise.
53671         * include/aio.h: Likewise.
53672         * include/aliases.h: Likewise.
53673         * include/argz.h: Likewise.
53674         * include/arpa/inet.h: Likewise.
53675         * include/assert.h: Likewise.
53676         * include/dirent.h: Likewise.
53677         * include/dlfcn.h: Likewise.
53678         * include/execinfo.h: Likewise.
53679         * include/fcntl.h: Likewise.
53680         * include/fenv.h: Likewise.
53681         * include/glob.h: Likewise.
53682         * include/grp.h: Likewise.
53683         * include/libintl.h: Likewise.
53684         * include/mntent.h: Likewise.
53685         * include/netdb.h: Likewise.
53686         * include/pwd.h: Likewise.
53687         * include/rpc/netdb.h: Likewise.
53688         * include/sched.h: Likewise.
53689         * include/search.h: Likewise.
53690         * include/shadow.h: Likewise.
53691         * include/signal.h: Likewise.
53692         * include/stdio.h: Likewise.
53693         * include/stdlib.h: Likewise.
53694         * include/string.h: Likewise.
53695         * include/sys/socket.h: Likewise.
53696         * include/sys/stat.h: Likewise.
53697         * include/sys/statfs.h: Likewise.
53698         * include/sys/statvfs.h: Likewise.
53699         * include/sys/syslog.h: Likewise.
53700         * include/sys/time.h: Likewise.
53701         * include/sys/uio.h: Likewise.
53702         * include/time.h: Likewise.
53703         * include/unistd.h: Likewise.
53704         * include/utmp.h: Likewise.
53705         * include/wchar.h: Likewise.
53706         * include/wctype.h: Likewise.
53707         * inet/aliases.h: Likewise.
53708         * inet/arpa/inet.h: Likewise.
53709         * inet/netinet/ether.h: Likewise.
53710         * inet/netinet/in.h: Likewise.
53711         * intl/libintl.h: Likewise.
53712         * io/bits/fcntl2.h: Likewise.
53713         * io/fcntl.h: Likewise.
53714         * io/ftw.h: Likewise.
53715         * io/sys/poll.h: Likewise.
53716         * io/sys/stat.h: Likewise.
53717         * io/sys/statfs.h: Likewise.
53718         * io/sys/statvfs.h: Likewise.
53719         * io/utime.h: Likewise.
53720         * libio/bits/stdio.h: Likewise.
53721         * libio/bits/stdio2.h: Likewise.
53722         * libio/libio.h: Likewise.
53723         * libio/libioP.h: Likewise.
53724         * libio/stdio.h: Likewise.
53725         * locale/lc-ctype.c: Likewise.
53726         * locale/locale.h: Likewise.
53727         * login/utmp.h: Likewise.
53728         * malloc/arena.c: Likewise.
53729         * malloc/malloc.c: Likewise.
53730         * malloc/malloc.h: Likewise.
53731         * malloc/mcheck.c: Likewise.
53732         * malloc/mtrace.c: Likewise.
53733         * math/bits/mathcalls.h: Likewise.
53734         * math/fenv.h: Likewise.
53735         * math/math_private.h: Likewise.
53736         * misc/bits/error.h: Likewise.
53737         * misc/bits/syslog.h: Likewise.
53738         * misc/err.h: Likewise.
53739         * misc/error.h: Likewise.
53740         * misc/fstab.h: Likewise.
53741         * misc/mntent.h: Likewise.
53742         * misc/regexp.h: Likewise.
53743         * misc/search.h: Likewise.
53744         * misc/sgtty.h: Likewise.
53745         * misc/sys/mman.h: Likewise.
53746         * misc/sys/syslog.h: Likewise.
53747         * misc/sys/uio.h: Likewise.
53748         * misc/sys/xattr.h: Likewise.
53749         * misc/ttyent.h: Likewise.
53750         * nis/rpcsvc/ypclnt.h: Likewise.
53751         * nss/nss.h: Likewise.
53752         * posix/bits/unistd.h: Likewise.
53753         * posix/fnmatch.h: Likewise.
53754         * posix/glob.h: Likewise.
53755         * posix/sched.h: Likewise.
53756         * posix/spawn.h: Likewise.
53757         * posix/sys/wait.h: Likewise.
53758         * posix/unistd.h: Likewise.
53759         * posix/wordexp.h: Likewise.
53760         * pwd/pwd.h: Likewise.
53761         * resolv/netdb.h: Likewise.
53762         * resource/sys/resource.h: Likewise.
53763         * rt/aio.h: Likewise.
53764         * rt/bits/mqueue2.h: Likewise.
53765         * rt/mqueue.h: Likewise.
53766         * shadow/shadow.h: Likewise.
53767         * signal/signal.h: Likewise.
53768         * socket/send.c: Likewise.
53769         * socket/sendto.c: Likewise.
53770         * socket/sys/socket.h: Likewise.
53771         * stdio-common/printf.h: Likewise.
53772         * stdlib/bits/stdlib.h: Likewise.
53773         * stdlib/fmtmsg.h: Likewise.
53774         * stdlib/monetary.h: Likewise.
53775         * stdlib/stdlib.h: Likewise.
53776         * stdlib/ucontext.h: Likewise.
53777         * streams/stropts.h: Likewise.
53778         * string/argz.h: Likewise.
53779         * string/bits/string2.h: Likewise.
53780         * string/string.h: Likewise.
53781         * string/strings.h: Likewise.
53782         * sunrpc/rpc/auth.h: Likewise.
53783         * sunrpc/rpc/auth_des.h: Likewise.
53784         * sunrpc/rpc/clnt.h: Likewise.
53785         * sunrpc/rpc/netdb.h: Likewise.
53786         * sunrpc/rpc/pmap_clnt.h: Likewise.
53787         * sunrpc/rpc/xdr.h: Likewise.
53788         * sysdeps/generic/inttypes.h: Likewise.
53789         * sysdeps/generic/net/if.h: Likewise.
53790         * sysdeps/generic/sys/swap.h: Likewise.
53791         * sysdeps/gnu/net/if.h: Likewise.
53792         * sysdeps/gnu/utmpx.h: Likewise.
53793         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53794         * sysdeps/i386/i486/bits/string.h: Likewise.
53795         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53796         * sysdeps/s390/bits/string.h: Likewise.
53797         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53798         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53799         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53800         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53801         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53802         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53803         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53804         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53805         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53806         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53807         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53808         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53809         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53810         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53811         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53812         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53813         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53814         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53815         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53818         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53819         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53820         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53821         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53822         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53823         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53824         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53825         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53826         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53827         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53828         * sysvipc/sys/ipc.h: Likewise.
53829         * sysvipc/sys/msg.h: Likewise.
53830         * sysvipc/sys/sem.h: Likewise.
53831         * sysvipc/sys/shm.h: Likewise.
53832         * termios/termios.h: Likewise.
53833         * time/sys/time.h: Likewise.
53834         * time/time.h: Likewise.
53835         * wcsmbs/bits/wchar2.h: Likewise.
53836         * wcsmbs/uchar.h: Likewise.
53837         * wcsmbs/wchar.h: Likewise.
53838         * wctype/wctype.h: Likewise.
53840         [BZ #13551]
53841         * Makeconfig: Remove all but ELF support including AIX support.
53842         * Makerules: Likewise.
53843         * config.h.in: Likewise.
53844         * config.make.in: Likewise.
53845         * configure: Likewise.
53846         * configure.in: Likewise.
53847         * csu/Makefile: Likewise.
53848         * csu/version.c: Likewise.
53849         * debug/Makefile: Likewise.
53850         * dlfcn/Makefile: Likewise.
53851         * elf/Makefile: Likewise.
53852         * extra-lib.mk: Likewise.
53853         * iconv/Makefile: Likewise.
53854         * include/libc-symbols.h: Likewise.
53855         * include/shlib-compat.h: Likewise.
53856         * resolv/Makefile: Likewise.
53857         * resolv/res_libc.c: Likewise.
53858         * rt/Makefile: Likewise.
53859         * sysdeps/i386/asm-syntax.h: Likewise.
53860         * sysdeps/i386/sysdep.h: Likewise.
53861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53862         * sysdeps/mach/sysdep.h: Likewise.
53863         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53864         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53865         * sysdeps/s390/asm-syntax.h: Likewise.
53866         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53867         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53868         * sysdeps/sh/sysdep.h: Likewise.
53869         * sysdeps/unix/sparc/sysdep.h: Likewise.
53870         * sysdeps/wordsize-32/divdi3.c: Likewise.
53871         * sysdeps/x86_64/sysdep.h: Likewise.
53873         * argp/Versions: Remove _argp_unlock_xxx.
53875         [BZ #13559]
53876         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53877         * abilist/libBrokenLocale.abilist: Likewise.
53878         * abilist/libanl.abilist: Likewise.
53879         * abilist/libc.abilist: Likewise.
53880         * abilist/libcrypt.abilist: Likewise.
53881         * abilist/libdl.abilist: Likewise.
53882         * abilist/libm.abilist: Likewise.
53883         * abilist/libnsl.abilist: Likewise.
53884         * abilist/libpthread.abilist: Likewise.
53885         * abilist/libresolv.abilist: Likewise.
53886         * abilist/librt.abilist: Likewise.
53887         * abilist/libthread_db.abilist: Likewise.
53888         * abilist/libutil.abilist: Likewise.
53889         * abilist/libnss_db.abilist: New file.
53891         * scripts/abilist.awk: Add support for indirect functions.
53893         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53895         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53897         * shlib-versions: Remove entries for ports architectures.
53899         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53900         files in ports.
53901         * elf/stackguard-macros.h: Remove support for IA-64.
53902         * elf/tst-auditmod1.c: Likewise.
53903         * sysdeps/generic/ldsodefs.h: Likewise.
53905         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53906         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53907         configure files.
53909         [BZ #13552]
53910         * configure.in: Remove --enable-omitfp support.
53911         * FAQ.in: Adjust.
53912         * config.make.in: Likewise.
53913         * Makeconfig: Likewise.
53914         * manual/install.texi: Likewise.
53916         In case anyone cares, the IA-64 architecture could move to ports.
53917         * sysdeps/ia64/*: Removed.
53918         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53919         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53921         [BZ #13555]
53922         * configure.in: Remove entries for unsupported architectures.
53924         [BZ #13533]
53925         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53926         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
53927         routines.
53928         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53929         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53930         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
53931         fall back to using wcrtomb.
53932         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53933         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
53934         renaming.
53935         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53936         * wcsmbs/tst-c16c32-1.c: New file.
53938         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53939         local variable.
53941         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53943         * elf/tst-unique3.cc: Add explicit declaration of gets.
53944         * elf/tst-unique3lib.cc: Likewise.
53945         * elf/tst-unique3lib2.cc: Likewise.
53946         * elf/tst-unique4.cc: Likewise.
53948         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53950 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
53952         [BZ #13566]
53953         * assert/assert.h (static_assert): Don't define for C++.
53954         * libio/stdio.h (gets): Do declare for C++ <= C++11.
53955         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53957 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
53959         * iconv/loop.c (single loop): Fix assertion in storing of
53960         remaining bytes.
53962         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53964 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
53966         * posix/getconf.c: Update copyright year.
53967         * nss/getent.c: Likewise.
53968         * nss/makedb.c: Likewise.
53969         * iconv/iconvconfig.c: Likewise.
53970         * iconv/iconv_prog.c: Likewise.
53971         * elf/ldconfig.c: Likewise.
53972         * elf/pldd.c: Likewise.
53973         * elf/sotruss.ksh: Likewise.
53974         * catgets/gencat.c: Likewise.
53975         * csu/version.c: Likewise.
53976         * elf/ldd.bash.in: Likewise.
53977         * elf/sprof.c (print_version): Likewise.
53978         * locale/programs/locale.c: Likewise.
53979         * locale/programs/localedef.c: Likewise.
53980         * login/programs/pt_chown.c: Likewise.
53981         * nscd/nscd.c (print_version): Likewise.
53982         * debug/xtrace.sh: Likewise.
53983         * malloc/memusage.sh: Likewise.
53984         * malloc/mtrace.pl: Likewise.
53985         * debug/catchsegv.sh: Likewise.
53987 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
53989         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53990         pure attribute.
53992 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
53994         [BZ #13533]
53995         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53996         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53997         transformations.
53998         * iconv/gconv_int.h: Likewise.
53999         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54000         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54001         from libc for GLIBC_2.16.
54002         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54003         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54004         * wcsmbs/uchar.h: Really define mbstate_t.
54005         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54006         * wcsmbs/c16rtomb.c: New file.
54007         * wcsmbs/mbrtoc16.c: New file.
54008         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54009         for C/POSIX locale.
54010         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54011         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54013         * wcsmbs/wchar.h: Add missing __restrict.
54015 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54017         [BZ #13532]
54018         * time/Makefile (routines): Add timespec_get.
54019         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54020         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54021         timespec for ISO C11.
54022         * time/timespec_get.c: New file.
54023         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54024         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54026         [BZ #13531]
54027         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54028         * stdlib/stdlib.h: Declare aligned_alloc.
54029         * Versions.def: Add GLIBC_2.16 for libc.
54030         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54032         [BZ 13527]
54033         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54034         ISO C11.
54036         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54037         code.
54039         [BZ #13528]
54040         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54042         [BZ #13529]
54043         * assert/assert.h (static_assert): Define.
54045         * version.h: Update for 2.16 development version.
54047         [BZ #13526]
54048         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54049         _ISOC11_SOURCE.
54051         * version.h (RELEASE): Bump for 2.15 release.
54052         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54054         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54055         Patch by Marek Polacek <mpolacek@redhat.com>.
54057         * bits/byteswap.h: Protect long long constants with __extension__.
54058         * sysdeps/i386/bits/byteswap.h: Likewise.
54059         * sysdeps/ia64/bits/byteswap.h: Likewise.
54060         * sysdeps/s390/bits/byteswap.h: Likewise.
54061         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54063 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54065         [BZ #13540]
54066         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54067         destination buffer.
54068         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54070 2011-12-23  Marek Polacek  <polacek@redhat.com>
54072         * elf/dl-addr.c (determine_info): Add inline keyword.
54073         * elf/tst-auditmod4b.c (check_avx): Likewise.
54074         * elf/tst-auditmod6b.c (check_avx): Likewise.
54075         * elf/tst-auditmod6c.c (check_avx): Likewise.
54076         * elf/tst-auditmod7b.c (check_avx): Likewise.
54078 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54080         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54081         !__SSE_MATH__.
54083 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54085         [BZ #13540]
54086         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54087         processing for last bytes.
54089 2011-08-06  Bruno Haible  <bruno@clisp.org>
54091         [BZ #13061]
54092         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54093         U+0385, not to U+1FEE.
54095         [BZ #13062]
54096         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54097         entry for U+00A5 U+0301.
54099 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54101         [BZ #13166]
54102         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54103         buffer for the output is too small.
54105         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54106         optimization.
54108         [BZ #13185]
54109         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54110         SSE flags if possible.
54112 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54114         [BZ #13540]
54115         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54116         processing for last bytes.
54118 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54120         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54121         (syscall-list-default-options, syscall-list-default-condition)
54122         (syscall-list-includes): Define.
54123         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54124         list of ABIs and options and #if conditions for each ABI.  Do not
54125         handle common syscalls between ABIs specially.
54126         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54127         Remove.
54128         (syscall-list-variants, syscall-list-32bit-options)
54129         (syscall-list-32bit-condition, syscall-list-64bit-options)
54130         (syscall-list-64bit-condition): Define.
54131         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54132         (syscall-list-variants, syscall-list-32bit-options)
54133         (syscall-list-32bit-condition, syscall-list-64bit-options)
54134         (syscall-list-64bit-condition): Define.
54135         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54136         Remove.
54137         (syscall-list-variants, syscall-list-32bit-options)
54138         (syscall-list-32bit-condition, syscall-list-64bit-options)
54139         (syscall-list-64bit-condition): Define.
54140         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54141         Remove.
54142         (syscall-list-variants, syscall-list-32bit-options)
54143         (syscall-list-32bit-condition, syscall-list-64bit-options)
54144         (syscall-list-64bit-condition): Define.
54146 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54148         * locale/iso-639.def: Add brx entry.
54150         [BZ #13328]
54151         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54152         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54154         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54155         __feraiseexcept_renamed.
54157 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54159         [BZ #13538]
54160         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54161         EPOLLET with unsigned values.
54162         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54163         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54165         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54166         to large cancellation.
54167         * math/s_cacoshf.c: Likewise.
54168         * math/s_cacoshl.c: Likewise.
54170 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54172         [BZ #13305]
54173         [BZ #12786]
54174         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54175         * math/s_cacoshf.c: Likewise.
54176         * math/s_cacoshl.c: Likewise.
54178 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54180         [BZ #13439]
54181         * iconv/gconv.h: Define __GCONV_SWAP.
54182         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54183         * iconvdata/utf-16.c: Likewise.
54184         * iconvdata/utf-32.c: Likewise.
54186 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54188         [BZ #13524]
54189         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54190         numerator after shifting it by one limb.
54192 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54194         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54195         under [__USE_EXTERN_INLINES].
54197 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54199         [BZ #13446]
54200         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54202 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54204         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54205         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54206         optimized code.
54207         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54208         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54209         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54210         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54211         for strncasecmp/strncasecmp_l compilation.
54212         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54213         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54215 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54217         [BZ #13484]
54218         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54219         of __asm__.
54221 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54223         [BZ #13506]
54224         * time/tzfile.c (__tzfile_read): Check values from file header.
54226 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54228         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54229         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54230         * powerpc/powerpc32/dl-start.S: Likewise.
54231         * powerpc/powerpc32/elf/start.S: Likewise.
54232         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54233         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54234         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54235         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54236         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54237         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54238         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54239         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54240         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54241         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54242         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54243         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54244         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54245         * powerpc/powerpc32/memset.S: Likewise.
54246         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54247         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54248         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54249         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54250         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54251         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54252         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54253         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54254         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54255         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54256         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54257         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54258         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54260 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54262         * math/libm-test.inc: Added more nearbyint tests.
54263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54265         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54268 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54270         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54271         FD_CLOEXEC.
54273 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54275         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54276         Add wcscpy-ssse3 wcscpy-c.
54277         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54278         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54279         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54280         * sysdeps/x86_64/wcschr.S: New file.
54281         * sysdeps/x86_64/wcsrchr.S: New file.
54282         * string/test-strcmp.c: Remove checking of wcscmp function for
54283         wrong alignments.
54284         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54285         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54286         wcsrchr-sse2 wcsrchr-c.
54287         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54288         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54289         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54290         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54291         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54292         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54293         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54294         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54295         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54296         * wcsmbc/wcschr.c (WCSCHR): New macro.
54298 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54300         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54301         * wcsmbs/test-wcsrchr.c: New file.
54302         * string/test-strrchr.c: Add wcsrchr support.
54303         (WIDE): New macro.
54304         * wcsmbs/test-wcscpy.c: New file.
54305         * string/test-strcpy.c: Add wcscpy support.
54306         (WIDE): New macro.
54308 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54310         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54311         the inner loop.
54313 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54315         [BZ #13472]
54316         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54318 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54320         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54321         Minor optimizations.
54323         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54324         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54325         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54327 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54329         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54330         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54331         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54332         for gcc to avoid warnings.
54333         * inet/Makefile (tests): Add tst-checks.
54334         * inet/tst-checks.c: New file.
54336         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54337         warning.
54339         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54340         __wmemcmp_sse2.
54342         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54343         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54345         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54347 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54349         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54350         problem.
54352         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54354 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54356         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54357         conditional on GCC version.
54358         (__arch_compare_and_exchange_val_8_acq)
54359         (__arch_compare_and_exchange_val_16_acq)
54360         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54361         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54362         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54364 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54366         * sysdeps/sh/backtrace.c: New file.
54368 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54370         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54371         parenthesis.
54373 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54375         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54376         falling back to utime.
54378 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54380         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54381         expectations for float.
54383 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54385         * locale/weight.h (findidx): Add parameter len.
54386         * locale/weightwc.h (findidx): Likewise.
54387         * posix/fnmatch_loop.c (FCT): Adjust caller.
54388         * posix/regcomp.c (build_equiv_class): Likewise.
54389         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54390         * posix/regexec.c (check_node_accept_bytes): Likewise.
54391         * string/strcoll_l.c (STRCOLL): Likewise.
54392         * string/strxfrm_l.c (STRXFRM): Likewise.
54394 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54396         * Makefile.in: Remove CVSOPT handling.
54397         * configure.in: Remove use of AC_REVISION.
54398         * iconvdata/Makefile (distribute): No need to filter out CVS.
54399         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54400         handling.
54402 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54404         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54405         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54406         [USE_AS_STRNCASECMP_L]: Likewise.
54407         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54408         NO_TLS_DIRECT_SEG_REFS.
54409         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54410         Fix argument offsets for non-PIC.
54411         [USE_AS_STRNCASECMP_L]: Likewise.
54412         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54413         NO_TLS_DIRECT_SEG_REFS.
54415 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54417         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54418         O_CLOEXEC.
54419         * locale/loadlocale.c (_nl_load_locale): Likewise.
54421 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54423         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54424         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54425         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54426         (SYSCALL_GETTIME): Set errno on error.
54428         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54429         count references to noai6ai_cached.
54431 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54433         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54435         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54436         FD_CLOEXEC for /proc/self/maps.
54438         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54439         FD_CLOEXEC for /proc/meminfo.
54441         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54442         gai.conf.
54444         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54445         FD_CLOEXEC for given file.
54447         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54449         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54450         FD_CLOEXEC for /etc/hosts.
54451         (_gethtent): Likewise.
54453         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54455         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54456         cancellation and set FD_CLOEXEC for /etc/netgroup.
54458         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54459         reading /etc/publickey.
54461         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54462         allow cancellation when reading /etc/group.
54464         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54465         cancellation.
54466         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54468         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54469         when using data file.
54471         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54473         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54474         (write_nis_obj): Use "c" and "e" in fopen.
54476         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54478         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54480         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54482         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54484         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54485         locale.alias.
54487         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54489         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54491         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54493         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54494         file parsing and set FD_CLOEXEC.
54496 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54498         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54500 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54502         * malloc/arena.c (arena_get2): Don't call reused_arena when
54503         _int_new_arena failed.
54505 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54507         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54508         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54509         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54510         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54511         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54513         to compile strcasecmp and strncasecmp.
54514         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54515         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54517         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54519 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54521         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54522         locale-defines.sym to gen-as-const-headers.
54523         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54524         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54525         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54526         to compile strcasecmp and strncasecmp.
54527         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54528         strcasecmp_l and strncasecmp_l.
54529         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54530         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54531         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54532         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54533         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54534         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54535         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54536         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54537         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54538         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54539         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54541 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54543         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54544         result of SYSDEP_GETTIME_CPU to retval.
54545         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54546         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54548         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54549         variable.
54551         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54552         mantissa words.
54553         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54555         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54556         from unused variable.
54558         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54559         DWARF definitions.
54560         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54561         for assembling.
54563         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54564         over namespaces.
54566         * sunrpc/rpc_prot.c (rejected): Fix case value.
54568         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54569         unsigned long long int to avoid warnings in shift.
54571         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54572         of use of trans.
54573         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54574         variable tmp.
54576         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54577         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54578         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54580         * nis/nis_table.c (nis_list): Use variable of correct type for
54581         result of __follow_path call.
54583 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54585         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54586         of math functions ceil, trunc, floor, round, and sqrt, when
54587         avaliable on the platform.
54588         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54589         name clash.
54590         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54591         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54592         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54594 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54596         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54597         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54599 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54601         * include/unistd.h: Fix __readlink return type.
54602         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54604 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54606         * stdlib/ucontext.h: Undo last change for makecontext.
54608 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54610         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54612         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54613         * setjmp/setjmp.h: Mark functions as non-leaf.
54614         * setjmp/bits/setjmp2.h: Likewise.
54615         * stdlib/ucontext.h: Likewise.
54617 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54619         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54620         (reused_arena): Don't check arena limit.
54621         (arena_get2): Atomically check arena limit.
54623 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54625         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54626         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54629         instructions.
54631 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54633         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54634         handler when locking.
54636         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54637         Fix size of allocated buffer.
54639 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54641         [BZ #10103]
54642         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54643         declarations for long double functions.
54644         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54646         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54648 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54650         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54651         installed.
54653         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54654         is disabled.
54656 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54658         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54660 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54662         * include/alloca.h (stackinfo_alloca_round): Define.
54663         (extend_alloca): Use it.
54664         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54665         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54666         here.
54668         * scripts/check-local-headers.sh: Ignore libaudit.h.
54670         * nscd/Makefile (extra-objs): Make recursively expanded.
54672 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54674         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54675         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54677         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54678         * posix/tst-rfc3484-2.c: Likewise.
54679         * posix/tst-rfc3484-3.c: Likewise.
54681         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54682         process_vm_writev.
54683         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54684         process_vm_writev.
54685         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54686         process_vm_writev from libc using GLIBC_2.15 version.
54688         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54690 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54692         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54693         stack usage.
54695 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54697         [BZ #13367]
54698         * nss/getent.c (initgroups_keys): Show error message in case no group
54699         names are given.
54701         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54702         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54703         __bump_nl_timestamp.
54704         * nscd/connections (nscd_init): When host database is served open
54705         netlink socket and request notification about configuration changes.
54706         (main_loop_poll): Track netlink file descriptor and bump timestamp
54707         in case data becomes available.
54708         (main_loop_epoll): Likewise.
54709         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54710         (database_pers_head): Add extra_data fileds.
54711         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54712         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54713         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54714         Adjust caller.
54715         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54716         in6ai data, call __free_in6ai.
54717         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54718         Add -DHAVE_NETLINK.
54719         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54720         interface information.  Reuse previous data if netlink timestamp
54721         is not changed.
54722         (__bump_nl_timestamp): New function.
54723         (__free_in6ai): New function.
54725 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54727         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54728         close_not_cancel_no_status here.
54729         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54731 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54733         [BZ #13276]
54734         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54735         return value.
54737         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54738         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54739         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54741 2011-07-03  Andreas Jaeger  <aj@suse.de>
54743         [BZ #10709]
54744         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54745         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54746         * math/libm-test.inc (sin_test): Add test case.
54748 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54750         [BZ #13337]
54751         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54752         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54754         * elf/chroot_canon.c (chroot_canon): Cleanups.
54756         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54758         [BZ #13335]
54759         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54760         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54762         * string/test-strchr.c: Make usable for strchrnul testing.
54763         * string/test-strchrnul.c: New file.
54764         * string/Makefile (strop-tests): Add strchrnul.
54766         * po/it.po: Update from translation team.
54767         * po/es.po: Likewise.
54769 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54771         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54772         the three constants needed as parameters.  Drop the others.
54773         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54774         __m128i_strloadu_tolower.
54775         Create and initialize variable zero and use it in all the places
54776         where _mm_setzero_si128 was used.
54778         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54779         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54780         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54781         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54782         anymore.
54783         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54784         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54785         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54786         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54787         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54788         __mpranred, __mptan.
54789         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54790         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54791         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54792         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54793         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54794         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54795         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54796         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54797         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54799 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54801         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54802         redefine if SHARED.
54803         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54805         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54806         wide char related routines to wcsmbs subdir.
54808 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54810         [BZ #13344]
54811         * misc/sys/cdefs.h (__THROWNL): Define.
54812         * posix/unistd.h: Use __THREADNL instead of __THREAD
54813         for memory synchronization functions.
54815 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54817         [BZ #13349]
54818         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54819         doesn't exist.
54820         * manual/stdio.texi (Obstack Streams): Node removed.
54822 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54824         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54825         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54826         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54828         * math/math_private.h (math_force_eval): Allow non-addressable
54829         arguments.
54830         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54832 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54834         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54835         file is not needed.
54837         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54838         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54839         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54840         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54841         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54842         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54843         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54844         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54845         Add AVX variants.
54846         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54847         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54848         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54849         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54850         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54851         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54852         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54853         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54854         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54855         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54856         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54857         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54858         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54859         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54860         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54861         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54862         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54863         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54864         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54866         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54867         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54869         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54870         place.  Use VEX encoding when compiling for AVX.
54872 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54874         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54875         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54877         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54879 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54881         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54882         useless if() expression.
54883         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54884         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54886         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54887         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54888         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54889         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54890         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54891         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54892         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54893         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54894         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54895         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54896         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54897         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54898         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54899         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54901         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54903         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54905 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54907         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54908         condition.
54909         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54911 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54913         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54914         .text section.  Avoid duplicate constants.
54915         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54916         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54917         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54918         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54919         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54920         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54923         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54924         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54925         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54926         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54927         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54928         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54929         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54930         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54931         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54932         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54933         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54935         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54936         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54937         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54938         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54939         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54940         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54941         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54942         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54943         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54944         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54945         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54946         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54947         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54948         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54949         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54950         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54951         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54952         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54953         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54954         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54955         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54956         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54957         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54958         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54959         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54961 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
54963         * sysdeps/x86_64/dla.h: Move to ...
54964         * sysdeps/x86_64/fpu/dla.h: ...here.
54965         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54966         situations.  Use __builtin_fma only for gcc 4.6 and up.
54968         * config.make.in: Add have-mfma4 entry.
54969         * configure.in: Substitute libc_cv_cc_fma4.
54970         * math/Makefile (dbl-only-routines): Add sincostab.
54971         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54972         Use __sincostab not sincos.
54973         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54974         name is a macro.
54975         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54976         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54978         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
54979         using __copysign.
54980         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
54981         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
54982         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54983         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54984         and __inv.
54985         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54986         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54987         __copysign.
54988         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
54989         define aliases when function name is a macro.
54990         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54991         sysdeps/ieee754/dbl-64/sincos.tbl.
54992         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54993         fma4-enabled routines.
54994         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54995         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54996         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54997         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54998         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54999         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55000         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55001         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55002         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55003         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55004         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55005         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55006         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55007         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55008         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55009         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55010         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55011         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55012         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55013         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55014         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55015         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55016         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55017         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55018         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55019         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55021         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55022         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55023         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55025         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55026         rename.
55027         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55028         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55030         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55031         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55032         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55033         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55036 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55038         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55040 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55042         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55044         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55045         prediction.
55046         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55048         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55049         Remove unused variable magic_bits.
55050         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55052         * string/strnlen.c: Define and use STRNLEN macro.
55053         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55054         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55056         * wcsmbs/wcslen.c: Define and use WCSLEN.
55057         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55058         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55059         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55060         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55061         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55062         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55063         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55065 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55068         strnlen-sse2-no-bsf.
55069         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55070         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55071         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55072         Add strnlen support.
55073         (USE_AS_STRNLEN): New macro.
55074         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55075         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55076         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55077         * sysdeps/x86_64/wcslen.S: New file.
55079 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55081         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55082         XMM-moves are used for copying on small sizes.
55084 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55086         * wcsmbs/Makefile (strop-tests): Add wcschr.
55087         * wcsmbs/test-wcschr.c: New file.
55088         * string/test-strchr.c: Update.
55089         Add wcschr support.
55090         (WIDE): New macro.
55092 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55094         * wcsmbs/Makefile (strop-tests): Add wcslen.
55095         * wcsmbs/test-wcslen.c: New file.
55096         * string/test-strlen.c: Update.
55097         Add wcslen support.
55098         (WIDE): New macro.
55100 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55102         * po/it.po: Update from translation team.
55104 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55106         * sysdeps/x86_64/wcscmp.S: Update.
55107         Fix wrong comparison semantics.
55108         wcscmp shall use signed comparison not unsigned.
55109         Don't use substraction to avoid overflow bug.
55110         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55111         * wcsmbc/wcscmp.c: Likewise.
55112         * string/test-strcmp.c: Likewise.
55113         Add new tests to check cases with negative values.
55115 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55117         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55118         * sysdeps/x86_64/dla.h: ...here.  New file.
55119         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55122         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55123         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55124         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55126         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55127         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55129 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55131         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55132         __ynl_finite aliases.
55134 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55138         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55139         define DLA_FMA.
55140         [DLA_FMA] (EMULV): Use DLA_FMA.
55141         [DLA_FMA] (MUL12): Use EMULV.
55142         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55143         that are not needed.
55144         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55146         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55147         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55148         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55149         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55150         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55152 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55154         * math/s_nan.c: Undef __nan.
55155         * math/s_nanf.c: Undef __nanf.
55156         * math/s_nanl.c: Undef __nanl.
55157         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55158         "math_private.h".
55160 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55162         * math/s_catan.c: Add branch predictions.
55163         * math/s_catanf.c: Likewise.
55164         * math/s_catanh.c: Likewise.
55165         * math/s_catanhf.c: Likewise.
55166         * math/s_catanhl.c: Likewise.
55167         * math/s_catanl.c: Likewise.
55168         * math/s_cexp.c: Likewise.
55169         * math/s_cexpf.c: Likewise.
55170         * math/s_cexpl.c: Likewise.
55171         * math/s_clog.c: Likewise.
55172         * math/s_clog10.c: Likewise.
55173         * math/s_clog10f.c: Likewise.
55174         * math/s_clog10l.c: Likewise.
55175         * math/s_clogf.c: Likewise.
55176         * math/s_clogl.c: Likewise.
55177         * math/s_csqrt.c: Likewise.
55178         * math/s_csqrtf.c: Likewise.
55179         * math/s_csqrtl.c: Likewise.
55180         * math/s_ctanf.c: Likewise.
55181         * math/s_ctanh.c: Likewise.
55182         * math/s_ctanhf.c: Likewise.
55183         * math/s_ctanhl.c: Likewise.
55184         * math/s_ctanl.c: Likewise.
55186         * math/math_private.h: Define __nan, __nanf, __nanl.
55187         * math/s_cacosh.c: Include <math_private.h>.
55188         * math/s_cacoshl.c: Likewise.
55189         * math/s_casinh.c: Likewise.
55190         * math/s_casinhf.c: Likewise.
55191         * math/s_casinhl.c: Likewise.
55192         * math/s_ccos.c: Rely entire on ccosh.
55193         * math/s_ccosf.c: Rely entire on ccoshf.
55194         * math/s_ccosl.c: Rely entirely on ccoshl.
55195         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55196         Remove tests for FE_INVALID.
55197         * math/s_ccoshf.c: Likewise.
55198         * math/s_ccoshl.c: Likewise.
55199         * math/s_csin.c: Likewise.
55200         * math/s_csinf.c: Likewise.
55201         * math/s_csinh.c Likewise.
55202         * math/s_csinhf.c: Likewise.
55203         * math/s_csinhl.c: Likewise.
55204         * math/s_csinl.c: Likewise.
55205         * math/s_ctan.c: Likewise.
55206         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55207         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55208         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55210 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55213         compilation problems.
55215         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55216         __builtin_expect.
55218 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55220         * sysdeps/i386/configure.in: Test for -mfma4 option.
55221         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55222         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55223         COMMON_CPUID_INDEX_80000001.
55224         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55225         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55226         use it if FMA3 is not supported.
55227         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55229         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55230         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55232 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55234         [BZ #12892]
55235         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55236         it would create a cycle with a link time dependency.
55238 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55240         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55241         instruction.
55242         * string/Makefile (strop-tests): Add rawmemchr.
55243         * string/test-rawmemchr.c: New file.
55245         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55246         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55247         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55248         when compiling str{,n}casecmp and when AVX is available.  Hook up
55249         new optimized code in initializers.
55251 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55253         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55254         __feraiseexcept instead of feraiseexcept.
55256 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55258         * math/math_private.h: Define defaults for libc_fetestexcept and
55259         libc_feupdateenv.
55260         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55261         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55262         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55263         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55264         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55265         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55266         libc_fetestexcept and libc_feupdateenv.
55268         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55269         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55270         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55271         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55272         libc_feholdexcept_setround.
55274         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55275         Add s_nearbyint-c and s_nearbyintf-c.
55276         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55277         nearbyintf inlines.
55278         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55279         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55280         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55281         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55283         * math/math_private.h: Define defaults for libc_fegetround,
55284         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55285         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55286         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55287         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55288         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55289         standard functions.
55290         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55291         Remove comments and hacks for old compiler versions.
55292         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55293         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55294         libc_feholdexceptl.
55296 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55298         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55299         (__feraiseexcept_renamed): Add __NTH.
55300         (feraiseexcept): Add __NTH.  Rename local variables to fix
55301         namespace violations.
55303 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55305         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55307         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55309         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55310         recently added interfaces.
55311         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55313         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55314         about macro parameter expansion.
55316         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55317         __NO_MATH_INLINES is defined.  Cleanups.
55319         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55320         and __floorf is target has SSE4.1.
55321         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55322         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55323         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55324         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55326         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55327         name.
55328         (floorf): Likewise.
55330         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55332 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55334         * misc/sys/cdefs.h: Fix last change.
55336         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55337         database lookup.
55339 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55341         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55343         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55344         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55345         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55346         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55347         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55348         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55350         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55351         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55352         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55353         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55354         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55355         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55356         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55357         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55358         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55359         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55360         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55361         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55362         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55363         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55364         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55366         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55367         ceil, ceilf, floor, floorf.
55369         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55370         Perform IRELATIVE relocations last.
55372         * elf/do-rel.h: Add another parameter nrelative, replacing the
55373         local variable with the same name.  Change name of the function
55374         to end in Rel or Rela (uppercase).
55375         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55376         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55377         elf_dynamic_do_##reloc function.
55379 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55381         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55382         is sufficient, at least on modern CPUs.
55384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55386         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55387         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55389         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55390         __expl_finite.
55391         * math/bits/math-finite.h: Add entries for exp.
55392         * math/e_expl.c: Add __*_finite alias.
55393         * sysdeps/i386/fpu/e_exp.S: Likewise.
55394         * sysdeps/i386/fpu/e_expf.S: Likewise.
55395         * sysdeps/i386/fpu/e_expl.c: Likewise.
55396         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55397         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55398         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55399         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55400         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55401         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55402         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55404         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55405         is sufficient, at least on modern CPUs.
55407         * ctype/ctype-info.c (__ctype_init): Define.
55408         * include/ctype.h (__ctype_init): Declare.
55409         (__ctype_b_loc): The variable is always initialized.
55410         (__ctype_toupper_loc): Likewise.
55411         (__ctype_tolower_loc): Likewise.
55412         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55413         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55415 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55417         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55419         * configure.in: Also look in $cxxmachine/include for C++ system
55420         headers.
55422 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55424         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55425         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55426         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55427         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55429         (USE_AS_WMEMCMP): New macro.
55430         Fixing indents.
55431         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55432         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55433         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55434         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55436         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55437         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55438         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55439         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55440         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55441         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55442         (USE_AS_WMEMCMP): New macro.
55443         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55444         * sysdeps/string/test-memcmp.c: Update.
55445         Fix simple_wmemcmp.
55446         Add new tests.
55447         * wcsmbs/wmemcmp.c: Update.
55448         (WMEMCMP): New macro.
55449         Fix overflow bug.
55451 2011-10-12  Andreas Jaeger  <aj@suse.de>
55453         [BZ #13268]
55454         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55456 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55458         * libio/iofwide.c (do_length): Avoid warning.
55460         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55462 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55464         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55466         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55467         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55468         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55469         * sysdeps/i386/i686/fpu/e_log.S: New file.
55470         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55471         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55473         * ctype/ctype.h: Add support for inlined isXXX functions when
55474         compiling C++ code.
55476 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55478         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55480         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55482 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55484         [BZ #13291]
55485         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55487 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55489         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55490         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55491         feraiseexcept.
55493         * sysdeps/x86_64/memrchr.S: Check for zero size.
55495         * string/stratcliff.c: Add memrchr tests.
55497 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55499         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55500         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55501         rawmemchr-sse2 rawmemchr-sse2-bsf.
55502         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55503         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55504         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55505         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55506         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55507         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55508         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55509         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55510         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55511         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55512         * string/memrchr.c (MEMRCHR): New macro.
55514 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55516         Add integration with gcc's -ffinite-math-only and optimize wrapper
55517         functions in libm.
55518         * Versions.def: Define GLIBC_2.15 version for libm.
55519         * math/Makefile (headers): Add bits/math-finite.h.
55520         * math/bits/math-finite.h: New file.
55521         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55522         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55523         * math/e_acoshl.c: Add __*_finite alias.
55524         * math/e_acosl.c: Likewise.
55525         * math/e_asinl.c: Likewise.
55526         * math/e_atan2l.c: Likewise.
55527         * math/e_atanhl.c: Likewise.
55528         * math/e_coshl.c: Likewise.
55529         * math/e_exp10.c: Likewise.
55530         * math/e_exp10f.c: Likewise.
55531         * math/e_exp10l.c: Likewise.
55532         * math/e_exp2l.c: Likewise.
55533         * math/e_fmodl.c: Likewise.
55534         * math/e_gammal_r.c: Likewise.
55535         * math/e_hypotl.c: Likewise.
55536         * math/e_j0l.c: Likewise.
55537         * math/e_j1l.c: Likewise.
55538         * math/e_jnl.c: Likewise.
55539         * math/e_lgammal_r.c: Likewise.
55540         * math/e_log10l.c: Likewise.
55541         * math/e_log2l.c: Likewise.
55542         * math/e_logl.c: Likewise.
55543         * math/e_powl.c: Likewise.
55544         * math/e_sinhl.c: Likewise.
55545         * math/e_sqrtl.c: Likewise.
55546         * math/e_scalb.c: Completely rewritten and optimized.
55547         * math/e_scalbf.c: Likewise.
55548         * math/e_scalbl.c: Likewise.
55549         * math/w_acos.c: Likewise.
55550         * math/w_acosf.c: Likewise.
55551         * math/w_acosl.c: Likewise.
55552         * math/w_acosh.c: Likewise.
55553         * math/w_acoshf.c: Likewise.
55554         * math/w_acoshl.c: Likewise.
55555         * math/w_asin.c: Likewise.
55556         * math/w_asinf.c: Likewise.
55557         * math/w_asinl.c: Likewise.
55558         * math/w_atan2.c: Likewise.
55559         * math/w_atan2f.c: Likewise.
55560         * math/w_atan2l.c: Likewise.
55561         * math/w_atanh.c: Likewise.
55562         * math/w_atanhf.c: Likewise.
55563         * math/w_atanhl.c: Likewise.
55564         * math/w_exp10.c: Likewise.
55565         * math/w_exp10f.c: Likewise.
55566         * math/w_exp10l.c: Likewise.
55567         * math/w_fmod.c: Likewise.
55568         * math/w_fmodf.c: Likewise.
55569         * math/w_fmodl.c: Likewise.
55570         * math/w_j0.c: Likewise.
55571         * math/w_j0f.c: Likewise.
55572         * math/w_j0l.c: Likewise.
55573         * math/w_j1.c: Likewise.
55574         * math/w_j1f.c: Likewise.
55575         * math/w_j1l.c: Likewise.
55576         * math/w_jn.c: Likewise.
55577         * math/w_jnf.c: Likewise.
55578         * math/w_log.c: Likewise.
55579         * math/w_logf.c: Likewise.
55580         * math/w_logl.c: Likewise.
55581         * math/w_log10.c: Likewise.
55582         * math/w_log10f.c: Likewise.
55583         * math/w_log10l.c: Likewise.
55584         * math/w_log2.c: Likewise.
55585         * math/w_log2f.c: Likewise.
55586         * math/w_log2l.c: Likewise.
55587         * math/w_pow.c: Likewise.
55588         * math/w_powf.c: Likewise.
55589         * math/w_powl.c: Likewise.
55590         * math/w_remainder.c: Likewise.
55591         * math/w_remainderf.c: Likewise.
55592         * math/w_remainderl.c: Likewise.
55593         * math/w_scalb.c: Likewise.
55594         * math/w_scalbf.c: Likewise.
55595         * math/w_scalbl.c: Likewise.
55596         * math/w_sqrt.c: Likewise.
55597         * math/w_sqrtf.c: Likewise.
55598         * math/w_sqrtl.c: Likewise.
55599         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55600         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55601         used.
55602         * math/math_private.h: Declare __kernel_standard_f.
55603         * math/w_cosh.c: Remove cruft and optimize a bit.
55604         * math/w_coshf.c: Likewise.
55605         * math/w_coshl.c: Likewise.
55606         * math/w_exp2.c: Likewise.
55607         * math/w_exp2f.c: Likewise.
55608         * math/w_exp2l.c: Likewise.
55609         * math/w_hypot.c: Likewise.
55610         * math/w_hypotf.c: Likewise.
55611         * math/w_hypotl.c: Likewise.
55612         * math/w_lgamma.c: Likewise.
55613         * math/w_lgamma_r.c: Likewise.
55614         * math/w_lgammaf.c: Likewise.
55615         * math/w_lgammaf_r.c: Likewise.
55616         * math/w_lgammal.c: Likewise.
55617         * math/w_lgammal_r.c: Likewise.
55618         * math/w_sinh.c: Likewise.
55619         * math/w_sinhf.c: Likewise.
55620         * math/w_sinhl.c: Likewise.
55621         * math/w_tgamma.c: Likewise.
55622         * math/w_tgammaf.c: Likewise.
55623         * math/w_tgammal.c: Likewise.
55624         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55625         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55626         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55627         Minor optimizations.  Pretty printing.  Remove cruft.
55628         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55629         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55630         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55631         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55632         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55633         * sysdeps/i386/fpu/e_asin.S: Likewise.
55634         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55635         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55636         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55637         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55638         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55639         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55640         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55641         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55642         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55643         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55644         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55645         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55646         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55647         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55648         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55649         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55650         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55651         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55652         * sysdeps/i386/fpu/e_log.S: Likewise.
55653         * sysdeps/i386/fpu/e_log10.S: Likewise.
55654         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55655         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55656         * sysdeps/i386/fpu/e_log2.S: Likewise.
55657         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55658         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55659         * sysdeps/i386/fpu/e_logf.S: Likewise.
55660         * sysdeps/i386/fpu/e_logl.S: Likewise.
55661         * sysdeps/i386/fpu/e_pow.S: Likewise.
55662         * sysdeps/i386/fpu/e_powf.S: Likewise.
55663         * sysdeps/i386/fpu/e_powl.S: Likewise.
55664         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55665         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55666         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55667         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55668         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55669         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55670         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55671         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55672         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55673         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55674         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55675         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55676         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55677         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55678         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55679         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55680         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55681         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55682         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55683         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55684         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55685         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55686         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55687         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55688         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55689         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55690         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55691         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55692         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55693         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55694         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55695         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55696         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55697         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55698         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55699         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55700         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55701         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55702         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55703         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55704         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55705         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55706         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55707         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55708         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55709         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55710         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55711         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55712         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55713         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55714         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55715         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55716         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55717         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55718         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55719         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55720         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55721         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55722         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55723         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55724         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55725         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55726         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55727         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55728         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55729         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55730         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55731         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55732         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55733         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55734         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55735         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55736         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55737         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55740         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55741         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55742         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55744         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55745         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55746         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55747         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55748         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55749         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55750         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55751         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55752         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55753         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55754         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55755         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55756         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55757         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55758         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55759         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55760         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55761         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55762         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55763         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55764         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55765         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55766         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55767         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55768         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55769         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55770         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55771         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55772         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55773         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55774         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55775         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55776         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55777         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55778         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55779         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55780         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55781         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55782         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55783         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55784         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55785         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55786         (__isnanf): Likewise.
55787         (__isinf_ns): Likewise.
55788         (__isinf_nsf): Likewise.
55789         (__finite): Likewise.
55790         (__finitef): Likewise.
55791         (__ieee754_sqrt): Define as macro.
55792         (__ieee754_sqrtf): Define as macro.
55793         (__ieee754_sqrtl): Define as macro.
55794         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55795         inlined copy.
55796         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55797         __FINITE_MATH_ONLY__ consistent.
55798         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55800 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55802         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55803         of rawmemchr.
55805         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55807 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55809         * po/ja.po: Update from translation team.
55811 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55813         * locale/programs/locarchive.c (prepare_address_space): New function.
55814         (create_archive, enlarge_archive, open_archive): Use it.
55816         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55817         inside [SHARED], where it is used.
55819         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55821         * nss/getent.c (netgroup_keys): Remove unused variable.
55822         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55824 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55826         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55827         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55828         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55830         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55831         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55832         * math/Makefile (libm-calls): Add s_isinf_ns.
55833         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55834         * math/multc3.c: Likewise.
55835         * math/s_casin.c: Likewise.
55836         * math/s_casinf.c: Likewise.
55837         * math/s_casinl.c: Likewise.
55838         * math/s_ccos.c: Likewise.
55839         * math/s_ccosf.c: Likewise.
55840         * math/s_ccosl.c: Likewise.
55841         * math/s_ctan.c: Likewise.
55842         * math/s_ctanf.c: Likewise.
55843         * math/s_ctanh.c: Likewise.
55844         * math/s_ctanhf.c: Likewise.
55845         * math/s_ctanhl.c: Likewise.
55846         * math/s_ctanl.c: Likewise.
55847         * math/w_fmod.c: Likewise.
55848         * math/w_fmodf.c: Likewise.
55849         * math/w_fmodl.c: Likewise.
55850         * math/w_remainder.c: Likewise.
55851         * math/w_remainderf.c: Likewise.
55852         * math/w_remainderl.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55854         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55855         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55857         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55858         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55859         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55860         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55862         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55863         of the number.
55864         * stdio-common/printf_fphex.c: Likewise.
55865         * stdio-common/printf_size.c: Likewise.
55867         * math/e_exp10.c: Include math_private.h using <...> not "...".
55868         * math/e_exp10f.c: Likewise.
55869         * math/e_exp10l.c: Likewise.
55870         * math/e_exp2l.c: Likewise.
55871         * math/e_j0l.c: Likewise.
55872         * math/e_j1l.c: Likewise.
55873         * math/e_jnl.c: Likewise.
55874         * math/e_lgammal_r.c: Likewise.
55875         * math/e_rem_pio2l.c: Likewise.
55876         * math/e_scalb.c: Likewise.
55877         * math/e_scalbf.c: Likewise.
55878         * math/e_scalbl.c: Likewise.
55879         * math/k_cosl.c: Likewise.
55880         * math/k_sinl.c: Likewise.
55881         * math/k_tanl.c: Likewise.
55882         * math/s_cacoshf.c: Likewise.
55883         * math/s_catan.c: Likewise.
55884         * math/s_catanf.c: Likewise.
55885         * math/s_catanh.c: Likewise.
55886         * math/s_catanhf.c: Likewise.
55887         * math/s_catanhl.c: Likewise.
55888         * math/s_catanl.c: Likewise.
55889         * math/s_ccosh.c: Likewise.
55890         * math/s_ccoshf.c: Likewise.
55891         * math/s_ccoshl.c: Likewise.
55892         * math/s_cexp.c: Likewise.
55893         * math/s_cexpf.c: Likewise.
55894         * math/s_cexpl.c: Likewise.
55895         * math/s_clog.c: Likewise.
55896         * math/s_clog10.c: Likewise.
55897         * math/s_clog10f.c: Likewise.
55898         * math/s_clog10l.c: Likewise.
55899         * math/s_clogf.c: Likewise.
55900         * math/s_clogl.c: Likewise.
55901         * math/s_csin.c: Likewise.
55902         * math/s_csinf.c: Likewise.
55903         * math/s_csinh.c: Likewise.
55904         * math/s_csinhf.c: Likewise.
55905         * math/s_csinhl.c: Likewise.
55906         * math/s_csinl.c: Likewise.
55907         * math/s_csqrt.c: Likewise.
55908         * math/s_csqrtf.c: Likewise.
55909         * math/s_csqrtl.c: Likewise.
55910         * math/s_ctan.c: Likewise.
55911         * math/s_ctanf.c: Likewise.
55912         * math/s_ctanh.c: Likewise.
55913         * math/s_ctanhf.c: Likewise.
55914         * math/s_ctanhl.c: Likewise.
55915         * math/s_ctanl.c: Likewise.
55916         * math/s_ldexp.c: Likewise.
55917         * math/s_ldexpf.c: Likewise.
55918         * math/s_ldexpl.c: Likewise.
55919         * math/s_significand.c: Likewise.
55920         * math/s_significandf.c: Likewise.
55921         * math/s_significandl.c: Likewise.
55922         * math/w_acos.c: Likewise.
55923         * math/w_acosf.c: Likewise.
55924         * math/w_acosh.c: Likewise.
55925         * math/w_acoshf.c: Likewise.
55926         * math/w_acoshl.c: Likewise.
55927         * math/w_acosl.c: Likewise.
55928         * math/w_asin.c: Likewise.
55929         * math/w_asinf.c: Likewise.
55930         * math/w_asinl.c: Likewise.
55931         * math/w_atan2.c: Likewise.
55932         * math/w_atan2f.c: Likewise.
55933         * math/w_atan2l.c: Likewise.
55934         * math/w_atanh.c: Likewise.
55935         * math/w_atanhf.c: Likewise.
55936         * math/w_atanhl.c: Likewise.
55937         * math/w_cosh.c: Likewise.
55938         * math/w_coshf.c: Likewise.
55939         * math/w_coshl.c: Likewise.
55940         * math/w_dremf.c: Likewise.
55941         * math/w_exp10.c: Likewise.
55942         * math/w_exp10f.c: Likewise.
55943         * math/w_exp10l.c: Likewise.
55944         * math/w_exp2.c: Likewise.
55945         * math/w_exp2f.c: Likewise.
55946         * math/w_fmod.c: Likewise.
55947         * math/w_fmodf.c: Likewise.
55948         * math/w_fmodl.c: Likewise.
55949         * math/w_hypot.c: Likewise.
55950         * math/w_hypotf.c: Likewise.
55951         * math/w_hypotl.c: Likewise.
55952         * math/w_j0.c: Likewise.
55953         * math/w_j0f.c: Likewise.
55954         * math/w_j0l.c: Likewise.
55955         * math/w_j1.c: Likewise.
55956         * math/w_j1f.c: Likewise.
55957         * math/w_j1l.c: Likewise.
55958         * math/w_jn.c: Likewise.
55959         * math/w_jnf.c: Likewise.
55960         * math/w_jnl.c: Likewise.
55961         * math/w_lgamma.c: Likewise.
55962         * math/w_lgamma_r.c: Likewise.
55963         * math/w_lgammaf.c: Likewise.
55964         * math/w_lgammaf_r.c: Likewise.
55965         * math/w_lgammal.c: Likewise.
55966         * math/w_lgammal_r.c: Likewise.
55967         * math/w_log.c: Likewise.
55968         * math/w_log10.c: Likewise.
55969         * math/w_log10f.c: Likewise.
55970         * math/w_log10l.c: Likewise.
55971         * math/w_log2.c: Likewise.
55972         * math/w_log2f.c: Likewise.
55973         * math/w_log2l.c: Likewise.
55974         * math/w_logf.c: Likewise.
55975         * math/w_logl.c: Likewise.
55976         * math/w_pow.c: Likewise.
55977         * math/w_powf.c: Likewise.
55978         * math/w_powl.c: Likewise.
55979         * math/w_remainder.c: Likewise.
55980         * math/w_remainderf.c: Likewise.
55981         * math/w_remainderl.c: Likewise.
55982         * math/w_scalb.c: Likewise.
55983         * math/w_scalbf.c: Likewise.
55984         * math/w_scalbl.c: Likewise.
55985         * math/w_sinh.c: Likewise.
55986         * math/w_sinhf.c: Likewise.
55987         * math/w_sinhl.c: Likewise.
55988         * math/w_sqrt.c: Likewise.
55989         * math/w_sqrtf.c: Likewise.
55990         * math/w_sqrtl.c: Likewise.
55991         * math/w_tgamma.c: Likewise.
55992         * math/w_tgammaf.c: Likewise.
55993         * math/w_tgammal.c: Likewise.
55995         * po/ja.po: Update from translation team.
55997 2011-09-29  Andreas Jaeger  <aj@suse.de>
55999         [BZ #13179]
56000         * sunrpc/netname.c (netname2host): Fix logic.
56002         [BZ #6779]
56003         [BZ #6783]
56004         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56005         correctly.
56006         * math/w_remainder.c (__remainder): Likewise.
56007         * math/w_remainderf.c (__remainderf): Likewise.
56008         * math/libm-test.inc (remainder_test): Add test cases.
56010 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56012         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56013         sdiv_qrnnd.
56015 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56017         * string/test-memcmp.c: Avoid unncessary #defines.
56018         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56020 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56022         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56023         Use new sse2 version for core i3 - i7 as it's faster
56024         than sse42 version.
56025         (bit_Prefer_PMINUB_for_stringop): New.
56026         * sysdeps/x86_64/rawmemchr.S: Update.
56027         Replace with faster SSE2 version.
56028         * sysdeps/x86_64/memrchr.S: New file.
56029         * sysdeps/x86_64/memchr.S: Update.
56030         Replace with faster SSE2 version.
56032 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56034         * elf/dl-load.c (lose): Add cast to avoid warning.
56036 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56038         * po/ca.po: Update from translation team.
56040         * inet/getnetgrent_r.c: Hook up nscd.
56041         * nscd/Makefile (routines): Add nscd_netgroup.
56042         (nscd-modules): Add netgroupcache.
56043         (CFLAGS-netgroupcache.c): Define.
56044         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56045         (cache_search): Add const to second parameter.
56046         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56047         INNETGR.
56048         (dbs): Add netgrdb entry.
56049         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56050         (verify_persistent_db): Handle netgrdb.
56051         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56052         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56053         GETFDNETGR.
56054         (netgroup_response_header): Define.
56055         (innetgroup_response_header): Define.
56056         (datahead): Add netgroup_response_header and innetgroup_response_header
56057         elements.
56058         * nscd/nscd.conf: Add entries for netgroup cache.
56059         * nscd/nscd.h (dbtype): Add netgrdb.
56060         (_PATH_NSCD_NETGROUP_DB): Define.
56061         (netgroup_iov_disabled): Declare.
56062         (xmalloc, xcalloc, xrealloc): Move declarations here.
56063         (cache_search): Adjust prototype.
56064         Add netgroup-related prototypes.
56065         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56066         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56067         (__nscd_innetgr): Declare.
56068         * nscd/selinux.c (perms): Use access_vector_t as element type and
56069         add netgroup-related initializers.
56070         * nscd/netgroupcache.c: New file.
56071         * nscd/nscd_netgroup.c: New file.
56072         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56073         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56074         For four parameters use innetgr.
56075         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56076         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56077         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56078         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56080         * nscd/connections.c (register_traced_file): Don't register file
56081         for disabled databases.
56083 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56085         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56087         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56088         from tree and freeing node.
56090 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56092         * nss/nsswitch.c (__nss_database_lookup): Handle
56093         nss_parse_service_list out of memory case.
56095 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56097         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56098         out of memory case.
56100 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56102         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56103         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56104         pass it down.
56105         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56106         elf_machine_rela, elf_machine_lazy_rel.
56107         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56108         (ELF_DYNAMIC_DO_REL): Likewise.
56109         (ELF_DYNAMIC_DO_RELA): Likewise.
56110         (ELF_DYNAMIC_RELOCATE): Likewise.
56111         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56112         to ELF_DYNAMIC_DO_REL.
56113         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56114         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56115         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56116         elf_machine_rela.
56117         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56118         skip_ifunc, don't call ifunc function if non-zero.
56119         (elf_machine_rela): Likewise.
56120         (elf_machine_lazy_rel): Likewise.
56121         (elf_machine_lazy_rela): Likewise.
56122         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56123         (elf_machine_lazy_rel): Likewise.
56124         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56125         Likewise.
56126         (elf_machine_lazy_rel): Likewise.
56127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56128         Likewise.
56129         (elf_machine_lazy_rel): Likewise.
56130         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56131         (elf_machine_lazy_rel): Likewise.
56132         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56133         (elf_machine_lazy_rel): Likewise.
56134         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56135         (elf_machine_lazy_rel): Likewise.
56136         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56137         (elf_machine_lazy_rel): Likewise.
56138         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56139         (elf_machine_lazy_rel): Likewise.
56140         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56141         (elf_machine_lazy_rel): Likewise.
56143 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56145         * nss/nss_files/files-init.c (_nss_files_init): Use static
56146         initialization for all the *_traced_file variables.
56148 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56150         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56152 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56154         [BZ #13226]
56155         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56157 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56160         Reread the line before reparsing it.
56162 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56164         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56166 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56167             Maxim Kuvyrkov  <maxim@codesourcery.com>
56168             Joseph Myers  <joseph@codesourcery.com>
56170         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56171         if needed for __stack_chk_guard.
56173 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56175         * sysdeps/posix/spawni.c (script_execute): Always define it.
56176         It will be optimized away if unused.
56177         (maybe_script_execute): New function.
56178         (__spawni): Call it.
56180         * Makerules: Don't include tls.make.
56181         (config-tls): Always set to thread.
56182         * tls.make.c: File removed.
56184 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56186         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56187         * config.make.in (CPPFLAGS-config): New substituted variable.
56189 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56191         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56193         [BZ #13192]
56194         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56195         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56197 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56199         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56200         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56202         (CALL_FAIL): Likewise.
56203         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56204         (CALL_FAIL): Macro removed.
56205         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56207 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56209         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56210         for __FINITE_MATH_ONLY__ == 1.
56212 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56214         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56215         __ieee754_sqrt instead of sqrt.
56216         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56217         __ieee754_sqrtf instead of sqrtf.
56218         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56219         __floorf instead of floorf.
56220         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56221         __floorf, __truncf instead of floorf, truncf.
56223 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56225         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56227         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56228         __extern_always_inline.
56229         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56230         32-bit.
56232 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56234         * elf/rtld.c (dl_main): Also relocate in dependency order when
56235         doing symbol dependency testing.
56237 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56240         Always define `refsym'.
56242 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56244         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56245         (__FD_ELT): Renamed from __FDELT.
56246         * misc/bits/select2.h (__FD_ELT): Likewise.
56247         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56248         __FD_MASK instead of __FDELT, __FDMASK.
56249         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56250         Likewise.
56251         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56252         Likewise.
56254         * elf/Makefile (gen-ldd): Fix pattern.
56256         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56257         (init_tls): Likewise.
56259 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56261         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56263 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56265         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56266         `struct cmsghdr *' instead of `void *'.
56267         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56268         Likewise.
56270 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56272         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56273         if non-absolute.
56274         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56275         ldd_rewrite_script.
56277 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56279         * configure.in: Remove --with-tls option.
56280         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56281         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56282         out in case it is missing.
56283         * sysdeps/ia64/elf/configure.in: Likewise.
56284         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56285         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56286         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56287         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56288         * sysdeps/sh/elf/configure.in: Likewise.
56289         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56290         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56291         * sysdeps/x86_64/elf/configure.in: Likewise.
56292         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56293         * sysdeps/mach/hurd/tls.h: Likewise.
56295         [BZ #13067]
56296         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56298         [BZ #13090]
56299         * configure.in: Fix use of AC_INIT.
56301         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56303 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56305         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56306         __set_errno.
56307         * malloc/hooks.c: Likewise.
56309         [BZ #11929]
56310         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56311         variables statically.
56312         (narenas): Initialize.
56313         (list_lock): Initialize.
56314         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56315         initializtion of main_arena and list_lock.  Small cleanups.
56316         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56317         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56318         Add initializers to main_arena and mp_.
56319         (malloc_state): Remove pagesize member.  Change all users to use
56320         GLRO(dl_pagesize).
56322         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56323         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56324         is always initialized.
56326         * malloc/malloc.c: Removed unused configurations and dead code.
56327         * malloc/arena.c: Likewise.
56328         * malloc/hooks.c: Likewise.
56329         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56331         * include/tls.h: Removed.  USE___THREAD must always be defined.
56332         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56333         * elf/dl-libc.c: Likewise.
56334         * elf/dl-tsd.c: Likewise.
56335         * include/errno.h: Likewise.
56336         * include/netdb.h: Likewise.
56337         * include/resolv.h: Likewise.
56338         * inet/herrno-loc.c: Likewise.
56339         * inet/herrno.c: Likewise.
56340         * malloc/arena.c: Likewise.
56341         * malloc/hooks.c: Likewise.
56342         * malloc/malloc.c: Likewise.
56343         * resolv/res-state.c: Likewise.
56344         * resolv/res_libc.c: Likewise.
56345         * sysdeps/i386/dl-machine.h: Likewise.
56346         * sysdeps/ia64/dl-machine.h: Likewise.
56347         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56348         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56349         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56350         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56351         * sysdeps/sh/dl-machine.h: Likewise.
56352         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56353         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56354         * sysdeps/unix/i386/sysdep.S: Likewise.
56355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56356         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56358         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56359         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56360         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56361         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56365         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56366         * sysdeps/x86_64/dl-machine.h: Likewise.
56367         * tls.make.c: Likewise.
56369         * configure.in: Remove --with-__thread option.  Make tests for
56370         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56371         tls_model attribute fail if no support is available.  Remove
56372         USE_IN_LIBIO.
56373         * Makeconfig: Adjust for dropped configure option.  All features are
56374         now mandatory.
56375         * Makerules: Likewise.
56376         * Versions.def: Likewise.
56377         * argp/argp-fmtstream.c: Likewise.
56378         * argp/argp-fmtstream.h: Likewise.
56379         * argp/argp-help.c: Likewise.
56380         * assert/assert.c: Likewise.
56381         * config.h.in: Likewise.
56382         * config.make.in: Likewise.
56383         * configure: Likewise.
56384         * configure.in: Likewise.
56385         * csu/Versions: Likewise.
56386         * csu/init.c: Likewise.
56387         * elf/tst-audit2.c: Likewise.
56388         * elf/tst-tls10.c: Likewise.
56389         * elf/tst-tls10.h: Likewise.
56390         * elf/tst-tls11.c: Likewise.
56391         * elf/tst-tls12.c: Likewise.
56392         * elf/tst-tls14.c: Likewise.
56393         * elf/tst-tlsmod11.c: Likewise.
56394         * elf/tst-tlsmod12.c: Likewise.
56395         * elf/tst-tlsmod13.c: Likewise.
56396         * elf/tst-tlsmod13a.c: Likewise.
56397         * elf/tst-tlsmod14a.c: Likewise.
56398         * elf/tst-tlsmod15b.c: Likewise.
56399         * elf/tst-tlsmod16a.c: Likewise.
56400         * elf/tst-tlsmod16b.c: Likewise.
56401         * elf/tst-tlsmod7.c: Likewise.
56402         * elf/tst-tlsmod8.c: Likewise.
56403         * elf/tst-tlsmod9.c: Likewise.
56404         * gmon/gmon.c: Likewise.
56405         * grp/fgetgrent_r.c: Likewise.
56406         * grp/putgrent.c: Likewise.
56407         * hurd/fopenport.c: Likewise.
56408         * include/libc-symbols.h: Likewise.
56409         * include/tls.h: Likewise.
56410         * intl/gettextP.h: Likewise.
56411         * intl/loadinfo.h: Likewise.
56412         * locale/global-locale.c: Likewise.
56413         * locale/localeinfo.h: Likewise.
56414         * mach/devstream.c: Likewise.
56415         * malloc/arena.c: Likewise.
56416         * malloc/set-freeres.c: Likewise.
56417         * misc/err.c: Likewise.
56418         * misc/getttyent.c: Likewise.
56419         * misc/mntent_r.c: Likewise.
56420         * posix/getopt.c: Likewise.
56421         * posix/wordexp.c: Likewise.
56422         * pwd/fgetpwent_r.c: Likewise.
56423         * resolv/Versions: Likewise.
56424         * resolv/res_hconf.c: Likewise.
56425         * shadow/fgetspent_r.c: Likewise.
56426         * shadow/putspent.c: Likewise.
56427         * stdio-common/printf_fphex.c: Likewise.
56428         * stdio-common/tmpfile.c: Likewise.
56429         * stdlib/abort.c: Likewise.
56430         * stdlib/fmtmsg.c: Likewise.
56431         * sunrpc/auth_unix.c: Likewise.
56432         * sunrpc/clnt_perr.c: Likewise.
56433         * sunrpc/clnt_tcp.c: Likewise.
56434         * sunrpc/clnt_udp.c: Likewise.
56435         * sunrpc/clnt_unix.c: Likewise.
56436         * sunrpc/openchild.c: Likewise.
56437         * sunrpc/svc_simple.c: Likewise.
56438         * sunrpc/svc_tcp.c: Likewise.
56439         * sunrpc/svc_udp.c: Likewise.
56440         * sunrpc/svc_unix.c: Likewise.
56441         * sunrpc/xdr.c: Likewise.
56442         * sunrpc/xdr_array.c: Likewise.
56443         * sunrpc/xdr_rec.c: Likewise.
56444         * sunrpc/xdr_ref.c: Likewise.
56445         * sunrpc/xdr_stdio.c: Likewise.
56447 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56449         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56451 2011-07-03  Andreas Jaeger  <aj@suse.de>
56453         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56454         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56455         regenerate with gen-libm-tests.pl.
56457 2010-05-12  Petr Baudis  <pasky@suse.cz>
56459         [BZ #11589]
56460         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56461         around j0() zero points by switching to j1().
56462         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56463         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56465         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56467 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56469         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56470         instead of 0.
56471         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56472         instead of 0.
56473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56474         Patch in part by Pavel Roskin <proski@gnu.org>.
56476         [BZ #13138]
56477         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56478         realloc.
56479         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56480         Free memory block if necessary.
56482         [BZ #12847]
56483         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56484         be NULL.  Don't lock in this case.
56486 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56488         * elf/elf.h (ELFOSABI_GNU): New macro.
56489         (ELFOSABI_LINUX): Define to that.
56491 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56493         * string/strncat.c (strncat): Undef the symbol in case it has been
56494         defined in bits/string.h.
56496 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56498         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56500         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56501         link map.
56503 2011-08-17  Andreas Jaeger  <aj@suse.de>
56505         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56507 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56508             Ian Lance Taylor  <iant@google.com>
56510         * math/libm-test.inc (lround_test): New testcase.
56511         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56513 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56515         * Makefile: Remove support for automatic cvs check-ins.
56516         * Makerules: Likewise.
56517         * config.make.in: Likewise.
56518         * configure.in: Likewise.
56519         * intl/Makefile: Likewise.
56520         * locale/Makefile: Likewise.
56521         * po/Makefile: Likewise.
56522         * posix/Makefile: Likewise.
56523         * sysdeps/gnu/Makefile: Likewise.
56524         * sysdeps/mach/hurd/Makefile: Likewise.
56525         * sysdeps/sparc/sparc32/Makefile: Likewise.
56527         [BZ #13118]
56528         * posix/Makefile (bug-regex32-ENV): Define.
56529         Patch by John Stanley <jpsinthemix@verizon.net>.
56531         * misc/Makefile (headers): Add bits/select2.h.
56532         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56533         * misc/bits/select2.h: New file.
56534         * include/bits/select2.h: New file.
56535         * debug/Makefile (routines): Add fdelt_chk.
56536         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56537         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56538         FD_ISSET.
56539         * debug/fdelt_chk.c: New file.
56541         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56542         * wcsmbs/test-wmemcmp.c: Likewise.
56543         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56544         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56546 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56548         * string/Makefile (strop-tests): Add memcmp.
56549         * string/test-wmemcmp.c: New file.
56550         * string/test-memcmp.c: Add wmemcmp support.
56552 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56554         [BZ #13153]
56555         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56556         2011-07-19 change.
56558         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56559         garbage value in a __mach_port_mod_refs call in the cases of the
56560         task-self and thread-self ports.
56562 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56564         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56566 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56568         * elf/dl-load.c (lose): Check for non-null L.
56570 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56572         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56574         * elf/dl-libc.c (dlerror_run): Pass back error code from
56575         dl_catch_error.
56577         [BZ #13123]
56578         * elf/dl-load.c (lose): Free l_origin if it is valid.
56580         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56581         names.
56582         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56583         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56584         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56585         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56586         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56587         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56589 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56591         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56592         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56593         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56594         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56595         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56596         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56597         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56598         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56599         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56600         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56602 2011-08-15  Alan Modra  <amodra@gmail.com>
56604         [BZ #13092]
56605         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56606         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56607         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56608         ppc_mcount to static-only-routines.
56609         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56610         __mcount_internal.
56611         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56612         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56614 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56616         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56617         for finite and infinity parameters.
56619 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56621         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56622         and add nop instructions for throughput optimization.
56623         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56625 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56627         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56628         aligned copy for power7 with vector-scalar instructions.
56629         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56631 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56633         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56634         AVX check.
56636 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56638         [BZ #13144]
56639         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56640         last change.
56642 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56644         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56645         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56646         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56647         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56648         clock_gettime.
56650 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56652         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56653         Forgot to demangle the pointer.
56655         * sysdeps/i386/sysdep.h: Define atom_text_section.
56656         * sysdeps/x86_64/sysdep.h: Likewise.
56657         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56658         section with atom_text_section.
56659         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56660         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56661         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56662         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56663         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56665         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56666         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56667         already be defined.  Change to take two parameters and don't assign
56668         result to variable.  Adjust all users.
56669         Define INTERNAL_GETTIME if not already defined.
56670         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56671         call.
56672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56673         HAVE_CLOCK_GETTIME_VSYSCALL.
56674         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56676         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56677         gettimeofday vsyscall, just use time.
56679 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56682         <errno.h>.
56684 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56686         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56687         syscall on x86-64.
56688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56689         syscall.
56690         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56691         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56692         syscall if possible.
56694 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56696         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56697         e_ident.  Don't pass to find_mapsXX.
56698         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56700 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56703         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56704         * sysdeps/x86_64/multiarch/strchr.S: Update.
56705         Check bit_slow_BSF bit.
56706         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56707         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56708         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56710 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56712         [BZ #13134]
56713         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56714         before glibc 2.15.
56715         (tryshell): Define.
56716         (__spawni): Change last parameter to be flag.  Test
56717         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56718         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56719         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56720         * posix/spawni.c: Likewise.
56721         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56722         * posix/spawnp.c: Likewise.  Change normal version to use
56723         SPAWN_XFLAGS_USE_PATH.
56724         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56725         SPAWN_XFLAGS_TRY_SHELL.
56727         [BZ #13150]
56728         * posix/glob.h: Remove gcc 1.x support.
56730         [BZ #13068]
56731         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56733 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56736         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56737         strrchr-sse2-bsf
56738         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56739         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56740         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56741         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56742         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56743         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56745 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56747         * sysdeps/x86_64/wcscmp.S: New file.
56749         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56750         wcscmp-c wcscmp-sse2
56751         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56752         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56753         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56754         * wcsmbs/wcscmp.c: Allow renaming.
56756 2011-09-05  David S. Miller  <davem@davemloft.net>
56758         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56759         stack slot, rather than the struct return pointer slot.
56760         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56761         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56763         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56765 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56767         * po/ja.po: Update from translation team.
56769         [BZ #13144]
56770         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56771         kernel in 64-bit binaries.
56773 2011-09-01  David S. Miller  <davem@davemloft.net>
56775         * elf/elf.h (HWCAP_SPARC_*): Move to..
56776         * sysdeps/sparc/sysdep.h: this new file and add new values.
56777         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56778         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56779         _DL_HWCAP_COUNT to 24.
56780         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56781         entries.
56782         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56783         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56784         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56785         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56786         instead of magic constants.
56787         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56789 2011-08-31  David S. Miller  <davem@davemloft.net>
56791         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56793         Reimplement to do errno handling inline.
56794         (SYSCALL_ERROR_HANDLER): New macro.
56795         (__SYSCALL_STRING): Do not do errno handling in asm.
56796         (__CLONE_SYSCALL_STRING): Delete.
56797         (__INTERNAL_SYSCALL_STRING): Delete.
56798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56799         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56800         (PSEUDO): Reimplement to do errno handling inline.
56801         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56802         (SYSCALL_ERROR_HANDLER): New macro.
56803         (__SYSCALL_STRING): Do not do errno handling in asm.
56804         (__CLONE_SYSCALL_STRING): Delete.
56805         (__INTERNAL_SYSCALL_STRING): Delete.
56806         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56807         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56808         i386.
56809         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56810         (inline_syscall*): Add 'err' argument.
56811         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56812         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56813         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56814         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56816         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56817         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56819 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56821         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56823 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56825         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56826         directive.
56828 2011-08-24  David S. Miller  <davem@davemloft.net>
56830         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56832 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56834         * elf/Makefile: Add rules to build and run unload8 test.
56835         * elf/unload8.c: New file.
56836         * elf/unload8mod1.c: New file.
56837         * elf/unload8mod1x.c: New file.
56838         * elf/unload8mod2.c: New file.
56839         * elf/unload8mod3.c: New file.
56841         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56842         it wasn't used.
56844 2011-08-23  David S. Miller  <davem@davemloft.net>
56846         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56847         subtract stack bias.
56848         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56849         %sp not %fp in calculations.
56850         (_JMPBUF_UNWINDS_ADJ): Likewise.
56852         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56853         (aio_suspend): Call it to force an exception region around the
56854         AIO_MISC_WAIT() invocation.
56856 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56858         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56859         backslash.
56861 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56863         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56864         protection macro.
56865         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56866         and <dl-machine.h>.
56867         (Elf64_FuncDesc): Remove.
56869 2011-08-22  David S. Miller  <davem@davemloft.net>
56871         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56872         sigaltstack check, add missing cfi directives.
56873         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56874         missing cfi directives, and sigaltstack handling.
56876 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56878         [BZ #11724]
56879         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56880         object is seen twice.
56881         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56883         * elf/Makefile (distribute): Add tst-initorder2.c.
56884         (tests): Add tst-initorder2.
56885         (modules-names): Add tst-initorder2a tst-initorder2b
56886         tst-initorder2c tst-initorder2d.  Add rules to build them.
56887         ($(objpfx)tst-initorder2.out): New rule.
56888         * elf/tst-initorder2.c: New file.
56889         * elf/tst-initorder2.exp: New file.
56891 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56893         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56895         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56896         dependencies back to end of function.
56898         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56899         $(elfobjdir)/ld.so.
56901 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56904         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56905         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56906         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56907         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56908         of __vdso_gettimeofday.
56909         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56910         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56911         attribute_hidden.
56912         (_libc_vdso_platform_setup): Remove initialization of
56913         __vdso_gettimeofday and __vdso_time.
56915 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56917         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56918         and fgetc_unlocked.
56919         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56920         getc_unlocked.
56922         * elf/dl-open.c (add_to_global): Report additions to the global scope
56923         for LD_DEBUG=scopes.
56924         (dl_open_worker): Also print scope of newly loaded dependencies.
56925         (_dl_show_scope): Indicate if there is no scope.
56927         [BZ #13114]
56928         * stdio-common/Makefile (tests): Add bug24.
56929         * stdio-common/bug24.c: New file.
56931 2011-08-19  Andreas Jaeger  <aj@suse.de>
56933         [BZ #13114]
56934         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56935         non-existant file when using close-on-exec mode.
56937 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56940         the very first instruction.
56942         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56943         the CFI state in the end.
56944         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56945         inclusion of dl-trampoline.h.
56946         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56948 2011-08-19  Andreas Schwab  <schwab@redhat.com>
56950         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56951         expectations for long double.
56953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56954         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56956 2011-08-14  David S. Miller  <davem@davemloft.net>
56958         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56959         artificual limit depends upon the system page size.
56961 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56963         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56964         * resolv/Makefile: Define CFLAGS-libresolv.
56966 2011-08-17  Andreas Schwab  <schwab@redhat.com>
56968         * nss/makedb.c (compute_tables): Make variables used in nested
56969         function static.
56971 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
56973         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56974         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56975         if buffer was too small.
56977         * elf/pldd.c (main): Attach to all threads in the process.
56978         Rewrite /proc handling to use *at functions.
56980 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
56982         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56983         specifies first scope to show.
56984         (dl_open_worker): Update callers.  Move printing scope of new
56985         object to before the relocation.
56986         * elf/rtld.c (dl_main): Update _dl_show_scope call.
56987         * sysdeps/generic/ldsodefs.h: Update declaration.
56989         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56990         string for the scope number.
56992 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
56994         * nscd/servicescache.c (cache_addserv): Make sure written is always
56995         initialized.
56997 2011-08-14  Roland McGrath  <roland@hack.frob.com>
56999         * sysdeps/i386/i486/bits/atomic.h
57000         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57001         statement expression, so as to suppress "set but not used" warning.
57002         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57004         * string/strncat.c (STRNCAT): Use prototype definition.
57006         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57007         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57008         -Iprograms here.
57009         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57010         (localedef-modules): Add localedef.
57011         (locale-modules): Add locale.
57013         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57014         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57015         to avoid a warning.
57017 2011-08-14  David S. Miller  <davem@davemloft.net>
57019         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57020         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57022 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57024         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57025         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57026         * elf/rtld.c (dl_main): Set l_name of vDSO.
57027         Call _dl_show_scope when DL_DEBUG_SCOPES.
57028         (process_dl_debug): Recognize scopes flag and also set it for all.
57029         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57030         Declare _dl_show_scope.
57032         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57033         (do_dlopen): Pass caller_dlopen to dl_open.
57034         (__libc_dlopen_mode): Initialize caller_dlopen.
57036         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57037         of libc.  Make tolower call locale-independent.  Optimize a bit by
57038         using isdigit instead of isalnum.
57039         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57041 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57043         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57044         was a dependency or dynamically loaded.
57046 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57048         * intl/l10nflist.c: Allow architecture-specific pop function.
57049         * sysdeps/x86_64/l10nflist.c: New file.
57051         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57052         classification.
57054 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57056         * include/dirent.h: Add libc_hidden_proto for scandirat and
57057         scandirat64.  Don't declare __scandirat64.
57058         * dirent/scandirat.c: Add libc_hidden_def.
57059         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57060         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57062 2011-08-10  David S. Miller  <davem@davemloft.net>
57064         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57065         enum.
57066         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57067         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57068         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57070 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57072         * Versions.def [libc]: Add GLIBC_2.15.
57073         * dirent/Makefile (routines): Add scandirat and scandirat64.
57074         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57075         GLIBC_2.15.
57076         * dirent/dirent.h: Declare scandirat and scandirat64.
57077         * dirent/scandirat.c: New file.
57078         * dirent/scandirat64.c: New file.
57079         * sysdeps/wordsize-64/scandirat.c: New file.
57080         * sysdeps/wordsize-64/scandirat64.c: New file.
57081         * dirent/opendir.c: Define opendirat.
57082         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57083         using scandirat.
57084         * dirent/scandir64.c: Adjust for scandir.c change.
57085         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57086         __scandirat64, and __scandir_cancel_handler.
57087         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57088         additional parameter and use openat instead of open (outside of ld.so).
57089         Add new __opendir as wrapper around __opendirat.
57090         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57091         here without requiring old scandirat implementation.
57093 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57095         * dirent/scandir.c (cancel_handler): Renamed to
57096         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57097         defined.  Adjust users.
57098         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57099         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57101 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57103         * string/test-string.h (IMPL): Use __STRING to expand name and then
57104         stringify it.
57106         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57107         of cleanups.
57109 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57111         * string/Makefile: Update.
57112         (strop-tests): Append strncat.
57113         * string/test-wcscmp.c: New file.
57114         New comprehensive test for wcscmp.
57115         * string/test-strcmp.c: Update.
57116         (WIDE): New define.
57118 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57120         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57121         line.
57123 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57126         encoding to ACE if AI_IDN.
57128 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57130         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57131         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57133 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57135         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57136         Fix overflow bug in strncat.
57137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57139         * string/test-strncat.c: Update.
57140         Add new tests for checking overflow bugs.
57142 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57144         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57145         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57146         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57147         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57148         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57149         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57150         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57151         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57152         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57154         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57155         (USE_AS_STRCAT): Define.
57156         Add strcat and strncat support.
57157         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57159 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57161         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57162         __n bigger than INT_MAX+1.
57163         (__strncmp_g): Likewise.
57165 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57167         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57168         * libio/stido.h: Likewise.
57170         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57171         (AF_NFC): Define.
57172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57173         (AF_NFC): Define.
57175         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57176         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57178         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57179         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57181         [BZ #13021]
57182         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57183         installed.
57185         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57186         typo.
57187         (_dl_x86_64_save_sse): Likewise.
57189 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57192         OSXSAVE.
57193         (_dl_x86_64_save_sse): Likewise.
57195         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57197         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57199 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57201         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57202         change.
57203         (_dl_x86_64_save_sse): Use correct AVX check.
57205 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57207         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57208         bug in strncpy/strncat.
57209         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57211 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57213         * string/tester.c (test_strcat): Add tests for different alignments
57214         of source and destination.
57215         (test_strncat): Likewise.
57217 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57219         [BZ #12852]
57220         * posix/glob.c (glob): Check passed in values before using them in
57221         expressions to avoid some overflows.
57222         (glob_in_dir): Likewise.
57224         [BZ #13007]
57225         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57226         check for AVX enablement so that we don't crash with old kernels and
57227         new hardware.
57228         * elf/tst-audit4.c: Add same checks here.
57229         * elf/tst-audit6.c: Likewise.
57231         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57233 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57235         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57237 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57239         * po/cs.po: Update from translation team.
57240         * po/bg.po: Likewise.
57242 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57244         * misc/sys/cdefs.h: Add support for const attribute.
57245         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57246         to gnu_dev_{major,minor,makedev} functions.
57248 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57250         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57252 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57254         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57255         strlen results.
57257 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57259         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57260         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57261         register in order to avoid conflicts with the soft frame pointer
57262         being held in r11 when necessary.
57263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57264         (INTERNAL_VSYSCALL_NCS): Likewise.
57266 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57268         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57269         * elf/dl-fini.c (_dl_fini): Adjust caller.
57270         * elf/dl-close.c (_dl_close_worker): Likewise.
57271         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57273 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57275         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57276         "aux_cache->nlibs < 0".
57278         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57279         in the reload-count case.
57281 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57284         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57285         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57286         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57287         * sysdeps/x86_64/multiarch/strcat.S: New file.
57288         * sysdeps/x86_64/multiarch/strncat.S: New file.
57289         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57291         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57292         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57293         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57294         (USE_AS_STRCAT): Define.
57295         Add strcat and strncat support.
57296         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57298         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57299         * string/strncat.c: Update.
57300         (USE_AS_STRNCAT): Define.
57301         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57302         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57303         and i7.
57304         * sysdeps/x86_64/multiarch/init-arch.h
57305         (bit_Prefer_PMINUB_for_stringop): New.
57306         (index_Prefer_PMINUB_for_stringop): Likewise.
57307         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57308         bit_Prefer_PMINUB_for_stringop.
57310 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57312         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57313         buffer64.
57314         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57315         of casting of buffer.
57316         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57317         buffer32 and buffer64.
57318         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57319         writes instead of casting of buffer.
57320         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57321         buffer32.
57322         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57323         casting of buffer.
57325 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57327         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57329 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57331         * nscd/nscd.c (termination_handler): Don't do anything for a database
57332         if it has not yet been initialized.
57334 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57336         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57338 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57340         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57342 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57344         * po/nl.po: Update from translation team.
57345         * po/sv.po: Likewise.
57347 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57349         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57350         now disallowed by GCC.
57352         * configure.in (use-default-link): Default to yes if a test -shared
57353         link meets our qualifications.
57354         * configure: Regenerated.
57356         * config.make.in (output-format): New variable.
57357         * configure.in: Check for ld --print-output-format support.
57358         * configure: Regenerated.
57359         * Makerules ($(common-objpfx)format.lds)
57360         [$(output-format) != unknown]: Just use $(output-format),
57361         instead of the linker-script munging.
57363 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57365         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57366         of $(common-objpfx)shlib.lds.
57367         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57369         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57370         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57372         * configure.in (-z relro check): Adjust test code to add a large
57373         writable data section after it.
57374         * configure: Regenerated.
57376 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57378         * configure.in (-z relro check): Fix test code to make the variable
57379         truly const.
57380         * configure: Regenerated.
57382 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57384         * nscd/nscd.h (struct traced_file): Define.
57385         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57386         elements.  Add traced_files.
57387         (inotify_fd): Declare.
57388         (register_traced_file): Declare.
57389         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57390         (inotify_fd): Export.
57391         (resolv_conf_descr): Remove.
57392         (nscd_init): Move inotify descriptor creation to main.
57393         Don't register files for notification here.
57394         (register_traced_file): New function.
57395         (invalidate_cache): Don't use reset_res to determine whether to call
57396         res_init, go through the list of registered files.
57397         (main_loop_poll): The inotify descriptors are now stored in the
57398         structures for the traced files.
57399         (main_loop_epoll): Likewise
57400         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57401         to __nss_disable_nscd.
57402         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57403         for a database anymore.  Check the records for all the registered
57404         files instead.
57405         * nss/Makefile (libnss_files-routines): Add files-init.
57406         (libnss_db-routines): Add db-init.
57407         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57408         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57409         * nss/nss_db/db-init.c: New file.
57410         * nss/nss_files/files-init.c: New file.
57411         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57412         __nss_lookup_function.
57413         (__nss_lookup_function): Call nss_load_library.
57414         (nss_load_all_libraries): New function.
57415         (__nss_disable_nscd): Take parameter with callback function for files
57416         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57417         used for the cached services.
57418         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57419         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57420         options for features to all the files in nscd.
57422         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57424 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57426         * csu/elf-init.c (__libc_csu_init): Comment typo.
57428 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57430         * po/pl.po: Update from translation team.
57431         * po/ja.po: Likewise.
57432         * po/ru.po: Likewise.
57433         * po/ko.po: Likewise.
57434         * po/fr.po: Likewise.
57436 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57438         * configure.in (.ctors/.dtors header and trailer check):
57439         Use an empirical test on a built program.
57440         * configure: Regenerated.
57442         * configure.in (-z relro check): Use an empirical test on a built DSO.
57443         Detect, but do not require, on ia64.
57444         * configure: Regenerated.
57446         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57447         Update tests that use readelf to use $READELF instead.
57448         * configure: Regenerated.
57450 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57452         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57453         if the result is not used.
57455 2011-07-05  Andreas Jaeger  <aj@suse.de>
57457         [BZ#9696]
57458         * stdlib/tst-strtod.c: Add testcase.
57460 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57462         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57463         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57464         The latter has a higher limit.  Take additional parameter to pass to
57465         the new function.
57466         (__pathconf): Pass file to __statfs_link_max.
57467         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57468         __statfs_link_max.
57469         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57470         __statfs_link_max.
57472         [BZ #12868]
57473         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57475         Handle Lustre.
57476         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57477         (__statfs_filesize_max): Likewise.
57478         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57480 2011-07-05  Andreas Jaeger  <aj@suse.de>
57482         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57484 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57486         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57487         `status' variable.
57488         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57489         Likewise.
57491 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57493         * Makefile (strop-tests): Add strncat.
57494         * string/test-strncat.c: New file.
57496 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57498         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57500 2011-06-21  Andreas Jaeger  <aj@suse.de>
57502         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57503         Copy rule from iconvdata/Makefile.
57505 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57507         [BZ #12922]
57508         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57509         but no long options are defined, just return 'W'.
57511 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57513         [BZ #9696]
57514         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57516 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57518         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57519         netgroups to read.
57520         (innetgr): Likewise.
57522 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57524         * config.make.in (install_root): Default to $(DESTDIR).
57526 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57528         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57530 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57532         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57534         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57535         containing directory rather than embedding absolute directory names.
57537         * scripts/check-local-headers.sh: Rewritten using awk.
57538         Match by word, not by line.  Print error messages for matches.
57539         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57541         * Makerules [shlib-lds-flags empty]:
57542         ($(common-objpfx)libc_pic.opts): New target.
57543         ($(common-objpfx)libc_pic.os.clean): New target.
57544         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57546         * config.make.in (OBJCOPY): New variable.
57547         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57548         * configure: Regenerated.
57550         * config.make.in (use-default-link): New variable.
57551         * configure.in (use_default_link): Grok --with-default-link to set it.
57552         * configure: Regenerated.
57553         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57554         (shlib-lds, shlib-lds-flags): Define to empty.
57556         * Makerules (shlib-lds): New variable.
57557         (shlib-lds-flags): New variable.
57558         (build-shlib, build-moduile, build-module-asneeded): Use it.
57559         ($(common-objpfx)libc.so): Use $(shlib-lds).
57560         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57561         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57563         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57564         DT_FLAGS/DT_FLAGS_1 with zero flags.
57566         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57567         linker script munging.
57569 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57571         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57572         as 128-bit value.
57573         * crypt/sha512.c (sha512_process_block): Perform total addition using
57574         128-bit if possible.
57575         (__sha512_finish_ctx): Likewise.
57576         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57577         as 64-bit value.
57578         * crypt/sha256.c (SWAP64): Define.
57579         (sha256_process_block): Perform total addition using 64-bit if
57580         possible.
57581         (__sha256_finish_ctx): Likewise.
57583 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57585         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57586         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57587         * nscd/hstcache.c (cache_addhst): Likewise.
57588         * nscd/grpcache.c (cache_addgr): Likewise.
57589         * nscd/aicache.c (addhstaiX): Likewise
57590         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57592 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57594         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57596         * nscd/hstcache.c (cache_addhst): Likewise.
57597         * nscd/grpcache.c (cache_addgr): Likewise.
57598         * nscd/aicache.c (addhstaiX): Likewise
57600 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57602         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57603         domain only when needed.
57605 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57607         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57608         is always restored.
57610 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57612         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57613         are re-adding the entry.
57614         * nscd/servicescache.c (cache_addserv): Likewise.
57616 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57618         * sysdeps/generic/dl-irel.h: fix protection against multiple
57619         inclusions.
57620         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57622 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57624         [BZ #12935]
57625         * malloc/memusage.sh: Fix quoting in message.
57626         * debug/xtrace.sh: Likewise.
57628         * configure.in: Remove support for --experimental-malloc option, make
57629         it the default.
57630         * config.make.in: Likewise.
57631         * malloc/Makefile: Likewise.
57633 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57635         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57636         two-byte characters.
57638 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57640         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57641         AC_CACHE_CHECK invocation.
57642         * configure: Regenerated.
57644         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57646 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57648         [BZ #12350]
57649         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57650         bit from old_res_options.
57652         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57654         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57655         value type for setfct.
57657 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57659         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57660         __gettimeofday instead of gettimeofday.
57662 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57664         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57666 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57668         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57670         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57671         info.
57673 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57676         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57677         strcpy-sse2-unaligned strncpy-sse2-unaligned
57678         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57679         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57680         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57681         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57682         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57683         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57684         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57685         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57686         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57687         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57688         (STRCPY): Support SSE2 and SSSE3 versions.
57690 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57692         [BZ #12874]
57693         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57694         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57695         kernels which artificially limit size of requests.
57697 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57700         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57701         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57702         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57703         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57704         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57705         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57706         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57707         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57708         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57709         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57710         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57711         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57712         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57713         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57715         Enable unaligned load optimization for Intel Core i3, i5 and i7
57716         processors.
57717         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57718         Define.
57719         (index_Fast_Unaligned_Load): Define.
57720         (HAS_FAST_UNALIGNED_LOAD): Define.
57722 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57724         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57726 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57728         [BZ #12907]
57729         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57730         until it is clear that the information is realy needed.
57731         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57733 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57735         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57737 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57739         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57740         /sys/devices/system/cpu/online if it is usable.
57742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57743         reading the information from the /proc filesystem to once a second.
57745 2011-06-21  Andreas Jaeger  <aj@suse.de>
57747         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57748         NULL after inclusion of kernel headers.
57750 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57752         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57753         calls to internal_setent.
57755         [BZ #12885]
57756         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57757         addresses using gethostbyname4_r ignore IPv4 addresses.
57759         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57760         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57762         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57764 2011-06-20  David S. Miller  <davem@davemloft.net>
57766         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57767         inclusions.
57768         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57770         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57771         (elf_irel): Use it.
57772         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57773         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57774         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57775         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57776         * sysdeps/x86_64/dl-irel.h: Likewise.
57778         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57779         * elf/dl-sym.c: Likewise.
57781 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57783         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57784         need to dereference resplen2.
57786 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57788         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57790 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57792         * Makeconfig: Define vardbdir and inst_vardbdir.
57793         * nss/Makefile: Add rules to install db-Makefile.
57795         * nss/nss_db/db-XXX.c: Cleanup.
57797         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57798         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57799         GLIBC_PRIVATE.
57800         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57801         * nss/makedb.c: Implement -g option to specify that value strings
57802         are generated and should not be added to table iterated over for
57803         get*ent calls.
57804         * nss/nss_db/db-initgroups.c: New file.
57806         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57807         interface.
57809         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57810         (internal_getgrouplist): Adjust to name change.
57811         Update use_initgroups_entry if this is not the first call.
57812         * nss/databases.def: Add initgroups entry.
57814         * nss/makedb.c (compute_tables): Check result of multiple hash table
57815         sizes to minimize maximum chain length.
57817 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57819         * Versions.def: Add entry for libnss_db.
57820         * shlib-versions: Likewise.
57821         * nss/Makefile: Add rules to build libnss_db.
57822         * nss/Versions: Add libnss_db information.  Organize libnss_files
57823         entries better.
57824         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57825         makedb progra.  Some minor improvements to generate smaller files.
57826         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57827         here from...
57828         * nss/makedb.c: ...here.
57829         Improve database format to be smaller and require less memory at
57830         runtime.
57831         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57832         db anymore.
57833         * nss/nss_db/db-netgrp.c: Likewise.
57834         * nss/nss_db/db-open.c: Likewise.
57835         * nss/nss_files/flies-XXX.x: Adjust comments.
57836         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57837         * nss/nss_files/files-grp.c: Likewise.
57838         * nss/nss_files/files-hosts.c: Likewise.
57839         * nss/nss_files/files-network.c: Likewise.
57840         * nss/nss_files/files-proto.c: Likewise.
57841         * nss/nss_files/files-pwd.c: Likewise.
57842         * nss/nss_files/files-rpc.c: Likewise.
57843         * nss/nss_files/files-service.c: Likewise.
57844         * nss/nss_files/files-sgrp.c: Likewise.
57845         * nss/nss_files/files-spwd.c: Likewise.
57846         * nss/nss_db/db-alias.c: Removed.
57847         * nss/nss_db/dummy-db.h: Removed.
57849 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57851         * nss/makedb.c: Rewritten to not use database library.
57852         * nss/Makefile: Update to build new makedb program.
57854 2011-06-14  Andreas Jaeger  <aj@suse.de>
57856         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57857         memset declaration.
57859 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57862         tmpbuf.
57864 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57866         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57867         * elf/Makefile ($(objpfx)ld.so): Likewise.
57869         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57870         Don't list ld.so twice in dependencies.
57872         * posix/bug-regex31.c: Include <stdlib.h>.
57874         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57876         * nis/nss_compat/compat-spwd.c
57877         (getspent_next_nss_netgr): Remove unused variable.
57878         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57880         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57881         nonmembers" output to use the right array.
57883         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57885         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57887         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57888         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57889         * catgets/gencat.c (read_input_file): Likewise.
57890         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57892         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57893         variable definition inside #if's controlling its use.
57895         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57897         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57899         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57901         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57902         unreachable code.
57904         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57906         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57907         * configure: Regenerated.
57909         * Makerules: Revert last change.
57910         * elf/Makefile: Likewise.
57912 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57914         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57915         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57916         (reloc-link): Likewise.
57918 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57920         * elf/Makefile: Add rules to build pldd.
57921         * elf/pldd.c: New file.
57922         * elf/pldd-xx.c: New file.
57924 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
57926         * version.h: Update for 2.15 development version.
57928 2011-06-07  David S. Miller  <davem@davemloft.net>
57930         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57931         ifuncs.
57932         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57933         elf_machine_lazy_rel): Likewise.
57934         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57935         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57936         elf_machine_lazy_rel): Likewise.
57937         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57938         dl_hwcap via passed in argument.
57939         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57940         Likewise.
57942 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57944         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
57946 2011-06-06  Roland McGrath  <roland@hack.frob.com>
57948         [BZ #12849]
57949         * manual/fdl-1.1.texi: New file, verbatim from:
57950         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57951         * manual/lgpl-2.1.texi: New file, verbatim from:
57952         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57953         * manual/Makefile (licenses): New variable, list those new file names.
57954         (texis): Use it.
57955         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57957         * manual/fdl.texi: File removed.
57958         * manual/lesser.texi: File removed.
57959         * manual/libc.texinfo (Copying, Documentation License):
57960         Use new @include file names, put @appendix directive before @include.
57962 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
57964         [BZ #12841]
57965         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57966         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57967         (mq_open): Add __NTH.
57969 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
57971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57972         Assume Intel Core i3/i5/i7 processor if AVX is available.
57974 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57976         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57977         typo.
57979 2011-05-31  Andreas Schwab  <schwab@redhat.com>
57981         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57982         memory.  Use alloca_account.  Fix memory leak when retrying.
57984 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
57986         * version.h (RELEASE): Bump for 2.14 release.
57987         * include/features.h (__GLIBC_MINOR__): Bump to 14.
57989         * config.make.in (RANLIB): Remove entry.
57991 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
57993         * po/Makefile (po-sed-cmd): Add ksh to extensions.
57994         (libc.pot): Work around missing support for .ksh extension in xgettext.
57996         [BZ #12684]
57997         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57998         if both request failed.
57999         (send_dg): In case of server errors clear resplen or *resplen2.
58001         [BZ #12454]
58002         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58003         when there are multiple maps.
58004         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58005         (_dl_fini): Remove test here.
58007         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58009 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58011         [BZ #12350]
58012         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58013         bit from old_res_options.
58014         (gaih_inet): Likewise.
58016         [BZ #11099]
58017         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58018         as signed.
58020         * resolv/res_init.c (res_setoptions): Make the code more compact.
58022         [BZ #11558]
58023         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58024         set RES_USEVC.
58026         [BZ #11634]
58027         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58029         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58031         [BZ #11781]
58032         * malloc/malloc.h: Declare malloc hook variables as volatile.
58034         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58035         in last patch.
58037         [BZ #11799]
58038         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58039         raise in the comment.
58040         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58041         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58042         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58044 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58046         [BZ #12811]
58047         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58048         grow the buffers more if it already has to be sufficient.
58049         (build_wcs_upper_buffer): Likewise.
58050         * posix/regexec.c (check_matching): Likewise.
58051         (clean_state_log_if_needed): Likewise.
58052         (extend_buffers): Don't enlarge buffers beyond size of the input
58053         buffer.
58054         Patches mostly by Emil Wojak <emil@wojak.eu>.
58055         * posix/bug-regex32.c: New file.
58056         * posix/Makefile (tests): Add bug-regex32.
58058         * locale/findlocale.c (_nl_find_locale): Return right away if
58059         _nl_explode_name failed.
58060         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58062         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58064         * debug/xtrace.sh: Unify messages.
58065         * malloc/memusage.sh: Likewise.
58067         [BZ #12813]
58068         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58069         time symbol from vDSO.  Substitute with vsyscall if not available.
58070         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58071         __vdso_time.
58073         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58074         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58075         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58076         Add sendmmsg and internal_sendmmsg.
58077         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58078         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58079         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58081         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58082         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58083         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58085 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58087         [BZ #12813]
58088         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58089         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58090         available.
58091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58092         __vdso_getcpu.
58094         [BZ #12814]
58095         * iconvdata/Makefile (tests): Add bug-iconv9.
58096         * iconvdata/bug-iconv9.c: New file.
58098 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58100         [BZ #12814]
58101         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58103 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58105         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58106         (struct user_regs_struct): Change intcs field back to cs.
58108 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58110         * po/ja.po: Update from translation team.
58112 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58114         [BZ #12795]
58115         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58116         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58118 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58120         * stdlib/longlong.h: Update from GCC.
58122 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58124         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58125         parameter name.
58126         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58127         Add parameter name.
58128         (__sysconf): Pass it down.
58130 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58132         [BZ #12671]
58133         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58134         some situations.
58135         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58136         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58137         add in in __libc_use_alloca calls.  Adjust callers.
58138         (glob): Use malloc in some situations.
58140         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58141         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58142         pltexit.
58144 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58146         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58147         and CLOCK_BOOTTIME_ALARM.
58149         [BZ #12782]
58150         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58151         is returned.
58153         * string/_strerror.c (__strerror_r): Print negative errors as signed
58154         numbers.
58156         [BZ #12777]
58157         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58158         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58159         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58161         * configure.in: Fix typo in redirection and correct removal of test
58162         files in two cases.
58164         [BZ #12788]
58165         * locale/setlocale.c (new_composite_name): Fix test to check for
58166         identical name of all categories.
58168         [BZ #12792]
58169         * libio/filedoalloc.c (local_isatty): New function.
58170         (_IO_file_doallocate): Use local_isatty.
58171         * stdio-common/perror.c (perror): In case a new stream is used
58172         forward the stream error.
58173         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58174         error flag.
58176 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58178         [BZ #11869]
58179         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58180         alloca.
58181         * include/alloca.h (extend_alloca_account): Define.
58183         [BZ #11857]
58184         * posix/regex.h: Fix comments with documentation of user-accessible
58185         fields after compilation and describe correct free'ing of pattern
58186         after re_compile_pattern.
58187         Patch by Reuben Thomas <rrt@sc3d.org>.
58189 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58191         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58192         and -mno-altivec to prevent the compiler from using Altivec and/or
58193         VSX instructions when the corresponding registers are not available.
58195 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58197         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58199 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58201         * libio/freopen.c (freopen): Use __dup2, not dup2.
58202         * libio/freopen64.c (freopen64): Likewise.
58204 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58206         [BZ #12775]
58207         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58208         * math/Makefile (tests): Add test-powl.
58209         (CFLAGS-test-powl.c): Define.
58210         * math/test-powl.c: New file.
58212 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58214         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58216 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58218         [BZ #11837]
58219         * iconvdata/gb18030.c: Update to GB18020-2005.
58221 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58223         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58224         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58225         Patch by Aharon Robbins <arnold@skeeve.com>.
58227         [BZ #11892]
58228         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58229         on the stack.
58231         [BZ #11895]
58232         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58233         through underflows.
58235         [BZ #12766]
58236         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58237         point to strings before performing equality test for error_one_per_line
58238         mode.
58240         [BZ #11697]
58241         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58243         [BZ #11820]
58244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58245         (struct user_fpregs_struct): Avoid __uint*_t types.
58247         [BZ #6420]
58248         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58249         symbol info.  Use it instead of calling _dl_addr locally.
58250         (lock_and_info): New function.
58251         (tr_freehook): Call lock_and_info and pass symbol info as additional
58252         parameter to tr_where.
58253         (tr_mallochook): Likewise.
58254         (tr_reallochook): Likewise.
58255         (tr_memalignhook): Likewise.
58257         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58258         used and couldn't be at all thread-safe.
58260 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58262         * libio/freopen.c (freopen): Don't close old file descriptor
58263         before the new one is opened.  Instead dup the new file descriptor
58264         to the old one after the new stream is created.
58265         * libio/freopen64.c (freopen64): Likewise.
58266         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58267         * libio/fileops.c (_IO_new_file_close_it): Handle new
58268         _IO_FLAGS2_NOCLOSE flag.
58269         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58270         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58271         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58272         _IO_FLAGS2_NOCLOSE flag.
58273         * include/unistd.h: Add hidden_proto for dup3.
58274         Define __have_dup3.
58275         * io/dup3.c: Define hidden symbol.
58276         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58278         [BZ #7101]
58279         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58280         when an incomplete long option is used.
58281         * posix/tst-getopt_long1.c: New file.
58282         * posix/Makefile (tests): Add tst-getopt_long1.
58284         [BZ #10138]
58285         * scripts/config.guess: Update from autoconf-2.68.
58286         * scripts/config.sub: Likewise.
58288         [BZ #10157]
58289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58290         tests into ...
58291         (has_cpuclock): ...this.  New function.
58292         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58293         macro here based on has_cpuclock code.
58295         [BZ #10149]
58296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58297         First byte (not low byte) is now always NUL.
58298         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58300         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58301         Use non-cancelable interfaces.
58303         [BZ #9809]
58304         * locale/iso-639.def: Add entry for Sorani.
58306         [BZ #11901]
58307         * include/stdlib.h: Move include protection to the right place.
58308         Define abort_msg_s.  Declare __abort_msg with it.
58309         * stdlib/abort.c (__abort_msg): Adjust type.
58310         * assert/assert.c (__assert_fail_base): New function.  Majority
58311         of code from __assert_fail.  Allocate memory for __abort_msg with
58312         mmap.
58313         (__assert_fail): Now call __assert_fail_base.
58314         * assert/assert-perr.c: Remove bulk of implementation.  Use
58315         __assert_fail_base.
58316         * include/assert.hL Declare __assert_fail_base.
58317         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58318         mmap.
58319         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58321 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58323         [BZ #11952]
58324         [BZ #12453]
58325         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58326         until all modules are registered in the DTV.
58327         * elf/Makefile: Add rules to build and run tst-tls19.
58328         * elf/tst-tls19.c: New file.
58329         * elf/tst-tls19mod1.c: New file.
58330         * elf/tst-tls19mod2.c: New file.
58331         * elf/tst-tls19mod3.c: New file.
58332         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58334         [BZ #12083]
58335         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58336         correctly.
58338         [BZ #12601]
58339         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58340         two-byte sequence errors.
58341         * iconvdata/Makefile (tests): Add bug-iconv8.
58342         * iconvdata/bug-iconv8.c: New file.
58344         [BZ #12626]
58345         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58346         buf2 definition.
58348         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58350         [BZ #12432]
58351         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58352         (dummy_getcfa): New function.
58353         (init): Get _Unwind_GetCFA address, use dummy if not found.
58354         (backtrace_helper): In recursion check, also check whether CFA changes.
58355         (__backtrace): Completely initialize arg.
58357         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58358         storing incomplete byte sequence in state object.  Avoid testing for
58359         guaranteed too small input if we know there is enough data available.
58361 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58363         * Makeconfig (+link-pie): Indent.
58364         * Rules (binaries-pie): Define if $(have-fpie) and
58365         $(build-shared).
58366         (binaries-shared): Also filter out $(binaries-pie).
58367         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58368         * nscd/Makefile (others-pie): Add nscd.
58369         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58370         ($(objpfx)nscd): Remove command override.
58371         * login/Makefile (others-pie): Add pt_chown.
58372         ($(objpfx)pt_chown): Remove command override.
58373         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58374         remove command overrides.
58376 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58378         * libio/tst_putwc.c: Fix error messages.
58380         [BZ #12724]
58381         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58382         currently writing and seek to current position when not.
58383         * libio/Makefile (tests): Add bug-fclose1.
58384         * libio/bug-fclose1.c: New file.
58386 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58388         [BZ #12511]
58389         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58390         don't set DF_1_NODELETE here.
58391         (do_lookup_x): When entering new entry test for copy relocation
58392         and if necessary set DF_1_NODELETE flag.
58393         * elf/tst-unique4.cc: New file.
58394         * elf/tst-unique4.h: New file.
58395         * elf/tst-unique4lib.cc: New file.
58396         * elf/Makefile: Add rules to build and run tst-unique4.
58397         Patch by Piotr Bury <pbury@goahead.com>.
58399 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58401         [BZ #12052]
58402         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58404         [BZ #12625]
58405         * misc/mntent_r.c (addmntent): Flush the stream after the output
58407         [BZ #12393]
58408         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58409         (is_trusted_path_normalize): Skip initial colon.  Append slash
58410         to empty buffer.  Duplicate is_trusted_path code but allow
58411         constructed patch to be prefix.
58412         (is_dst): Allow $ORIGIN followed by /.
58413         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58414         Correct testing of result of is_trusted_path_normalize
58415         (decompose_rpath): Fix warning.
58417 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58419         [BZ #11257]
58420         * grp/initgroups.c (internal_getgrouplist): When we found the service
58421         list through the initgroups entry in nsswitch.conf do not always
58422         continue on a successful lookup.  Don't always use the
58423         __nss_group_database value if it is set.
58424         * nss/nsswitch.conf (initgroups): Change action for successful db
58425         lookup to continue for compatibility.
58427 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58429         [BZ #11532]
58430         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58431         and CP774 modules.
58432         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58433         and CP774 modules.
58434         * iconvdata/tst-tables.sh: Likewise.
58435         * iconvdata/cp770.c: New file.
58436         * iconvdata/cp771.c: New file.
58437         * iconvdata/cp772.c: New file.
58438         * iconvdata/cp773.c: New file.
58439         * iconvdata/cp774.c: New file.
58440         * iconvdata/testdata/CP770: New file.
58441         * iconvdata/testdata/CP770..UTF8: New file.
58442         * iconvdata/testdata/CP771: New file.
58443         * iconvdata/testdata/CP771..UTF8: New file.
58444         * iconvdata/testdata/CP772: New file.
58445         * iconvdata/testdata/CP772..UTF8: New file.
58446         * iconvdata/testdata/CP773: New file.
58447         * iconvdata/testdata/CP773..UTF8: New file.
58448         * iconvdata/testdata/CP774: New file.
58449         * iconvdata/testdata/CP774..UTF8: New file.
58451         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58452         END CHARMAP line.
58453         * iconvdata/gen-8bit-gap.sh: Likewise.
58454         * iconvdata/gen-8bit.sh: Likewise.
58456         * locale/iso-639.def: Add ary entry.
58458         [BZ #11258]
58459         * locale/C-translit.h.in: Add U20A1 transliteration.
58461         [BZ #12178]
58462         * locale/iso-639.def: Add wae entry.
58463         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58465         [BZ #12545]
58466         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58467         for n.
58469         [BZ #12711]
58470         * locale/C-translit.h.in: Add entry for U20B9.
58471         Patch by pravin.d.s@gmail.com.
58473 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58475         [BZ #12713]
58476         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58477         ENAMETOOLONG use generic getcwd.
58478         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58479         in rtld.  Use *stat64.
58480         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58481         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58482         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58483         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58484         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58485         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58486         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58487         __fstatat64 macros.
58488         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58489         * dirent/rewinddir.c: Add libc_hidden_def.
58490         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58491         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58493         * include/dirent.h (__alloc_dir): Add flags parameter.
58494         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58495         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58496         __alloc_dir.
58497         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58498         from fdopendir if O_CLOEXEC is already set.
58500 2011-03-15  Alan Modra  <amodra@gmail.com>
58502         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58503         l_tls_firstbyte_offset non-zero.  Save padding offset in
58504         l_tls_firstbyte_offset for later use.
58505         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58506         freeing static tls block.
58508 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58510         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58511         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58512         being defined by the kernel headers.
58514 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58516         [BZ #12734]
58517         * resolv/resolv.h: Define RES_NOTLDQUERY.
58518         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58519         no-tld-query and set RES_NOTLDQUERY.
58520         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58521         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58522         modern BIND to search name as TLD unless forbidden.
58524 2011-05-07  Petr Baudis  <pasky@suse.cz>
58525             Ulrich Drepper  <drepper@gmail.com>
58527         [BZ #12393]
58528         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58529         (is_trusted_path): ...to here.
58530         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58531         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58532         using is_trusted_path_normalize() in setuid scripts.
58534 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58536         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58537         __BEGIN/__END_DECLS.
58539 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58541         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58542         NSS_STATUS_NOTFOUND if no record was found.
58544 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58546         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58547         (headers-not-in-tirpc): Remove rpc/netdb.h
58548         * resolv/netdb.h: Revert last change.
58550 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58552         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58553         circular dependency between libgcc.a and libc.a.
58555 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58557         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58558         * nis/Makefile: Don't install rpcsvc/*.
58559         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58560         instead of <rpc/types.h>.
58561         (MAXHOSTNAMELEN): Define.
58563 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58565         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58567 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58569         [BZ #12714]
58570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58571         gethostbyname4_r when IPv6 results are possible.
58573 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58575         [BZ #12723]
58576         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58577         _PC_PIPE_BUF handling.
58579 2011-04-30  Bruno Haible  <bruno@clisp.org>
58581         [BZ #12717]
58582         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58583         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58584         to 'int'.
58585         * inet/getnameinfo.c (getnameinfo): Likewise.
58587 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58589         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58590         to groups setting in database lookup.
58591         * nss/nsswitch.conf: Add initgroups entry.
58593 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58595         [BZ #12685]
58596         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58597         mode string.
58598         Patch by Eric Blake <eblake@redhat.com>.
58600 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58602         * sunrpc/Makefile (need-export-routines): Add svc_run.
58603         (routines): Remove svc_run.
58604         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58605         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58606         * sunrpc/svc_run.c (svc_run): Likewise.
58607         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58609 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58611         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58612         problem in reallocation in last patch.
58614 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58616         * sunrpc/Makefile: Move inclusion of Rules.
58618 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58620         * nss/nss_files/files-initgroups.c: New file.
58621         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58622         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58623         _nss_files_initgroups_dyn.
58625 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58627         * elf/elf.h (R_ARM_IRELATIVE): Define.
58629 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58631         * po/ru.po: Update from translation team.
58633 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58635         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58636         dependencies.
58638 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58640         [BZ #12653]
58641         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58642         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58643         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58644         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58645         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58647 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58650         differing bytes.
58651         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58652         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58655 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58657         [BZ #12420]
58658         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58659         storing it.
58660         * stdlib/bug-getcontext.c: New file.
58661         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58663 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58665         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58666         instructions into .machine "z9-109".
58667         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58668         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58670 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58672         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58673         between environment variables and auxiliary vector.
58675 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58677         * Makefile: Add rules to build linkobj/libc.so.
58678         * include/libc-symbols.h: Define libc_hidden_nolink.
58679         * include/rpc/auth.h: Mark functions which are to be hidden.
58680         * include/rpc/auth_des.h: Likewise.
58681         * include/rpc/auth_unix.h: Likewise.
58682         * include/rpc/clnt.h: Likewise.
58683         * include/rpc/des_crypt.h: Likewise.
58684         * include/rpc/key_prot.h: Likewise.
58685         * include/rpc/pmap_clnt.h: Likewise.
58686         * include/rpc/pmap_prot.h: Likewise.
58687         * include/rpc/pmap_rmt.h: Likewise.
58688         * include/rpc/rpc_msg.h: Likewise.
58689         * include/rpc/svc.h: Likewise.
58690         * include/rpc/svc_auth.h: Likewise.
58691         * include/rpc/xdr.h: Likewise.
58692         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58693         * nss/Makefile: Likewise.
58694         * sunrpc/Makefile: Don't install headers.  Build library with normal
58695         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58696         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58697         for the compat linking library.  Remove use of INTDEF/INTUSE.
58698         * sunrpc/auth_none.c: Likewise.
58699         * sunrpc/auth_unix.c: Likewise.
58700         * sunrpc/authdes_prot.c: Likewise.
58701         * sunrpc/authuxprot.c: Likewise.
58702         * sunrpc/clnt_gen.c: Likewise.
58703         * sunrpc/clnt_perr.c: Likewise.
58704         * sunrpc/clnt_raw.c: Likewise.
58705         * sunrpc/clnt_simp.c: Likewise.
58706         * sunrpc/clnt_tcp.c: Likewise.
58707         * sunrpc/clnt_udp.c: Likewise.
58708         * sunrpc/clnt_unix.c: Likewise.
58709         * sunrpc/des_crypt.c: Likewise.
58710         * sunrpc/des_soft.c: Likewise.
58711         * sunrpc/get_myaddr.c: Likewise.
58712         * sunrpc/key_call.c: Likewise.
58713         * sunrpc/key_prot.c: Likewise.
58714         * sunrpc/netname.c: Likewise.
58715         * sunrpc/pm_getmaps.c: Likewise.
58716         * sunrpc/pm_getport.c: Likewise.
58717         * sunrpc/pmap_clnt.c: Likewise.
58718         * sunrpc/pmap_prot.c: Likewise.
58719         * sunrpc/pmap_prot2.c: Likewise.
58720         * sunrpc/pmap_rmt.c: Likewise.
58721         * sunrpc/publickey.c: Likewise.
58722         * sunrpc/rpc_cmsg.c: Likewise.
58723         * sunrpc/rpc_common.c: Likewise.
58724         * sunrpc/rpc_dtable.c: Likewise.
58725         * sunrpc/rpc_prot.c: Likewise.
58726         * sunrpc/rpc_thread.c: Likewise.
58727         * sunrpc/rtime.c: Likewise.
58728         * sunrpc/svc.c: Likewise.
58729         * sunrpc/svc_auth.c: Likewise.
58730         * sunrpc/svc_authux.c: Likewise.
58731         * sunrpc/svc_raw.c: Likewise.
58732         * sunrpc/svc_run.c: Likewise.
58733         * sunrpc/svc_simple.c: Likewise.
58734         * sunrpc/svc_tcp.c: Likewise.
58735         * sunrpc/svc_udp.c: Likewise.
58736         * sunrpc/svc_unix.c: Likewise.
58737         * sunrpc/svcauth_des.c: Likewise.
58738         * sunrpc/xcrypt.c: Likewise.
58739         * sunrpc/xdr.c: Likewise.
58740         * sunrpc/xdr_array.c: Likewise.
58741         * sunrpc/xdr_float.c: Likewise.
58742         * sunrpc/xdr_intXX_t.c: Likewise.
58743         * sunrpc/xdr_mem.c: Likewise.
58744         * sunrpc/xdr_rec.c: Likewise.
58745         * sunrpc/xdr_ref.c: Likewise.
58746         * sunrpc/xdr_sizeof.c: Likewise.
58747         * sunrpc/xdr_stdio.c: Likewise.
58749 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58751         [BZ #12650]
58752         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58753         * sysdeps/ia64/dl-tls.h: Likewise.
58754         * sysdeps/powerpc/dl-tls.h: Likewise.
58755         * sysdeps/s390/dl-tls.h: Likewise.
58756         * sysdeps/sh/dl-tls.h: Likewise.
58757         * sysdeps/sparc/dl-tls.h: Likewise.
58758         * sysdeps/x86_64/dl-tls.h: Likewise.
58759         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58761 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58763         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58764         rpath element also skip the following colon.
58765         (expand_dynamic_string_token): Add is_path parameter and pass
58766         down to DL_DST_REQUIRED and _dl_dst_substitute.
58767         (decompose_rpath): Call expand_dynamic_string_token with
58768         non-zero is_path.  Ignore empty rpaths.
58769         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58770         with zero is_path.
58772 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58775         Make cancelable.
58777 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58779         [BZ #12655]
58780         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58781         Patch by Filipe David Manana <fdmanana@apache.org>.
58783 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58786         Maintain aligned stack.
58787         (CHECK_RSP): Remove unused macro.
58789 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58791         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58792         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58794 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58796         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58798         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58800 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58802         [BZ #12518]
58803         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58804         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58805         * sysdeps/x86_64/memmove.c: New file.
58806         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58807         (memcpy): Renamed to ...
58808         (__new_memcpy): This.
58809         (memcpy): Provide GLIBC_2_14 memcpy.
58810         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58811         (memcpy): Provide GLIBC_2_2_5 memcpy.
58813 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58815         [BZ #12631]
58816         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58818 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58820         * misc/syncfs.c: New file.
58821         * misc/Makefile (routines): Add syncfs.
58822         * posix/unistd.h: Declare syncfs.
58823         * sysdeps/unix/syscalls.list: Add syncfs.
58825 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58827         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58828         open_by_handle_at.
58829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58830         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58831         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58832         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58833         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58834         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58837 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58839         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58840         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58841         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58843         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58847         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58848         sync_file_range.c with -fexceptions.
58849         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58850         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58851         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58852         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58853         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58854         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58855         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58856         sync_file_range as cancellation point
58857         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58858         now a wrapper around __call_sync_file_range with cancellation handling.
58859         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58860         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58861         function name to __call_sync_file_range.
58862         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58863         Add call_sync_file_range.
58865 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58867         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58868         bits/timex.h.
58870 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58872         * iconv/iconv.h: Fix typo in comment.
58873         * io/fcntl.h: Likewise.
58874         * libio/stdio.h: Likewise.
58875         * posix/spawn.h: Likewise.
58876         * posix/unistd.h: Likewise.
58877         * stdlib/stdlib.h: Likewise.
58878         * time/time.h: Likewise.
58879         * wcsmbs/wchar.h: Likewise.
58881         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58882         open_by_handle): Add.
58883         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58884         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58885         Augment a few comments.
58886         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58890         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58891         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58892         open_by_handle.
58894         * io/fcntl.h (AT_EMPTY_PATH): Define.
58896 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58898         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58899         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58900         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58901         to...
58902         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58903         * Versions.def: Add GLIBC_2.14.
58904         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58905         Export.
58907 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58909         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58910         round counter.
58911         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58913 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58915         [BZ #12597]
58916         * string/test-strncmp.c (do_page_test): New function.
58917         (check2): Likewise.
58918         (test_main): Call check2.
58919         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58921 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
58923         [BZ #12587]
58924         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58925         Handle cache information in CPU leaf 4.
58926         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58928 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
58930         [BZ #12583]
58931         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58932         character representation.
58933         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58935 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
58937         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58938         END(__isnan) to END(__isnanf) to match function entry point/label
58939         EALIGN(__isnanf,...).
58941 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
58943         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58945 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
58947         [BZ #12510]
58948         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58949         copy from the symbol referenced in the relocation to initialize the
58950         used variable.
58951         Patch by Piotr Bury <pbury@goahead.com>.
58952         * elf/Makefile: Add rules to build and tst-unique3.
58953         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58954         * elf/tst-unique3.cc: New file.
58955         * elf/tst-unique3.h: New file.
58956         * elf/tst-unique3lib.cc: New file.
58957         * elf/tst-unique3lib2.cc: New file.
58959         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58961 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
58963         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58964         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
58965         to _start.
58967 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
58969         * elf/dl-load.c (_dl_map_object): If we are looking for the first
58970         to-be-loaded object along a path to loader is ld.so.
58972 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58973             Ulrich Drepper  <drepper@gmail.com>
58975         * sysdeps/x86_64/memset.S: After aligning destination, code
58976         branches to different locations depending on the value of
58977         misalignment, when multiarch is enabled. Fix this.
58979 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
58981         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58982         Set _x86_64_preferred_memory_instruction for AMD processsors.
58983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58984         Set bit_Prefer_SSE_for_memop for AMD processors.
58986 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
58988         * libio/fmemopen.c (fmemopen): Optimize a bit.
58990 2011-03-03  Andreas Schwab  <schwab@redhat.com>
58992         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58994 2011-03-03  Roland McGrath  <roland@redhat.com>
58996         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58998 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59000         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59001         __bzero_ultra1 instead of __memset_ultra1.
59003 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59004             Ulrich Drepper  <drepper@gmail.com>
59006         [BZ #12509]
59007         * include/link.h (struct link_map): Add l_orig_initfini.
59008         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59009         returning unsuccessfully.
59010         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59011         close of a file loaded at startup, restore the original l_initfini
59012         list.
59013         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59014         list, store the pointer.
59015         * elf/Makefile ($(objpfx)noload-mem): New rule.
59016         (noload-ENV): Define.
59017         (tests): Add $(objpfx)noload-mem.
59018         * elf/noload.c: Include <memcheck.h>.
59019         (main): Call mtrace.  Close all opened handles.
59021 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59023         [BZ #12454]
59024         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59025         dependencies are missing.
59027 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59029         Fix __if_freereq crash: Unlike the generic version which uses free,
59030         Hurd needs munmap.
59031         * sysdeps/mach/hurd/ifreq.h: New file.
59033 2011-01-27  Petr Baudis  <pasky@suse.cz>
59034             Ulrich Drepper  <drepper@gmail.com>
59036         [BZ 12445]#
59037         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59038         to extend_alloca().
59039         * stdio-common/bug23.c: New file.
59040         * stdio-common/Makefile (tests): Add bug23.
59042 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59043             Ulrich Drepper  <drepper@gmail.com>
59045         [BZ #12489]
59046         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59047         before performing relro protection.  At old place add assertion
59048         to make sure nothing changed.
59050 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59051             Glauber de Oliveira Costa  <glommer@gmail.com>
59053         * elf/elf.h: Add new ARM TLS relocs.
59055 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59058         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59059         cast from r3.
59060         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59061         'tests' variable.
59062         * sysdeps/wordsize-64/tst-writev.c: New file.
59064 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59066         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59067         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59068         insns in _dl_start to prevent a TOC reference before relocs are
59069         resolved.
59071 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59073         [BZ #12469]
59074         * Makeconfig: Remove RANLIB definition.
59075         * Makerules: Don't use RANLIB.
59076         * aclocal.m4: Remove ranlib test.
59077         * configure.in: No need to check for ranlib.
59078         * elf/rtld-Rules: Don't use RANLIB.
59080 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59082         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59083         protection macro.
59084         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59085         inclusion protection macro.
59087         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59088         SIGRTMIN and SIGRTMAX and print information in that case only when
59089         SIGRTMIN is defined.
59091 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59093         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59094         arginfo fn returning -1.
59096         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59097         and thousands string is zero terminated.
59099 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59101         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59102         sysdeps/unix/sysv/linux/bits/socket.h.
59104 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59106         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59107         (__CPU_COUNT): Remove old macros.
59108         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59109         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59110         (__CPU_ALLOC, __CPU_FREE): Add macros.
59111         (__sched_cpualloc, __sched_cpufree): Add declarations.
59113 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59115         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59116         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59117         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59118         (readdhstai): Return value of addhstaiX call.
59119         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59120         (addgrbyX): Return value returned by cache_addgr.
59121         (readdgrbyname): Return value returned by addgrbyX.
59122         (readdgrbygid): Likewise.
59123         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59124         (addpwbyX): Return value returned by cache_addpw.
59125         (readdpwbyname): Return value returned by addhstbyX.
59126         (readdpwbyuid): Likewise.
59127         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59128         (addservbyX): Return value returned by cache_addserv.
59129         (readdservbyname): Return value returned by addservbyX:
59130         (readdservbyport): Likewise.
59131         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59132         (addhstbyX): Return value returned by cache_addhst.
59133         (readdhstbyname): Return value returned by addhstbyX.
59134         (readdhstbyaddr): Likewise.
59135         (readdhstbynamev6): Likewise.
59136         (readdhstbyaddrv6): Likewise.
59137         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59138         (readdinitgroups): Return value returned by addinitgroupsX.
59139         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59140         (prune_cache): Keep track of timeout value of re-added entries.
59141         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59142         * nscd/nscd.h: Adjust prototypes of readd* functions.
59144 2011-02-04  Roland McGrath  <roland@redhat.com>
59146         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59147         (nis_stats): Likewise.
59148         * nis/nis_modify.c (nis_modify): Likewise.
59149         * nis/nis_remove.c (nis_remove): Likewise.
59150         * nis/nis_add.c (nis_add): Likewise.
59152         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59154         * posix/fnmatch_loop.c: Add some consts.
59156         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59158 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59160         [BZ #12460]
59161         * config.make.in (config-cflags-novzeroupper): Define.
59162         * configure.in: Substitute libc_cv_cc_novzeroupper.
59163         * elf/Makefile (AVX-CFLAGS): Define.
59164         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59165         (CFLAGS-tst-auditmod4a.c): Likewise.
59166         (CFLAGS-tst-auditmod4b.c): Likewise.
59167         (CFLAGS-tst-auditmod6b.c): Likewise.
59168         (CFLAGS-tst-auditmod6c.c): Likewise.
59169         (CFLAGS-tst-auditmod7b.c): Likewise.
59170         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59172 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59174         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59175         function to the callback.
59176         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59178 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59180         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59181         of errno.
59183 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59185         [BZ #11724]
59186         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59187         of constructors.
59188         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59189         of destructors.
59190         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59192         [BZ #11724]
59193         * elf/Makefile: Add rules to build and run new test.
59194         * elf/tst-initorder.c: New file.
59195         * elf/tst-initorder.exp: New file.
59196         * elf/tst-initordera1.c: New file.
59197         * elf/tst-initordera2.c: New file.
59198         * elf/tst-initordera3.c: New file.
59199         * elf/tst-initordera4.c: New file.
59200         * elf/tst-initorderb1.c: New file.
59201         * elf/tst-initorderb2.c: New file.
59202         * elf/tst-order-a1.c: New file.
59203         * elf/tst-order-a2.c: New file.
59204         * elf/tst-order-a3.c: New file.
59205         * elf/tst-order-a4.c: New file.
59206         * elf/tst-order-b1.c: New file.
59207         * elf/tst-order-b2.c: New file.
59208         * elf/tst-order-main.c: New file.
59209         New test case by George Gensure <werkt0@gmail.com>.
59211 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59214         decoding ACE if AI_CANONIDN.
59216 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59218         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59220 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59222         * version.h (RELEASE): Bump for 2.13 release.
59223         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59225         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59227         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59228         MADV_NOHUGEPAGE.
59229         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59230         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59231         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59232         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59233         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59234         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59236         * posix/getconf.c: Update copyright year.
59237         * catgets/gencat.c: Likewise.
59238         * csu/version.c: Likewise.
59239         * debug/catchsegv.sh: Likewise.
59240         * debug/xtrace.sh: Likewise.
59241         * elf/ldconfig.c: Likewise.
59242         * elf/ldd.bash.in: Likewise.
59243         * elf/sprof.c (print_version): Likewise.
59244         * iconv/iconv_prog.c: Likewise.
59245         * iconv/iconvconfig.c: Likewise.
59246         * locale/programs/locale.c: Likewise.
59247         * locale/programs/localedef.c: Likewise.
59248         * malloc/memusage.sh: Likewise.
59249         * malloc/mtrace.pl: Likewise.
59250         * nscd/nscd.c (print_version): Likewise.
59251         * nss/getent.c: Likewise.
59253         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59254         PF_CAIF, and PF_ALG.
59255         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59257 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59259         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59260         (modules-names): Use them.
59261         (ifunc-test-modules, ifunc-pie-tests): Define.
59262         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59263         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59264         (test-extras): Likewise.
59265         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59266         $(compile-command.c).
59267         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59268         (all-built-dso): Define.
59269         (check-textrel.out, check-execstack.out): Depend on it.
59271         * configure.in: Don't override --enable-multi-arch.
59273 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59275         [BZ #6812]
59276         * nscd/hstcache.c (tryagain): Define.
59277         (cache_addhst): Return tryagain not notfound for temporary errors.
59278         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59279         failed.
59281 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59283         [BZ #10563]
59284         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59285         to make the syscall.
59286         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59288         [BZ #12378]
59289         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59290         and fall back to matching as normal character if the string ends before
59291         the matching ']' is found.  This is what POSIX requires.
59292         * posix/testfnm.c: Adjust test result.
59293         * posix/globtest.sh: Adjust test result.  Add new test.
59294         * posix/tst-fnmatch.input: Likewise.
59295         * posix/tst-fnmatch2.c: Add new test.
59297 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59299         * elf/Makefile (check-execstack): Revert last change.  Depend on
59300         check-execstack.h.
59301         (check-execstack.h): New target.
59302         (generated): Add check-execstack.h.
59303         * elf/check-execstack.c: Include "check-execstack.h".
59304         (main): Revert last change.
59305         (handle_file): Return zero if GNU_STACK is absent and
59306         DEFAULT_STACK_PERMS doesn't include PF_X.
59308 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59310         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59311         in child fails because the descriptor is already closed.
59312         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59313         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59314         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59316         [BZ #12397]
59317         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59318         syscall.
59320         [BZ #10484]
59321         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59322         temporary buffer used to handle multi lookups locally.
59323         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59325 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59327         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59328         loader is ld.so.
59330 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59332         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59333         alignment for SSE2.
59335 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59337         [BZ #12394]
59338         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59339         characters.  When rounding increased number of integer digits recompute
59340         number of groups.
59341         * stdio-common/tst-grouping.c: New file.
59342         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59344 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59346         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59347         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59349         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59350         void.
59351         * bits/select.h: Likewise.
59353 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59355         * po/ja.po: Update from translation team.
59357 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59359         [BZ #11155]
59360         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59361         implementation just like for lxstat, fxstatat, et al.
59363 2010-12-27  Jim Meyering  <meyering@redhat.com>
59365         [BZ #12348]
59366         * posix/regexec.c (build_trtable): Return failure indication upon
59367         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59369 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59371         [BZ #12201]
59372         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59373         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59374         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59375         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59377         [BZ #12207]
59378         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59380         [BZ #12204]
59381         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59382         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59384 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59386         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59387         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59388         script has SORT_BY_INIT_PRIORITY.
59389         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59390         NO_CTORS_DTORS_SECTIONS is defined.
59391         * elf/soinit.c: Likewise.
59392         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59393         NO_CTORS_DTORS_SECTIONS is defined.
59394         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59395         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59396         * sysdeps/sh/init-first.c: Likewise.
59397         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59399 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59401         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59402         always use the slow path.
59404 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59406         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59407         similar rule which adds the sysdep directories to the header search in
59408         order to pick up the correct platform stackinfo.h.
59409         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59410         perform test if it is, otherwise return successfully without testing.
59411         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59412         DEFAULT_STACK_PERMS define in stackinfo.h.
59413         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59414         defined in stackinfo.h.
59415         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59416         DEFAULT_STACK_PERMS defined in stackinfo.h.
59417         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59418         * sysdeps/ia64/stackinfo.h: Likewise.
59419         * sysdeps/s390/stackinfo.h: Likewise.
59420         * sysdeps/sh/stackinfo.h: Likewise.
59421         * sysdeps/sparc/stackinfo.h: Likewise.
59422         * sysdeps/x86_64/stackinfo.h: Likewise.
59423         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59424         PF_X for powerpc64.  Retain PF_X for powerpc32.
59426 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59428         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59429         accurately.
59430         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59431         GETDENTS_64BIT_ALIGNED.
59433 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59435         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59437 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59439         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59440         _GNU_SOURCE.
59442         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59443         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59444         Remove __restrict.
59445         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59446         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59448 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59450         [BZ #11655]
59451         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59452         are initialized.
59454 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59456         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59458 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59460         * po/it.po: Update from translation team.
59462 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59465         unused codes.
59467 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59469         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59471 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59473         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59474         specially.
59475         (gaih_getanswer_slice): Likewise.
59477 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59481 2010-05-31  Petr Baudis  <pasky@suse.cz>
59483         [BZ #11149]
59484         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59485         silently even in the chroot mode.
59487 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59489         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59490         last patch a bit.  Pretty printing
59492 2010-05-31  Petr Baudis <pasky@suse.cz>
59494         [BZ #10085]
59495         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59496         initialization of skip_initgroups_dyn.
59498 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59500         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59501         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59503 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59505         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59507 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59509         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59510         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59511         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59512         ($(objpfx)tst-fnmatch-mem): New rule.
59513         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59514         * posix/tst-fnmatch.c (main): Call mtrace.
59516 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59519         Support Intel processor model 6 and model 0x2c.
59521 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59523         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59524           signed comparison.
59526 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59528         [BZ #12205]
59529         * string/test-strncasecmp.c (check_result): New function.
59530         (do_one_test): Use it.
59531         (check1): New function.
59532         (test_main): Use it.
59533         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59534         Support strcasecmp and strncasecmp.
59536 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59538         [BZ #12194]
59539         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59540         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59542 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59544         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59545         IFUNC support.
59546         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59547         memset-x86-64.
59548         * sysdeps/x86_64/multiarch/bzero.S: New file.
59549         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59550         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59551         * sysdeps/x86_64/multiarch/memset.S: New file.
59552         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59554         Set bit_Prefer_SSE_for_memop for Intel processors.
59555         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59556         Define.
59557         (index_Prefer_SSE_for_memop): Define.
59558         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59560 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59562         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59563         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59565 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59567         [BZ #12191]
59568         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59569         (__x86_64_raw_data_cache_size_half): Likewise.
59570         (__x86_64_raw_shared_cache_size): Likewise.
59571         (__x86_64_raw_shared_cache_size_half): Likewise.
59573         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59574         (__x86_64_raw_data_cache_size_half): Likewise.
59575         (__x86_64_raw_shared_cache_size): Likewise.
59576         (__x86_64_raw_shared_cache_size_half): Likewise.
59577         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59578         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59579         and __x86_64_raw_shared_cache_size_half.  Round
59580         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59581         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59582         to multiple of 256 bytes.
59584 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59586         [BZ #12167]
59587         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59588         of inacessible symlinks.  Verify result of symlink before returning it.
59589         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59590         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59592 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59594         * math/math.h (isinf): Fix typo in comment.
59596 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59598         * po/da.po: Update from translation team.
59600 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59602         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59603         is added to the list.
59605 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59606             Ulrich Drepper  <drepper@gmail.com>
59608         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59609         the global list here.  Move code to...
59610         (_dl_add_to_namespace_list): ...here.  New function.
59611         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59612         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59613         * elf/dl-load.c (lose): Don't remove the element from the list.
59614         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59615         (_dl_map_object): Likewise.
59617 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59619         [BZ #12159]
59620         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59621         into all bytes of SSE register.
59622         Patch by Richard Li <richardpku@gmail.com>.
59624 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59626         [BZ #12140]
59627         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59628         perturbing.
59630 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59632         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59633         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59634         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59635         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59637         submachine.
59638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59640 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59642         * include/dlfcn.h (__RTLD_SECURE): Define.
59643         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59644         mode & __RTLD_SECURE instead.
59645         (open_path): Rename preloaded parameter to secure.
59646         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59647         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59648         * elf/dl-deps.c (openaux): Likewise.
59649         * elf/rtld.c (struct map_args): Remove is_preloaded.
59650         (map_doit): Don't use it.
59651         (dl_main): Likewise.
59652         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59653         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59655 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59657         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59658         (sysd-rules-targets): Remove duplicates.
59659         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59660         rtld-%.$o dependency.
59662 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59664         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59665         _dl_map_object do it.
59667 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59669         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59670         fast fma builtins, define the macros in the C99 standard.
59671         (FP_FAST_FMAF): Likewise.
59672         (FP_FAST_FMAL): Likewise.
59673         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59675         * bits/mathdef.h: Update copyright year.
59676         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59678 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59680         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59681         builtins, define the macros in the C99 standard.
59682         (FP_FAST_FMAF): Likewise.
59683         (FP_FAST_FMAL): Likewise.
59684         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59685         multiply/add.
59686         (FP_FAST_FMAF): Likewise.
59688 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59690         [BZ #3268]
59691         * math/libm-test.inc (fma_test): Some new testcases.
59692         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59693         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59694         y and infinite z.  Do multiplication by C already in long double.
59695         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59697         y and infinite z.  Do bitwise or of inexact bit into u.d.
59698         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59699         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59700         * sysdeps/i386/fpu/s_fma.S: Removed.
59701         * sysdeps/i386/fpu/s_fmal.S: Removed.
59703 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59705         [BZ #3268]
59706         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59708         computation is not scheduled after fetestexcept.  Fix value
59709         of minimum denormal long double.
59711 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59713         [BZ #3268]
59714         * math/libm-test.inc (fma_test): Add some more tests.
59715         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59716         correctly.
59718 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59720         * scripts/data/localplt-s390-linux-gnu.data: New file.
59721         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59723 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59725         [BZ #3268]
59726         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59727         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59728         instead of dbl-64.
59729         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59730         inlines.
59731         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59733         if one of x and y is very large and the other is subnormal.
59734         * sysdeps/s390/fpu/s_fmaf.c: New file.
59735         * sysdeps/s390/fpu/s_fma.c: New file.
59736         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59737         * sysdeps/powerpc/fpu/s_fma.S: New file.
59738         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59739         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59740         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59742 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59744         [BZ #3268]
59745         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59746         fma tests.
59747         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59748         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59749         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59750         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59751         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59752         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59753         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59755 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59757         [BZ #12078]
59758         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59759         * posix/bug-regex31.input: Add test case.
59761 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59763         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59764         * posix/bug-regex31.input: New file.
59766         [BZ #12078]
59767         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59768         (parse_sub_exp): Fix last change, use postorder.
59770         * posix/bug-regex31.c: New file.
59771         * posix/Makefile: Add rules to build and run bug-regex31.
59773         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59775         [BZ #12078]
59776         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59778         [BZ #12108]
59779         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59780         to have entries in sys_siglist.
59782         [BZ #12093]
59783         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59784         be NULL.
59786 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59788         [BZ #3268]
59789         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59790         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59791         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59792         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59793         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59794         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59795         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59796         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59797         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59798         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59799         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59800         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59801         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59802         * math/ftestexcept.c (fetestexcept): Likewise.
59803         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59804         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59805         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59806         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59807         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59808         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59809         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59811 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59813         [BZ #12107]
59814         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59815         newline.
59817 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59819         * string/bug-strstr1.c: New file.
59820         * string/Makefile: Add rules to build and run bug-strstr1.
59822 2010-10-05  Eric Blake  <eblake@redhat.com>
59824         [BZ #12092]
59825         * string/str-two-way.h (two_way_long_needle): Always clear memory
59826         when skipping input due to the shift table.
59828 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59830         [BZ #12005]
59831         * malloc/mcheck.c: Handle large requests.
59833         [BZ #12077]
59834         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59835         for strncmp and strncasecmp.
59836         * string/stratcliff.c: Add tests for strcmp and strncmp.
59837         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59839 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59841         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59842         __set_fpscr.
59844 2010-09-30  Andreas Jaeger  <aj@suse.de>
59846         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59847         (CGROUP_SUPER_MAGIC): Define.
59848         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59849         Handle btrfs and cgroup file systems.
59850         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59851         Likewise.
59853 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59855         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59856         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59858 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59860         [BZ #12067]
59861         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59862         trying to locate the ELF header.
59864 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59866         [BZ #11611]
59867         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59868         Mask out sign-bit copies when constructing f_fsid.
59870 2010-09-24  Petr Baudis <pasky@suse.cz>
59872         * debug/stack_chk_fail_local.c: Add missing licence exception.
59873         * debug/warning-nop.c: Likewise.
59875 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59877         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59878         implementing getdents64 using getdents syscall, set d_type if
59879         __ASSUME_GETDENTS32_D_TYPE.
59881 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59883         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59884         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59886 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59888         [BZ #12037]
59889         * posix/unistd.h: Undo change of feature selection for ftruncate from
59890         2010-01-11.
59892 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59894         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59895         detection.
59897 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59899         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59900         fanotify_mark.
59901         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59903 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59905         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59906         variables after CHECK_SP call.
59907         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59909 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59910             Ulrich Drepper  <drepper@redhat.com>
59912         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59913         re-relocationg ld.so.
59914         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59915         _dl_init_paths call.
59916         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59917         here anymore.
59919 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59921         * resolv/res_init.c (__res_vinit): Count the default server we added.
59923 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
59924             Ulrich Drepper  <drepper@redhat.com>
59926         [BZ #11968]
59927         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59928         (____longjmp_chk): Use %ebx for saving value across system call.
59929         Add unwind info.
59931 2010-09-06  Andreas Schwab  <schwab@redhat.com>
59933         * manual/Makefile: Don't mix pattern rules with normal rules.
59935 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59937         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59938         operation.
59939         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59940         * libio/iofopncook.c (_IO_cookie_init): Likewise.
59941         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59942         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59944         Likewise.
59946 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
59948         [BZ #11979]
59949         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59950         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59952 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
59954         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59955         * sysdeps/x86_64/addmul_1.S: Likewise.
59956         * sysdeps/x86_64/lshift.S: Likewise.
59957         * sysdeps/x86_64/mul_1.S: Likewise.
59958         * sysdeps/x86_64/rshift.S: Likewise.
59959         * sysdeps/x86_64/sub_n.S: Likewise.
59960         * sysdeps/x86_64/submul_1.S: Likewise.
59962 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59964         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59965         Define __sched_param instead of SCHED_* and sched_param when
59966         <bits/sched.h> is included with __need_schedparam defined.
59967         * bits/sched.h [__need_schedparam]
59968         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59969         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59970         (__defined_schedparam): Define to 1.
59971         (__sched_param): New structure, identical to sched_param.
59972         (__need_schedparam): Undefine.
59974 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
59976         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59977         (epoll_create1): Declare.
59979         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59981 2010-08-31  Andreas Schwab  <schwab@redhat.com>
59983         [BZ #7066]
59984         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59985         shifting retval into place.
59987 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
59989         * nis/rpcsvc/nis.h: Update copyright notice.
59990         * nis/rpcsvc/nis.x: Likewise.
59991         * nis/rpcsvc/nis_callback.h: Likewise.
59992         * nis/rpcsvc/nis_callback.x: Likewise.
59993         * nis/rpcsvc/nis_object.x: Likewise.
59994         * nis/rpcsvc/nis_tags.h: Likewise.
59995         * nis/rpcsvc/yp.h: Likewise.
59996         * nis/rpcsvc/yp.x: Likewise.
59997         * nis/rpcsvc/ypupd.h: Likewise.
59998         * nis/yp_xdr.c: Likewise.
59999         * nis/ypupdate_xdr.c: Likewise.
60001         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60002         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60003         (pmap_getport): Use __libc_rpc_getport.
60004         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60005         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60006         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60008 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60011         fanotify_mark.
60013 2010-08-27  Roland McGrath  <roland@redhat.com>
60015         * sysdeps/i386/i686/multiarch/Makefile
60016         (CFLAGS-varshift.c): New variable.
60018 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60020         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60021         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60025         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60027 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60029         * sysdeps/x86_64/strlen.S: Unroll the loop.
60030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60031         strlen-sse2 strlen-sse2-bsf.
60032         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60033         __strlen_no_bsf if bit_Slow_BSF is set.
60034         (__strlen_sse42): Removed.
60035         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60036         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60038 2010-08-25  Roland McGrath  <roland@redhat.com>
60040         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60041         * sysdeps/x86_64/multiarch/varshift.c: New file.
60042         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60043         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60044         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60045         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60047 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60050         strlen-sse2 strlen-sse2-bsf.
60051         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60052         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60053         (__strlen_sse2): Removed.
60054         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60055         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60057         bit_Slow_BSF for Atom.
60058         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60059         (index_Slow_BSF): Define.
60060         (HAS_SLOW_BSF): Define.
60062 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60064         [BZ #10851]
60065         * resolv/res_init.c (__res_vinit): When no server address at all
60066         is given default to loopback.
60068 2010-08-24  Roland McGrath  <roland@redhat.com>
60070         * configure.in: Remove config-name.h generation.
60071         * configure: Regenerated.
60072         * config-name.in: File removed.
60073         * scripts/config-uname.sh: New file.
60074         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60075         ($(objdir)config-name.h): New target.
60077         * sunrpc/rpc_parse.h: Avoid nested comment.
60079 2010-08-24  Richard Henderson  <rth@redhat.com>
60080             Ulrich Drepper  <drepper@redhat.com>
60081             H.J. Lu  <hongjiu.lu@intel.com>
60083         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60085         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60086         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60087         _mm_alignr_epi8 with _mm_loadu_si128.
60088         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60089         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60090         (__m128i_shift_right): Removed.
60091         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60092         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60093         * sysdeps/x86_64/multiarch/varshift.h: New file.
60094         * sysdeps/x86_64/multiarch/varshift.S: New file.
60096 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60098         * configure.in: Move assembler checks to before sysdep dir checking.
60100 2010-08-20  Petr Baudis  <pasky@suse.cz>
60102         * LICENSES: Sync the sunrpc license.
60104 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60106         * sunrpc/auth_des.c: Update copyright notice once again.
60107         * sunrpc/auth_none.c: Likewise.
60108         * sunrpc/auth_unix.c: Likewise.
60109         * sunrpc/authdes_prot.c: Likewise.
60110         * sunrpc/authuxprot.c: Likewise.
60111         * sunrpc/bindrsvprt.c: Likewise.
60112         * sunrpc/clnt_gen.c: Likewise.
60113         * sunrpc/clnt_perr.c: Likewise.
60114         * sunrpc/clnt_raw.c: Likewise.
60115         * sunrpc/clnt_simp.c: Likewise.
60116         * sunrpc/clnt_tcp.c: Likewise.
60117         * sunrpc/clnt_udp.c: Likewise.
60118         * sunrpc/clnt_unix.c: Likewise.
60119         * sunrpc/des_crypt.c: Likewise.
60120         * sunrpc/des_soft.c: Likewise.
60121         * sunrpc/get_myaddr.c: Likewise.
60122         * sunrpc/getrpcport.c: Likewise.
60123         * sunrpc/key_call.c: Likewise.
60124         * sunrpc/key_prot.c: Likewise.
60125         * sunrpc/openchild.c: Likewise.
60126         * sunrpc/pm_getmaps.c: Likewise.
60127         * sunrpc/pm_getport.c: Likewise.
60128         * sunrpc/pmap_clnt.c: Likewise.
60129         * sunrpc/pmap_prot.c: Likewise.
60130         * sunrpc/pmap_prot2.c: Likewise.
60131         * sunrpc/pmap_rmt.c: Likewise.
60132         * sunrpc/rpc/auth.h: Likewise.
60133         * sunrpc/rpc/auth_unix.h: Likewise.
60134         * sunrpc/rpc/clnt.h: Likewise.
60135         * sunrpc/rpc/des_crypt.h: Likewise.
60136         * sunrpc/rpc/key_prot.h: Likewise.
60137         * sunrpc/rpc/netdb.h: Likewise.
60138         * sunrpc/rpc/pmap_clnt.h: Likewise.
60139         * sunrpc/rpc/pmap_prot.h: Likewise.
60140         * sunrpc/rpc/pmap_rmt.h: Likewise.
60141         * sunrpc/rpc/rpc.h: Likewise.
60142         * sunrpc/rpc/rpc_des.h: Likewise.
60143         * sunrpc/rpc/rpc_msg.h: Likewise.
60144         * sunrpc/rpc/svc.h: Likewise.
60145         * sunrpc/rpc/svc_auth.h: Likewise.
60146         * sunrpc/rpc/types.h: Likewise.
60147         * sunrpc/rpc/xdr.h: Likewise.
60148         * sunrpc/rpc_clntout.c: Likewise.
60149         * sunrpc/rpc_cmsg.c: Likewise.
60150         * sunrpc/rpc_common.c: Likewise.
60151         * sunrpc/rpc_cout.c: Likewise.
60152         * sunrpc/rpc_dtable.c: Likewise.
60153         * sunrpc/rpc_hout.c: Likewise.
60154         * sunrpc/rpc_main.c: Likewise.
60155         * sunrpc/rpc_parse.c: Likewise.
60156         * sunrpc/rpc_parse.h: Likewise.
60157         * sunrpc/rpc_prot.c: Likewise.
60158         * sunrpc/rpc_sample.c: Likewise.
60159         * sunrpc/rpc_scan.c: Likewise.
60160         * sunrpc/rpc_scan.h: Likewise.
60161         * sunrpc/rpc_svcout.c: Likewise.
60162         * sunrpc/rpc_tblout.c: Likewise.
60163         * sunrpc/rpc_util.c: Likewise.
60164         * sunrpc/rpc_util.h: Likewise.
60165         * sunrpc/rpcinfo.c: Likewise.
60166         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60167         * sunrpc/rpcsvc/key_prot.x: Likewise.
60168         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60169         * sunrpc/rpcsvc/mount.x: Likewise.
60170         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60171         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60172         * sunrpc/rpcsvc/rex.x: Likewise.
60173         * sunrpc/rpcsvc/rstat.x: Likewise.
60174         * sunrpc/rpcsvc/rusers.x: Likewise.
60175         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60176         * sunrpc/rpcsvc/spray.x: Likewise.
60177         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60178         * sunrpc/rtime.c: Likewise.
60179         * sunrpc/svc.c: Likewise.
60180         * sunrpc/svc_auth.c: Likewise.
60181         * sunrpc/svc_authux.c: Likewise.
60182         * sunrpc/svc_raw.c: Likewise.
60183         * sunrpc/svc_run.c: Likewise.
60184         * sunrpc/svc_simple.c: Likewise.
60185         * sunrpc/svc_tcp.c: Likewise.
60186         * sunrpc/svc_udp.c: Likewise.
60187         * sunrpc/svc_unix.c: Likewise.
60188         * sunrpc/svcauth_des.c: Likewise.
60189         * sunrpc/xcrypt.c: Likewise.
60190         * sunrpc/xdr.c: Likewise.
60191         * sunrpc/xdr_array.c: Likewise.
60192         * sunrpc/xdr_float.c: Likewise.
60193         * sunrpc/xdr_mem.c: Likewise.
60194         * sunrpc/xdr_rec.c: Likewise.
60195         * sunrpc/xdr_ref.c: Likewise.
60196         * sunrpc/xdr_sizeof.c: Likewise.
60197         * sunrpc/xdr_stdio.c: Likewise.
60199         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60200         handling.
60202 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60204         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60206 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60208         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60209         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60210         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60211         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60212         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60213         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60214         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60215         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60216         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60217         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60218         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60219         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60220         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60221         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60223 2010-07-26  Anton Blanchard  <anton@samba.org>
60225         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60226         * malloc/arena.c (heap_trim): Likewise.
60228 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60230         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60231         here.  Not...
60232         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60233         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60235 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60237         * sysdeps/i386/elf/Makefile: New file.
60239 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60241         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60242         from fanotify_init.
60243         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60244         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60246 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60248         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60249         of strncasecmp_l.
60250         * sysdeps/multiarch/strcmp.S: Likewise.
60252 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60254         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60255         strncase_l-nonascii.
60256         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60257         Add strncase_l-ssse3.
60258         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60259         * sysdeps/x86_64/strcmp.S: Likewise.
60260         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60261         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60262         * sysdeps/x86_64/strncase.S: New file.
60263         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60264         * sysdeps/x86_64/strncase_l.S: New file.
60265         * string/Makefile (strop-tests): Add strncasecmp.
60266         * string/test-strncasecmp.c: New file.
60268         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60269         warning.
60271         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60272         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60274 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60276         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60278 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60280         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60281         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60282         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60284 2010-05-01  Alan Modra  <amodra@gmail.com>
60286         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60287         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60288         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60289         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60290         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60291         tidying.  Don't tail-call __sigjmp_save for static lib.
60292         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60293         save location.
60294         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60295         (CALL_MCOUNT): Add eh info, and nop after bl.
60296         (TAIL_CALL_SYSCALL_ERROR): New macro.
60297         (PSEUDO_RET): Use it.
60298         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60299         Correct save location of integer regs and cr.
60300         (_dl_profile_resolve): Correct cr save location.  Delete nops
60301         after bl when SHARED.  Reduce cfi size a little by better
60302         placement of cfi directives.
60303         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60304         make a stack frame.  Instead use parm save area as a temp.
60305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60306         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60308         Don't make a stack frame for parent, use parm save area.
60309         Increase child stack frame to 112 bytes.  Don't save unused reg,
60310         and adjust reg usage.  Set up cfi on error recovery and
60311         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60313         (__makecontext): Add dummy nop after jump to exit.
60314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60315         Use correct parm save area and cr save, reduce stack frame.
60316         Correct cfi for possible PSEUDO_RET frame setup.
60317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60318         Branch to local label emitted by PSEUDO_RET rather than
60319         __syscall_error.
60321 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60323         [BZ #11904]
60324         * locale/programs/locale.c (print_assignment): New function.
60325         (show_locale_vars): Use it.
60327 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60329         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60330         field.
60331         (struct statfs64): Likewise.
60332         (_STATFS_F_FLAGS): Define.
60333         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60334         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60335         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60336         (ST_VALID): Define locally.
60337         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60338         __statvfs_getflags, use the provided value.
60339         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60340         __ASSUME_STATFS_F_FLAGS.
60342         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60344         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60345         Add sys/fanotify.h.
60346         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60347         fanotify_mask for GLIBC_2.13.
60348         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60349         fanotify_init and fanotify_mark.
60350         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60351         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60353         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60354         Add prlimit.
60355         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60356         prlimit64 for GLIBC_2.13.
60357         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60358         prlimit64.
60359         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60360         syscall.
60361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60363         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60365         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60366         add prlimit alias.
60367         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60369         [BZ #11903]
60370         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60371         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60373         * nss/Makefile: Add rules to build and run tst-nss-test1.
60374         * shlib-versions: Add entry for libnss_test1.
60375         * nss/nss_test1.c: New file.
60376         * nss/tst-nss-test1.c: New file.
60378         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60379         (__nss_configure_lookup): Set appropriate entry in
60380         __nss_configure_lookup to true.
60381         * nss/nsswitch.h: Define enum with indeces of databases in
60382         databases and __nss_database_custom arrays.  Declare
60383         __nss_database_custom.
60384         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60385         to avoid using nscd when custom rules are installed.
60386         * nss/getXXbyYY_r.c: Likewise.
60387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60389         * nss/nss_files/files-parse.c: Whitespace fixes.
60391 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60393         [BZ #11883]
60394         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60395         * posix/fnmatch_loop.c: Likewise.
60397 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60399         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60400         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60401         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60402         * Versions.def [GLIBC_2.13]: Add.
60404 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60406         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60407         Also fail if tpwd after pwuid call is NULL.
60409 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60411         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60412         when converting to ms.
60414 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60416         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60417         EOPNOTSUPP errors with ENOTTY.
60418         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60419         EOPNOTSUPP errors with ENOTTY.
60421 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60423         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60424         Add strcasecmp_l-ssse3.
60425         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60426         strcasecmp.
60427         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60428         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60429         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60431 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60433         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60435         * string/Makefile (strop-tests): Add strcasecmp.
60436         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60437         strcasecmp_l-nonascii.
60438         (gen-as-const-headers): Add locale-defines.sym.
60439         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60440         * sysdeps/x86_64/strcasecmp.S: New file.
60441         * sysdeps/x86_64/strcasecmp_l.S: New file.
60442         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60443         * sysdeps/x86_64/locale-defines.sym: New file.
60444         * string/test-strcasecmp.c: New file.
60446         * string/test-strcasestr.c: Test both ends of the range of characters.
60447         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60449 2010-07-29  Roland McGrath  <roland@redhat.com>
60451         [BZ #11856]
60452         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60454 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60456         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60457         for ld.so.
60459 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60461         * manual/memory.texi (Malloc Tunable Parameters): Document
60462         M_PERTURB.
60464 2010-07-26  Roland McGrath  <roland@redhat.com>
60466         [BZ #11840]
60467         * configure.in (-fgnu89-inline check): Set and substitute
60468         gnu89_inline, not libc_cv_gnu89_inline.
60469         * configure: Regenerated.
60470         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60472 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60474         * string/test-strnlen.c: New file.
60475         * string/Makefile (strop-tests): Add strnlen.
60476         * string/tester.c (test_strnlen): Add a few more test cases.
60477         * string/tst-strlen.c: Better error reporting.
60479         * sysdeps/x86_64/strnlen.S: New file.
60481 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60483         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60484         lower-latency instructions.
60486 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60488         * string/test-strcasestr.c: New file.
60489         * string/test-strstr.c: New file.
60490         * string/Makefile (strop-tests): Add strstr and strcasestr.
60491         * string/str-two-way.h: Don't undefine MAX.
60492         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60494 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60497         strcasestr-nonascii.
60498         (CFLAGS-strcasestr-nonascii.c): Define.
60499         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60500         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60501         Remove unused attribute.
60503 2010-07-20  Roland McGrath  <roland@redhat.com>
60505         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60506         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60507         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60508         like LD_HWCAP_MASK can disable hwcaps.
60510 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60512         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60514 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60516         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60517         call in strcasestr.
60518         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60519         __strcasestr_sse42_nonascii.
60520         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60521         strcasestr-nonascii.c.
60522         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60524 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60526         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60527         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60528         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60529         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60531 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60533         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60534         fcntl.
60536 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60538         [BZ #11577]
60539         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60540         dl_signal_cerror.
60542 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60544         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60545         _PC_PIPE_BUF using F_GETPIPE_SZ.
60547 2010-07-05  Roland McGrath  <roland@redhat.com>
60549         * manual/arith.texi (Rounding Functions): Fix rint description
60550         implicit in round description.
60552 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60554         * elf/Makefile: Fix linking for a few tests to make recent linker
60555         happy.
60557 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60559         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60560         $(common-objpfx)libc_nonshared.a.
60562 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60564         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60565         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60566         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60567         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60568         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60569         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60570         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60571         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60586         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60587         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60588         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60589         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60590         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60591         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60592         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60593         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60594         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60595         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60596         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60597         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60613 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60615         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60616         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60617         * string/memmove.c (memmove): Renamed to ...
60618         (MEMMOVE): ...this.  Default to memmove.
60619         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60620         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60621         (END_CHK): Define.
60622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60623         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60624         mempcpy-ssse3-back memmove-ssse3-back.
60625         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60626         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60627         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60628         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60629         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60630         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60631         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60632         * sysdeps/x86_64/multiarch/memmove.c: New file.
60633         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60634         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60635         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60636         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60637         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60638         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60639         Define.
60640         (index_Fast_Copy_Backward): Define.
60641         (HAS_ARCH_FEATURE): Define.
60642         (HAS_FAST_REP_STRING): Define.
60643         (HAS_FAST_COPY_BACKWARD): Define.
60645 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60647         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60648         Restore proper fallback handling.
60650 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60652         [BZ #11701]
60653         * posix/group_member.c (__group_member): Correct checking loop.
60655         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60656         OOM in getpwuid_r correctly.  Return error number when the caller
60657         should return, otherwise -1.
60658         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60659         call returning > 0 value.
60660         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60662 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60664         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60665         libc_nonshared.a from targets in modules-names.
60667 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60669         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60670         requires it.
60672 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60674         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60675         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60676         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60677         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60679 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60681         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60683 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60685         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60686         and F_GETPIPE_SZ.
60687         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60689         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60690         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60691         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60692         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60694 2010-06-14  Roland McGrath  <roland@redhat.com>
60696         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60698 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60700         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60701         __REDIRECT followed by __THROW.
60702         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60703         * posix/getopt.h (getopt): Likewise.
60705 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60707         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60708         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60709         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60710         in AT_FLAGS.
60711         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60712         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60714 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60716         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60718 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60720         [BZ #11640]
60721         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60722         Properly check family and model.
60724 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60726         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60728 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60730         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60732 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60734         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60735         symbol reference.
60737 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60739         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60740         symbol reference.
60742 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60745         and internal_recvmmsg.
60746         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60747         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60748         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60749         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60751         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60752         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60753         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60755 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60757         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60759 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60761         POWER7 optimizations.
60762         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60763         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60765 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60767         * version.h: Update for 2.13 development version.
60769 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60771         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60772         exceptions.  Return 0.
60774 2010-05-07  Roland McGrath  <roland@redhat.com>
60776         * elf/ldconfig.c (main): Add a const.
60778 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60780         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60781         (args_options): Add no-idn option.
60782         (ahosts_keys_int): Add idn_flags to ai_flags.
60783         (parse_option): Handle 'i' option to clear idn_flags.
60785         * malloc/malloc.c (_int_free): Possible race in the most recently
60786         added check.  Only act on the data if no current modification
60787         happened.
60789 See ChangeLog.17 for earlier changes.