1 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
12 (in6addr_loopback): Rename to __in6addr_loopback and define as
13 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
14 * include/netinet/in.h (__in6addr_loopback): Declare. Use
16 (__in6addr_any): Likewise.
17 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
26 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
31 * sysdeps/x86_64/fpu/Versions: New versions added.
32 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34 build of SSE, AVX2 and AVX512 IFUNC versions.
35 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
37 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
38 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
39 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
40 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
41 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
42 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
43 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
44 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
45 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
46 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
47 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
48 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
49 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
50 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
51 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
52 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
53 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
54 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
55 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
56 * NEWS: Mention addition of x86_64 vector pow.
58 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
59 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
60 redirections for expf.
61 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
62 * sysdeps/x86_64/fpu/Versions: New versions added.
63 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
64 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
65 build of SSE, AVX2 and AVX512 IFUNC versions.
66 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
67 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
68 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
69 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
70 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
71 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
72 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
73 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
74 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
75 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
76 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
77 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
78 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
79 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
80 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
81 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
82 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
83 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
84 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
85 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
86 * NEWS: Mention addition of x86_64 vector expf.
88 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
89 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
90 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
91 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
93 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
94 * sysdeps/x86_64/fpu/Versions: New versions added.
95 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
96 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
97 build of SSE, AVX2 and AVX512 IFUNC versions.
98 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
99 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
101 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
102 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
103 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
104 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
105 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
106 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
107 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
108 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
109 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
110 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
111 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
112 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
113 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
114 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
115 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
116 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
117 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
118 * NEWS: Mention addition of x86_64 vector exp.
120 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
121 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
122 redirections for logf.
123 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
124 * sysdeps/x86_64/fpu/Versions: New versions added.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
126 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
127 build of SSE, AVX2 and AVX512 IFUNC versions.
128 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
129 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
130 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
131 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
132 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
133 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
134 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
135 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
136 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
137 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
138 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
139 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
140 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
141 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
142 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
143 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
144 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
145 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
146 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
147 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
148 * NEWS: Mention addition of x86_64 vector logf.
150 * bits/libm-simd-decl-stubs.h: Added stubs for log.
151 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
152 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
153 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
154 redirections for log.
155 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
156 * sysdeps/x86_64/fpu/Versions: New versions added.
157 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
158 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
159 build of SSE, AVX2 and AVX512 IFUNC versions.
160 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
161 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
162 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
163 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
164 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
165 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
166 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
167 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
168 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
169 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
170 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
171 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
172 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
173 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
174 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
175 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
176 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
177 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
178 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
179 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
180 * NEWS: Mention addition of x86_64 vector log.
182 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
184 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
185 cfi_adjust_cfa_offset argument.
186 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
187 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
190 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
191 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
192 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
194 (_dl_tlsdesc_dynamic): Likewise.
195 (_dl_tlsdesc_return_lazy): Likewise.
196 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
197 relaxed atomics instead of volatile and synchronize with release store.
198 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
200 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
202 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
205 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
206 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
207 * sysdeps/x86_64/fpu/Versions: New versions added.
208 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
209 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
210 build of SSE, AVX2 and AVX512 IFUNC versions.
211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
213 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
214 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
215 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
216 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
217 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
218 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
219 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
220 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
221 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
222 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
223 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
224 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
225 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
226 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
227 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
228 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
229 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
230 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
231 * NEWS: Mention addition of x86_64 vector sinf.
233 2015-06-14 Joseph Myers <joseph@codesourcery.com>
235 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
236 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
237 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
239 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
240 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
242 2015-06-12 Joseph Myers <joseph@codesourcery.com>
245 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
246 strong alias of _IO_fputs. Use libc_hidden_def.
247 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
248 and define as weak alias of __fputs_unlocked. Use
250 * include/stdio.h (__fputs_unlocked): Declare. Use
252 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
256 * resolv/netdb.h [__USE_POSIX]: Change condition to
258 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
260 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
261 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
262 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
263 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
264 [XPG4 || UNIX98] (AI_ALL): Likewise.
265 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
266 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
267 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
268 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
269 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
270 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
271 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
272 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
273 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
274 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
275 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
276 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
277 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
278 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
279 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
280 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
281 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
282 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
283 [XPG4 || UNIX98] (gai_strerror): Likewise.
284 [XPG4 || UNIX98] (getaddrinfo): Likewise.
285 [XPG4 || UNIX98] (getnameinfo): Likewise.
288 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
289 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
291 (getgrent): Likewise.
292 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
294 [XPG3 || POSIX2008] (endgrent): Likewise.
295 [XPG3] (setgrent): Likewise.
296 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
298 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
301 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
302 define as weak alias of __getlogin_r. Use libc_hidden_weak.
303 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
304 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
305 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
306 * include/unistd.h (__getlogin_r): Declare. Use
308 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
309 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
311 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
312 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
313 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
315 2015-06-12 Martin Sebor <msebor@redhat.com>
318 * Makerules (check-install-supported): New target.
319 (install): Add check-install-supported as a dependency.
320 * manual/install.texi (Installing the C Library): Document
321 that overriding prefix and exec_prefix is not supported.
323 * INSTALL: Regenerate from the above.
325 2015-06-12 Joseph Myers <joseph@codesourcery.com>
328 * posix/Versions (libc): Export __libc_pread at version
330 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
332 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
337 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
338 (cvt_symbol): Use weak_alias instead of strong_alias.
339 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
340 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
342 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
343 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
346 * inet/herrno.c (h_errno): Rename to __h_errno.
347 (__libc_h_errno): Define as alias of __h_errno not h_errno.
348 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
349 to __h_errno instead of h_errno.
350 * nptl/herrno.c (h_errno): Rename to __h_errno.
351 (__h_errno_location): Refer to __h_errno not h_errno.
352 * resolv/Versions (h_errno): Rename to __h_errno.
353 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
355 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
357 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
359 * configure.ac: More strict check for AVX512 assembler support.
360 * configure: Regenerated.
362 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
363 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
364 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
365 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
366 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
367 * sysdeps/x86_64/fpu/Versions: New versions added.
368 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
369 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
370 build of SSE, AVX2 and AVX512 IFUNC versions.
371 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
374 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
375 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
376 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
377 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
378 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
379 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
380 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
381 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
382 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
383 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
384 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
385 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
386 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
387 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
388 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
389 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
390 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
391 * NEWS: Mention addition of x86_64 vector sin.
393 2015-06-11 Florian Weimer <fweimer@redhat.com>
395 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
398 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
401 * nptl/pt-interp.c: New file.
402 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
404 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
405 $(common-objpfx)runtime-linker.h.
407 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
409 * Makeconfig (+interp): Remove unused variable.
410 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
411 only. Depend on $(common-objpfx)runtime-linker.h instead of
412 $(elf-objpfx)runtime-linker.h.
413 ($(elf-objpfx)runtime-linker.h): Rename to
414 $(common-objpfx)runtime-linker.h and move ...
415 * Makerules [$(build-shared) = yes]: ... here.
416 * elf/interp.c: Include <runtime-linker.h> instead of
417 <elf/runtime-linker.h>.
419 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
421 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
422 (__gettimeofday_syscall): Remove vsyscall fallback.
423 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
424 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
425 Add syscall fallback function.
426 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
427 if vDSO is not present.
428 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
430 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
433 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
435 2015-06-09 Joseph Myers <joseph@codesourcery.com>
438 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
440 (wcscmp): Define as weak alias of WCSCMP.
441 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
443 (USE_HIDDEN_DEF): Define.
444 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
445 __wcscoll. Don't use libc_hidden_weak.
446 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
448 * sysdeps/i386/i686/multiarch/wcscmp-c.c
449 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
451 (weak_alias): Undefine and redefine.
452 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
453 __wcscmp and define as weak alias of __wcscmp.
454 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
455 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
456 (__wcscoll): Likewise.
457 (wcscmp): Don't use libc_hidden_proto.
459 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
461 * posix/regexec.c (check_node_accept_bytes): Likewise.
462 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
464 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
465 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
468 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
469 __fstatvfs and define as weak alias of __fstatvfs. Use
471 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
472 and define as weak alias of __statvfs. Use libc_hidden_weak.
473 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
474 Define as alias of __fstatvfs, not fstatvfs.
475 (fstatvfs64): Likewise.
476 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
477 Define as alias of __statvfs, not statvfs.
478 (statvfs64): Likewise.
479 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
482 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
485 (HAVE_GETCPU_VSYSCALL): Define.
486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
487 (HAVE_GETCPU_VSYSCALL): Likewise.
488 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
489 * sysdeps/unix/sysv/linux/sched_getcpu.c
490 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
491 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
492 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
495 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
499 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
500 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
504 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
506 * sysdeps/x86_64/fpu/Makefile: New file.
507 * sysdeps/x86_64/fpu/Versions: New file.
508 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
509 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
510 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
511 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
512 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
513 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
514 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
519 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
520 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
521 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
522 build of SSE, AVX2 and AVX512 IFUNC versions.
523 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
524 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
525 * sysdeps/x86_64/configure.ac: Options for libmvec build.
526 * sysdeps/x86_64/configure: Regenerated.
527 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
528 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
529 * manual/install.texi (Configuring and compiling): Document
531 * INSTALL: Regenerated.
532 * NEWS: Mention addition of libmvec and x86_64 vector cos.
534 * math/Makefile: Added rules for vector tests.
535 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
536 declaration under condition.
537 * math/test-double-vlen2.h: New file.
538 * math/test-double-vlen4.h: New file.
539 * math/test-double-vlen8.h: New file.
540 * math/test-vec-loop.h: Added initialization macro.
541 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
542 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
543 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
544 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
545 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
546 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
547 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
548 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
549 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
550 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
551 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
553 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
554 * sysdeps/x86_64/fpu/Versions: New versions added.
555 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
556 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
557 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
558 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
559 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
560 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
561 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
562 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
563 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
564 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
565 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
566 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
567 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
568 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
569 build of SSE, AVX2 and AVX512 IFUNC versions.
570 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
571 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
572 * NEWS: Mention addition of x86_64 vector cosf.
574 * math/Makefile: Added CFLAGS for new tests.
575 * math/test-float-vlen16.h: New file.
576 * math/test-float-vlen4.h: New file.
577 * math/test-float-vlen8.h: New file.
578 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
579 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
580 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
581 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
582 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
583 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
584 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
585 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
586 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
587 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
588 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
590 2015-06-09 Marko Myllynen <myllynen@redhat.com>
592 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
593 * locale/programs/ld-ctype.c: Likewise.
595 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
597 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
598 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
599 bit_ZMM16_31_state): New macro.
600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
601 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
603 2015-06-08 Joseph Myers <joseph@codesourcery.com>
605 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
607 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
609 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
611 2015-06-05 Joseph Myers <joseph@codesourcery.com>
614 * libio/memstream.c (open_memstream): Rename to __open_memstream
615 and define as weak alias of __open_memstream.
616 * include/stdio.h (__open_memstream): Declare. Use
618 (open_memstream): Don't use libc_hidden_proto.
619 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
621 * posix/getopt.c (_getopt_internal_r): Likewise.
622 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
624 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
625 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
626 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
629 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
633 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
634 [__USE_XOPEN2K8]. Remove redundant #endif.
635 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
636 Remove redundant #if.
637 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
639 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
643 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
644 (__iswlower): Likewise.
645 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
646 (__iswlower): Likewise.
647 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
649 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
650 instead of iswlower. Call __towupper instead of towupper.
651 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
654 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
656 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
659 2015-06-05 Florian Weimer <fweimer@redhat.com>
663 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
664 Check for overflow properly. Check for O_APPEND. Ignore large
665 file system block sizes. Add comments about problems.
666 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
667 * manual/filesys.texi (Storage Allocation): New node.
669 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
671 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
672 cancellable syscalls.
673 (SYS_ify): Add guard to no redefine it.
674 (INLINE_SYSCALL): Likewise.
675 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
676 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
677 SYSCALL_CANCEL instead.
678 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
679 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
680 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
681 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
682 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
683 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
684 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
685 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
686 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
687 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
688 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
689 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
690 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
691 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
692 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
693 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
695 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
696 (__libc_pread64): Likewise.
697 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
698 (__libc_preadv): Likewise.
699 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
700 (__libc_readv64): Likewise.
701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
702 (__libc_pwrite): Likewise.
703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
704 (__libc_pwrite64): Likewise.
705 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
706 (__libc_pwritev): Likewise.
707 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
708 (__libc_pwritev64): Likewise.
709 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
710 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
711 (sync_file_range): Likewise.
712 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
714 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
716 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
717 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
718 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
719 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
720 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
721 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
722 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
723 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
727 (__libc_read64): Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
737 (__libc_pread64): Likewise.
738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
741 (__libc_pwrite64): Likewise.
742 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
743 (sync_file_range): Likewise.
744 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
745 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
746 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
747 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
748 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
749 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
750 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
751 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
752 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
753 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
754 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
755 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
756 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
757 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
758 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
759 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
760 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
761 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
762 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
764 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
766 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
767 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
769 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
770 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
771 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
772 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
774 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
775 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
776 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
777 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
780 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
782 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
784 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
785 Use VDSO routines for gettimeofday, clock_gettime if
787 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
788 Declare VDSO symbols.
789 * sysdeps/unix/sysv/linux/arm/sysdep.h:
790 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
791 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
792 * sysdeps/unix/sysv/linux/arm/Versions: Add
793 __vdso_clock_gettime.
795 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
797 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
798 be an inline implementation regardless of library is built within.
799 (open_not_cancel_2): Likewise.
800 (__read_nocancel): Likewise.
801 (__write_nocancel): Likewise.
802 (openat_not_cancel): Likewise.
803 (openat_not_cancel_3): Likewise.
804 (openat64_not_cancel): Likewise.
805 (openat64_not_cancel_3): Likewise.
806 (__close_nocancel): Likewise.
807 (pause_not_cancel): Likewise.
808 (nanosleep_not_cancel): Likewise.
809 (sigsuspend_not_cancel): Likewise.
811 2015-06-04 Torvald Riegel <triegel@redhat.com>
814 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
816 (__pthread_rwlock_rdlock_slow): Likewise.
817 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
819 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
821 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
822 * nptl/tst-rwlock16.c: New file.
823 * nptl/Makefile (tests): Add new test.
825 2015-06-04 Torvald Riegel <triegel@redhat.com>
828 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
829 missing wake-up of readers.
830 * nptl/tst-rwlock15.c: New file.
831 * nptl/Makefile (tests): Add new test.
833 2015-06-03 Roland McGrath <roland@hack.frob.com>
835 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
836 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
837 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
838 and __nacl_supply_interface_rtld.
839 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
840 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
841 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
842 Add __nacl_supply_interface_rtld.
843 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
845 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
847 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
850 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
852 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
854 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
855 __signbit* with standard C99 macros.
856 * math/e_exp10l.c: Likewise.
857 * math/e_exp2l.c: Likewise.
858 * math/e_scalb.c: Likewise.
859 * math/e_scalbf.c: Likewise.
860 * math/e_scalbl.c: Likewise.
861 * math/s_ldexp.c: Likewise.
862 * math/s_ldexpf.c: Likewise.
863 * math/s_ldexpl.c: Likewise.
864 * math/w_atan2.c: Likewise.
865 * math/w_atan2f.c: Likewise.
866 * math/w_atan2l.c: Likewise.
867 * math/w_cosh.c: Likewise.
868 * math/w_coshf.c: Likewise.
869 * math/w_coshl.c: Likewise.
870 * math/w_exp10.c: Likewise.
871 * math/w_exp10f.c: Likewise.
872 * math/w_exp10l.c: Likewise.
873 * math/w_exp2.c: Likewise.
874 * math/w_exp2f.c: Likewise.
875 * math/w_exp2l.c: Likewise.
876 * math/w_fmod.c: Likewise.
877 * math/w_fmodf.c: Likewise.
878 * math/w_fmodl.c: Likewise.
879 * math/w_hypot.c: Likewise.
880 * math/w_hypotf.c: Likewise.
881 * math/w_hypotl.c: Likewise.
882 * math/w_jnl.c: Likewise.
883 * math/w_lgamma.c: Likewise.
884 * math/w_lgamma_r.c: Likewise.
885 * math/w_lgammaf.c: Likewise.
886 * math/w_lgammaf_r.c: Likewise.
887 * math/w_lgammal.c: Likewise.
888 * math/w_lgammal_r.c: Likewise.
889 * math/w_pow.c: Likewise.
890 * math/w_powf.c: Likewise.
891 * math/w_powl.c: Likewise.
892 * math/w_remainder.c: Likewise.
893 * math/w_remainderf.c: Likewise.
894 * math/w_remainderl.c: Likewise.
895 * math/w_scalb.c: Likewise.
896 * math/w_scalbf.c: Likewise.
897 * math/w_scalbl.c: Likewise.
898 * math/w_scalbln.c: Likewise.
899 * math/w_scalblnf.c: Likewise.
900 * math/w_scalblnl.c: Likewise.
901 * math/w_sinh.c: Likewise.
902 * math/w_sinhf.c: Likewise.
903 * math/w_sinhl.c: Likewise.
904 * math/w_tgamma.c: Likewise.
905 * math/w_tgammaf.c: Likewise.
906 * math/w_tgammal.c: Likewise.
907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
908 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
909 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
910 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
911 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
913 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
914 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
915 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
917 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
918 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
919 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
920 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
922 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
924 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
925 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
926 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
928 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
933 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
934 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
935 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
936 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
937 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
938 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
939 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
940 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
941 * stdio-common/printf_fp.c: Likewise.
942 * stdio-common/printf_fphex.c: Likewise.
943 * stdio-common/printf_size.c: Likewise.
945 2015-06-03 Joseph Myers <joseph@codesourcery.com>
948 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
950 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
952 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
953 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
954 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
955 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
956 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
957 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
958 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
959 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
960 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
961 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
964 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
965 weak alias of __wmemchr. Use libc_hidden_weak.
966 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
967 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
970 2015-06-02 Roland McGrath <roland@hack.frob.com>
973 * elf/tst-tlsalign-extern.c: New file.
974 * elf/tst-tlsalign-extern-static.c: New file.
975 * elf/tst-tlsalign-vars.c: New file.
976 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
977 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
978 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
979 ($(objpfx)tst-tlsalign-extern-static): Likewise.
980 (test-xfail-tst-tlsalign-extern-static): New variable.
982 2015-06-02 Joseph Myers <joseph@codesourcery.com>
984 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
985 Use variable name _sc_err instead of err.
986 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
988 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
989 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
990 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
991 (INLINE_SYSCALL): Likewise.
993 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
994 * include/string.h (__strnlen): Use libc_hidden_proto.
995 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
996 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
997 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
998 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
999 (libc_hidden_def): Undefine and redefine.
1000 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1001 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1003 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1005 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1008 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1009 weak alias of __towlower. Use libc_hidden_weak.
1010 (towupper): Rename to __towupper and define as weak alias of
1011 __towupper. Use libc_hidden_weak.
1012 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
1013 (__towupper): Likewise.
1014 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1015 __towlower instead of towlower.
1017 2015-06-02 Roland McGrath <roland@hack.frob.com>
1019 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1020 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1022 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1024 * sysdeps/aarch64/libm-test-ulps: Update.
1026 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1028 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1030 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1031 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1032 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1033 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1034 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1035 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1036 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1038 2015-06-01 Martin Sebor <msebor@redhat.com>
1041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1042 (__setcontext): Use extended four-operand version of mtsf whenever
1044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1045 (__novec_swapcontext): Likewise.
1047 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1049 * benchtests/scripts/compare_bench.py: New file.
1050 * benchtests/scripts/import_bench.py (mean): New function.
1051 (split_list): Likewise.
1052 (do_for_all_timings): Likewise.
1053 (compress_timings): Likewise.
1055 * benchtests/scripts/import_bench.py: New file.
1056 * benchtests/scripts/validate_benchout.py: Import import_bench
1057 instead of jsonschema.
1058 (validate_bench): Remove function.
1059 (main): Use import_bench.
1061 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
1063 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1064 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1066 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1070 2015-05-28 Roland McGrath <roland@hack.frob.com>
1072 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1073 set THREAD_SELF->tid to a magic value and futex-wake it.
1074 Pass its address to the thread_exit system call.
1075 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1077 * sysdeps/nacl/lowlevellock.h: New file.
1078 * sysdeps/nacl/lll_timedwait_tid.c: New file.
1080 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1081 Add TIMEOUT to current time, don't subtract it.
1083 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
1086 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1087 ($(objpfx)tst-audit2.out): Also depend on
1088 $(objpfx)tst-auditmod9b.so.
1089 * elf/tst-audit2.c: Include <dlfcn.h>.
1090 (calloc_called): New.
1091 (calloc): Allow to be called more than once.
1092 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1094 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
1096 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1097 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1099 2015-05-27 Marko Myllynen <myllynen@redhat.com>
1101 * stdlib/monetary.h: Fix comment.
1103 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
1105 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1106 Avoid using variables in #defines that might cause shadowing.
1107 (INTERNAL_VSYSCALL_CALL): Likewise.
1109 2015-05-26 Roland McGrath <roland@hack.frob.com>
1111 * sysdeps/nacl/lll_timedlock_wait.c: New file.
1113 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1114 * nptl/lll_timedlock_wait.c: ... to this new file.
1115 * nptl/Makefile (libpthread-routines): Add it.
1116 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1117 * nptl/lll_timedwait_tid.c: ... to this new file.
1118 * nptl/Makefile (libpthread-routines): Add it.
1119 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1120 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1121 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1122 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1123 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1124 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1125 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1126 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1127 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1128 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1130 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1132 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1133 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1134 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1136 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1137 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1138 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1139 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1140 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1141 * sysdeps/unix/sysv/linux/tile/sysdep.h
1142 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1143 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1144 using vDSO syscall macro.
1146 2015-05-26 Andriy Rysin <arysin@gmail.com>
1149 * uk_UA: Fix sorting order for Ukrainian locale
1151 2015-05-26 Marko Myllynen <myllynen@redhat.com>
1153 * stdlib/monetary.h: Fix comment.
1155 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
1158 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1159 st_mtim and st_ctim members.
1160 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1161 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1162 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1163 (struct stat64): Likewise.
1164 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1165 (struct stat64): Likewise.
1166 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1167 (struct stat64): Likewise.
1169 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1171 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1172 Define and include sysdep-vdso.h.
1173 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1175 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1177 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1178 Define with VDSO_SYMBOL and use PTR_MANGLE.
1179 (__vdso_clock_gettime): Likewise.
1180 (__vdso_clock_getres): Likewise.
1181 (_libc_vdso_platform_setup): Likewise.
1182 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1184 (_libc_vdso_platform_setup): Likewise.
1185 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1187 (__vdso_clock_gettime): Likewise.
1188 (__vdso_clock_getres): Likewise.
1189 (__vdso_get_tbfreq): Likewise.
1190 (__vdso_getcpu): Likewise.
1191 (__vdso_time): Likewise.
1192 (__vdso_sigtramp_rt64): Likewise.
1193 (__vdso_signtramp32): Likewise.
1194 (__vdso_sigtramp_rt32): Likewise.
1195 (_libc_vdso_platform_setup): Likewise.
1196 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1198 (__vdso_clock_gettime): Likewise.
1199 (__vdso_clock_getres): Likewise.
1200 (_libc_vdso_platform_setup): Likewise.
1201 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1203 (__vdso_clock_gettime): Likewise.
1204 (_libc_vdso_platform_setup): Likewise.
1205 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1207 (__vdso_getcpu): Likewise.
1208 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1209 Use VDSO_SYMBOL macro to define.
1210 (__vdso_clock_gettime): Likewise.
1211 (__vdso_clock_getres): Likewise.
1212 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1214 (__vdso_clock_gettime): Likewise.
1215 (__vdso_clock_getres): Likewise.
1216 (__vdso_get_tbfreq): Likewise.
1217 (__vdso_getcpu): Likewise.
1218 (__vdso_time): Likewise.
1219 (__vdso_sigtramp_rt64): Likewise.
1220 (__vdso_signtramp32): Likewise.
1221 (__vdso_sigtramp_rt32): Likewise.
1222 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1224 (__vdso_clock_gettime): Likewise.
1225 (__vdso_clock_getres): Likewise.
1226 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1228 (__vdso_clock_gettime): Likewise.
1229 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1231 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
1233 (INTERNAL_VSYSCALL): Likewise.
1234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1236 (INTERNAL_VSYSCALL): Likewise.
1237 (INTERNAL_VSYSCALL_NCS): Likewise.
1238 (INTERNAL_VSYSCALL_CALL): New macro.
1239 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1242 (INTERNAL_VSYSCALL): Likewise.
1243 (INTERNAL_VSYSCALL_NCS): Likewise.
1244 (INTERNAL_VSYSCALL_CALL): New macro.
1245 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1247 (INLINE_VSYSCALL): Remove macro.
1248 (INTERNAL_VSYSCALL): Remove macro.
1249 (INTERNAL_VSYSCALL_NCS): Remove macro.
1250 (INTERNAL_VSYSCALL_CALL): New macro.
1251 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1252 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1253 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1254 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1255 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1257 (INLINE_VSYSCALL): Remove macro.
1258 (INTERNAL_VSYSCALL): Likewise.
1259 (INTERNAL_VSYSCALL_NCS): Likewise.
1260 (INTERNAL_VSYSCALL_CALL): New macro.
1261 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1262 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1263 PTR_DEMANGLE on vDSO pointer.
1264 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1265 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1267 (INTERNAL_SYSCALL): Likewise.
1268 (INTERNAL_VSYSCALL_NCS): Remove macro.
1269 (INTERNAL_VSYSCALL_CALL): New macro.
1270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1272 (INTERNAL_VSYSCALL): Likewise.
1273 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1274 sysdep-vdso.h instead of libc-vdso.h.
1275 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1277 (INLINE_VSYSCALL): Likewise.
1278 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1279 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1281 (INLINE_VSYSCALL): Likewise.
1282 (INTERNAL_VSYSCALL): Likewise.
1283 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1284 * sysdeps/unix/sysv/linux/timespec_get.c
1285 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1286 (timespec_get): Use ANSI prototype.
1287 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1288 and definition for Linux.
1290 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
1292 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1293 * include/libc-symbols.h: libmvec_hidden_* macro series added.
1295 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
1298 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1299 for missing DT_PLTRELSZ.
1301 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
1303 Remove obsolete aliases that broke 'locale -a'
1305 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1306 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1307 breaking some applications that use 'locale -a' output.
1308 Change the encoding of this file from Latin-1 to ASCII to avoid
1309 other potential problems with people grepping this file.
1311 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1313 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1314 -fasynchronous-unwind-tables.
1315 (CFLAGS-sendto.c): Likewise.
1316 (CFLAGS-sendmsg.c): Likewise.
1317 (CFLAGS-connect.c): Likewise.
1318 (CFLAGS-recvmsg.c): Likewise.
1319 (CFLAGS-recvfrom.c): Likewise.
1320 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1321 (SOCKETCALL): New macro: non-cancellable socketcall.
1322 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1323 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1324 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1325 * sysdeps/unix/sysv/linux/accept.c: New file.
1326 * sysdeps/unix/sysv/linux/bind.c: Likewise.
1327 * sysdeps/unix/sysv/linux/connect.c: Likewise.
1328 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1329 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1330 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1331 * sysdeps/unix/sysv/linux/listen.c: Likewise.
1332 * sysdeps/unix/sysv/linux/recv.c: Likewise.
1333 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1334 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1335 * sysdeps/unix/sysv/linux/send.c: Likewise.
1336 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1337 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1338 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1339 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1340 * sysdeps/unix/sysv/linux/socket.c: Likewise.
1341 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1342 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1344 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1345 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1346 instead of __internal_xxx function.
1347 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1349 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1350 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1351 instead of __internal_xxx function.
1352 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1354 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1355 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1356 instead of __internal_xxx function.
1357 * sysdeps/unix/sysv/linux/accept.S: Remove file.
1358 * sysdeps/unix/sysv/linux/bind.S: Likewise.
1359 * sysdeps/unix/sysv/linux/connect.S: Likewise.
1360 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1361 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1362 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1363 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1364 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1365 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1366 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1367 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1368 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1369 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1370 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1371 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1372 * sysdeps/unix/sysv/linux/listen.S: Likewise.
1373 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1374 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1375 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1376 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1379 * sysdeps/unix/sysv/linux/recv.S: Likewise.
1380 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1381 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1382 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1383 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1384 * sysdeps/unix/sysv/linux/send.S: Likewise.
1385 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1386 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1387 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1388 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1389 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1390 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1392 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1393 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1394 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1395 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1396 socketcall is implemented in GLIBC.
1398 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1400 * soft-fp/fmadf4.c: Include <libc-internal.h>.
1401 (__fma): Ignore uninitialized warnings around packing.
1402 * soft-fp/fmasf4.c: Include <libc-internal.h>.
1403 (__fmaf): Ignore uninitialized warnings around packing.
1404 * soft-fp/fmatf4.c: Include <libc-internal.h>.
1405 (__fmal): Ignore uninitialized warnings around packing.
1407 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1408 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1410 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1412 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1413 switch statement into default case.
1414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1416 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1417 a conditional in forcing "inexact".
1418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1421 2015-05-22 Roland McGrath <roland@hack.frob.com>
1423 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1424 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1425 for each INTERNAL_SYSCALL use.
1427 2015-05-22 Joseph Myers <joseph@codesourcery.com>
1430 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1431 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1435 * string/basename.c (basename): Rename to __basename and define as
1436 weak alias of __basename. Use libc_hidden_weak.
1437 * include/string.h (__basename): Declare. Use libc_hidden_proto.
1438 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1439 __basename instead of basename.
1440 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1442 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1444 2015-05-18 Florian Weimer <fweimer@redhat.com>
1446 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1447 (_IO_JUMPS_FILE_plus): New.
1448 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1449 _IO_CAST_FIELD_ACCESS.
1450 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1451 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1452 * libio/freopen.c (freopen): Likewise.
1453 * libio/freopen64.c (freopen64): Likewise.
1454 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1455 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1456 * libio/iofwide.c (_IO_fwide): Likewise.
1457 * libio/memstream.c (open_memstream): Likewise.
1458 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1459 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1460 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1462 2015-05-21 Joseph Myers <joseph@codesourcery.com>
1464 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1465 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1468 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1471 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1474 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1477 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1478 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1480 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1481 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1482 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1484 2015-05-21 Florian Weimer <fweimer@redhat.com>
1486 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1487 Adjust jump table label generation macros.
1489 2015-05-21 Florian Weimer <fweimer@redhat.com>
1491 * stdio-common/vfprintf.c (vfprintf): Move local variables
1492 args_malloced, specs, specs_malloced, and the code after
1493 do_positional to the printf_positional function.
1494 (printf_positional): New function.
1496 2015-05-21 Florian Weimer <fweimer@redhat.com>
1498 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1500 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1501 STEP4_TABLE, process_arg): Move macro definitions
1502 out of the vfprintf function. (Cosmetic change only.)
1504 2015-05-21 Carlos O'Donell <carlos@redhat.com>
1506 * benchtests/Makefile (stdio-common-bench): Define.
1507 (benchset): Add stdio-common-bench.
1508 * sprintf-inputs: New file.
1509 * sprintf-source.c: New file.
1511 2015-05-21 Andreas Schwab <schwab@suse.de>
1515 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1516 of struct __res_state.
1517 * resolv/res_send.c (__libc_res_nsend): Likewise.
1518 (get_nsaddr): New function.
1519 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1522 2015-05-20 Joseph Myers <joseph@codesourcery.com>
1524 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1525 -D_POSIX_C_SOURCE=199506L.
1527 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1529 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1530 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1531 Do not mention otherwise.
1532 [POSIX] (_XOPEN_VERSION): Do not expect.
1533 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1534 [POSIX] (_POSIX2_C_BIND): Likewise.
1535 [POSIX] (_POSIX2_VERSION): Likewise.
1536 [POSIX] (_XOPEN_XPG2): Likewise.
1537 [POSIX] (_XOPEN_XPG3): Likewise.
1538 [POSIX] (_XOPEN_XPG4): Likewise.
1539 [POSIX] (_XOPEN_UNIX): Likewise.
1540 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1541 [POSIX] (_POSIX_BARRIERS): Likewise.
1542 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1543 [POSIX] (_POSIX_CPUTIME): Likewise.
1544 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1545 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1546 [POSIX] (_POSIX_SHELL): Likewise.
1547 [POSIX] (_POSIX_SPAWN): Likewise.
1548 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1549 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1550 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1551 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1552 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1553 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1554 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1555 [POSIX] (_XBS5_LP64_OFF64): Likewise.
1556 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1557 [POSIX] (_POSIX_TIMEOUTS): Likewise.
1558 [POSIX] (_POSIX2_PBS): Likewise.
1559 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1560 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1561 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1562 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1563 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1564 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1565 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1566 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1567 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1568 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1569 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1570 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1571 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1572 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1573 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1574 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1575 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1576 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1577 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1578 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1579 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1580 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1581 [POSIX] (_SC_2_C_BIND): Likewise.
1582 [POSIX] (_SC_2_C_VERSION): Likewise.
1583 [POSIX] (_SC_2_PBS): Likewise.
1584 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1585 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1586 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1587 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1588 [POSIX] (_SC_2_PBS_TRACK): Likewise.
1589 [POSIX] (_SC_ATEXIT_MAX): Likewise.
1590 [POSIX] (_SC_BARRIERS): Likewise.
1591 [POSIX] (_SC_BASE): Likewise.
1592 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1593 [POSIX] (_SC_DEVICE_IO): Likewise.
1594 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1595 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1596 [POSIX] (_SC_FD_MGMT): Likewise.
1597 [POSIX] (_SC_FIFO): Likewise.
1598 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1599 [POSIX] (_SC_FILE_LOCKING): Likewise.
1600 [POSIX] (_SC_FILE_SYSTEM): Likewise.
1601 [POSIX] (_SC_IOV_MAX): Likewise.
1602 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1603 [POSIX] (_SC_NETWORKING): Likewise.
1604 [POSIX] (_SC_PAGE_SIZE): Likewise.
1605 [POSIX] (_SC_PASS_MAX): Likewise.
1606 [POSIX] (_SC_PIPE): Likewise.
1607 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1608 [POSIX] (_SC_REGEXP): Likewise.
1609 [POSIX] (_SC_SHELL): Likewise.
1610 [POSIX] (_SC_SIGNALS): Likewise.
1611 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1612 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1613 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1614 [POSIX] (_SC_USER_GROUPS): Likewise.
1615 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1616 [POSIX] (_SC_STREAMS): Likewise.
1617 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1618 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1619 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1620 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1621 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1622 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1623 [POSIX] (_PC_FILESIZEBITS): Likewise.
1624 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1625 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1626 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1627 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1628 [POSIX] (uid_t): Likewise.
1629 [POSIX] (gid_t): Likewise.
1630 [POSIX] (off_t): Likewise.
1631 [POSIX] (pid_t): Likewise.
1632 [POSIX] (cuserid): Allow.
1633 (_SC_2_CHAR_TERM): Require constant.
1634 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1635 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1638 2015-05-20 Roland McGrath <roland@hack.frob.com>
1640 * sysdeps/nacl/pthread-pids.h: New file.
1641 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1642 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1644 * nptl/pthread-pids.h: New file.
1645 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1646 * nptl/nptl-init.c: Include <pthread-pids.h>.
1647 (__pthread_initialize_minimal_internal):
1648 Call __pthread_initialize_pids instead of set_tid_address syscall.
1650 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1651 * sysdeps/posix/usleep.c: ... here.
1653 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1655 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1656 call_pselect6 object.
1657 [$(subdir) = io]: Remove call_sync_file_range object.
1658 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1659 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1660 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1661 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1663 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1665 * math/s_cproj.c: Add include "math_private.h".
1666 * math/s_cprojf.c: Likewise.
1667 * math/s_cprojl.c: Likewise.
1669 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1672 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1673 high mantissa bit when testing whether P is a NaN.
1674 * math/libm-test.inc (remainder_test_data): Add more tests.
1675 (remquo_test_data): Likewise.
1678 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1679 below -32, return the argument, with underflow if subnormal.
1680 * math/auto-libm-test-in: Add more tests of atanh.
1681 * math/auto-libm-test-out: Regenerated.
1683 2015-05-19 Roland McGrath <roland@hack.frob.com>
1686 * nptl/tst-sem15.c: New file.
1687 * nptl/Makefile (tests): Add it.
1688 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1689 s/<</>>/ to fix typo in EOVERFLOW check.
1690 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1692 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1694 * manual/strings.texi (envz_remove): Fix typo in safety
1697 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1698 Steve Ellcey <sellcey@imgtec.com>
1700 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1701 in order to avoid strict alias warnings.
1702 (iruserok_af): Ditto for ra.
1704 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1708 (magicbyte): Convert to a function and avoid returning 0x01.
1709 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1710 (mem2chunk_check): Fix unsigned comparisons to zero.
1711 Hoist defs of sz and magic.
1713 2015-05-19 Richard Henderson <rth@redhat.com>
1715 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1717 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1719 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1722 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1723 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1724 (reused_arena): Find a non-corrupt arena.
1725 (heap_trim): Pass arena to unlink.
1726 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1728 (top_check): Likewise.
1729 (free_check): Likewise.
1730 (realloc_check): Likewise.
1731 * malloc/malloc.c (malloc_printerr): Add arena argument.
1733 (munmap_chunk): Adjust.
1734 (ARENA_CORRUPTION_BIT): New macro.
1735 (arena_is_corrupt): Likewise.
1736 (set_arena_corrupt): Likewise.
1737 (sysmalloc): Use mmap if there are no usable arenas.
1738 (_int_malloc): Likewise.
1739 (__libc_malloc): Don't fail if arena_get returns NULL.
1740 (_mid_memalign): Likewise.
1741 (__libc_calloc): Likewise.
1742 (__libc_realloc): Adjust for additional argument to
1744 (_int_free): Likewise.
1745 (malloc_consolidate): Likewise.
1746 (_int_realloc): Likewise.
1747 (_int_memalign): Don't touch corrupt arenas.
1748 * malloc/tst-malloc-backtrace.c: New test case.
1750 * Makefile (summarize-tests): Fix return value on success.
1752 * manual/string.texi (Envz Functions): Add envz_remove.
1754 2015-05-18 Roland McGrath <roland@hack.frob.com>
1756 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1757 (invalid_name): New function, broken out of ...
1758 (__opendirat): ... here. Call it.
1759 (need_isdir_precheck): New function, broken out of ...
1760 (__opendirat): ... here. Call it.
1761 Use __fxstatat64, not __xstatat64.
1762 (opendir_oflags): New function, broken out of ...
1763 (__opendirat): ... here. Call it.
1764 (opendir_tail): New function, broken out of ...
1765 (__opendirat): ... here. Call it.
1766 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1767 opendir_tail, rather than punting to __opendirat.
1768 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1770 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1772 * .gitignore: Ignore generated *.pyc.
1774 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1776 * include/stdio.h: Define __need_wint_t.
1777 * test-skeleton.c: Avoid `for' loop initial declaration.
1778 * nptl/tst-initializers1.c: Use test-skeleton.c.
1780 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1783 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1785 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1788 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1789 (__ieee754_atanh): Force underflow exception for results with
1790 small absolute value.
1791 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1792 (__ieee754_atanhf): Force underflow exception for results with
1793 small absolute value.
1794 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1795 (__ieee754_atanh): Force underflow exception for results with
1796 small absolute value.
1797 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1798 (__ieee754_atanhf): Force underflow exception for results with
1799 small absolute value.
1800 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1801 (__ieee754_atanhl): Force underflow exception for results with
1802 small absolute value.
1803 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1804 (__ieee754_atanhl): Force underflow exception for results with
1805 small absolute value.
1806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1807 (__ieee754_atanhl): Force underflow exception for results with
1808 small absolute value.
1809 * math/auto-libm-test-in: Do not allow missing underflow
1810 exceptions from atanh.
1811 * math/auto-libm-test-out: Regenerated.
1814 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1815 2**-28 as threshold for returning x or +/- 1/x.
1816 * math/auto-libm-test-in: Add more tests of tan.
1817 * math/auto-libm-test-out: Regenerated.
1820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1821 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1822 * math/auto-libm-test-in: Add another test of lgamma.
1823 * math/auto-libm-test-out: Regenerated.
1825 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1827 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1828 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1829 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1830 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1831 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1832 (ADD2A): Use fabs. (SUB2A): Use fabs.
1833 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1836 (log1): Use fabs. (my_log2): Use fabs.
1837 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1838 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1840 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1842 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1843 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1844 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1845 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1846 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1847 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1849 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1852 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1853 as threshold for returning 1 - x.
1854 * math/auto-libm-test-in: Add more tests of erfc.
1855 * math/auto-libm-test-out: Regenerated.
1857 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1860 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1861 threshold for large arguments.
1862 * math/auto-libm-test-in: Add another test of atan.
1863 * math/auto-libm-test-out: Regenerated.
1866 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1867 (__log1p): Force underflow exception for results with small
1869 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1870 (__log1pf): Force underflow exception for results with small
1872 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1873 (__log1p): Force underflow exception for results with small
1875 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1876 (__log1pf): Force underflow exception for results with small
1878 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1879 (__log1pl): Force underflow exception for results with small
1881 * math/auto-libm-test-in: Do not allow missing underflow
1882 exceptions from log1p.
1883 * math/auto-libm-test-out: Regenerated.
1885 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1886 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1889 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1891 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1893 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1894 (libmvec): New variable.
1895 * configure.ac: Added option for mathvec build.
1896 * configure: Regenerated.
1897 * mathvec/Depend: New file.
1898 * mathvec/Makefile: New file.
1899 * shlib-versions: Added libmvec.
1900 * math/Makefile: Added rule for libm.so installation.
1902 * bits/math-vector.h: New file.
1903 * bits/libm-simd-decl-stubs.h: New header.
1904 * math/Makefile (headers): Added new header
1905 libm-simd-decl-stubs.h.
1906 * math/math.h (__MATHCALL_VEC): New macro.
1908 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1909 for conditions in testing functions.
1910 * math/Makefile: Added call of libm-have-vector-test.sh.
1911 * math/libm-test.inc (HAVE_VECTOR): New macros.
1913 * math/libm-test.inc: START refactored.
1914 * math/test-double.c (TEST_MATHVEC): Add define.
1915 * math/test-float.c: Likewise.
1916 * math/test-idouble.c: Likewise.
1917 * math/test-ifloat.c: Likewise.
1918 * math/test-ildoubl.c: Likewise.
1919 * math/test-ldouble.c: Likewise.
1920 * sysdeps/generic/math-tests-arch.h
1921 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1924 * math/test-double.c (FUNC_TEST): New macro.
1925 * math/test-float.c: Likewise.
1926 * math/test-idouble.c: Likewise.
1927 * math/test-ifloat.c: Likewise.
1928 * math/test-ildoubl.c: Likewise.
1929 * math/test-ldouble.c: Likewise.
1930 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1932 2015-05-13 Roland McGrath <roland@hack.frob.com>
1934 * sysdeps/nacl/fdopendir.c: New file.
1936 * dirent/scandir-tail.c: New file.
1937 * dirent/scandir64-tail.c: New file.
1938 * dirent/Makefile (routines): Add them.
1939 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1940 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1941 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1942 [!SCANDIR] (SCANDIR_TAIL): New macro.
1943 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1944 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1945 (SCANDIRAT): Macro removed.
1946 (SCANDIR_TAIL): New macro.
1947 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1948 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1949 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1950 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1951 (READDIR): Macro removed.
1952 (SCANDIR_TAIL): New macro.
1953 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1954 (SCANDIR_TAIL): New macro.
1956 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1957 * dirent/scandir-cancel.c: ... to this new file.
1958 * dirent/Makefile (routines): Add it.
1959 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1960 * sysdeps/unix/sysv/linux/i386/scandir64.c
1961 (SKIP_SCANDIR_CANCEL): Macro removed.
1962 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1964 * dirent/tst-scandir.c: New file.
1965 * dirent/tst-scandir64.c: New file.
1966 * dirent/Makefile (tests): Add them.
1968 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1971 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1973 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1975 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1978 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1980 * benchtests/bench-strcoll.c: New benchmark.
1981 * benchtests/Makefile: Generate locales and run benchmark.
1982 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1983 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1984 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1985 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1986 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1987 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1988 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1989 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1990 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1991 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1992 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1993 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1994 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1995 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1996 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1997 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1998 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1999 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2000 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2001 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2002 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2003 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2004 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2005 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2007 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
2009 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2010 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2012 2015-05-12 Roland McGrath <roland@hack.frob.com>
2014 * posix/uname-values.h: New file.
2015 * posix/uname.c: Include that instead of <config-name.h>.
2016 * sysdeps/nacl/uname-values.h: New file.
2017 * sysdeps/arm/nacl/uname-values.h: New file.
2019 2015-05-12 Joseph Myers <joseph@codesourcery.com>
2021 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2022 splitting into fields.
2024 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
2026 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2027 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2028 * locale/localeinfo.h: Add enum collation_encoding_type.
2029 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2030 * programs/ld-collate.c (collate_output): Add encoding type info.
2031 * string/strcoll_l.c (STRDIFF): New function.
2032 * (STRCOLL): Use STRDIFF to skip over equal prefix.
2033 * wcsmbs/wcscoll_l.c: Define STRDIFF.
2035 2015-05-11 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2039 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
2040 <fpu_control.h> instead of <math/fpu_control.c>.
2041 * sysdeps/mips/mips32/fpu/Makefile: New file.
2043 2015-05-11 Andreas Schwab <schwab@suse.de>
2046 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2048 (_nss_compat_endgrent): Call nss_endgrent.
2049 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2051 (_nss_compat_endpwent): Call nss_endpwent.
2052 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2053 needent, call nss_setspent only if non-zero.
2054 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2055 (internal_endspent): Don't call nss_endspent.
2056 (_nss_compat_endspent): Call nss_endspent.
2057 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2058 Remove. All uses removed.
2059 (internal_setent): Remove parameter stayopen, add parameter
2060 stream. Use it instead of global variable.
2061 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2062 (internal_endent, internal_getent): Add parameter stream. Use it
2063 instead of global variable.
2064 (CONCAT(_nss_files_end,ENTNAME))
2065 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2066 (_nss_files_get##name##_r): Pass local stream. Remove locking.
2067 * nss/nss_files/files-alias.c (position, last_use): Remove. All
2069 (internal_setent, internal_endent): Add parameter stream. Use it
2070 instead of global variable.
2071 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2073 (get_next_alias): Add parameter stream.
2074 (_nss_files_getaliasent_r): Pass global stream.
2075 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
2076 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2077 (_nss_files_gethostbyname4_r): Pass local stream to
2078 internal_setent, internal_getent and internal_endent. Remove
2081 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2083 * tst-strfmon1.c (tests): Update expected currency symbol.
2085 2015-05-08 Roland McGrath <roland@hack.frob.com>
2087 * sysdeps/nacl/gethostname.c: New file.
2089 2015-05-08 Joseph Myers <joseph@codesourcery.com>
2091 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2093 * math/auto-libm-test-out: Regenerated.
2094 * sysdeps/i386/fpu/libm-test-ulps: Update.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097 2015-05-08 Carlos O'Donell <carlos@redhat.com>
2100 * stdlib/tst-setcontext3.c: New file.
2101 * stdlib/tst-setcontext3.sh: New file.
2102 * stdlib/Makefile (tests): Add tst-setcontext3.
2103 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2104 to verify test program created output file.
2105 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2106 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2107 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2108 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2110 2015-05-06 Roland McGrath <roland@hack.frob.com>
2113 * elf/tst-tlsalign.c: New file.
2114 * elf/tst-tlsalign-static.c: New file.
2115 * elf/tst-tlsalign-lib.c: New file.
2116 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2117 (tests-static): Add tst-tlsalign-static.
2118 (modules-names): Add tst-tlsalign-lib.
2119 (test-xfail-tst-tlsalign): New variable.
2120 (test-xfail-tst-tlsalign-static): New variable.
2122 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2123 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2125 2015-05-06 Joseph Myers <joseph@codesourcery.com>
2127 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2128 csqrt, erfc, sin and sincos.
2129 * math/auto-libm-test-out: Regenerated.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2133 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2135 * sysdeps/aarch64/libm-test-ulps: Update.
2137 2015-05-05 Joseph Myers <joseph@codesourcery.com>
2139 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2140 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2141 * math/auto-libm-test-out: Regenerated.
2142 * sysdeps/i386/fpu/libm-test-ulps: Update.
2143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2145 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2148 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2149 (wcsncpy): Likewise.
2151 2015-05-05 Florian Weimer <fweimer@redhat.com>
2153 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2154 Assume __ASSUME_FALLOCATE is always true.
2155 * sysdeps/unix/sysv/linux/posix_fallocate64.c
2156 (__posix_fallocate64_l64): Likweise.
2157 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2158 (posix_fallocate): Likewise.
2159 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2160 (__posix_fallocate64_l64): Likewise.
2161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2162 [!__ASSUME_FALLOCATE]: Add comment.
2164 2015-05-05 Florian Weimer <fweimer@redhat.com>
2166 * sysdeps/unix/sysv/linux/i386/Makefile
2167 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2168 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2169 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2170 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2171 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2172 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2173 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2175 2015-05-02 Joseph Myers <joseph@codesourcery.com>
2177 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2178 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2180 * math/auto-libm-test-out: Regenerated.
2181 * sysdeps/i386/fpu/libm-test-ulps: Update.
2182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2184 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2186 * math/auto-libm-test-in: Add more tests of tgamma.
2187 * math/auto-libm-test-out: Regenerated.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191 * math/auto-libm-test-in: Add more tests of tanh.
2192 * math/auto-libm-test-out: Regenerated.
2193 * sysdeps/i386/fpu/libm-test-ulps: Update.
2194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2196 * math/auto-libm-test-in: Add more tests of tan.
2197 * math/auto-libm-test-out: Regenerated.
2198 * sysdeps/i386/fpu/libm-test-ulps: Update.
2199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2201 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2202 * math/auto-libm-test-out: Regenerated.
2203 * sysdeps/i386/fpu/libm-test-ulps: Update.
2204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2206 * math/auto-libm-test-in: Add another test of pow.
2207 * math/auto-libm-test-out: Regenerated.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2210 * math/auto-libm-test-in: Add more tests of lgamma.
2211 * math/auto-libm-test-out: Regenerated.
2212 * sysdeps/i386/fpu/libm-test-ulps: Update.
2213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2215 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2217 * math/auto-libm-test-out: Regenerated.
2218 * sysdeps/i386/fpu/libm-test-ulps: Update.
2219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2221 2015-05-01 Mark Wielaard <mjw@redhat.com>
2223 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2224 Elf64_Chdr structs and ELFCOMPRESS constants.
2226 2015-05-01 Joseph Myers <joseph@codesourcery.com>
2228 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2230 * math/auto-libm-test-out: Regenerated.
2231 * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2234 * math/auto-libm-test-in: Add more tests of erf and erfc.
2235 * math/auto-libm-test-out: Regenerated.
2236 * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2239 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241 * config.h.in (HAVE_AARCH64_BE): Add.
2243 2015-04-30 Joseph Myers <joseph@codesourcery.com>
2245 * math/auto-libm-test-in: Add more tests of csqrt.
2246 * math/auto-libm-test-out: Regenerated.
2247 * sysdeps/i386/fpu/libm-test-ulps: Update.
2248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2250 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2251 * math/auto-libm-test-out: Regenerated.
2252 * sysdeps/i386/fpu/libm-test-ulps: Update.
2253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2255 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2257 2015-04-29 Roland McGrath <roland@hack.frob.com>
2259 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2260 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2262 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2263 (euidaccess, eaccess): Define as weak aliases.
2265 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2266 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
2267 but __suseconds_t is often 'long int' so some sources assume that
2268 type is being used (e.g. they use %ld to print tv_usec).
2270 2015-04-29 Florian Weimer <fweimer@redhat.com>
2273 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2275 * nss/tst-nss-getpwent.c: New file.
2276 * nss/Makefile (tests): Add new test.
2278 2015-04-28 Joseph Myers <joseph@codesourcery.com>
2281 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2282 exponents less than 48 as cases where high part of mantissa needs
2283 examining to determine whether argument is integral.
2284 * math/libm-test.inc (round_test_data): Add more tests.
2286 2015-04-28 Mark Wielaard <mjw@redhat.com>
2288 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2290 2015-04-27 David S. Miller <davem@davemloft.net>
2292 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2294 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2296 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
2299 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2301 2015-04-27 Florian Weimer <fweimer@redhat.com>
2304 * time/tzset.c (parse_tzname): Return error on memory allocation
2306 * test-skeleton.c (struct temp_name_list): Change type of name
2307 member to non-const.
2308 (add_temp_file): Create a copy of the file name.
2309 (delete_temp_files): Deallocate memory.
2310 (create_temp_file): Add comment.
2312 2015-04-24 Florian Weimer <fweimer@redhat.com>
2314 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2315 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2317 2015-04-24 Roland McGrath <roland@hack.frob.com>
2319 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2320 * sysdeps/arm/configure: Regenerated.
2322 2015-04-24 Florian Weimer <fweimer@redhat.com>
2325 * time/tzfile.c (__tzfile_read): Check for large values of
2326 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
2327 * time/tzset.c (__tzstring_len): New function, based on the old
2328 __tzstring function.
2329 (__tzstring): Call __tzstring_len.
2330 (parse_tzname): New helper function extracted from
2331 __tzset_parse_tz. Call __tzstring_len, without making a copy of
2333 (parse_offset): New helper function extracted from
2334 __tzset_parse_tz. Replace switch with fallthrough with
2335 initialization before sscanf.
2336 (parse_rule): Likewise.
2337 (__tzset_parse_tz): Rewrite using the new helper functions. Use
2338 new-style function definition.
2339 * timezone/Makefile (tests): Add tst-tzset.
2340 (tst-tzset.out): Dependencies on time zone files.
2341 (tst-tzset-ENV): Set TZDIR.
2342 (testdata/XT%): Copy crafted time zone files.
2343 * timezone/README: Mention crafted time zone files.
2344 * timezone/testdata/XT1, timezone/testdata/XT2,
2345 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2347 * timezone/tst-tzset.c: New test.
2349 2015-04-24 Florian Weimer <fweimer@redhat.com>
2351 * Makeconfig (+gccwarn): Remove -Winline.
2353 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2355 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2357 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2359 * NEWS: Mention sysconf() cache information support for s390.
2360 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2362 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
2364 * math/k_casinh.c (__kernel_casinh): Use __copysign.
2365 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2366 (__nearbyint): Likewise.
2367 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2368 (copysignl): Likewise.
2370 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
2373 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2374 based on padding. (CVE-2015-1781)
2376 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2378 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2380 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2382 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2383 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2384 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2385 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2386 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2388 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2390 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2391 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2392 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2393 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2394 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2395 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2396 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2397 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2398 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2399 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2400 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2401 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2402 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2404 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2406 * stdlib/setenv.c (__add_to_environ):
2407 Dump core quickly if setenv (..., NULL, ...) is called.
2408 This time, do it the right way, and pacify GCC with a pragma.
2410 2015-04-17 Roland McGrath <roland@hack.frob.com>
2412 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2413 IMAP->l_prev cannot be null, and #if out the code for the contrary
2414 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2415 believe that NS (&_dl_ns[NSID]) could point outside the array.
2417 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2418 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2419 before using NSID as an index.
2421 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
2424 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2425 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2426 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2428 2015-04-17 Roland McGrath <roland@hack.frob.com>
2430 Add preliminary port to Google Native Client on ARM.
2431 * abi-tags (.*-.*-nacl.*): New entry.
2432 * sysdeps/arm/nacl: New directory.
2433 * sysdeps/nacl: New directory.
2435 2015-04-16 David S. Miller <davem@davemloft.net>
2437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2438 lowlevellock-futex.h
2440 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
2442 * sysdeps/tile/configure.ac: New file.
2443 * sysdeps/tile/configure: Regenerated.
2445 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2447 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
2448 conditionals for weak_alias and libc_hidden_weak.
2449 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2450 libc_hidden_weak and weak_alias.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2452 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2453 and weak_alias for static one.
2455 2015-04-15 David S. Miller <davem@davemloft.net>
2457 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2459 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2462 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2463 Use signed comparision instead of substraction to avoid
2465 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2466 Take the sign of ret.
2467 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2468 Do not expect precise return values. Only the sign matters.
2469 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2470 * wcsmbs/test-wcsncmp.c: New File.
2471 * string/test-strncmp.c: Add wcsncmp support.
2473 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2476 * math/w_log1p.c: New file.
2477 * math/w_log1pf.c: Likewise.
2478 * math/w_log1pl.c: Likewise.
2479 * math/Makefile (libm-calls): Add w_log1p.
2480 * math/s_log1pl.c (log1pl): Remove weak_alias.
2481 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2482 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2483 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2484 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2485 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2486 [NO_LONG_DOUBLE] (log1pl): Likewise.
2487 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2488 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2489 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2490 (log1p): Remove long_double_symbol.
2491 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2492 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2493 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2494 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2495 remove weak_alias for corresponding log1p function.
2496 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2497 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2498 * sysdeps/ia64/fpu/w_log1p.c: New file.
2499 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2500 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2501 * math/libm-test.inc (log1p_test_data): Add errno expectations.
2503 2015-04-10 Joseph Myers <joseph@codesourcery.com>
2506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2507 decimal exponent by 1.
2508 * stdlib/tst-strtod-round-data: Add more tests.
2509 * stdlib/tst-strtod-round.c (tests): Regenerated.
2511 2015-04-09 Joseph Myers <joseph@codesourcery.com>
2513 * math/auto-libm-test-in: Add more tests of clog and clog10.
2514 * math/auto-libm-test-out: Regenerated.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2518 2015-04-09 Roland McGrath <roland@hack.frob.com>
2520 * Makeconfig (module-cppflags): Exclude all .v.i files.
2521 (skip-module-cppflags): Variable removed.
2523 * configure.ac (libc_config_ok): Initialize before reading
2524 preconfigure scripts, not after.
2525 * configure: Regenerated.
2527 * test-skeleton.c (TIMEOUT): Move #define to top level.
2528 (main): Grok environment variable TEST_DIRECT. If set, print
2529 test expectation details into that file and then behave as if
2532 2015-04-09 Florian Weimer <fweimer@redhat.com>
2534 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2537 2015-04-08 David S. Miller <davem@davemloft.net>
2539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2541 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2543 * math/auto-libm-test-in: Add more tests of atanh.
2544 * math/auto-libm-test-out: Regenerated.
2545 * sysdeps/i386/fpu/libm-test-ulps: Update.
2546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2548 * math/auto-libm-test-in: Add more tests of atan.
2549 * math/auto-libm-test-out: Regenerated.
2550 * sysdeps/i386/fpu/libm-test-ulps: Update.
2551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2553 2015-04-08 Florian Weimer <fweimer@redhat.com>
2555 * elf/pldd.c (main): Rewrite to use struct
2556 scratch_buffer instead of extend_alloca.
2557 * elf/pldd-xx.c (find_maps): Likewise.
2558 * grp/initgroups.c: Include <scratch_buffer.h> instead of
2560 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2561 scratch_buffer instead of extend_alloca.
2562 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2563 grp/compat-initgroups.c.
2564 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2565 Rewrite to use struct scratch_buffer instead of extend_alloca.
2566 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2567 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2569 2015-04-08 Joseph Myers <joseph@codesourcery.com>
2571 * math/auto-libm-test-in: Add more tests of cbrt.
2572 * math/auto-libm-test-out: Regenerated.
2573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2575 * math/auto-libm-test-in: Add more tests of cabs.
2576 * math/auto-libm-test-out: Regenerated.
2577 * sysdeps/i386/fpu/libm-test-ulps: Update.
2578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2582 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2583 (__ieee754_atan2): Set FE_TONEAREST mode for internal
2585 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2587 * math/auto-libm-test-out: Regenerated.
2588 * sysdeps/i386/fpu/libm-test-ulps: Update.
2589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2592 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2593 (atan): Set FE_TONEAREST mode for internal computations.
2594 * math/auto-libm-test-in: Add more tests of atan.
2595 * math/auto-libm-test-out: Regenerated.
2597 2015-04-07 James Cowgill <james410@cowgill.org.uk>
2600 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2602 2015-04-07 Florian Weimer <fweimer@redhat.com>
2604 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2606 2015-04-07 Florian Weimer <fweimer@redhat.com>
2608 * include/scratch_buffer.h: New file.
2609 * malloc/scratch_buffer_grow.c: Likewise.
2610 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2611 * malloc/scratch_buffer_set_array_size.c: Likewise.
2612 * malloc/tst-scratch_buffer.c: Likewise.
2613 * malloc/Makefile (routines): Add scratch_buffer_grow.
2614 (tests): Add test case.
2615 * malloc/Versions (GLIBC_PRIVATE): Export
2616 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2617 __libc_scratch_buffer_set_array_size.
2619 2015-04-06 Richard Henderson <rth@redhat.com>
2621 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2622 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2624 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2625 unsigned int before printing.
2627 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2630 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2631 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2633 2015-04-02 Florian Weimer <fweimer@redhat.com>
2635 * include/libc-internal.h (libc_max_align_t): Define.
2637 2015-04-02 Andreas Schwab <schwab@suse.de>
2640 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2642 2015-04-02 Mel Gorman <mgorman@suse.de>
2645 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2646 as well as the main arena.
2648 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2651 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2652 sharing L2 cache to 2 for Silvermont/Knights Landing.
2654 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2657 * config.make.in (have-protected-data): New.
2658 * configure.ac: Check linker support for protected data symbol.
2659 * configure: Regenerated.
2660 * elf/Makefile (modules-names): Add tst-protected1moda and
2661 tst-protected1modb if $(have-protected-data) is yes.
2662 (tests): Add tst-protected1a and tst-protected1b if
2663 $(have-protected-data) is yes.
2664 ($(objpfx)tst-protected1a): New.
2665 ($(objpfx)tst-protected1b): Likewise.
2666 (tst-protected1modb.so-no-z-defs): Likewise.
2667 * elf/tst-protected1a.c: New file.
2668 * elf/tst-protected1b.c: Likewise.
2669 * elf/tst-protected1mod.h: Likewise.
2670 * elf/tst-protected1moda.c: Likewise.
2671 * elf/tst-protected1modb.c: Likewise.
2673 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2676 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2677 indicates it is called from do_lookup_x on relocation against
2678 protected data, skip the data definion in the executable from
2680 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2681 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2682 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2683 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2684 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2686 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2687 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2688 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2689 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2690 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2691 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2693 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2695 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2696 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2698 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2700 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2702 * sysdeps/x86_64/nptl/tls.h: Ditto.
2704 2015-03-27 Roland McGrath <roland@hack.frob.com>
2706 * dlfcn/tststatic.c (main): Converted to ...
2707 (do_test): ... this.
2708 (TEST_FUNCTION): New macro.
2709 Include test-skeleton.c.
2711 2015-03-26 Alan Modra <amodra@gmail.com>
2713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2714 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2715 zero for undefined weak.
2716 (elf_machine_plt_conflict): Similarly.
2718 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2720 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2722 * math/auto-libm-test-out: Regenerated.
2723 * sysdeps/i386/fpu/libm-test-ulps: Update.
2724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2726 * math/auto-libm-test-in: Add another test of asin.
2727 * math/auto-libm-test-out: Regenerated.
2728 * sysdeps/i386/fpu/libm-test-ulps: Update.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2733 (LLL_EBX_REG): Likewise.
2734 (LLL_ENTER_KERNEL): Likewise.
2736 * math/auto-libm-test-in: Add more tests of asin.
2737 * math/auto-libm-test-out: Regenerated.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2742 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2743 libc_do_syscall_args): New structure.
2744 (INTERNAL_SYSCALL_MAIN_0): New macro.
2745 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2746 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2747 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2748 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2749 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2750 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2751 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2752 Replace conditional definitions by conditional definitions of ....
2753 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2754 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2755 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2756 (libpthread-sysdep_routines): Add libc-do-syscall.
2757 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2758 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2759 to __NR_futex not 240.
2761 2015-03-25 Alan Modra <amodra@gmail.com>
2763 * NEWS: Advertise TLS optimization.
2764 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2765 (DT_PPC_NUM): Increment.
2766 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2767 (CHECK_STATIC_TLS): Use here.
2768 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2770 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2771 * sysdeps/powerpc/dl-tls.c: New file.
2772 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2773 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2774 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2775 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2780 2015-03-25 Alan Modra <amodra@gmail.com>
2782 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2783 for overlapping .opd entries" to "support...".
2784 * sysdeps/powerpc/powerpc64/configure: Regenerate
2786 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2788 * math/auto-libm-test-in: Add more tests of acos.
2789 * math/auto-libm-test-out: Regenerated.
2790 * sysdeps/i386/fpu/libm-test-ulps: Update.
2791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2793 * math/auto-libm-test-in: Add more tests of expm1.
2794 * math/auto-libm-test-out: Regenerated.
2795 * sysdeps/i386/fpu/libm-test-ulps: Update.
2796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2798 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2800 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2801 * math/auto-libm-test-out: Regenerated.
2802 * sysdeps/i386/fpu/libm-test-ulps: Update.
2803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2805 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2808 * math/auto-libm-test-in: Add more tests of log2.
2809 * math/auto-libm-test-out: Regenerated.
2810 * sysdeps/i386/fpu/libm-test-ulps: Update.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813 2015-03-23 Roland McGrath <roland@hack.frob.com>
2815 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2816 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2817 _IO_IS_APPENDING bit in READ_WRITE instead.
2819 2015-03-23 Florian Weimer <fweimer@redhat.com>
2821 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2822 (__determine_cpumask_size): Replace extend_alloca with a
2823 variable-length array. Do not treat res == 0 as an error.
2825 2015-03-23 Florian Weimer <fweimer@redhat.com>
2828 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2829 and integer overflow.
2830 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2831 (main): Add integer overflow tests.
2832 * manual/pattern.texi (Calling Wordexp): Document additional use
2835 2015-03-23 Alan Modra <amodra@gmail.com>
2837 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2838 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2839 and false branch of conditional.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2843 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2845 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2847 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2848 unused declaration of _hurd_intr_rpc_msg_in_trap.
2849 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2850 defined instead of whether it is non-zero.
2851 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2852 input constraint instead of both input and output constraint. Use ecx
2853 clobber instead of %ecx.
2854 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2855 mutex_unlock): Use a statement expression instead of an expression list.
2856 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2857 type to vm_size_t instead of vm_address_t.
2858 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2859 defined instead of whether it is non-zero.
2860 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2861 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2862 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2863 comparisons with mapaddr.
2864 * nscd/nscd-client.h: Include <time.h>.
2865 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2866 9th parameter to __vm_region instead of int.
2867 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2868 * scripts/check-local-headers.sh (exclude): Add device/,
2869 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2872 2015-03-19 Roland McGrath <roland@hack.frob.com>
2874 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2875 to account for alignment padding.
2876 * sysdeps/arm/memmove.S: Likewise.
2878 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2880 * sysdeps/unix/sysv/linux/generic/README: New file.
2882 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2885 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2886 (futex_abstimed_wait)
2887 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2888 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2889 of lll_futex_timed_wait.
2891 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2894 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2896 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2903 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2904 entries with Static TLS too. Skip entries past the end of the
2905 allocated DTV, from Alan Modra.
2906 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2907 Static TLS DTV entry set up from...
2908 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2909 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2910 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2911 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2913 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2914 that the slot we find is associated with the given map before
2915 using its generation count.
2916 * nptl_db/db_info.c: Include ldsodefs.h.
2917 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2918 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2919 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2920 (link_map::l_tls_offset): New struct field.
2921 (dtv_t::counter): Likewise.
2922 (rtld_global): New struct.
2923 (_rtld_global): New rtld variable.
2924 (dl_tls_dtv_slotinfo_list): New rtld global field.
2925 (dtv_slotinfo_list): New struct.
2926 (dtv_slotinfo): Likewise.
2927 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2928 (td_lookup): Rename to...
2929 (td_mod_lookup): ... this. Use new mod parameter instead of
2931 * nptl_db/td_thr_tlsbase.c: Include link.h.
2932 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2933 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2934 addresses even if the DTV is out of date or missing them.
2935 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2936 index zero-length arrays.
2937 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2938 (td_lookup): Make it a macro implemented in terms of...
2939 (td_mod_lookup): ... this declaration.
2940 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2941 (DB_MAIN_VARIABLE): Likewise.
2943 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2946 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2948 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2950 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2952 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2955 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2956 (atomic_add, atomic_increment_and_test)
2957 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2959 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2961 * stdlib/setenv.c (__add_to_environ):
2962 Dump core quickly if setenv (..., NULL, ...) is called.
2964 2015-03-13 Roland McGrath <roland@hack.frob.com>
2966 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2967 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2968 all the necessary asm magic in one place.
2969 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2972 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2975 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2976 traced file mtime. Use consistent log message.
2977 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2978 (register_traced_file): Call install_watches. Always set mtime.
2979 (invalidate_cache): Iterate over all trace files. Call install_watches.
2980 (inotify_check_files): Don't inline. Handle watching parent
2981 directories and configuration file movement in and out.
2982 (handle_inotify_events): New function.
2983 (main_loop_poll): Call handle_inotify_events.
2984 (main_loop_epoll): Likewise.
2985 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2986 (struct traced_file): Use array of inotify fds. Add parent directory,
2988 (struct database_dyn): Remove unused file_mtime.
2989 (init_traced_file): New inline function.
2990 (define_traced_file): New macro.
2991 * nss/nss_db/db-init.c: Use define_traced_file.
2992 (_nss_db_init): Use init_traced_file.
2993 * nss/nss_files/files-init.c: Use define_traced_file.
2994 (_nss_files_init): Use init_traced_file.
2996 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2998 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2999 [_LIBC]: Do not include <stdlib.h>.
3000 [!_LIBC] (abort): Remove declaration.
3001 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3002 _FP_STATIC_ASSERT instead of conditionally calling abort.
3003 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3004 (_FP_EXTEND_CNAN): Likewise.
3005 (FP_TRUNC): Likewise.
3006 (__FP_CLZ): Likewise.
3007 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3009 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
3011 * manual/string.texi (XPG basename): Fix prototype.
3013 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3016 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3017 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3018 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3019 (__setcontext): Likewise.
3020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3021 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3022 Call rt_sigprocmask syscall one time to set new signal mask
3023 and retrieve the current signal mask instead of two calls.
3024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3025 (__swapcontext): Likewise.
3026 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3027 * stdlib/tst-setcontext2.c: New file.
3029 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3031 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3033 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
3036 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3039 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3042 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3044 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3046 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3047 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3049 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3050 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3051 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3052 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3053 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3054 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3056 * nptl_db/td_symbol_list.c (td_lookup): Remove
3057 HAVE_ASM_GLOBAL_DOT_NAME code.
3058 * sysdeps/powerpc/powerpc64/configure.ac: Remove
3059 HAVE_ASM_GLOBAL_DOT_NAME check.
3060 * sysdeps/powerpc/powerpc64/configure: Regenerate.
3061 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3062 (DOT_LABEL): Remove define.
3063 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3064 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3065 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3066 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3067 (__TLS_GET_ADDR): Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3069 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3071 2015-03-11 Carlos O'Donell <carlos@redhat.com>
3074 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3075 (_FPU_SETCW): Initialize cw from fpsr before storing.
3076 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3077 (fesetexceptflag): Rewrite using fpu_control.h.
3078 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3080 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
3083 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3085 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3087 2015-03-11 Joseph Myers <joseph@codesourcery.com>
3089 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3090 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3092 (_FP_FMA): Likewise.
3093 (_FP_DIV): Likewise.
3095 2015-03-10 Roland McGrath <roland@hack.frob.com>
3097 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3098 with 0 in that case.
3099 * Makefile (summarize-tests): New canned sequence, factored out of
3100 commands for targets tests and xtests. Display summary lines that
3101 don't start with PASS: or XFAIL: rather than ones that do start with
3102 ERROR: or FAIL:. Make the commands fail if any summary lines fail
3103 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3104 do start with ERROR: or FAIL:.
3105 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3106 (except for [$(build-shared) = yes]).
3107 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3108 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3109 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3110 * nptl/Makefile: Revert 2015-03-04 changes.
3111 [$(CXX) empty] (tests-unsupported): New variable.
3112 * debug/Makefile: Likewise.
3114 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3115 gnulib file. Replace __attribute with __attribute__ throughout.
3117 2015-03-10 Carlos O'Donell <carlos@redhat.com>
3119 * sysdeps/hppa/fpu/libm-test-ulps: Update.
3121 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3124 * math/auto-libm-test-in: Add another test of pow.
3125 * math/auto-libm-test-out: Regenerated.
3127 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3129 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3130 $(config-cflags-nofma).
3132 2015-03-10 Joseph Myers <joseph@codesourcery.com>
3134 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3135 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3136 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3137 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3138 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3139 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3140 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3141 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3142 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3143 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3144 Add comment on closing #endif.
3146 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3148 * posix/wordexp.c (CHAR_IN_SET): New macro.
3149 (parse_param): Use it.
3151 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3153 * sysdeps/powerpc/fpu/libm-test-ulps: update.
3155 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3158 * posix/wordexp.c (parse_param): Fix buffer overflow.
3159 * posix/wordexp-test.c (test_case): Add test case.
3161 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3164 * posix/wordexp.c (parse_backtick): Fix off-by-one.
3165 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3167 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3170 * posix/wordexp-test.c (test_case): Add test for BZ #18043
3171 (do_bz18043): Delete.
3173 (testit): Refactor to have words at the edge of unreadable page.
3175 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3178 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3179 Cleanup read-only streams as well.
3180 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3182 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3184 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3187 2015-03-07 Joseph Myers <joseph@codesourcery.com>
3189 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
3191 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3192 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3193 * soft-fp/op-common.h (_FP_DECL): Likewise.
3195 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
3197 * elf/ifuncdep2.c (global): Replace
3198 __attribute__((visibility("protected"))) with
3199 asm (".protected global").
3200 * elf/ifuncmod1.c (global): Likewise.
3201 * elf/ifuncmod5.c (global): Likewise.
3203 2015-03-06 Joseph Myers <joseph@codesourcery.com>
3205 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3206 <asm/sfp-machine.h> instead of <sfp-machine.h>.
3208 2015-03-06 Roland McGrath <roland@hack.frob.com>
3210 * manual/install.texi (Configuring and compiling):
3211 Document test-wrapper-env-only.
3212 * INSTALL: Regenerated.
3214 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3217 * posix/wordexp.c (parse_param): Fix buffer overflow.
3218 * posix/wordexp-test.c (do_bz18043): Add test case.
3220 2015-03-06 Vincent Bernat <vincent@bernat.im>
3222 * time/tst-strptime2.c (do_test): Ensure failing tests are
3224 * time/tst-strptime3.c (do_test): Likewise.
3226 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
3228 Fix aio_error thread-safety.
3229 * sysdeps/pthread/aio_error.c: New file
3230 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3233 2015-03-06 Florian Weimer <fweimer@redhat.com>
3235 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3236 (group_number, vfprintf): Use it.
3237 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3238 (JUMP, REF): Use it.
3239 (WORK_BUFFER_SIZE): New enum constant.
3240 (process_arg, vfprintf): Use it.
3242 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
3244 * manual/errno.texi (Error Messages): Complete example function
3245 by adding missing #define.
3246 (program_invocation_name): Add statement indicating GNU
3247 extension and reference which header file declares the variable.
3248 (program_invocation_short_name): Likewise.
3250 2015-03-06 Mike Frysinger <vapier@gentoo.org>
3252 * manual/errno.texi (Error Messages): Delete strerror ISO C89
3255 2015-03-05 Roland McGrath <roland@hack.frob.com>
3257 * Makeconfig (test-wrapper-env-only): New variable.
3258 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3259 then use that with $(test-wrapper-env-only) rather than using
3260 $(test-wrapper-env) $(run-program-env) $($*-ENV).
3262 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
3265 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3266 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3267 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3268 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3269 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3270 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3271 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3272 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3274 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3279 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3281 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3283 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3284 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3288 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3289 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3291 2015-03-04 Roland McGrath <roland@hack.frob.com>
3293 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3294 (ETH_ALEN): New macro.
3295 (struct ether_addr): Use it for length of ether_addr_octet.
3297 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3298 (setdb): Don't call __nss_configure_lookup for "rpc".
3299 (do_test): Don't call test_rpc.
3300 (output_rpcent, test_rpc): Functions moved ...
3301 * sunrpc/test-rpcent.c: ... to this new file.
3302 * sunrpc/Makefile (tests): Add it.
3304 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3306 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3307 * nptl/tst-signal6.c: Likewise.
3308 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3309 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3311 * configure.ac (libc_cv_cxx_link_ok): New check.
3312 Reset CXX to empty if it fails to link.
3313 * configure: Regenerated.
3314 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3315 bug-atexit3-lib only if $(CXX) is nonempty.
3316 * nptl/Makefile (tests): Likewise for tst-cancel24.
3317 (tests, tests-static): Likewise for tst-cancel24-static.
3318 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3319 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3320 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3321 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3323 2015-03-04 Andreas Schwab <schwab@suse.de>
3326 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3327 for non-GCC compilers.
3328 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3331 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3334 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3335 integer before bitwise and assembly operations.
3336 (feclearexcept): Likewise.
3337 * math/test-fenvinline.c: New file.
3338 * math/Makefile: Add test-fenvinline test.
3340 2015-03-03 Alan Modra <amodra@gmail.com>
3343 * scripts/localplt.awk: Strip off symbol version.
3344 * NEWS: Mention bug fix.
3346 2015-03-02 Roland McGrath <roland@hack.frob.com>
3348 * sysdeps/pthread/timer_routines.c
3349 (timer_free_list, thread_free_list, thread_active_list): Make static.
3351 2015-03-02 Joseph Myers <joseph@codesourcery.com>
3354 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3355 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3357 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3358 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3360 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3361 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3364 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3367 * posix/fnmatch_loop.c (END): Detect invalid pattern.
3368 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3370 2015-03-02 Andreas Schwab <schwab@suse.de>
3372 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3375 2015-03-02 Florian Weimer <fweimer@redhat.com>
3377 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3378 Return error status.
3380 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
3383 * locale/findlocale.c (_nl_find_locale): Introduce const
3384 version of loc_name and drop unsafe type casts.
3386 2015-02-27 Roland McGrath <roland@hack.frob.com>
3388 * dlfcn/tststatic2.c (main): Converted to ...
3389 (do_test): ... this.
3390 (TEST_FUNCTION): New macro.
3391 Include test-skeleton.c.
3393 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
3396 * elf/Makefile (tests): Add vismain only if PIE is enabled.
3397 (tests-pie): Add vismain.
3398 (CFLAGS-vismain.c): New.
3399 * elf/vismain.c: Add comments for PIE requirement.
3401 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3405 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3406 0x1p-56L as threshold for just returning the argument.
3407 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3408 0x1p-32L as threshold for just returning the argument.
3409 * math/auto-libm-test-in: Add more tests of atanh.
3410 * math/auto-libm-test-out: Regenerated.
3411 * sysdeps/i386/fpu/libm-test-ulps: Update.
3412 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3414 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3416 * string/bcopy.c (bcopy): Call memmove for performance.
3418 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
3420 * string/bzero.c (__bzero): Call memset for performance.
3422 2015-02-27 John David Anglin <dave.anglin@bell.net>
3425 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3428 2015-02-27 Joseph Myers <joseph@codesourcery.com>
3430 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3432 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3434 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3435 (__kernel_standard): Use CSTR macro when setting exc.name.
3436 * sysdeps/ieee754/Makefile [$(subdir) = math]
3437 (CFLAGS-k_standard.c): Remove variable.
3439 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3440 setting p and q from "else if" to "else".
3442 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3444 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3446 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3448 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3450 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3455 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3456 return pi/2 for arguments below 0x1p-113L.
3457 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3458 return pi/2 for arguments below 0x1p-106L.
3459 * math/auto-libm-test-in: Add more tests of acos.
3460 * math/auto-libm-test-out: Regenerated.
3463 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3465 (__ieee754_asin): Force underflow exception for results with small
3467 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3469 (__ieee754_asinf): Force underflow exception for results with
3470 small absolute value.
3471 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3472 (__ieee754_asin): Force underflow exception for results with small
3474 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3475 (__ieee754_asinf): Force underflow exception for results with
3476 small absolute value.
3477 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3478 (__ieee754_asinl): Force underflow exception for results with
3479 small absolute value.
3480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3481 (__ieee754_asinl): Force underflow exception for results with
3482 small absolute value.
3483 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3484 (__ieee754_asinl): Force underflow exception for results with
3485 small absolute value.
3486 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3488 * math/auto-libm-test-in: Do not mark underflow exceptions as
3489 possibly missing for bug 16351.
3490 * math/auto-libm-test-out: Regenerated.
3493 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3494 of power of 2 down when low part has opposite sign.
3495 * math/libm-test.inc (logb_test_data): Add more tests.
3497 2015-02-26 Andreas Schwab <schwab@suse.de>
3500 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3501 over collating symbol inside a bracket expression. Minor cleanup.
3502 * posix/tst-fnmatch3.c (do_test): Add test case.
3504 2015-02-26 Joseph Myers <joseph@codesourcery.com>
3507 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3508 Adjust exponent of power of 2 down when low part has opposite
3510 * math/libm-test.inc (ilogb_test_data): Add more tests.
3512 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
3515 * locale/findlocale.c (_nl_find_locale): Fix constness error in
3516 the previous change.
3519 * locale/findlocale.c (_nl_find_locale): Retry archive search
3520 after alias expansion.
3522 2015-02-25 Roland McGrath <roland@hack.frob.com>
3524 * iconv/tst-iconv3.c (main): Converted to ...
3525 (do_test): ... this.
3526 (TEST_FUNCTION): New macro.
3527 Include test-skeleton.c.
3529 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3530 (convert): Make function static.
3531 (test_unalign): Likewise. Add const to argument pointee types.
3532 (main): Replace with static function do_test.
3533 Print "Succeeded." only if RET is zero.
3534 (TEST_FUNCTION): New macro.
3535 Include test-skeleton.c.
3537 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3538 returns a null pointer.
3540 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3542 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3543 to __memcpy_ppc only for static builds.
3545 2015-02-25 Joseph Myers <joseph@codesourcery.com>
3548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3549 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3550 * math/auto-libm-test-in: Add more tests of asinh.
3551 * math/auto-libm-test-out: Regenerated.
3552 * sysdeps/i386/fpu/libm-test-ulps: Update.
3553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3555 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
3558 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3559 and ip6_mtuinfo definitions here.
3560 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3561 in this define too. Update comment.
3563 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
3565 * elf/sprof.c (load_shobj): Tweak error message to match others.
3567 2015-02-24 Kevin Easton <kevin@guarana.org>
3569 [BZ #16145] (partial fix)
3570 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3571 to reduce lock contention.
3573 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
3575 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3576 (struct timex): Update time comment.
3577 (ADJ_SETOFFSET): Define.
3579 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3583 2**56 not 2**28 as threshold for log (2x) formula.
3584 * math/auto-libm-test-in: Add more tests of acosh.
3585 * math/auto-libm-test-out: Regenerated.
3586 * sysdeps/i386/fpu/libm-test-ulps: Update.
3587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3591 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3592 parenthesis around the buf assignment.
3593 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3595 2015-02-24 Joseph Myers <joseph@codesourcery.com>
3598 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3599 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3600 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3601 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3602 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3603 * math/libm-test.inc (scalb_test_data): Add more tests.
3605 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3608 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3609 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3611 2015-02-24 Eric Rannaud <e@nanocritical.com>
3614 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3615 * io/bits/fcntl2.h (open): Use it.
3617 * io/open.c (__libc_open): Likewise.
3618 * io/open64.c (__libc_open64): Likewise.
3619 * io/open64_2.c (__open64_2): Likewise.
3620 * io/open_2.c (__open_2): Likewise.
3621 * io/openat.c (__openat): Likewise.
3622 * io/openat64.c (__openat64): Likewise.
3623 * io/openat64_2.c (__openat64_2): Likewise.
3624 * io/openat_2.c (__openat_2): Likewise.
3625 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3626 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3627 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3628 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3629 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3630 (__open_nocancel): Likewise.
3631 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3632 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3633 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3635 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3638 * resolv/gethnamaddr.c (getanswer): Skip logging if
3639 RES_USE_DNSSEC is set.
3640 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3642 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3644 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3646 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3648 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3649 201304L, for Unicode 7.
3651 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3654 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3655 shared library. Add gmon-start.os otherwise.
3656 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3657 $(objpfx)gmon-start.os if builing shared library.
3658 ($(objpfx)g$(static-start-installed-name)): Likewise.
3660 2015-02-23 Andreas Schwab <schwab@suse.de>
3662 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3664 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3667 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3668 (enlarge_userbuf): Likewise.
3670 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3672 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3673 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3674 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3675 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3677 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3679 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3680 expression inside statement expression.
3682 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3684 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3685 <sysdeps/nptl/lowlevellock.h> and remove macros and
3686 functions that are now defined there.
3687 (SYS_futex): Remove.
3688 (lll_compare_and_swap): Remove.
3689 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3691 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3694 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3695 instead of scandirat.
3696 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3697 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3698 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3700 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3701 (__scandirat): Declare. Use libc_hidden_proto.
3702 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3704 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3706 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3709 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3711 (__ieee754_atan2): For results with small absolute value, force
3712 underflow exception and remove excess range and precision from
3714 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3716 (__ieee754_atan2f): For results with small absolute value, force
3717 underflow exception and remove excess range and precision from
3719 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3721 (__atan): For results with small absolute value, force underflow
3722 exception and remove excess range and precision from return value.
3723 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3725 (__atanf): For results with small absolute value, force underflow
3726 exception and remove excess range and precision from return value.
3727 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3729 (__ieee754_atan2): Force underflow exception for results with
3730 small absolute value.
3731 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3733 (atan): Force underflow exception for results with small absolute
3735 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3736 (__atanf): Force underflow exception for results with small
3738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3740 (__atanl): Force underflow exception for results with small
3742 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3743 (__atanl): Force underflow exception for results with small
3745 * sysdeps/x86/fpu/bits/mathinline.h
3746 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3747 (__ieee754_atan2): Only define inline for long double.
3748 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3749 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3750 * math/auto-libm-test-in: Do not mark underflow exceptions as
3751 possibly missing for bug 15319. Add more tests of atan2.
3752 * math/auto-libm-test-out: Regenerated.
3753 * math/libm-test.inc (casin_test_data): Do not mark underflow
3754 exceptions as possibly missing for bug 15319.
3755 (casinh_test_data): Likewise.
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3758 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3760 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3761 * sysdeps/mips/bits/endian.h: Fix comments.
3763 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3766 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3767 (hdestroy_r): Likewise.
3768 (hsearch_r): Likewise.
3769 (__hcreate_r): Declare and use libc_hidden_proto.
3770 (__hdestroy_r): Likewise.
3771 (__hsearch_r): Likewise.
3772 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3773 (hcreate): Call __hcreate_r instead of hcreate_r.
3774 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3775 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3776 as weak alias of __hcreate_r.
3777 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3779 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3781 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3783 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3784 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3785 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3786 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3788 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3790 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3791 arena_lock into a single arena_get.
3793 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3795 * dl-reloc.c: Inlucde libc-internal.h.
3796 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3797 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3798 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3799 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3800 (grow_heap): Likewise.
3801 * malloc/malloc.c: Include libc-internal.h.
3802 (do_check_malloc): Call powerof2.
3803 (sysmalloc): Use pagesize. Call ALIGN_UP.
3804 (systrim): Use pagesize.
3805 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3806 (__libc_valloc): Use pagesize.
3807 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3809 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3812 * include/sys/resource.h (__getrlimit64): Declare. Use
3814 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3815 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3816 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3818 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3820 [!getrlimit64] (getrlimit64): Define as weak alias of
3821 __getrlimit64. Use libc_hidden_weak.
3822 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3823 using __getrlimit64 not __new_getrlimit64.
3824 (__GI_getrlimit64): Likewise.
3825 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3827 (__GI_getrlimit64): Likewise.
3828 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3830 (getrlimit): Add __getrlimit64 alias.
3831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3833 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3835 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3836 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3838 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3840 * libio/fileops.c: Add missing sys/mman.h
3841 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3843 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3845 * manual/math.texi (Errors in Math Functions): Clarify goals
3846 regarding inexact and underflow exceptions.
3848 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3850 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3851 * sysdeps/mips/memset.S: Ditto.
3853 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3855 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3857 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3859 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3860 (__v1longjmp): Remove versioned symbol.
3861 (__v1siglongjmp): Remove alias and versioned symbol.
3862 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3863 (__v2siglongjmp): Likewise.
3865 2015-02-16 Torvald Riegel <triegel@redhat.com>
3867 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3869 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3871 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3873 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3876 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3877 zero result does not depend on the sign resulting from
3879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3881 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3883 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3884 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3885 * math/libm-test.inc (remquo_test_data): Add more tests.
3887 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3889 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3890 Problem reported by J William Piggott.
3892 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3895 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3896 products 4 * y and 2 * y where those would overflow.
3897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3899 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3901 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3903 * math/libm-test.inc (remquo_test_data): Add more tests.
3905 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3907 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3908 [defined _COMPILING_NEWLIB].
3909 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3910 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3912 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3913 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3915 2015-02-16 Torvald Riegel <triegel@redhat.com>
3917 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3920 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3923 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3924 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3925 HOST_STACK_END_ADDR): Likewise.
3927 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3929 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3930 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3931 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3933 2015-02-13 Roland McGrath <roland@hack.frob.com>
3935 * sysdeps/generic/c++-types.data: New file.
3936 * sysdeps/generic/ld.abilist: New file.
3937 * sysdeps/generic/libBrokenLocale.abilist: New file.
3938 * sysdeps/generic/libanl.abilist: New file.
3939 * sysdeps/generic/libc.abilist: New file.
3940 * sysdeps/generic/libcrypt.abilist: New file.
3941 * sysdeps/generic/libdl.abilist: New file.
3942 * sysdeps/generic/libm.abilist: New file.
3943 * sysdeps/generic/libpthread.abilist: New file.
3944 * sysdeps/generic/libresolv.abilist: New file.
3945 * sysdeps/generic/librt.abilist: New file.
3947 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3950 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3951 Compute absolute value of x as modified by fmod, not original
3953 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3954 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3955 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3956 RUN_TEST_ffI_f1_mod8.
3957 (remquo_test_data): Add more tests.
3959 2015-02-13 Roland McGrath <roland@hack.frob.com>
3961 * sysdeps/init_array/pt-crti.S: New file.
3963 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3966 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3967 __builtin_fmaf instead of relying on contraction of a * b + c.
3969 2015-02-12 J William Piggott <elseifthen@gmx.com>
3972 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3975 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3978 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3979 __builtin_fma instead of relying on contraction of a * b + c.
3981 2015-02-12 Roland McGrath <roland@hack.frob.com>
3983 * Makeconfig (ASFLAGS): Add -Werror=undef.
3984 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3985 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3986 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3988 * Makeconfig (after-link): New variable.
3989 (+link-pie, +link-pie-tests): Use it.
3990 (+link-static, +link-static-tests): Likewise.
3991 (+link, +link-tests): Likewise.
3992 * Makerules (build-module, build-module-asneeded): Likewise.
3993 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3995 * elf/Makefile ($(objpfx)ld.so): Likewise.
3997 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4000 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4001 both struct timeval and struct timespec.
4003 2015-02-12 Joseph Myers <joseph@codesourcery.com>
4006 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4008 (__ieee754_exp2l): Do not multiply small fractional parts by
4010 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4013 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4014 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4015 * math/auto-libm-test-in: Add more tests of exp2.
4016 * math/auto-libm-test-out: Regenerated.
4018 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4020 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4023 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4028 2015-02-12 Andreas Schwab <schwab@suse.de>
4031 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4032 Filter out elision flags from value returned in kind.
4033 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4034 * nptl/tst-pthread-mutexattr.c: New file.
4036 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
4038 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4039 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4040 into gnu-gnu, and update comment to refer to abi-tags.
4042 2015-02-11 Joseph Myers <joseph@codesourcery.com>
4045 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4046 (__sincos): Set errno to EDOM for infinite argument.
4047 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4048 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4049 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4050 (__sincosl): Set errno to EDOM for infinite argument.
4051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4052 (__sincosl): Set errno to EDOM for infinite argument.
4053 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4054 (__sincosl): Set errno to EDOM for infinite argument.
4055 * math/libm-test.inc (sincos_test_data): Test errno setting.
4057 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
4059 * string/strxfrm_l.c: Remove #define STRCMP.
4060 * string/strcoll_l.c: Remove #define STRLEN.
4061 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4062 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4064 2015-02-10 Joseph Myers <joseph@codesourcery.com>
4066 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4067 * sysdeps/mips/mips32/sfp-machine.h: ... here.
4068 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4069 * sysdeps/mips/mips64/Makefile: ... here.
4070 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4071 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4072 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4073 * sysdeps/mips/mips64/sfp-machine.h: ... here.
4074 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4075 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4076 * sysdeps/mips/mips64/n64/Implies: Likewise.
4078 2015-02-10 Roland McGrath <roland@hack.frob.com>
4080 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4081 <sys/time.h>, <string.h>, and <errno.h>.
4082 (dest_offset, dest_address, value, zero): Remove unused variables.
4083 (ldouble): Remove typedef.
4084 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4085 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
4087 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4088 (check): Function removed.
4090 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
4091 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4092 Don't call set_sigaction_FP and remove_sigaction_FP here.
4093 (ldouble_test): Just use 'long double' as macro argument, no need for
4094 the 'ldouble' typedef.
4095 (do_test): Set up SIGFPE handler at start, using plain signal rather
4096 than sigaction. Fix code style.
4098 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
4101 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4104 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4106 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4107 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4109 * sysdeps/powerpc/configure.ac: Remove file.
4110 * sysdeps/powerpc/configure: Likewise.
4112 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4113 [sysdep_routines]: Remove wordcopy-power6 object.
4114 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4115 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4117 (__memmove_ppc32): Likewise.
4118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4122 Remove preprocessor.
4124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4125 [sysdep_routines]: Remove wide chars objects.
4126 [wcsmbs]: New rule for wide char objects.
4128 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4129 Remove wordcopy-power6 obejct.
4130 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4131 Use local call for wordcopy and memcpy symbols.
4132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4133 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4134 implementation for loader.
4135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4137 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4138 Remove wordcopy-power7 object.
4139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4140 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4141 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4142 (_wordcopy_fwd_dest_aligned): Likewise.
4143 (_wordcopy_bwd_aligned): Likewise.
4144 (_wordcopy_bwd_dest_aligned): Likewise.
4146 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4147 Rewrite to call __memmove_ppc instead of include default
4150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4151 Remove wide chars objects.
4152 [wcsmbs]: New rule for wide char objects.
4154 2015-02-09 Andreas Schwab <schwab@suse.de>
4157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4158 in terms of __O_DIRECTORY.
4160 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
4162 * time/getdate.c: Include <stdbool.h>.
4163 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4165 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4168 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
4170 Add ersatz _Static_assert on older C hosts
4171 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4172 pre-C11 C platform that is not known to support _Static_assert.
4174 2015-02-07 Richard Braun <rbraun@sceen.net>
4176 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4178 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4180 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4182 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4183 priority against unexistent AIO_PRIO_DELTA_MAX.
4184 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4186 * misc/fchflags.c (fchflags): Likewise.
4187 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4188 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4189 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4190 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4191 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4193 [__USE_MISC] (chflags, fchflags): Declare functions.
4194 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4195 EINVAL when nfds is greater than FD_SETSIZE.
4196 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4197 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4199 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4200 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4201 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4203 * hurd/hurd/signal.h (_hurd_self_sigstate,
4204 _hurd_critical_section_lock, _hurd_critical_section_unlock):
4205 Explicit casts from void *.
4206 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4207 * abi-tags: Rename gnu-gnu os into gnu.
4210 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4211 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4212 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4213 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4214 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4215 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4218 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4219 duplicates ADDR->sun_path with sockaddr LEN limitation.
4220 * sysdeps/mach/hurd/connect.c: Include <string.h>
4221 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4222 * sysdeps/mach/hurd/sendmsg.c: Likewise.
4223 * sysdeps/mach/hurd/sendto.c: Likewise.
4224 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4225 implementing it by hand.
4227 2015-02-06 Roland McGrath <roland@hack.frob.com>
4229 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4230 Use sfi_breg on ldr.
4231 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4234 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4236 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4237 Test SIGSETXID only if it's defined.
4239 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4241 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4242 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
4244 * nptl/tst-align2.c: Moved ...
4245 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4246 * nptl/Makefile (tests): Remove tst-align2.
4247 * sysdeps/unix/sysv/linux/Makefile
4248 [$(subdir) = nptl] (tests): Add tst-align-clone.
4249 * nptl/tst-getpid1.c: Moved ...
4250 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4251 * nptl/tst-getpid2.c: Moved ...
4252 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4253 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4254 * sysdeps/unix/sysv/linux/Makefile
4255 [$(subdir) = nptl] (tests): ... here.
4256 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4257 * sysdeps/unix/sysv/linux/Makefile
4258 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4260 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4261 Drop trailing \n from perror argument. Use return rather than exit.
4263 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4265 * nptl/tst-cancel21.c (do_test): Likewise.
4266 * debug/tst-backtrace6.c: Include <signal.h> first thing.
4267 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4268 [!SA_SIGINFO]: Make it a stub test.
4270 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4271 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4273 * posix/tst-getlogin.c: Move to ...
4274 * login/tst-getlogin.c: ... here.
4275 * posix/Makefile (tests): Move tst-getlogin to ...
4276 * login/Makefile (tests): ... here.
4278 * libio/tst-atime.c (do_test): Move local variables SV and E
4279 inside [ST_NOATIME] conditional.
4281 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4283 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4285 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4286 (wait_code): New function replaces macro.
4287 Call nanosleep rather than syscall.
4289 * nptl/pt-system.c: Rewritten. Put everything under
4290 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4291 Use IFUNC to redirect when possible.
4293 * nptl/pt-longjmp.c: Rewritten. Put everything under
4294 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4295 Use IFUNC to redirect when possible.
4297 * nptl/pt-fork.c: Rewritten. Put everything under
4298 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4299 Use IFUNC to redirect when possible.
4300 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4302 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4303 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4304 unconditionally nowadays. This included the only reference to
4305 __vdso_clock_gettime that appears outside libc proper.
4306 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4307 Remove version set (containing only __vdso_clock_gettime).
4308 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4309 Add attribute_hidden.
4310 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4311 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4312 libc_hidden_data_def.
4313 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4314 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4316 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4317 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4318 setrpcent, and getrpcport to ...
4319 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4320 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4321 getrpcbynumber_r, and getrpcent_r to ...
4322 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4323 * inet/getrpcbyname.c: Moved ...
4324 * sunrpc/getrpcbyname.c: ... here.
4325 * inet/getrpcbyname_r.c: Moved ...
4326 * sunrpc/getrpcbyname_r.c: ... here.
4327 * inet/getrpcbynumber.c: Moved ...
4328 * sunrpc/getrpcbynumber.c: ... here.
4329 * inet/getrpcbynumber_r.c: Moved ...
4330 * sunrpc/getrpcbynumber_r.c: ... here.
4331 * inet/getrpcent.c: Moved ...
4332 * sunrpc/getrpcent.c: ... here.
4333 * inet/getrpcent_r.c: Moved ...
4334 * sunrpc/getrpcent_r.c: ... here.
4335 * inet/Makefile (routines): Move those to ...
4336 * sunrpc/Makefile (routines): ... here.
4337 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4338 the $(subdirs) list.
4339 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
4340 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4341 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4342 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4344 * elf/Makefile (routines): Include $(all-dl-routines), not just
4346 (rtld-routines): Likewise. Use = rather than :=.
4347 * sysdeps/aarch64/Makefile [$(subdir) = elf]
4348 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4349 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4350 * sysdeps/arm/Makefile: Likewise.
4351 * sysdeps/i386/Makefile: Likewise.
4352 * sysdeps/x86_64/Makefile: Likewise.
4353 * sysdeps/hppa/Makefile [$(subdir) = elf]
4354 (sysdep_routines, sysdep-rtld-routines): Don't add
4355 $(sysdep-dl-routines) to these.
4356 * sysdeps/ia64/Makefile: Likewise.
4357 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4358 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4359 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4360 Don't add dl-static to these; sysdep-dl-routines alone is enough.
4361 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4362 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4364 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4365 * sysdeps/powerpc/Makefile [$(subdir) = elf]
4366 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4367 these; sysdep-dl-routines alone is enough.
4369 2015-02-06 Joseph Myers <joseph@codesourcery.com>
4372 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4373 where multiplication results in zero and third argument is finite
4375 * math/auto-libm-test-in: Add more tests of fma.
4376 * math/auto-libm-test-out: Regenerated.
4378 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4379 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4380 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4381 (_FP_CMP_EQ): Likewise.
4382 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4384 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4385 extra argument CHECK_NAN. Redefine as wrapper around
4388 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
4390 * version.h (RELEASE): Set to "stable".
4391 (VERSION): Set to "2.21"
4392 * include/features.h (__GLIBC_MINOR__): Set to 21.
4394 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4396 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4397 Paul Eggert <eggert@cs.ucla.edu>
4400 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4402 size in bytes. Store needed elements in wpmax. Use needed size
4403 in bytes for extend_alloca.
4405 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
4407 * manual/install.texi: Latest tested versions are GCC 4.9.2,
4408 binutls 2.25, and texinfo 5.2.
4409 * INSTALL: Regenerate.
4410 * sysdeps/nios2/configure: Regenerate.
4411 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4412 * manual/contrib.texi: Update.
4436 * po/pt_BR.po: Update.
4445 * po/zh_CN.po: Update.
4446 * po/zh_TW.po: Update.
4448 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4449 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4450 * sysdeps/hppa/dl-irel.h: Remove #warning.
4451 * sysdeps/hppa/entry.h: Provide prototype for
4452 __canonicalize_funcptr_for_compare and cast argument.
4453 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4454 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4455 * sysdeps/hppa/sotruss-lib.c: New file.
4456 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4457 (atomic_compare_and_exchange_val_acq): Use __typeof__.
4458 (atomic_compare_and_exchange_bool_acq): Likewise.
4459 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4460 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4462 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4463 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4464 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4466 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4468 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4469 called function in non-PIC case.
4471 2015-01-31 David S. Miller <davem@davemloft.net>
4473 * sysdeps/sparc/sparc32/bits/atomic.h
4474 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4475 unlock not after it.
4476 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4477 volatile register usage warnings from the compiler.
4479 * sysdeps/sparc/nptl/sem_init.c: Delete.
4480 * sysdeps/sparc/nptl/sem_post.c: Delete.
4481 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4482 * sysdeps/sparc/nptl/sem_wait.c: Delete.
4483 * sysdeps/sparc/sparc32/sem_init.c: New file.
4484 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4485 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4486 padding explicitly initialized.
4487 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4488 padding for in-semaphore spinlock.
4489 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4490 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4491 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4492 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4493 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4494 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4495 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4496 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4498 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4499 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4501 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
4504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4505 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4506 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4508 (index_AVX_Fast_Unaligned_Load): Likewise.
4509 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4510 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4511 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4512 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4513 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4514 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4515 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4516 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4517 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4519 2015-01-29 Andreas Schwab <schwab@suse.de>
4521 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4523 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4526 * nscd/nscd_stat.c (send_stats): Initialize DATA.
4528 2015-01-28 Martin Sebor <msebor@redhat.com>
4530 * math/README.libm-test: Clarify. Add "How to read the test output."
4532 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
4534 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4537 2015-01-28 Joseph Myers <joseph@codesourcery.com>
4539 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4540 (__HAVE_64B_ATOMICS): Define to 0.
4542 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4545 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4546 value to set as new flag.
4549 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4550 and use _ARCH_PPCSQ instead.
4551 (__ieee754_sqrt): Likewise.
4552 (__ieee754_sqrtf): Likewise.
4553 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4554 _ARCH_PPCSQ is defined.
4555 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4557 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4558 _ARCH_PPCSQ is defined.
4559 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4563 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4565 * iconv/loop.c: Suppress array out of bound warning caused by GCC
4566 bug (GCC BZ #64739).
4568 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
4570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4571 Mark _retval as used.
4572 (lll_futex_wake_unlock): Likewise.
4573 (lll_futex_timed_wait_requeue_pi): Likewise.
4575 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4576 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4579 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4582 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4583 (__bswap_64): Mark as __always_inline.
4585 2015-01-25 Bram <bug_rh@spam.wizbit.be>
4588 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4589 when none of the search directories exist.
4591 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4594 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4595 power8 in .machine directive.
4598 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4599 set dependency from opd value.
4601 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4604 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4607 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
4610 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4612 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4614 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4615 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4616 Replace 1UL with (uint64_t) 1.
4617 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4620 2015-01-23 Roland McGrath <roland@hack.frob.com>
4622 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4623 (if_freenameindex): Likewise.
4625 * resource/getrlimit64.c: Add missing libc_hidden_def.
4627 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4629 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4631 (_FP_FMA): Likewise.
4632 (_FP_TO_INT_ROUND): Likewise.
4633 (_FP_FROM_INT): Likewise.
4635 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4638 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4639 Make code racy and cancel safe.
4641 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4643 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4644 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4647 * pwd/tst-getpw.c: Rewrite.
4650 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4651 (modules-names): Add moddummy1 and moddummy2.
4652 ($(objpfx)tst-rec-dlopen): Define.
4653 * dlfcn/moddummy1.c: New file.
4654 * dlfcn/moddummy2.c: New file.
4655 * dlfcn/tst-rec-dlopen.c: New file.
4656 * elf/dl-cache.c (_dl_load_cache_lookup):
4657 Return char*. Copy result with alloca/strcpy/strdup.
4658 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4659 returns char*. Free cached. If not saving realname
4661 * elf/dl-open.c (dl_open_worker): Do not assert that
4662 _r_debug->r_state is RT_CONSISTENT.
4663 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4666 2015-01-21 Torvald Riegel <triegel@redhat.com>
4667 Carlos O'Donell <carlos@redhat.com>
4670 * nptl/sem_waitcommon.c: New file.
4671 * nptl/sem_wait.c: Include sem_waitcommon.c.
4672 (__sem_wait_cleanup, do_futex_wait): Remove.
4673 (__new_sem_wait): Adapt.
4674 (__new_sem_trywait): New function.
4675 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4676 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4677 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4678 (sem_timedwait): Adapt.
4679 * nptl/sem_post.c (__new_sem_post): Adapt.
4680 (futex_wake): New function.
4681 (__old_sem_post): Add release MO fence.
4682 * nptl/sem_open.c (sem_open): Adapt.
4683 * nptl/sem_init.c (__new_sem_init): Adapt.
4684 (futex_private_if_supported): New function.
4685 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4686 (__old_sem_getvalue): Add using previous code.
4687 * sysdeps/nptl/internaltypes.h: Adapt.
4688 * nptl/tst-sem13.c (do_test): Adapt.
4689 * nptl/tst-sem11.c (main): Adapt.
4690 * nptl/sem_trywait.c: Remove.
4691 * nptl/DESIGN-sem.txt: Remove.
4692 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4693 (gen-as-const-headers): Remove structsem.sym.
4694 * nptl/structsem.sym: Remove.
4695 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4696 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4697 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4698 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4699 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4700 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4701 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4702 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4703 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4704 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4705 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4706 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4707 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4708 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4709 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4710 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4711 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4712 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4713 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4714 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4715 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4716 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4718 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4720 * INSTALL: Regenerated.
4722 * po/libc.pot: Regenerated.
4724 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4725 Sandra Loosemore <sandra@codesourcery.com>
4726 Andrew Jenner <andrew@codesourcery.com>
4727 Joseph Myers <joseph@codesourcery.com>
4728 Nathan Sidwell <nathan@codesourcery.com>
4730 * NEWS: Mention new Nios II port.
4731 * sysdeps/nios2/Implies: New file.
4732 * sysdeps/nios2/Makefile: New file.
4733 * sysdeps/nios2/Subdirs: New file.
4734 * sysdeps/nios2/Versions: New file.
4735 * sysdeps/nios2/__longjmp.S: New file.
4736 * sysdeps/nios2/abort-instr.h: New file.
4737 * sysdeps/nios2/backtrace.c: New file.
4738 * sysdeps/nios2/bits/endian.h: New file.
4739 * sysdeps/nios2/bits/fenv.h: New file.
4740 * sysdeps/nios2/bits/link.h: New file.
4741 * sysdeps/nios2/bits/setjmp.h: New file.
4742 * sysdeps/nios2/bsd-_setjmp.S: New file.
4743 * sysdeps/nios2/bsd-setjmp.S: New file.
4744 * sysdeps/nios2/configure: New generated file.
4745 * sysdeps/nios2/configure.ac: New file.
4746 * sysdeps/nios2/crti.S: New file.
4747 * sysdeps/nios2/crtn.S: New file.
4748 * sysdeps/nios2/dl-init.c: New file.
4749 * sysdeps/nios2/dl-machine.h: New file.
4750 * sysdeps/nios2/dl-sysdep.h: New file.
4751 * sysdeps/nios2/dl-tls.h: New file.
4752 * sysdeps/nios2/dl-trampoline.S: New file.
4753 * sysdeps/nios2/gccframe.h: New file.
4754 * sysdeps/nios2/gmp-mparam.h: New file.
4755 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4756 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4757 * sysdeps/nios2/ldsodefs.h: New file.
4758 * sysdeps/nios2/libc-tls.c: New file.
4759 * sysdeps/nios2/libm-test-ulps: New file.
4760 * sysdeps/nios2/machine-gmon.h: New file.
4761 * sysdeps/nios2/math-tests.h: New file.
4762 * sysdeps/nios2/math_private.h: New file.
4763 * sysdeps/nios2/memusage.h: New file.
4764 * sysdeps/nios2/nptl/Makefile: New file.
4765 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4766 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4767 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4768 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4769 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4770 * sysdeps/nios2/nptl/tls.h: New file.
4771 * sysdeps/nios2/preconfigure: New file.
4772 * sysdeps/nios2/s_fma.c: New file.
4773 * sysdeps/nios2/s_fmaf.c: New file.
4774 * sysdeps/nios2/setjmp.S: New file.
4775 * sysdeps/nios2/sfp-machine.h: New file.
4776 * sysdeps/nios2/sotruss-lib.c: New file.
4777 * sysdeps/nios2/stackguard-macros.h: New file.
4778 * sysdeps/nios2/stackinfo.h: New file.
4779 * sysdeps/nios2/start.S: New file.
4780 * sysdeps/nios2/sysdep.h: New file.
4781 * sysdeps/nios2/tls-macros.h: New file.
4782 * sysdeps/nios2/tst-audit.h: New file.
4783 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4784 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4785 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4786 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4787 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4788 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4789 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4790 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4791 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4792 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4793 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4794 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4795 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4796 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4797 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4798 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4799 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4800 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4801 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4802 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4803 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4804 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4805 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4806 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4807 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4808 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4809 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4810 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4811 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4812 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4813 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4814 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4815 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4816 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4817 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4818 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4819 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4820 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4821 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4822 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4823 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4824 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4825 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4826 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4828 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4831 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4832 (getutent): Use weak_alias in non SHARED case
4833 and default_symbol_version in SHARED case.
4834 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4835 (getutent_r, pututline): Likewise.
4836 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4837 (getutid): Likewise.
4838 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4839 (getutid_r): Likewise.
4840 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4841 (getutline): Likewise.
4842 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4843 (getutline_r): Likewise.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4845 (updwtmp): Likewise.
4847 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4850 * sysdeps/s390/s390-32/memcmp.S
4851 (memcmp_g5): Rename to __memcmp_g5.
4852 * sysdeps/s390/s390-32/memcpy.S
4853 (memcpy_g5): Rename to __memcpy_g5.
4854 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4855 (memcpy_mvcle) Rename to __memcpy_mvcle.
4856 * sysdeps/s390/s390-32/memset.S
4857 (memset_g5): Rename to __memset_g5.
4858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4859 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4860 and use prefixed functions.
4861 * sysdeps/s390/s390-32/multiarch/memcmp.S
4862 (memcmp_z196): Rename to __memcmp_z196.
4863 (memcmp_z10): Rename to __memcmp_z10.
4864 (memcmp): Set alias to __memcmp_g5.
4865 (bcmp): Set alias to __memcmp_g5.
4866 * sysdeps/s390/s390-32/multiarch/memcpy.S
4867 (memcpy_z196): Rename to __memcpy_z196.
4868 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4869 (memcpy_z10): Rename to __memcpy_z10.
4870 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4871 (memcpy): Set alias to __memcpy_g5.
4872 * sysdeps/s390/s390-32/multiarch/memset.S
4873 (memset_z196): Rename to __memset_z196.
4874 Jump to __memset_mvcle instead of memset_mvcle.
4875 (memset_z10): Rename to __memset_z10.
4876 Jump to __memset_mvcle instead of memset_mvcle.
4877 (memset_mvcle) Rename to __memset_mvcle.
4878 (memset): Set alias to __memset_g5.
4879 * sysdeps/s390/s390-64/memcmp.S
4880 (memcmp_z900): Rename to __memcmp_z900.
4881 * sysdeps/s390/s390-64/memcpy.S
4882 (memcpy_z900): Rename to __memcpy_z900.
4883 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4884 (memcpy_mvcle) Rename to __memcpy_mvcle.
4885 * sysdeps/s390/s390-64/memset.S
4886 (memset_z900): Rename to __memset_z900.
4887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4888 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4889 and use prefixed functions.
4890 * sysdeps/s390/s390-64/multiarch/memcmp.S
4891 (memcmp_z196): Rename to __memcmp_z196.
4892 (memcmp_z10): Rename to __memcmp_z10.
4893 (memcmp): Set alias to __memcmp_z900.
4894 (bcmp): Set alias to __memcmp_z900.
4895 * sysdeps/s390/s390-64/multiarch/memcpy.S
4896 (memcpy_z196): Rename to __memcpy_z196.
4897 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4898 (memcpy_z10): Rename to __memcpy_z10.
4899 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4900 (memcpy): Set alias to __memcpy_z900.
4901 * sysdeps/s390/s390-64/multiarch/memset.S
4902 (memset_z196): Rename to __memset_z196.
4903 Jump to __memset_mvcle instead of memset_mvcle.
4904 (memset_z10): Rename to __memset_z10.
4905 Jump to __memset_mvcle instead of memset_mvcle.
4906 (memset_mvcle) Rename to __memset_mvcle.
4907 (memset): Set alias to __memset_z900.
4909 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4912 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4913 __fesetenv instead of fesetenv.
4915 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4917 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4920 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4922 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4926 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4927 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4928 strncmp-power8 object.
4929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4930 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4931 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4934 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4935 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4938 trailing byte check.
4940 2015-01-13 David S. Miller <davem@davemloft.net>
4942 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4944 2015-01-13 Roland McGrath <roland@hack.frob.com>
4946 * login/logout.c (logout): Use memset rather than bzero.
4947 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4948 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4949 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4950 (_gethtbyaddr): Likewise.
4951 * locale/programs/simple-hash.c (bcopy): Macro removed.
4953 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4956 Add strcmp-power8 object.
4957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4958 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4959 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4960 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4961 __strcmp_power8 implementation.
4962 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4965 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4966 Add strncpy-power8 and stpncpy-power8 objects.
4967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4968 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4971 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4972 __stpncpy_power8 implementation.
4973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4974 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4975 __strncpy_power8 implementation.
4976 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4977 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4981 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4982 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4984 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4985 strncat-power8 object.
4986 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4987 __strcat_power8 implementation.
4988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4989 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4990 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4991 optimized strcat for power8.
4993 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4994 strcpy-power8 and stpcpy-power8 objects.
4995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4996 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4998 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4999 multiarch stpcpy implementation for POWER8.
5000 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5001 multiarch strcpy implementation for POWER8.
5002 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5003 __strcpy_power8 function.
5004 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5006 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5010 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
5013 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5014 weights and rules. Use do_xfrm_cached if data fits in cache,
5015 do_xfrm otherwise. Moved former main loop to...
5016 * (do_xfrm_cached): New function.
5017 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5018 find_idx, find_position and stack_push.
5019 * (find_idx): New function.
5020 * (find_position): Likewise.
5021 * localedata/sort-test.sh: Added test run for do_xfrm.
5022 * localedata/xfrm-test.c (main): Added command line option
5023 -nocache to run the test with strings that are too large for
5026 2015-01-13 Torvald Riegel <triegel@redhat.com>
5028 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5029 variable to lll_futex_wake call, not the value itself.
5031 2015-01-12 Joseph Myers <joseph@codesourcery.com>
5034 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5035 twom64. Adjust value to 0x1p-64L.
5036 (__scalblnl): Only return standard underflowing result for K <=
5037 -64 not K <= -63; adjust exponent for underflowing result by 64
5039 * math/libm-test.inc (scalbn_test_data): Add more tests.
5040 (scalbln_test_data): Likewise.
5043 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5045 (__scalblnl): Get new exponent of adjusted subnormal value from ES
5047 * math/libm-test.inc (scalbn_test_data): Add more tests.
5048 (scalbln_test_data): Likewise.
5050 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5051 Stefani Seibold <stefani@seibold.net>
5053 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5054 (sysdep_routines): Add dl-vdso here, ...
5055 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5056 (sysdep_routines): ... not here.
5057 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5058 fallback when vDSO is not presented.
5059 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5060 Define with libc_hidden_proto/libc_hidden_data_def definitions.
5061 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5062 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5063 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5064 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5065 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5066 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5067 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5069 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
5070 fallback configurable symbol when vDSO is not available.
5071 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5072 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
5073 be able to redefine fallback symbol when vDSO is not available.
5074 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5075 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5077 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5080 (TLS_INIT_TP): Add tm_capable initialization.
5081 (TLS_DEFINE_INIT_TP): Likewise.
5082 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5084 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5085 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5087 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5088 transactoion is lock elision is built and TCB tm_capable is set.
5089 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5091 (INTERNAL_SYSCALL_NCS): Likewise.
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5093 (INTERNAL_SYSCALL_NCS): Likewise.
5094 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5096 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5098 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5099 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5100 and remove it for 32 bits case.
5101 [pthread_rwlock_t] (__rwelision): New field for lock elision.
5102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5104 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5105 Disable lock elision with rdlocks if elision is not available.
5107 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5108 (sysdep_routines): Add lock elision objects.
5109 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5110 [pthread_mutex_t] (__spins): Rework to add lock elision field.
5111 [pthread_mutex_t] (__elision): Add field.
5112 [__PTHREAD_SPINS]: Adjust to init lock elision field.
5113 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5114 elision definitions for powerpc.
5115 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5116 implementation of lock elision for powerpc.
5117 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5118 implementation of timed lock elision for powerpc.
5119 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5120 implementation of trylock with lock elision for powerpc.
5121 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5122 implementaion of unlock for lock elision for powerpc.
5123 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5124 automatic enable lock elision for mutexes.
5125 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5126 transaction execution definitions for powerpc.
5127 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5129 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5130 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5131 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5132 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5135 2015-01-09 Roland McGrath <roland@hack.frob.com>
5137 * sysdeps/posix/shm-directory.c: Use <> rather than ""
5138 for #include of <shm-directory.h>.
5140 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
5142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5143 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5145 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
5148 * NEWS: Mention bug fix.
5149 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5150 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5151 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5153 2015-01-09 Torvald Riegel <triegel@redhat.com>
5155 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5157 2015-01-09 Torvald Riegel <triegel@redhat.com>
5159 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5161 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5163 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5164 pointer and cast to uintptr_t.
5166 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5168 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5170 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5172 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
5174 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5177 2015-01-08 Roland McGrath <roland@hack.frob.com>
5179 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5180 <nptl/pthreadP.h> instead.
5181 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5183 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5185 [__SIGRTMIN] (init): Function removed.
5186 [__SIGRTMIN] (initialized): Variable removed.
5187 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5188 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5189 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5190 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5191 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5192 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5193 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5194 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5195 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5196 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5197 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5198 * sysdeps/nptl/allocrtsig.c: New file.
5199 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5200 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5201 * sysdeps/generic/testrtsig.h: File removed.
5203 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5204 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5206 * nptl/nptl-init.c (pthread_functions): Conditionalize
5207 .ptr__nptl_setxid initialization on [SIGSETXID].
5209 * sysdeps/nptl/sys/procfs.h: New file.
5210 * nptl_db/Makefile (headers): Add it.
5211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5213 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5214 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5215 * nptl/pthread_attr_setaffinity.c: Include it.
5216 * nptl/pthread_setattr_default_np.c: Likewise.
5217 * nptl/check-cpuset.h: New file.
5219 2015-01-08 Richard Henderson <rth@redhat.com>
5221 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5222 (CFLAGS-tst-execstack-prog.c): Likewise.
5223 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5225 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
5226 Sandra Loosemore <sandra@codesourcery.com>
5227 Andrew Jenner <andrew@codesourcery.com>
5228 Joseph Myers <joseph@codesourcery.com>
5229 Nathan Sidwell <nathan@codesourcery.com>
5231 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5232 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5233 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5234 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5235 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5236 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5237 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5238 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5239 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5240 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5241 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5242 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5243 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5244 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5245 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5246 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5247 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5249 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5251 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5252 timespec struct member in syscall macro.
5253 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5254 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5255 first timeval struct member in syscall macro.
5256 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5258 2015-01-07 Joseph Myers <joseph@codesourcery.com>
5261 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5262 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5263 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5264 __feupdateenv and define as weak alias of __feupdateenv. Use
5266 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5268 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5269 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
5270 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5271 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5273 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5274 __feupdateenv and define as weak alias of __feupdateenv. Use
5276 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5278 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5279 __feupdateenv and define as weak alias of __feupdateenv. Use
5281 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5283 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5284 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5285 (__feupdateenv): Likewise.
5286 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5287 __feupdateenv and define as weak alias of __feupdateenv. Use
5289 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5290 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5292 * sysdeps/tile/math_private.h (__feupdateenv): New inline
5294 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5296 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5297 __feupdateenv instead of feupdateenv.
5298 (default_libc_feupdateenv_test): Likewise.
5299 (libc_feresetround_ctx): Likewise.
5301 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5303 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5306 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
5308 * posix/regcomp.c (parse_bracket_exp): Initialize type to
5309 COLL_SYM in a couple of places to avoid uninitialized variable
5310 wanings on tilegx gcc 4.8.2.
5312 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5314 * sysdeps/aarch64/strcpy.S: New file.
5315 * sysdeps/aarch64/stpcpy.S: New file.
5318 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
5320 * sysdeps/aarch64/strrchr.S: New file.
5323 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
5326 * stdlib/setenv.c: Fix memory leak when setting large,
5329 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
5332 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5333 and tabs from buffer before parsing fstab entry.
5334 * misc/tst-mntent.c (main): Add test for mount entry with
5335 trailing spaces and tabs.
5337 2015-01-06 Joseph Myers <joseph@codesourcery.com>
5340 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
5341 * math/fesetround.c (fesetround): Rename to __fesetround and
5342 define as weak alias of __fesetround. Use libm_hidden_weak.
5343 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5344 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5345 * sysdeps/arm/fesetround.c (fesetround): Likewise.
5346 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5347 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5348 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5349 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5350 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5351 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5352 __fesetround_inline.
5353 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5354 __fesetround_inline instead of __fesetround.
5355 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5356 __fesetround and define as weak alias of __fesetround. Use
5357 libm_hidden_weak. Call __fesetround_inline instead of
5359 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5360 __fesetround and define as weak alias of __fesetround. Use
5362 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5364 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5366 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5367 * sysdeps/tile/math_private.h (__fesetround): New inline function.
5368 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5369 __fesetround and define as weak alias of __fesetround. Use
5371 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5372 __fesetround instead of fesetround.
5373 (default_libc_feholdexcept_setround): Likewise.
5374 (libc_feholdsetround_ctx): Likewise.
5375 (libc_feholdsetround_noex_ctx): Likewise.
5378 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5379 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5380 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5381 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5382 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5383 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5384 define as weak alias of __fesetenv. Use libm_hidden_weak.
5385 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5386 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5387 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5388 define as weak alias of __fesetenv. Use libm_hidden_weak.
5389 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5390 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5391 define as weak alias of __fesetenv. Use libm_hidden_weak.
5392 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5394 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5395 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5397 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5398 define as weak alias of __fesetenv. Use libm_hidden_weak.
5399 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5400 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5401 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5402 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5403 and define as weak alias of __fesetenv. Use libm_hidden_weak.
5404 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5405 __fesetenv instead of fesetenv.
5406 (libc_feresetround_noex_ctx): Likewise.
5407 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5408 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5409 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5410 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5411 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5412 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5413 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5414 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5415 (__feupdateenv): Likewise.
5416 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5417 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5418 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5419 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5421 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5424 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5425 addresses have been freed.
5427 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
5429 * resolv/res_init.c (__res_vinit): Improve comments about nserv
5432 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
5434 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5435 Clean up check_pf allocation pattern. addresses
5437 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5439 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5440 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5441 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5442 * nptl/pthread_exit.c (__pthread_exit): Likewise.
5443 * nptl/pthread_join.c (pthread_join): Likewise.
5444 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5445 * sysdeps/posix/waitid.c (__waitid): Likewise.
5446 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5447 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5448 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5449 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5450 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5452 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5453 (__libc_pread64): Likewise.
5454 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5455 (__libc_pwrite): Likewise.
5456 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5457 (__libc_pwrite64): Likewsie.
5458 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5459 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5460 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5461 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5462 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5463 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5464 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5468 (__libc_pread64): Likewise.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5472 (__libc_pwrite64): Likewise.
5473 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5474 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5475 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5476 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5477 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5478 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5479 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5480 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5481 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5482 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5483 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5484 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5485 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5486 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5487 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5491 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5493 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5494 (CFLAGS-test-double.c): Likewise.
5495 (CFLAGS-test-ldouble.c): Likewise.
5496 (CPPFLAGS-test-ifloat.c): Likewise.
5497 (CPPFLAGS-test-idouble.c): Likewise.
5498 (CPPFLAGS-test-ildoubl.c): Likewise.
5499 (CFLAGS-test-test-fenv.c): Remove variable.
5500 (CFLAGS-test-misc.c): Likewise.
5502 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
5505 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5506 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5507 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5508 CLOCKS_PER_SEC == 1000000.
5509 * time/clocktest.c (main): Replace %ld with %jd and cast to
5512 2015-01-05 Roland McGrath <roland@hack.frob.com>
5514 * sysdeps/generic/unwind-resume.h: New file.
5515 * sysdeps/gnu/unwind-resume.c: Include it.
5516 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5517 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5519 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5520 global rather than static.
5521 (_Unwind_Resume): Update user.
5522 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5523 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
5524 rather than static. Add __attribute__ ((cold)).
5525 (_Unwind_Resume, __gcc_personality_v0): Update callers.
5526 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5527 * sysdeps/arm/arm-unwind-resume.S: New file.
5528 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5529 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5530 * sysdeps/arm/Makefile [$(subdir) = csu]
5531 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5532 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5533 Add rt-arm-unwind-resume.
5535 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5536 Add pt-arm-unwind-resume.
5537 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5538 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5540 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5543 * include/fenv.h (__feholdexcept): Declare. Use
5545 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5546 define as weak alias of __feholdexcept. Use libm_hidden_weak.
5547 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5548 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5549 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5550 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5552 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5553 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5554 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5555 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5556 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5557 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5558 (feholdexcept): Likewise.
5559 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5560 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5561 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5562 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5563 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5564 __feholdexcept instead of feholdexcept.
5565 (default_libc_feholdexcept_setround): Likewise.
5567 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5569 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5570 to avoid using stl/str to align destination.
5572 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5574 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5576 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5579 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5580 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5581 Define as weak alias not strong alias.
5583 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
5585 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5586 bltzal with addiupc.
5587 (RTLD_START): Ditto.
5589 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
5591 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5592 for __vdso_* functions in declarations.
5593 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5595 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5596 INTERNAL_VSYSCALL): Use struct return types to check for error.
5598 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5599 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5600 function with cast from llround().
5601 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5602 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5605 2015-01-05 Joseph Myers <joseph@codesourcery.com>
5608 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5609 Define as weak alias not strong alias.
5612 * ctype/ctype-c99.c: New file. isblank implementation moved from
5614 * ctype/ctype-extn.c: ... here.
5615 (__isblank_l): Move to ...
5616 * ctype/ctype-c99_l.c: ... here. New file.
5617 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5618 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5620 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5621 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5622 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5623 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5624 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5627 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5628 (posix_fadvise64): Define as weak alias not strong alias.
5629 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5630 (posix_fallocate64): Likewise.
5631 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5633 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5634 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5635 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5636 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5637 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5639 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5642 * NEWS: Mention bug fix.
5643 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5644 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5645 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5646 (HOST_STACK_END_ADDR): Likewise.
5648 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5651 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5652 * math/fegetround.c (fegetround): Rename to __fegetround and
5653 define as weak alias of __fegetround. Use libm_hidden_weak.
5654 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5655 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5656 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5657 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5658 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5659 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5660 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5661 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5662 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5663 Undefine after rather than before function definition; use
5664 parentheses around function name in definition.
5665 (__fegetround): Also undefine macro after function definition.
5666 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5667 __fegetround and define as weak alias of __fegetround. Use
5668 libm_hidden_weak. Do not undefine as macro.
5669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5671 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5672 __fegetround and define as weak alias of __fegetround. Use
5674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5675 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5676 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5677 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5678 __fegetround and define as weak alias of __fegetround. Use
5680 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5681 __fegetround instead of fegetround.
5684 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5685 Condition macro definition on [__USE_MISC].
5688 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5689 (struct sigaction): Change type of sa_flags field to int.
5692 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5693 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5696 * nptl/version.c (banner): Use single year in copyright notice.
5698 * NEWS: Update copyright dates.
5699 * catgets/gencat.c (print_version): Likewise.
5700 * csu/version.c (banner): Likewise.
5701 * debug/catchsegv.sh: Likewise.
5702 * debug/pcprofiledump.c (print_version): Likewise.
5703 * debug/xtrace.sh (do_version): Likewise.
5704 * elf/ldconfig.c (print_version): Likewise.
5705 * elf/ldd.bash.in: Likewise.
5706 * elf/pldd.c (print_version): Likewise.
5707 * elf/sotruss.sh: Likewise.
5708 * elf/sprof.c (print_version): Likewise.
5709 * iconv/iconv_prog.c (print_version): Likewise.
5710 * iconv/iconvconfig.c (print_version): Likewise.
5711 * locale/programs/locale.c (print_version): Likewise.
5712 * locale/programs/localedef.c (print_version): Likewise.
5713 * login/programs/pt_chown.c (print_version): Likewise.
5714 * malloc/memusage.sh (do_version): Likewise.
5715 * malloc/memusagestat.c (print_version): Likewise.
5716 * malloc/mtrace.pl: Likewise.
5717 * manual/libc.texinfo: Likewise.
5718 * nptl/version.c (banner): Likewise.
5719 * nscd/nscd.c (print_version): Likewise.
5720 * nss/getent.c (print_version): Likewise.
5721 * nss/makedb.c (print_version): Likewise.
5722 * posix/getconf.c (main): Likewise.
5723 * scripts/test-installation.pl: Likewise.
5724 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5726 2015-01-02 Will Newton <will.newton@linaro.org>
5728 * sysdeps/arm/armv7/configure: Removed.
5729 * sysdeps/arm/armv7/configure.ac: Likewise.
5731 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5733 * All files with FSF copyright notices: Update copyright dates
5734 using scripts/update-copyrights.
5735 * intl/plural.c: Regenerated.
5736 * locale/programs/charmap-kw.h: Likewise.
5737 * locale/programs/locfile-kw.h: Likewise.
5739 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5741 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5743 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5746 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5747 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5748 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5749 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5750 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5751 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5752 define as weak alias of __fegetenv. Use libm_hidden_weak.
5753 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5754 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5755 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5756 define as weak alias of __fegetenv. Use libm_hidden_weak.
5757 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5758 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5759 define as weak alias of __fegetenv. Use libm_hidden_weak.
5760 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5762 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5763 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5765 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5766 define as weak alias of __fegetenv. Use libm_hidden_weak.
5767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5768 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5769 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5770 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5771 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5772 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5773 __fegetenv instead of fegetenv.
5774 (libc_feholdsetround_noex_ctx): Likewise.
5776 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5778 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5779 (Elf_MIPS_ABIFlags_v0): New structure.
5780 (EF_MIPS_FP64): Define.
5781 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5782 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5783 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5784 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5785 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5786 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5787 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5788 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5789 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5790 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5791 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5792 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5793 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5794 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5795 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5796 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5797 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5798 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5799 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5800 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5801 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5802 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5804 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5806 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5807 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5808 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5809 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5810 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5811 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5812 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5813 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5814 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5815 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5816 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5817 record the current FP ABI extension.
5818 (mips-mode-switch): Define to show if kernel headers support mode
5820 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5821 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5822 supported SYSV ABI version to 3.
5823 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5826 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5827 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5831 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5833 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5835 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5836 __fegetround and redefine to call __fegetround. Remove condition
5837 on [!__NO_MATH_INLINES].
5838 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5840 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5843 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5844 instead of <fenv_libc.h>.
5845 (__llrintl): Call fegetround instead of __fegetround.
5846 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5847 instead of <fenv_libc.h>.
5848 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5849 (__lrintl): Call fegetround instead of __fegetround.
5850 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5851 instead of <fenv_libc.h>.
5852 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5853 (__rintl): Call fegetround instead of __fegetround.
5855 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5857 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5860 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5863 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5864 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5865 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5867 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5869 * sysdeps/i386/tls-macros.h: Include <features.h>.
5870 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5874 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5875 define for GCC >= 5.0.
5877 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5879 * math/test-fenv.c (test_single_exception, set_single_exc,
5880 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5881 feexcp_mask_test, feenable_test, fe_single_test): Add
5882 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5883 case where they are not used.
5884 * math/libm-test.inc: Likewise.
5885 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5886 unused in the absence of FP rounding/exception support.
5887 * stdio-common/tst-printf-round.c: Likewise.
5888 * stdlib/tst-strtod-round.c: Likewise.
5889 * stdlib/tst-strtod-underflow.c: Likewise.
5891 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5894 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5895 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5896 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5897 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5899 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5900 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5901 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5903 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5904 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5906 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5908 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5909 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5910 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5912 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5914 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5915 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5916 (__feraiseexcept): Likewise.
5917 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5918 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5921 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5923 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5924 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5925 Use libm_hidden_def.
5926 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5928 (feraiseexcept): Define as weak not strong alias. Use
5930 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5931 New inline function. Factored out of ...
5932 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5933 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5934 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5936 * math/w_acos.c (__acos): Likewise.
5937 * math/w_asin.c (__asin): Likewise.
5938 * math/w_ilogb.c (__ilogb): Likewise.
5939 * math/w_j0.c (y0): Likewise.
5940 * math/w_j1.c (y1): Likewise.
5941 * math/w_jn.c (yn): Likewise.
5942 * math/w_log.c (__log): Likewise.
5943 * math/w_log10.c (__log10): Likewise.
5944 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5945 * sysdeps/aarch64/fpu/math_private.h
5946 (libc_feupdateenv_test_aarch64): Likewise.
5947 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5948 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5949 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5950 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5951 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5952 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5953 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5954 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5955 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5956 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5958 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5961 * io/test-utime.c (main): Replace %ld with %jd and cast to
5963 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5964 * nptl/tst-mutex5.c: Include <stdint.h>.
5965 (do_test): Replace %ld with %jd and cast to intmax_t.
5966 * posix/tst-regex.c (run_test): Likewise.
5967 (run_test_backwards): Likewise.
5968 * rt/tst-clock.c: Include <stdint.h>.
5969 (clock_test): Replace %ld with %jd and cast to intmax_t.
5970 * rt/tst-cpuclock1.c: Include <stdint.h>.
5971 (do_test): Replace %lu with %ju and cast to uintmax_t.
5972 * rt/tst-cpuclock2.c: Include <stdint.h>.
5973 (do_test): Replace %lu with %ju and cast to uintmax_t.
5974 * rt/tst-mqueue1.c: Include <stdint.h>.
5975 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5976 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5978 * rt/tst-mqueue4.c (do_test): Likewise.
5979 * rt/tst-timer4.c: Include <stdint.h>.
5980 (check_ts): Replace %ld with %jd and cast to intmax_t.
5981 (do_test): Likewise.
5982 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5983 and cast to intmax_t.
5984 * sysdeps/pthread/tst-timer.c (main): Likewise.
5985 * time/clocktest.c (main): Likewise.
5986 * time/tst-posixtz.c (do_test): Likewise.
5987 * timezone/tst-timezone.c (main): Likewise.
5989 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5990 H.J. Lu <hongjiu.lu@intel.com>
5992 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5993 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5994 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5995 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5996 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5997 version if bit_Fast_Unaligned_Load is set.
5998 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5999 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6000 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6001 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6002 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6003 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6005 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6006 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6007 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6009 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6010 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6011 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6012 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6014 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
6016 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6017 instead of #if to avoid a Wundef warning.
6018 * stdlib/tst-limits.c (do_test): Likewise.
6020 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6021 parallel other exception macros.
6022 (fegetenv): Convert from macro to extern inline so that it applies
6023 retroactively to inline functions already seen by the compiler.
6024 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6026 * posix/Makefile (before-compile): Use $(objpfx) for
6027 posix-conf-vars-def.h.
6029 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6031 * posix/getconf.c (main): Use size_t for type of I.
6032 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6035 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6036 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6037 * posix/posix-envs.def: Likewise.
6038 * sysdeps/posix/sysconf.c: Likewise.
6039 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6040 (specs): Remove array.
6041 * scripts/gen-posix-conf-vars.awk: Support generation of specs
6044 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6045 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6046 (__sysconf): Use CONF_IS_* macros.
6048 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6049 ($(objpfx)posix-conf-vars-def.h): New target.
6050 * posix/posix-conf-vars.list: New file.
6051 * posix/posix-conf-vars.h: New file.
6052 * posix/confstr.c: Include posix-conf-vars.h.
6053 (confstr): Use CONF_IS_* macros.
6054 * posix/posix-envs.def: Include posix-conf-vars.h. Use
6056 * scripts/gen-posix-conf-vars.awk: New file.
6058 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
6060 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6061 fegetround): Add no-op macros to avoid linknamespace issues.
6063 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6064 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6066 * sysdeps/unix/sysv/linux/tile/sysdep.h
6067 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6068 assembly-specific section to avoid a redefinition warning.
6070 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6071 long before casting to pointer to avoid a cast warning.
6073 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
6075 * sysdeps/tile/tilegx/Implies: New file.
6077 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
6079 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6081 2014-12-23 Florian Weimer <fweimer@redhat.com>
6083 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6085 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6089 * sysdeps/unix/sysv/linux/utimes.c: Do not include
6090 <kernel-features.h>.
6091 (__utimes) [__NR_utimes]: Make code unconditional.
6092 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6093 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6094 (__ASSUME_UTIMES): Do not undefine.
6095 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6096 (__ASSUME_UTIMES): Likewise.
6097 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6098 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6099 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6100 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6102 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6104 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6106 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
6109 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6110 alias to weak alias for j0l, y0l.
6111 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6112 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6115 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6118 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
6120 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6121 to zero if not already defined.
6123 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6126 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6127 (__kernel_standard_f): Remove. Moved to k_standardf.c.
6128 (__kernel_standard_l): Remove. Moved to k_standardl.c with
6129 (char *) casts added.
6130 * sysdeps/ieee754/k_standardf.c: New file.
6131 * sysdeps/ieee754/k_standardl.c: Likewise.
6132 * math/Makefile (libm-support): Remove k_standard.
6133 (libm-calls): Add k_standard.
6135 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6137 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6138 Optimize to avoid an unnecessary FPCR read.
6140 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6142 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6143 Optimize to reduce FPCR/FPSR accesses.
6145 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6147 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6148 Call libc_fetestexcept_aarch64.
6150 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
6152 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6153 Call libc_fesetround_aarch64.
6155 2014-12-22 Joseph Myers <joseph@codesourcery.com>
6158 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6159 (__bind): Do not define as weak alias.
6160 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6162 (__getsockname): Do not define as weak alias.
6164 2014-12-22 Will Newton <will.newton@linaro.org>
6166 * manual/install.texi: Document that we require bison 2.7
6168 * INSTALL: Regenerate.
6169 * configure.ac: Use AC_CHECK_PROG_VER instead of
6170 AC_PATH_PROG when checking for bison and check for
6171 version 2.7 or above.
6172 * configure: Regenerate.
6174 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
6177 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6178 * sysdeps/tile/ffsll.c (ffsll): To here.
6180 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6182 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6184 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6186 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6188 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6189 hidden ___tls_get_addr.
6190 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6191 hidden __tls_get_addr.
6192 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6193 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6196 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
6198 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6201 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
6203 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6204 from "call _dl_init@PLT".
6205 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6207 2014-12-21 Anders Kaseorg <andersk@mit.edu>
6209 * manual/search.texi: (Array Sort Function): Clarify stable sorting
6212 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
6214 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6216 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6219 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6222 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6224 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6226 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6227 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6228 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6229 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6230 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6232 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
6234 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6235 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6236 (PTR_SUBU): Use subu for mips32r6/mips64r6.
6237 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6238 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6240 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6242 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
6244 * string/strncat.c (STRNCAT): Simplify implementation.
6246 2014-12-19 David S. Miller <davem@davemloft.net>
6248 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6249 access the quad as both a long double and as a series of 4 words.
6251 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6252 link_map->l_info array access.
6254 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
6256 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6258 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6259 * math/atest-exp2.c (TIMEOUT): Likewise.
6260 * math/atest-sincos.c (TIMEOUT): Likewise.
6262 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6264 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6265 -Wno-error with -fno-builtin-lround.
6267 2014-12-19 Torvald Riegel <triegel@redhat.com>
6269 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6270 Contains futex constants and functions moved over from ...
6271 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
6272 <lowlevellock-futex.h>.
6273 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6274 (lll_timedwait_tid): Add comments and parentheses around macro
6277 2014-12-19 Torvald Riegel <triegel@redhat.com>
6279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6280 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
6281 (__lll_private_flag): Remove.
6282 (lll_futex_wait): Likewise.
6283 (lll_futex_timed_wait): Likewise.
6284 (lll_futex_wake): Likewise.
6285 (lll_futex_requeue): Likewise.
6286 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6287 (__lll_timedwait_tid): Spell out argument names.
6288 (lll_timedwait_tid): Add comments and parentheses around macro
6290 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6291 LLL_SHARED and LLL_PRIVATE usable from assembly code.
6293 2014-12-19 Torvald Riegel <triegel@redhat.com>
6295 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6296 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6297 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6298 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6299 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6300 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6301 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6302 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6303 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6309 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6310 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6311 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6312 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6313 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6315 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6317 * sysdeps/x86_64/x32/Makefile: New file.
6319 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
6321 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6322 1L with (mp_limb_t) 1.
6324 2014-12-17 Roland McGrath <roland@hack.frob.com>
6326 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6327 * nptl/libc_pthread_init.c: ... here.
6328 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6329 * nptl/register-atfork.c: ... here.
6331 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6332 Use pthread_sigmask rather than INTERNAL_SYSCALL.
6333 Use assert_perror to check its return value.
6334 (__gai_create_helper_thread): Likewise.
6336 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6338 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6340 2014-12-17 Joseph Myers <joseph@codesourcery.com>
6343 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6345 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6347 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6349 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6351 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6352 (profil_counter): Likewise.
6353 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6354 (profil_counter): Likewise.
6355 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6357 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6359 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6360 (profil_counter): Likewise.
6361 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6363 [!__profil_counter] (profil_counter): Define as weak alias of
6365 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6366 (profil_counter): Rename to __profil_counter.
6367 [!__profil_counter] (profil_counter): Define as weak alias of
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6370 (profil_counter): Rename to __profil_counter.
6371 [!__profil_counter] (profil_counter): Define as weak alias of
6373 * sysdeps/posix/profil.c: Update comment referring to
6375 (__profil): Use __profil_counter instead of profil_counter.
6376 * sysdeps/posix/sprofil.c (profil_counter): Rename to
6377 __profil_counter. Use __profil_counter_ushort and
6378 __profil_counter_uint in definitions.
6379 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6380 instead of profil_counter_uint and profil_counter_ushort.
6383 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6384 define as weak alias of __inet_makeaddr.
6385 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6386 as weak alias of __inet_addr.
6387 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6388 as weak alias of __inet_pton. Use libc_hidden_weak.
6389 * include/arpa/inet.h (__inet_pton): Declare. Use
6391 (inet_makeaddr): Don't use libc_hidden_proto.
6392 (__inet_makeaddr): Declare. Use libc_hidden_proto.
6393 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6394 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
6395 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6397 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6398 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6400 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
6402 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6404 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6406 * stdio-common/bug-vfprintf-nargs.c (do_test):
6407 Cast value to intptr_t to avoid format warning
6408 for usage with PRIdPTR printing macro.
6410 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
6412 * libio/tst-widetext.c (do_test):
6413 Use format type %td instead of %Zd for ptrdiff_t
6414 in order to avoid format warning.
6416 2014-12-17 Andreas Schwab <schwab@suse.de>
6418 * nscd/mem.c (gc): Add size_t cast to match printf format.
6420 2014-12-16 Roland McGrath <roland@hack.frob.com>
6422 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6423 (init): Apply PTR_MANGLE to pointers before storing them.
6424 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6427 2014-12-16 Joseph Myers <joseph@codesourcery.com>
6430 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6431 define as weak alias of __memrchr.
6432 (__memrchr): Do not define as strong alias of memrchr.
6433 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6435 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6436 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6437 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6440 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6441 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
6442 (if_indextoname): Rename to __if_indextoname and define as weak
6443 alias of __if_indextoname. Use libc_hidden_weak.
6444 (if_freenameindex): Rename to __if_freenameindex and define as
6445 weak alias of __if_freenameindex.
6446 (if_nameindex): Rename to __if_nameindex and define as weak alias
6448 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6449 __if_nametoindex and define as weak alias of __if_nametoindex.
6450 Use libc_hidden_weak.
6451 (if_freenameindex): Rename to __if_freenameindex and define as
6452 weak alias of __if_freenameindex.
6453 (if_nameindex): Rename to __if_nameindex and define as weak alias
6455 (if_indextoname): Rename to __if_indextoname and define as weak
6456 alias of __if_indextoname. Use libc_hidden_weak.
6457 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6458 __if_nametoindex and define as weak alias of __if_nametoindex.
6459 Use libc_hidden_weak.
6460 (if_freenameindex): Rename to __if_freenameindex and define as
6461 weak alias of __if_freenameindex. Use libc_hidden_weak.
6462 (if_nameindex_netlink): Use __if_freenameindex instead of
6464 (if_nameindex): Rename to __if_nameindex and define as weak alias
6465 of __if_nameindex. Use libc_hidden_weak.
6466 (if_indextoname): Rename to __if_indextoname and define as weak
6467 alias of __if_indextoname. Use libc_hidden_weak.
6468 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6470 [!_ISOMAC] (__if_freenameindex): Likewise.
6471 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6473 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6475 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6476 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6477 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6478 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6479 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6480 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6481 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6483 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6485 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6486 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6488 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6490 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6491 subscript above bounds'
6493 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6496 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
6498 * libio/tst-fopenloc.c: Use test-skeleton.c.
6500 * stdlib/tst-bsearch.c: Use test-skeleton.c.
6501 (entry): Rename to ITEM.
6502 (do_test, comp): Adjust.
6504 * stdio-common/tst-fseek.c: Use test-skeleton.c.
6506 2014-12-16 Torvald Riegel <triegel@redhat.com>
6508 * string/tester.c: Include <libc-internal.h>.
6509 (test_memset): Ignore -Wmemset-transposed-args.
6511 2014-12-16 Torvald Riegel <triegel@redhat.com>
6513 * misc/tst-mntent2.c (do_test): Fix warning.
6515 2014-12-16 Torvald Riegel <triegel@redhat.com>
6517 * elf/tst-unique4lib.cc(a): Mark as used.
6519 2014-12-16 Florian Weimer <fweimer@redhat.com>
6522 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6525 2014-12-16 Allan McRae <allan@archlinux.org>
6527 * stdio-common/Makefile (tests): Re-add bug26.
6529 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
6532 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6535 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
6537 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6538 (__lll_lock_wait): Likewise.
6539 (__lll_timedlock_wait): Likewise.
6540 (__lll_timedwait_tid): Likewise.
6541 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6542 (__lll_robust_timedlock_wait): Likewise.
6543 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6544 (lll_cond_trylock): Likewise.
6545 (__lll_lock): Likewise.
6546 (__lll_robust_lock): Likewise.
6547 (__lll_cond_lock): Likewise.
6548 (lll_robust_cond_lock): Likewise.
6549 (__lll_timedlock): Likewise.
6550 (__lll_robust_timedlock): Likewise.
6551 (__lll_unlock): Likewise.
6552 (__lll_robust_unlock): Likewise.
6553 (lll_wait_tid): Likewise.
6554 (lll_timedwait_tid): Likewise.
6556 2014-12-15 Torvald Riegel <triegel@redhat.com>
6558 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6560 2014-12-15 Torvald Riegel <triegel@redhat.com>
6562 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6564 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6566 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6567 * stdio-common/tst-sprintf.c: Likewise.
6569 2014-12-15 Torvald Riegel <triegel@redhat.com>
6571 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6573 2014-12-15 Jeff Law <law@redhat.com>
6576 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6577 on the heap. (CVE-2012-3406)
6578 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6579 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
6580 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6582 2014-12-15 Will Newton <will.newton@linaro.org>
6584 * manual/install.texi: Bump required version of texinfo
6586 * INSTALL: Regenerated.
6587 * configure.ac: Check for makeinfo version 4.7 and above.
6588 * configure: Regenerated.
6590 2014-12-12 Roland McGrath <roland@hack.frob.com>
6592 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6593 PREFIX, string constant to insert between directory and name.
6594 * sysdeps/posix/shm_open.c: Update caller.
6595 * sysdeps/posix/shm_unlink.c: Likewise.
6596 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6597 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6598 (SEM_SHM_PREFIX): New macro.
6599 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6600 [$(have-thread-library) = no].
6601 * nptl/Makefile (libpthread-routines): Add shm-directory.
6602 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6603 * sysdeps/nptl/shm-directory.h: New file.
6604 * sysdeps/posix/shm-directory.c
6605 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6606 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6607 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6609 (__where_is_shmfs): Function removed.
6610 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6612 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6614 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6616 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6617 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6618 unconditional for use inside libpthread.
6619 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6621 2014-12-12 Roland McGrath <roland@hack.frob.com>
6623 * nptl/pthread_getaffinity.c: New file.
6624 * nptl/pthread_setaffinity.c: New file.
6625 * nptl/pthread_getname.c: New file.
6626 * nptl/pthread_setname.c: New file.
6628 * nptl/pthread_create.c (START_THREAD_DEFN)
6629 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6631 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6632 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6634 * resolv/res_send.c (send_vc): Disable warning resplen may
6635 be used uninitialized.
6637 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6640 (ATTR_NULL): New define checks ATTR against NULL.
6641 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6642 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6644 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6648 (mem2mem_check): Revert my previous change.
6649 (malloc_check_get_size): Revert my previous change.
6650 (mem2chunk_check): Revert my previous change.
6652 2014-12-11 Roland McGrath <roland@hack.frob.com>
6654 * sysdeps/posix/shm-directory.c: New file.
6655 * sysdeps/posix/shm-directory.h: New file.
6656 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6657 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6658 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6659 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6660 Transmute EPERM to EACCES.
6661 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6663 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6664 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6666 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6668 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6669 pointer and cast to uintptr_t.
6670 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6671 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6672 Add cast to avoid warning.
6673 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6675 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6677 * nptl/semaphore.h: Move to ...
6678 * sysdeps/pthread/semaphore.h: ... here.
6679 * Makefile (installed-headers): Change nptl/semaphore.h to
6680 sysdeps/pthread/semaphore.h.
6682 2014-12-11 Roland McGrath <roland@hack.frob.com>
6684 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6685 generated error format strings.
6687 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6688 -Wformat-extra-args warnings for scanf formats.
6689 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6690 test of zero-length format (duh).
6691 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6692 corner-case scanf format test.
6693 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6694 generated fprintf format string.
6695 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6696 corner-case sprintf format tests.
6697 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6698 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6699 -Wformat-extra-args warnings throughout.
6700 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6701 (CFLAGS-scanf4.c): Likewise.
6702 (CFLAGS-scanf7.c): Likewise.
6703 (CFLAGS-tst-sprintf.c): Likewise.
6704 (CFLAGS-tst-printf.c): Likewise.
6705 (CFLAGS-tst-printfsz.c): Likewise.
6707 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6709 * include/cpio.h: New file.
6710 * include/fmtmsg.h: Likewise.
6712 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6713 corresponding format argument to size_t.
6714 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6716 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6717 corresponding format argument to size_t.
6718 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6720 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6721 corresponding format argument to size_t.
6722 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6723 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6724 (CFLAGS-tst-mbswcs2.c): Likewise.
6725 (CFLAGS-tst-mbswcs3.c): Likewise.
6726 (CFLAGS-tst-mbswcs4.c): Likewise.
6727 (CFLAGS-tst-mbswcs5.c): Likewise.
6728 (CFLAGS-tst-trans.c): Likewise
6730 2014-12-11 Roland McGrath <roland@hack.frob.com>
6732 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6733 rather than assuming they won't contain any '%'s.
6735 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6737 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6738 inhibit_loop_to_libcall to avoid recursive calls.
6739 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6740 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6742 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6744 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6747 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6749 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6750 integer value instead of boolean.
6752 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6754 * malloc/malloc.c: Fix powerof2 check.
6756 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6758 * locale/programs/locfile.h (maybe_swap_uint32):
6759 Remove inline and add unused attribute.
6761 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6763 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6764 Truncating assembler expression to a .long expression.
6766 2014-12-11 Andreas Schwab <schwab@suse.de>
6768 * elf/rtld.c (struct map_args): Constify str member.
6769 (do_preload): Constify fname argument.
6771 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6773 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6774 constants definition.
6776 2014-12-11 Andreas Schwab <schwab@suse.de>
6779 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6780 FORCE_ELISION instead of DO_ELISION.
6781 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6783 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6786 * iconvdata/gconv-modules: Remove duplicate entry.
6788 2014-12-11 Will Newton <will.newton@linaro.org>
6790 Merge gettext 0.19.3 into intl/.
6792 This involves a number of cosmetic changes to comments
6793 and ANSI function definitions and prototypes throughout
6794 all the files. The gettext copyright header is used but
6795 with the date ranges taken from the glibc copy.
6797 * NEWS: Add gettext merge to 2.21.
6798 * intl/bindtextdom.c: Switch to gettext copyright.
6799 Use ANSI definitions and prototypes.
6800 Use gl_* locking primitives rather than __libc_* ones.
6801 Use __builtin_expect rather than __glibc_likely/unlikely.
6802 * intl/dcgettext.c: Switch to gettext copyright.
6803 Use ANSI definitions and prototypes.
6804 * intl/dcigettext.c: Switch to gettext copyright.
6805 Use ANSI definitions and prototypes.
6806 (INTDIV0_RAISES_SIGFPE): New define.
6807 Use gl_* locking primitives rather than __libc_* ones.
6808 Include eval-plural.h instead of plural-eval.c.
6809 Use __builtin_expect rather than __glibc_likely/unlikely.
6810 * intl/dcngettext.c: Switch to gettext copyright.
6811 Use ANSI definitions and prototypes.
6812 * intl/dgettext.c: Likewise.
6813 * intl/dngettext.c: Likewise.
6814 * intl/plural-eval.c: Renamed to...
6815 * intl/eval-plural.h: ...this.
6816 * intl/explodename.c: Switch to gettext copyright.
6817 Use ANSI definitions and prototypes.
6818 (_nl_explode_name): Use strchr instead of __rawmemchr.
6819 * intl/finddomain.c: Switch to gettext copyright.
6820 Use ANSI definitions and prototypes.
6821 Use gl_* locking primitives rather than __libc_* ones.
6822 (_nl_find_domain): Use malloc rather than alloca for
6823 allocation of temporary locale name.
6824 * intl/gettext.c: Switch to gettext copyright.
6825 Use ANSI definitions and prototypes.
6826 * intl/gettextP.h: Switch to gettext copyright.
6827 Use ANSI definitions and prototypes.
6828 Use gl_* locking primitives rather than __libc_* ones.
6829 * intl/gmo.h: Switch to gettext copyright.
6830 (struct sysdep_string): Move struct segment_pair outside of
6832 * intl/hash-string.c: Use ANSI definitions and prototypes.
6833 * intl/hash-string.h: Switch to gettext copyright.
6834 Use ANSI definitions and prototypes.
6835 * intl/l10nflist.c: Switch to gettext copyright.
6836 Use ANSI definitions and prototypes.
6837 (_nl_normalize_codeset): Avoid integer overflow.
6838 * intl/loadinfo.h: Switch to gettext copyright.
6839 Use ANSI definitions and prototypes.
6840 (LIBINTL_DLL_EXPORTED): New define.
6841 (PATH_SEPARATOR): New define.
6842 * intl/loadmsgcat.c: Switch to gettext copyright.
6843 * intl/localealias.c: Switch to gettext copyright.
6844 Use ANSI definitions and prototypes.
6845 (_nl_expand_alias): Use PATH_SEPARATOR.
6846 * intl/ngettext.c: Switch to gettext copyright.
6847 Use ANSI definitions and prototypes.
6848 * intl/plural-exp.c: Likewise.
6849 * intl/plural-exp.h: Switch to gettext copyright.
6850 Use ANSI definitions and prototypes.
6851 (struct expression): Move definition of enum operator outside
6852 of struct definition.
6853 * intl/plural.c: Regenerate.
6854 * intl/plural.y: Switch to gettext copyright.
6855 Use ANSI definitions and prototypes.
6857 * intl/textdomain.c: Switch to gettext copyright.
6858 Use ANSI definitions and prototypes.
6859 Use gl_* locking primitives rather than __libc_* ones.
6861 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6863 * debug/warning-nop.c: Add used atrribute.
6865 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6867 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6869 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6870 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6871 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6873 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6874 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6878 Undefine after defining function. Define as weak alias of
6879 __wcschr. Use libc_hidden_weak.
6880 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6881 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6882 (libc_hidden_def): Also define __GI___wcschr alias.
6883 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6884 __wcschr and define as weak alias of __wcschr.
6885 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6887 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6888 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6889 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6890 libc_hidden_weak. Do not use libc_hidden_def.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6892 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6893 __GI___wcschr alias.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6895 [IS_IN (libc)] (wcschr): Define as macro expanding to
6897 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6898 [IS_IN (libc)] (__wcschr_power6): Likewise.
6899 [IS_IN (libc)] (__wcschr_power7): Likewise.
6900 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6902 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6904 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6905 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6906 __wcschr and define as weak alias of __wcschr. Use
6907 libc_hidden_builtin_def.
6908 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6909 as weak alias of __wcschr. Use libc_hidden_weak.
6910 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6912 * time/era.c (_nl_init_era_entries): Likewise.
6913 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6915 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6916 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6918 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6920 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6921 format for long int variable.
6923 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6926 * manual/search.texi: (Array Sort Function): Remove claim how to make
6929 2014-12-10 Andreas Schwab <schwab@suse.de>
6932 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6933 user-controlled locks.
6935 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6937 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6940 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6942 * configure.ac (--disable-werror): New configure option.
6943 (enable_werror): New AC_SUBST.
6944 * configure: Regenerated.
6945 * config.make.in (enable-werror): New variable.
6946 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6948 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6949 * manual/install.texi (Configuring and compiling): Document
6951 * INSTALL: Regenerated.
6952 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6953 (CFLAGS-tst-chk2.c): Likewise.
6954 (CFLAGS-tst-chk3.c): Likewise.
6955 (CFLAGS-tst-chk4.cc): Likewise.
6956 (CFLAGS-tst-chk5.cc): Likewise.
6957 (CFLAGS-tst-chk6.cc): Likewise.
6958 (CFLAGS-tst-lfschk1.c): Likewise.
6959 (CFLAGS-tst-lfschk2.c): Likewise.
6960 (CFLAGS-tst-lfschk3.c): Likewise.
6961 (CFLAGS-tst-lfschk4.cc): Likewise.
6962 (CFLAGS-tst-lfschk5.cc): Likewise.
6963 (CFLAGS-tst-lfschk6.cc): Likewise.
6965 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6966 (main): Disable -Wdeprecated-declarations around calls to
6967 register_printf_function.
6969 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6970 (do_test): Disable -Wdiv-by-zero around some calls to
6971 fwrite_unlocked and fread_unlocked.
6973 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6974 (DIAG_POP_NEEDS_COMMENT): Likewise.
6975 (_DIAG_STR1): Likewise.
6976 (_DIAG_STR): Likewise.
6977 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6978 * stdio-common/bug21.c: Include <libc-internal.h>.
6979 (do_test): Disable -Wformat around call to sscanf.
6980 * stdio-common/scanf14.c: Include <libc-internal.h>.
6981 (main): Disable -Wformat around some calls to scanf functions.
6983 2014-12-09 Torvald Riegel <triegel@redhat.com>
6985 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6987 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6989 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6990 stack variable alignment.
6992 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6995 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6996 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6997 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6998 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6999 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7000 __getrlimit instead of getrlimit.
7001 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7002 __gettimeofday instead of gettimeofday.
7003 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7005 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7007 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7008 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7010 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7011 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7013 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7016 for wide-character tests.
7018 2014-12-04 Roland McGrath <roland@hack.frob.com>
7020 * io/openat64.c: #include <libc-internal.h>
7021 (__openat64): Prototypify. Use ignore_value on MODE.
7022 * io/openat.c: Likewise.
7023 * misc/reboot.c: #include <libc-internal.h>
7024 (reboot): Prototypify. Use ignore_value on HOWTO.
7025 * misc/ptrace.c: #include <libc-internal.h>
7026 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
7028 2014-12-04 Joseph Myers <joseph@codesourcery.com>
7030 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7031 XPG4, UNIX98 and XOPEN2K.
7032 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7034 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7036 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7038 * libio/fileops.c: Use ISO C style for function definitions.
7039 * libio/iofopen.c: Likewise.
7040 * libio/wfileops.c: Likewise.
7043 * libio/fileops.c (_IO_new_file_underflow): Unset cached
7045 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7046 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7047 (fgets_func): Function pointer to fgets and fgetws.
7048 (do_ftell_test): Add test to verify ftell value after read
7050 (do_test): Set fgets_func.
7052 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7053 O_TRUNC flag for w and w+ modes.
7054 (do_rewind_test): Likewise.
7055 (do_ftell_test): Likewise.
7056 (do_write_test): Likewise.
7059 * libio/fileops.c (do_ftell): Seek only when there are
7061 * libio/wfileops.c (do_ftell_wide): Likewise.
7062 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7064 (do_one_test): Call it.
7066 2014-12-03 Joseph Myers <joseph@codesourcery.com>
7068 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7069 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7070 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7072 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7073 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7074 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7076 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7078 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7080 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7083 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7084 as weak alias of __getifaddrs. Use libc_hidden_weak.
7085 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7086 __freeifaddrs. Use libc_hidden_weak.
7087 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7088 define as weak alias of __getifaddrs. Use libc_hidden_weak.
7089 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7090 __freeifaddrs. Use libc_hidden_weak.
7091 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7092 __getifaddrs and define as weak alias of __getifaddrs. Use
7094 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7095 __freeifaddrs. Use libc_hidden_weak.
7096 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7098 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7099 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7101 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
7104 * sysdeps/mips/start.S (__start): Use indirect jump to call
7107 2014-12-02 Joseph Myers <joseph@codesourcery.com>
7109 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7111 * nptl/tst-mutex1.c: Include <stdbool.h>.
7112 [!ATTR] (ATTR_NULL): New macro.
7113 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7114 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7115 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7117 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7121 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7122 Change conditional to [__USE_MISC].
7125 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7127 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7129 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7131 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7133 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7134 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7135 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7136 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7137 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7138 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7139 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7140 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7141 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7143 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7145 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7148 Remove strpbrk objects.
7149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7150 (__libc_ifunc_impl_list): Remove strpbrk implementation.
7151 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7152 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7153 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7154 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7156 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7157 Remove strcspn objects.
7158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7159 (__libc_ifunc_impl_list): Remove strcspn implementation.
7160 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7161 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7162 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7163 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7165 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7166 Remove strspn objetcs.
7167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7168 (__libc_ifunc_impl_list): Remove strspn implementation.
7169 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7170 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7171 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7172 * sysdeps/powerpc/powerpc64/strspn.S: New file.
7174 2014-12-01 James Lemke <jwlemke@codesourcery.com>
7178 (mem2mem_check): Add a terminator to the chain of checking blocks.
7179 (malloc_check_get_size): Use it here.
7180 (mem2chunk_check): Ditto.
7182 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7184 * sysdeps/powerpc/powerpc64/strtok.S: New file.
7185 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7187 2014-11-29 Carlos O'Donell <carlos@redhat.com>
7189 * bits/ioctl-types.h: Indent preprocessor directives correctly.
7191 * nptl/nptl-init.c: Include libc-internal.h.
7192 (__pthread_initialize_minimal_internal): Use ROUND_UP.
7194 * elf/ldconfig.c (search_dir): Expand comment.
7196 2014-11-29 Joseph Myers <joseph@codesourcery.com>
7198 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7200 (linknamespace-symlist-stdlibs-tests): Likewise.
7201 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7202 instead of $(objpfx)symlist-stdlibs.
7203 (linknamespace-libs-isoc): New variable.
7204 (linknamespace-libs): Use $(linknamespace-libs-isoc).
7205 (linknamespace-libs-ISO): New variable.
7206 (linknamespace-libs-ISO99): Likewise.
7207 (linknamespace-libs-ISO11): Likewise.
7208 (linknamespace-libs-XPG3): Likewise.
7209 (linknamespace-libs-XPG4): Likewise.
7210 (linknamespace-libs-POSIX): Likewise.
7211 (linknamespace-libs-UNIX98): Likewise.
7212 (linknamespace-libs-XOPEN2K): Likewise.
7213 (linknamespace-libs-POSIX2008): Likewise.
7214 (linknamespace-libs-XOPEN2K8): Likewise.
7215 ($(objpfx)symlist-stdlibs): Replace by
7216 $(linknamespace-symlist-stdlibs-tests). Use
7217 $(linknamespace-libs-$*) as set of libraries.
7218 ($(linknamespace-header-tests)): Update dependencies. Use
7219 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7220 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7221 * conform/linknamespace.pl: Remove comment about considering
7222 definitions of symbols from irrelevant libraries.
7224 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
7227 * elf/dl-tls.c: Include <atomic.h>.
7228 (oom): Remove #ifdef SHARED/#endif.
7229 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7230 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
7231 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7233 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7234 * nptl/Makefile (tests): Add tst-stack4.
7235 (modules-names): Add tst-stack4mod.
7236 ($(objpfx)tst-stack4): New.
7237 (tst-stack4mod.sos): Likewise.
7238 ($(objpfx)tst-stack4.out): Likewise.
7239 ($(tst-stack4mod.sos)): Likewise.
7241 * nptl/tst-stack4.c: New file.
7242 * nptl/tst-stack4mod.c: Likewise.
7244 2014-11-27 J. Brown <jb999@gmx.de>
7246 * sysdeps/x86/bits/string.h: Add recent CPUs.
7248 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7250 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7253 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7256 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7259 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
7261 * nscd/connections.c: Include libc-internal.h because of macro
7264 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7266 * string/bits/string3.h (__warn_memset_zero_len): Don't
7267 declare for gcc newer than 5.0.
7268 (memset): Don't test for zero-length __LEN for gcc newer than
7271 2014-11-27 Joseph Myers <joseph@codesourcery.com>
7273 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7274 size_t for %zu format.
7276 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7277 difference, not %ju.
7279 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7281 * include/libc-internal.h (ignore_value): New macro.
7282 * nscd/connections.c (restart): Wrap calls to setuid and setgid
7285 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7288 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7289 pthread_cleanup_push to void *.
7291 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7296 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7297 instead of 1L << 52.
7299 * libio/bug-rewind.c (do_test): Check fwscanf return values.
7300 * libio/bug-rewind2.c (do_test): Likewise.
7302 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7303 * debug/test-strcpy_chk-ifunc.c: Likewise.
7304 * wcsmbs/test-wcschr-ifunc.c: Likewise.
7305 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7306 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7307 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7308 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7309 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7310 * Rules [$(multi-arch) = no] (tests): Do not filter out
7312 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7313 * debug/Makefile (tests-ifunc): Remove variable.
7314 (tests): Do not add $(tests-ifunc).
7315 * wcsmbs/Makefile (tests-ifunc): Remove variable.
7316 (tests): Do not add $(tests-ifunc).
7317 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7318 [TEST_IFUNC]: Remove conditionals.
7319 * string/test-string.h (TEST_IFUNC): Remove macro.
7320 [TEST_IFUNC]: Remove conditionals.
7322 * string/test-strchr.c [!WIDE] (L): New macro.
7323 [WIDE] (L): Likewise.
7324 (check1): Use CHAR instead of char. Use L on string and character
7327 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
7329 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7331 * sysdeps/powerpc/bits/atomic.h
7332 (__arch_atomic_exchange_and_add_32_acq): Add definition.
7333 (__arch_atomic_exchange_and_add_32_rel): Likewise.
7334 (atomic_exchange_and_add_acq): Likewise.
7335 (atomic_exchange_and_add_rel): Likewise.
7336 * sysdeps/powerpc/powerpc32/bits/atomic.h
7337 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7338 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7339 * sysdeps/powerpc/powerpc64/bits/atomic.h
7340 (__arch_atomic_exchange_and_add_64_acq): Add definition.
7341 (__arch_atomic_exchange_and_add_64_rel): Likewise.
7343 2014-11-26 Torvald Riegel <triegel@redhat.com>
7345 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7346 Change synchronization of __sched_fifo_min_prio and
7347 __sched_fifo_max_prio.
7348 * nptl/pthread_mutexattr_getprioceiling.c
7349 (pthread_mutexattr_getprioceiling): Likewise.
7350 * nptl/pthread_mutexattr_setprioceiling.c
7351 (pthread_mutexattr_setprioceiling): Likewise.
7352 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7353 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7356 2014-11-26 Joseph Myers <joseph@codesourcery.com>
7358 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7361 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7363 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7364 third argument const.
7366 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
7368 fnmatch: work around GCC compiler warning bug with uninit var
7369 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7370 This works around a bug with x86-64 GCC 4.9.2 and earlier
7371 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7372 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7373 used uninitialized in this function [-Wmaybe-uninitialized]".
7375 2014-11-25 Joseph Myers <joseph@codesourcery.com>
7377 * posix/bug-regex31.c (main): Return RES not 0.
7379 2014-11-25 Anton Blanchard <anton@samba.org>
7381 * sysdeps/powerpc/bits/atomic.h
7382 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7384 2014-11-24 Sterling Augustine <saugustine@google.com>
7386 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7388 2014-11-24 Ryan Cumming <etaoins@gmail.com>
7391 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7393 2014-11-24 Joseph Myers <joseph@codesourcery.com>
7396 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7397 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7399 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7400 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7402 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7404 * string/strncpy.c (strncpy): Improve performance by using memset.
7406 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
7408 * string/strcpy.c (strcpy):
7409 Improve performance by using strlen and memcpy.
7411 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
7413 * string/strcoll_l.c (get_next_seq): __always_inline.
7414 * string/strcoll_l.c (do_compare): __always_inline.
7416 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7418 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7420 * include/mqueue.h: Likewise.
7421 * include/stdlib.h: Likewise.
7423 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7424 (get_null_defines): Adjust.
7425 * sunrpc/Makefile: Adjust comment.
7426 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7427 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7428 (CFLAGS-interp.c): Likewise.
7429 (CFLAGS-ldconfig.c): Likewise.
7430 (CPPFLAGS-.os): Likewise.
7431 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7432 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7433 * extra-modules.mk (extra-modules.mk): Likewise.
7434 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7435 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7436 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7437 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7438 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7439 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7440 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7441 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7442 * iconvdata/Makefile (CPPFLAGS): Likewise.
7443 (cpp-srcs-left): Add libof for all iconvdata routines.
7444 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7445 * include/assert.h: Likewise.
7446 * include/ctype.h: Likewise.
7447 * include/errno.h: Likewise.
7448 * include/libc-symbols.h: Likewise.
7449 * include/math.h: Likewise.
7450 * include/netdb.h: Likewise.
7451 * include/resolv.h: Likewise.
7452 * include/stdio.h: Likewise.
7453 * include/stdlib.h: Likewise.
7454 * include/string.h: Likewise.
7455 * include/sys/stat.h: Likewise.
7456 * include/wctype.h: Likewise.
7457 * intl/l10nflist.c: Likewise.
7458 * libidn/idn-stub.c: Likewise.
7459 * libio/libioP.h: Likewise.
7460 * nptl/libc_multiple_threads.c: Likewise.
7461 * nptl/pthreadP.h: Likewise.
7462 * posix/regex_internal.h: Likewise.
7463 * resolv/res_hconf.c: Likewise.
7464 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7465 * sysdeps/arm/memmove.S: Likewise.
7466 * sysdeps/arm/sysdep.h: Likewise.
7467 * sysdeps/generic/_itoa.h: Likewise.
7468 * sysdeps/generic/symbol-hacks.h: Likewise.
7469 * sysdeps/gnu/errlist.awk: Likewise.
7470 * sysdeps/gnu/errlist.c: Likewise.
7471 * sysdeps/i386/i586/memcpy.S: Likewise.
7472 * sysdeps/i386/i586/memset.S: Likewise.
7473 * sysdeps/i386/i686/memcpy.S: Likewise.
7474 * sysdeps/i386/i686/memmove.S: Likewise.
7475 * sysdeps/i386/i686/mempcpy.S: Likewise.
7476 * sysdeps/i386/i686/memset.S: Likewise.
7477 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7479 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7480 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7481 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7482 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7483 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7484 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7485 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7487 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7488 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7489 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7490 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7491 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7492 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7493 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7494 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7495 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7524 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7532 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7535 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7538 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7539 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7540 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7541 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7542 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7543 * sysdeps/posix/closedir.c: Likewise.
7544 * sysdeps/posix/opendir.c: Likewise.
7545 * sysdeps/posix/readdir.c: Likewise.
7546 * sysdeps/posix/rewinddir.c: Likewise.
7547 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7548 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7549 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7551 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7553 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7558 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7559 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7560 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7561 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7563 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7565 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7568 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7569 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7570 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7575 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7582 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7583 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7584 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7585 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7586 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7587 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7589 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7590 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7591 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7592 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7593 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7594 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7595 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7596 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7597 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7598 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7599 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7600 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7603 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7604 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7605 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7607 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7608 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7609 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7610 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7611 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7612 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7613 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7614 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7615 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7616 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7618 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7619 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7620 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7621 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7622 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7623 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7624 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7625 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7626 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7627 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7628 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7630 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7631 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7633 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7634 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7635 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7636 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7637 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7638 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7639 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7643 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7645 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7646 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7647 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7648 * sysdeps/unix/alpha/sysdep.S: Likewise.
7649 * sysdeps/unix/alpha/sysdep.h: Likewise.
7650 * sysdeps/unix/make-syscalls.sh: Likewise.
7651 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7653 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7654 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7656 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7657 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7658 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7659 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7660 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7662 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7663 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7664 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7665 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7666 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7667 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7668 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7669 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7670 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7671 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7672 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7673 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7674 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7675 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7676 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7677 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7680 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7681 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7685 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7689 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7690 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7691 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7693 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7694 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7695 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7698 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7701 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7702 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7703 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7704 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7705 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7706 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7707 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7709 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7710 * sysdeps/x86_64/memcpy.S: Likewise.
7711 * sysdeps/x86_64/memmove.c: Likewise.
7712 * sysdeps/x86_64/memset.S: Likewise.
7713 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7715 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7716 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7717 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7720 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7721 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7722 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7723 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7724 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7725 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7726 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7727 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7728 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7729 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7730 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7732 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7733 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7734 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7735 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7737 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7738 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7739 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7740 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7741 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7742 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7743 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7744 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7745 * sysdeps/x86_64/strcmp.S: Likewise.
7747 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7749 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7750 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7751 * elf/rtld-Rules: Likewise.
7752 * elf/setup-vdso.h: Likewise.
7753 * include/assert.h: Likewise.
7754 * include/bits/stdlib-float.h: Likewise.
7755 * include/errno.h: Likewise.
7756 * include/sys/stat.h: Likewise.
7757 * include/unistd.h: Likewise.
7758 * sysdeps/aarch64/setjmp.S: Likewise.
7759 * sysdeps/alpha/setjmp.S: Likewise.
7760 * sysdeps/arm/__longjmp.S: Likewise.
7761 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7762 * sysdeps/arm/setjmp.S: Likewise.
7763 * sysdeps/arm/sysdep.h: Likewise.
7764 * sysdeps/generic/_itoa.h: Likewise.
7765 * sysdeps/generic/dl-sysdep.h: Likewise.
7766 * sysdeps/generic/ldsodefs.h: Likewise.
7767 * sysdeps/i386/dl-tls.h: Likewise.
7768 * sysdeps/i386/setjmp.S: Likewise.
7769 * sysdeps/m68k/setjmp.c: Likewise.
7770 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7771 * sysdeps/mach/hurd/opendir.c: Likewise.
7772 * sysdeps/posix/getcwd.c: Likewise.
7773 * sysdeps/posix/opendir.c: Likewise.
7774 * sysdeps/posix/profil.c: Likewise.
7775 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7776 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7778 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7779 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7780 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7782 * sysdeps/s390/dl-tls.h: Likewise.
7783 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7784 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7785 * sysdeps/sh/sh3/setjmp.S: Likewise.
7786 * sysdeps/sh/sh4/setjmp.S: Likewise.
7787 * sysdeps/unix/alpha/sysdep.h: Likewise.
7788 * sysdeps/unix/arm/sysdep.S: Likewise.
7789 * sysdeps/unix/i386/sysdep.S: Likewise.
7790 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7791 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7792 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7793 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7795 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7796 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7797 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7798 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7799 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7800 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7801 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7805 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7809 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7813 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7814 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7817 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7818 * sysdeps/x86_64/setjmp.S: Likewise.
7820 * include/math.h: Use IS_IN instead of IS_IN_libm.
7821 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7833 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7841 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7842 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7843 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7844 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7845 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7846 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7848 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7849 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7850 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7851 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7852 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7853 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7864 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7865 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7866 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7867 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7868 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7869 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7875 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7876 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7877 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7878 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7880 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7881 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7882 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7883 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7884 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7885 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7887 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7888 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7890 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7892 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7893 * nptl/pthreadP.h: Likewise.
7894 * nptl_db/structs.def: Likewise.
7895 * sysdeps/arm/sysdep.h: Likewise.
7896 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7897 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7898 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7899 * sysdeps/unix/alpha/sysdep.h: Likewise.
7900 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7901 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7902 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7903 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7904 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7905 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7907 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7908 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7909 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7910 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7911 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7912 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7913 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7918 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7921 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7922 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7923 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7924 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7925 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7927 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7928 * nptl/pthreadP.h: Likewise.
7929 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7930 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7932 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7933 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7934 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7935 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7936 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7937 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7938 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7939 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7940 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7947 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7950 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7951 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7954 * dlfcn/dladdr.c: Use IS_IN.
7955 * dlfcn/dladdr1.c: Likewise.
7956 * dlfcn/dlclose.c: Likewise.
7957 * dlfcn/dlerror.c: Likewise.
7958 * dlfcn/dlinfo.c: Likewise.
7959 * dlfcn/dlmopen.c: Likewise.
7960 * dlfcn/dlopen.c: Likewise.
7961 * dlfcn/dlsym.c: Likewise.
7962 * dlfcn/dlvsym.c: Likewise.
7964 * include/ifaddrs.h: Use IS_IN.
7965 * inet/check_pf.c: Likewise.
7966 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7967 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7969 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7971 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7972 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7974 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7975 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7978 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7980 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7981 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7982 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7983 * include/libc-symbols.h (IS_IN_LIB): New macro.
7984 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7985 * include/netdb.h: Likewise.
7986 * include/stap-probe.h: Remove all uses of IN_LIB.
7988 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7989 instead of IN_MODULE.
7990 * include/libc-symbols.h (IN_MODULE): Define using
7992 (PASTE_NAME, PASTE_NAME1): New macros.
7993 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7995 (STAP_PROBE_ASM): Likewise.
7997 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7999 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8000 __mach_init in dlopened libc.
8002 2014-11-22 Mike Frysinger <vapier@gentoo.org>
8004 * sysdeps/arm/preconfigure.ac: Delete EABI check.
8005 * sysdeps/arm/preconfigure: Regenerate.
8007 2014-11-21 Roland McGrath <roland@hack.frob.com>
8009 * nptl/pthread_create.c (__pthread_create_2_1): Set
8010 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8011 when copying values from IATTR into PD.
8013 2014-11-21 Will Newton <will.newton@linaro.org>
8014 Andrew Pinski <andrew.pinski@caviumnetworks.com>
8016 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8017 Refactor inline-asm. Also add comment.
8019 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8020 ElfW macro instead of hardcoded Elf64 types.
8021 (la_aarch64_gnu_pltenter): Likewise.
8022 * sysdeps/aarch64/dl-machine.h
8023 (elf_machine_runtime_setup): Use ElfW(Addr).
8025 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8026 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8027 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8028 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8029 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8030 (R_AARCH64_TLS_DTPMOD64): Rename to ..
8031 (R_AARCH64_TLS_DTPMOD): This.
8032 (R_AARCH64_TLS_DTPREL64): Rename to ...
8033 (R_AARCH64_TLS_DTPREL): This.
8034 (R_AARCH64_TLS_TPREL64): Rename to ...
8035 (R_AARCH64_TLS_TPREL): This.
8036 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8037 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8038 R_AARCH64_TLS_TPREL64.
8039 (elf_machine_rela): Likewise.
8041 2014-11-21 Torvald Riegel <triegel@redhat.com>
8043 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8044 by setting it to 0. 64b atomics are not supported currently.
8046 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8049 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8050 search domain names.
8052 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8056 * resolv/res_query.c (__libc_res_nquerydomain): Retain
8058 * posix/tst-getaddrinfo5.c: New.
8059 * posix/Makefile (tests): Add it.
8061 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8065 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8066 after parsing line but before break_if_match.
8067 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8068 if there is a protocol mismatch.
8070 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8072 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8073 because the potential race is on the user-supplied stream.
8075 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8077 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8078 string literal if not passed a buffer.
8079 * manual/job.texi (ctermid): Update reasoning, note deviation
8080 from posix, suggest mtasurace when not passed a buffer, for
8081 future non-preliminary safety notes.
8083 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8085 * manual/users.texi (cuserid): Fix MT-Safety note for the case
8086 of not passing it a buffer.
8087 Reported by Peng Haitao.
8089 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
8091 * manual/Makefile ($(objpfx)stamp-summary): Require
8092 check-safety.sh to pass.
8093 * manual/check-safety.sh: Wish for verification that every
8094 @deftypefn and @deftypefun is followed by a @safety remark.
8096 2014-11-20 Roland McGrath <roland@hack.frob.com>
8098 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8100 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8101 PTHREAD_CANCEL_ASYNCHRONOUS.
8102 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8105 * nptl/default-sched.h: New file.
8106 * sysdeps/unix/sysv/linux/default-sched.h: New file.
8107 * nptl/pthread_create.c: Include it.
8108 (__pthread_create_2_1): Use collect_default_sched instead of making
8109 Linux syscalls here directly.
8111 2014-11-20 Torvald Riegel <triegel@redhat.com>
8113 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8114 __pthread_once): Use C11 atomics.
8116 2014-11-20 Torvald Riegel <triegel@redhat.com>
8118 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8120 2014-11-20 Torvald Riegel <triegel@redhat.com>
8122 * include/atomic.h (__atomic_link_error, __atomic_check_size,
8123 atomic_thread_fence_acquire, atomic_thread_fence_release,
8124 atomic_thread_fence_seq_cst, atomic_load_relaxed,
8125 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8126 atomic_compare_exchange_weak_relaxed,
8127 atomic_compare_exchange_weak_acquire,
8128 atomic_compare_exchange_weak_release,
8129 atomic_exchange_acquire, atomic_exchange_release,
8130 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8131 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8132 atomic_fetch_and_acquire,
8133 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8135 2014-11-20 Torvald Riegel <triegel@redhat.com>
8137 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8138 USE_ATOMIC_COMPILER_BUILTINS): Define.
8139 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8141 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8143 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8144 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8145 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8147 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8149 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8150 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8151 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8152 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8153 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8154 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8155 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8156 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8157 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8158 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8159 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8160 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8161 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8162 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8163 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8164 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8165 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8166 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8167 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8168 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8169 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8170 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8171 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8172 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8173 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8174 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8175 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8176 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8177 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8178 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8180 2014-11-19 Roland McGrath <roland@hack.frob.com>
8182 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8183 the sched_priority value here. It was already checked when the user
8184 called pthread_attr_setschedparam.
8186 * nptl/tst-bad-schedattr.c: New file.
8187 * nptl/Makefile (tests): Add it.
8189 2014-11-19 Carlos O'Donell <carlos@redhat.com>
8190 Florian Weimer <fweimer@redhat.com>
8191 Joseph Myers <joseph@codesourcery.com>
8192 Adam Conrad <adconrad@0c3.net>
8193 Andreas Schwab <schwab@suse.de>
8194 Brooks <bmoses@google.com>
8197 * wordexp-test.c (__dso_handle): Add prototype.
8198 (__register_atfork): Likewise.
8199 (__app_register_atfork): New function.
8200 (registered_forks): New global.
8201 (register_fork): New function.
8202 (test_case): Add 3 new tests for WRDE_CMDSUB.
8203 (main): Call __app_register_atfork.
8204 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8205 fork count is non-zero fail the test.
8206 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8208 (parse_dollars): Remove check for WRDE_NOCMD.
8209 (parse_dquote): Likewise.
8211 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8213 * Makeconfig (built-modules): List non-library modules to be
8215 (module-cppflags): Include libc-modules.h for
8216 everything except shlib-versions.v.i.
8218 (before-compile): Add libc-modules.h.
8219 ($(common-objpfx)libc-modules.h,
8220 $(common-objpfx)libc-modules.stmp): New targets.
8221 (common-generated): Add libc-modules.h and libc-modules.stmp.
8222 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8223 * include/libc-symbols.h: Don't include libc-modules.h.
8224 * include/libc-modules.h: Remove file.
8225 * scripts/gen-libc-modules.awk: New script to generate
8227 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8228 Depend on libc-modules.stmp.
8230 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8232 * Makeconfig (in-module): Get value of libof set for the
8234 (CPPFLAGS): Use $(in-module).
8235 * Makerules: Don't suffix routine names for nonlib.
8236 * include/libc-modules.h: New file.
8237 * include/libc-symbols.h: Include libc-modules.h
8238 (IS_IN): New macro to replace IS_IN_* macros.
8239 * elf/Makefile: Set libof-* for each routine.
8240 * elf/rtld-Rules: Likewise.
8241 * extra-modules.mk: Likewise.
8242 * iconv/Makefile: Likewise.
8243 * iconvdata/Makefile: Likewise.
8244 * locale/Makefile: Likewise.
8245 * malloc/Makefile: Likewise.
8246 * nss/Makefile: Likewise.
8247 * sysdeps/gnu/Makefile: Likewise.
8248 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8249 * sysdeps/unix/sysv/linux/Makefile: Likewise.
8250 * sysdeps/s390/s390-64/Makefile: Likewise.
8251 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
8252 CPPFLAGS for nscd instead of nonlib.
8254 2014-11-18 Roland McGrath <roland@hack.frob.com>
8256 * nptl/createthread.c: New file.
8258 * nptl/createthread.c: Moved ...
8259 * sysdeps/unix/sysv/linux/createthread.c: ... here.
8261 * nptl/createthread.c: Add proper top-line comment.
8262 (do_clone): Folded into ...
8263 (create_thread): ... here. Take new arguments STOPPED_START and
8264 THREAD_RAN. Always set PD->stopped_start to something here. Don't
8265 increment __nptl_threads, do event-reporting logic, do
8266 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8267 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
8268 resource cleanup if sched_setaffinity or sched_setscheduler fails,
8269 just send SIGCANCEL.
8270 * nptl/pthread_create.c: Forward-declare create_thread before
8271 including createthread.c.
8272 (start_thread): Use new macro START_THREAD_DEFN to replace defining
8273 declaration, and new macro START_THREAD_SELF to replace argument.
8274 Remove return statement.
8275 (report_thread_creation): New function.
8276 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
8277 synchronization logic, and __nptl_nthreads increment here, around
8278 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
8279 PD->parent_cancelhandling here, before create_thread. When
8280 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8281 __deallocate_stack, and ENOMEM translation here.
8283 2014-11-18 Joseph Myers <joseph@codesourcery.com>
8286 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8287 (mptwo): Rename to __mptwo.
8288 (__inv): Use __mptwo instead of mptwo.
8289 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8290 (mptwo): Rename to __mptwo.
8291 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8292 of mpone and __mptwo instead of mptwo.
8293 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8296 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8297 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8298 of mpone and __mptwo instead of mptwo.
8299 (__mpranred): Use __mpone instead of mpone.
8300 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8302 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8303 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8304 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8305 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8306 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8307 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8308 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8309 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8310 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8311 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8312 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8313 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8314 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8315 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8316 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8317 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8318 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8319 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8320 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8322 2014-11-18 Tom de Vries <tom@codesoucery.com>
8324 * manual/signal.texi (Primitives Interrupted by Signals): In section,
8325 replace BSD Handler xref with BSD Signal Handling.
8327 2014-11-17 Richard Henderson <rth@redhat.com>
8329 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8330 (_FP_PACK_RAW_2): Remove.
8331 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8332 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8333 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8334 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8335 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8336 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8337 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8338 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8339 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8340 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8341 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8342 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8343 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8344 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8345 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8346 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8348 2014-11-14 Roland McGrath <roland@hack.frob.com>
8350 * signal/signal.h [__USE_MISC]
8351 (struct sigvec): Remove type.
8352 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8353 (sigvec): Remove declaration.
8354 * sysdeps/posix/sigvec.c: Moved ...
8355 * signal/sigvec.c: ... here, replacing old file.
8356 (struct sigvec): New type, copied from old signal.h definition.
8357 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8358 (__sigvec): Convert definition to prototype.
8359 (sigvec): Replace weak_alias with compat_symbol.
8360 * signal/Versions (libc: GLIBC_2.21): New version set.
8361 * include/signal.h: Remove __sigvec declaration.
8362 * sysdeps/unix/bsd/sigvec.c: Remove file.
8363 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8364 * manual/signal.texi (BSD Handler): Remove subsection.
8365 Move siginterrupt up to ...
8366 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
8367 (Blocking in BSD): Fold subsection into its parent.
8368 * NEWS: Mention sigvec removal.
8370 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8372 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8373 (DLA_FMS): Make definition conditional only on [__FMA4__].
8374 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8377 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8378 Make definition conditional only on [PROF].
8379 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8381 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8382 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8384 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8386 * include/signal.h (__sigpause): Move declaration above call to
8388 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8390 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8391 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8393 2014-11-14 David S. Miller <davem@davemloft.net>
8395 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8396 Define before including <string/memcpy.c> and <string/mempcpy.c>.
8398 2014-11-14 Joseph Myers <joseph@codesourcery.com>
8400 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8401 * configure: Regenerated.
8402 * manual/install.texi (Tools for Compilation): Document a
8403 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8404 compiler verified to work.
8405 * INSTALL: Regenerated.
8407 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8408 redeclare with asm name.
8409 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8410 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8411 including <string.h>.
8412 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8414 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8416 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8417 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8418 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8420 2014-11-13 Joseph Myers <joseph@codesourcery.com>
8422 * stdlib/strtol.c (__strtol): Use prototype definition.
8425 * stdlib/strtol.c (SYM__): New macro.
8427 (__strtol): Likewise.
8428 (strtol): Rename to __strtol and define as weak alias of
8429 __strtol. Use libc_hidden_weak.
8431 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8433 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8434 Use numbered labels in inline assembly.
8436 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8438 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8439 Add setjmp LIBC_PROBE.
8440 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8442 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8443 Add longjmp, longjmp_target LIBC_PROBE.
8444 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8447 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8450 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8451 to get rid of unused variable warning.
8453 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8455 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8456 Check for unwind_backtrace == NULL only in SHARED case.
8457 (__backchain_backtrace): Compile only in SHARED case.
8458 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8460 (__backchain_backtrace): Declare as static.
8462 2014-11-12 Roland McGrath <roland@hack.frob.com>
8464 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8465 (__libc_multiple_threads_ptr): Variable moved ...
8466 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8468 2014-11-12 Joseph Myers <joseph@codesourcery.com>
8470 * conform/GlibcConform.pm: New file.
8471 * conform/conformtest.pl: Use GlibcConform module.
8472 * conform/linknamespace.pl: New file.
8473 * conform/list-header-symbols.pl: Likewise.
8474 * conform/Makefile (linknamespace-symlists-base): New variable.
8475 (linknamespace-symlists-tests): Likewise.
8476 (linknamespace-header-base): Likewise.
8477 (linknamespace-header-tests): Likewise.
8478 (tests-special): Add new tests.
8479 ($(linknamespace-symlists-tests)): New rule.
8480 (linknamespace-libs): New variable.
8481 ($(objpfx)symlist-stdlibs): New rule.
8482 ($(linknamespace-header-tests)): Likewise.
8483 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8484 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8485 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8486 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8487 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8488 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8489 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8490 (test-xfail-ISO/math.h/linknamespace): Likewise.
8491 (test-xfail-ISO/signal.h/linknamespace): Likewise.
8492 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8493 (test-xfail-ISO/time.h/linknamespace): Likewise.
8494 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8495 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8496 (test-xfail-ISO99/math.h/linknamespace): Likewise.
8497 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8498 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8499 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8500 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8501 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8502 (test-xfail-ISO11/math.h/linknamespace): Likewise.
8503 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8504 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8505 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8506 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8507 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8508 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8509 (test-xfail-XPG3/math.h/linknamespace): Likewise.
8510 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8511 (test-xfail-XPG3/search.h/linknamespace): Likewise.
8512 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8513 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8514 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8515 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8516 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8517 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8518 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8519 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8520 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8521 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8522 (test-xfail-XPG4/math.h/linknamespace): Likewise.
8523 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8524 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8525 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8526 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8527 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8528 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8529 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8530 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8531 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8532 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8533 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8534 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8535 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8536 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8537 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8538 (test-xfail-POSIX/math.h/linknamespace): Likewise.
8539 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8540 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8541 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8542 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8543 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8544 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8545 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8546 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8547 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8548 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8549 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8550 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8551 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8552 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8553 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8554 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8555 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8556 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8557 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8558 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8559 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8560 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8561 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8562 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8563 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8564 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8565 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8566 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8567 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8568 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8569 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8570 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8571 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8572 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8573 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8574 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8575 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8576 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8577 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8578 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8579 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8580 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8581 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8582 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8583 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8584 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8585 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8586 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8587 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8588 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8589 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8590 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8591 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8592 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8593 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8594 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8595 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8596 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8597 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8598 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8599 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8600 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8601 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8602 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8603 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8604 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8605 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8606 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8607 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8608 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8609 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8610 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8611 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8612 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8613 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8614 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8615 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8616 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8617 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8618 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8619 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8620 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8621 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8622 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8623 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8624 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8625 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8626 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8627 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8628 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8629 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8630 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8631 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8632 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8633 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8634 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8635 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8636 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8637 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8638 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8639 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8640 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8641 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8642 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8643 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8646 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8650 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8651 (memmem): Rename to __memmem and define as weak alias of
8652 __memmem. Use libc_hidden_weak.
8653 (__memmem): Use libc_hidden_def.
8654 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8655 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8659 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8660 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8661 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8662 and define as weak alias of __fgets_unlocked. Use
8664 (__fgets_unlocked): Use libc_hidden_def.
8665 * include/stdio.h (__fgets_unlocked): Declare. Use
8667 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8668 __fgets_unlocked instead of fgets_unlocked.
8669 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8670 (GET_NPROCS_CONF_PARSER): Likewise.
8671 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8672 (GET_NPROCS_CONF_PARSER): Likewise.
8675 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8676 weak alias of __wmemset. Use libc_hidden_weak.
8677 (__wmemset): Use libc_hidden_def.
8678 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8679 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8683 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8684 with asm name __mempcpy.
8685 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8688 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8689 and define as weak alias of __rawmemchr.
8690 (__rawmemchr): Do not define as strong alias of rawmemchr.
8693 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8695 (qsort): Call __qsort_r instead of qsort_r.
8696 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8697 (__qsort_r): Declare. Call libc_hidden_proto.
8698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8700 * nscd/gai.c (__qsort_r): Define to qsort_r.
8701 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8702 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8703 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8706 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8707 define as weak alias of __malloc_info.
8710 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8711 as weak alias of __rewinddir. Don't use libc_hidden_def.
8712 (__rewinddir): Use libc_hidden_def.
8713 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8714 as weak alias of __rewinddir. Don't use libc_hidden_def.
8715 (__rewinddir): Use libc_hidden_def.
8716 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8717 weak alias of __rewinddir. Don't use libc_hidden_def.
8718 (__rewinddir): Use libc_hidden_def.
8719 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8720 (__rewinddir): Use libc_hidden_proto.
8721 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8723 (__getcwd): Use __rewinddir instead of rewinddir.
8726 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8727 alias of __fileno. Use libc_hidden_weak.
8728 (__fileno): Use libc_hidden_def.
8729 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8730 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8732 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8734 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8735 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8737 (fread_unlocked): Don't use libc_hidden_ver.
8738 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8739 and define as weak alias of __fread_unlocked. Don't use
8741 (__fread_unlocked): Use libc_hidden_def.
8742 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8743 (ftello): Don't use libc_hidden_proto.
8744 (__ftello): Declare. Use libc_hidden_proto.
8745 (fread_unlocked): Don't use libc_hidden_proto.
8746 (__fread_unlocked): Declare. Use libc_hidden_proto.
8747 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8748 and __ftello instead of fileno, fread_unlocked and ftello.
8750 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8752 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8756 (_dl_start_user): Likewise.
8757 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8759 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8760 Siddhesh Poyarekar <siddhesh@redhat.com>
8762 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8763 Move argv and envp down instead of moving argc up.
8764 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8766 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8769 * test-skeleton.c (main): Return successful if one of
8770 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8771 * string/tst-strcoll-overflow.c: Define expected status.
8773 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8776 * locale/iso-639.def: Define Bhili and Tulu language codes.
8778 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8780 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8782 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8785 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8787 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8789 * configure.ac: Updated check of minimal required version to
8791 * manual/install.texi (Tools for Compilation): Updated version
8793 * configure: Regenerated.
8794 * INSTALL: Likewise.
8796 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8798 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8801 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8803 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8804 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8805 (__waitpid): Don't define as alias. Use libc_hidden_def not
8807 (waitpid): Define as alias of __waitpid.
8808 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8810 (__waitpid): Don't define as alias. Use libc_hidden_def not
8812 (waitpid): Define as alias of __waitpid.
8813 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8814 __libc_waitpid alias.
8815 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8816 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8818 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8819 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8820 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8822 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8824 (__waitpid): Don't define as alias. Use libc_hidden_def not
8826 (waitpid): Define as alias of __waitpid.
8828 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8830 * manual/llio.texi: Add comment that write safety has been
8833 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8834 (localplt-build-dso): Add elf/ld.so.
8835 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8836 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8839 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8844 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8845 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8846 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8847 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8848 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8849 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8850 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8851 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8852 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8853 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8854 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8856 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8859 * include/libc-symbols.h (INTUSE): Remove macro.
8861 (INTVARDEF): Likewise.
8862 (_INTVARDEF): Likewise.
8863 (INTDEF2): Likewise.
8864 (INTVARDEF2): Likewise.
8865 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8866 rtld_hidden_def instead of INTVARDEF.
8867 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8868 (_dl_starting_up_internal): Remove declaration.
8869 (_dl_starting_up): Use rtld_hidden_proto.
8870 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8872 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8873 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8875 * elf/dl-writev.h (_dl_writev): Likewise.
8876 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8877 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8878 _dl_starting_up_internal.
8880 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8882 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8885 2014-11-05 Will Newton <will.newton@linaro.org>
8887 * benchtests/Makefile: (bench-malloc): Add malloc thread
8888 scalability benchmark.
8889 * benchtests/bench-malloc-threads.c: New file.
8891 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8893 * sysdeps/aarch64/strchrnul.S: New file.
8895 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8897 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8899 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8901 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8903 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8905 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8907 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8910 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8912 * catgets/test-gencat.c: Use test-skeleton.c.
8913 * catgets/tst-catgets.c: Likewise.
8914 * csu/tst-empty.c: Likewise.
8915 * elf/tst-audit2.c: Likewise.
8916 * elf/tst-global1.c: Likewise.
8917 * elf/tst-pathopt.c: Likewise.
8918 * elf/tst-piemod1.c: Likewise.
8919 * elf/tst-tls10.c: Likewise.
8920 * elf/tst-tls11.c: Likewise.
8921 * elf/tst-tls12.c: Likewise.
8922 * gnulib/tst-gcc.c: Likewise.
8923 * iconvdata/tst-e2big.c: Likewise.
8924 * iconvdata/tst-loading.c: Likewise.
8925 * iconv/tst-iconv1.c: Likewise.
8926 * iconv/tst-iconv2.c: Likewise.
8927 * inet/test-inet6_opt.c: Likewise.
8928 * inet/tst-gethnm.c: Likewise.
8929 * inet/tst-network.c: Likewise.
8930 * inet/tst-ntoa.c: Likewise.
8931 * intl/tst-codeset.c: Likewise.
8932 * intl/tst-gettext2.c: Likewise.
8933 * intl/tst-gettext3.c: Likewise.
8934 * intl/tst-ngettext.c: Likewise.
8935 * intl/tst-translit.c: Likewise.
8936 * io/test-stat.c: Likewise.
8937 * libio/test-fmemopen.c: Likewise.
8938 * libio/tst-freopen.c: Likewise.
8939 * libio/tst-sscanf.c: Likewise.
8940 * libio/tst-ungetwc1.c: Likewise.
8941 * libio/tst-ungetwc2.c: Likewise.
8942 * libio/tst-widetext.c: Likewise.
8943 * localedata/tst-ctype.c: Likewise.
8944 * localedata/tst-digits.c: Likewise.
8945 * localedata/tst-leaks.c: Likewise.
8946 * localedata/tst-mbswcs1.c: Likewise.
8947 * localedata/tst-mbswcs2.c: Likewise.
8948 * localedata/tst-mbswcs3.c: Likewise.
8949 * localedata/tst-mbswcs4.c: Likewise.
8950 * localedata/tst-mbswcs5.c: Likewise.
8951 * localedata/tst-setlocale.c: Likewise.
8952 * localedata/tst-trans.c: Likewise.
8953 * localedata/tst-wctype.c: Likewise.
8954 * localedata/tst-xlocale1.c: Likewise.
8955 * login/tst-grantpt.c: Likewise.
8956 * malloc/tst-calloc.c: Likewise.
8957 * malloc/tst-malloc.c: Likewise.
8958 * malloc/tst-mallocstate.c: Likewise.
8959 * malloc/tst-mcheck.c: Likewise.
8960 * malloc/tst-mtrace.c: Likewise.
8961 * malloc/tst-obstack.c: Likewise.
8962 * math/atest-exp2.c: Likewise.
8963 * math/atest-exp.c: Likewise.
8964 * math/atest-sincos.c: Likewise.
8965 * math/test-matherr.c: Likewise.
8966 * math/test-misc.c: Likewise.
8967 * math/test-powl.c: Likewise.
8968 * math/tst-definitions.c: Likewise.
8969 * misc/tst-dirname.c: Likewise.
8970 * misc/tst-efgcvt.c: Likewise.
8971 * misc/tst-fdset.c: Likewise.
8972 * misc/tst-hsearch.c: Likewise.
8973 * misc/tst-mntent2.c: Likewise.
8974 * nptl/tst-sem7.c: Likewise.
8975 * nptl/tst-sem8.c: Likewise.
8976 * nptl/tst-sem9.c: Likewise.
8977 * nss/test-netdb.c: Likewise.
8978 * posix/tst-fnmatch.c: Likewise.
8979 * posix/tst-getlogin.c: Likewise.
8980 * posix/tst-gnuglob.c: Likewise.
8981 * posix/tst-mmap.c: Likewise.
8982 * pwd/tst-getpw.c: Likewise.
8983 * resolv/tst-inet_ntop.c: Likewise.
8984 * rt/tst-timer.c: Likewise.
8985 * stdio-common/test-fseek.c: Likewise.
8986 * stdio-common/test-popen.c: Likewise.
8987 * stdio-common/test-vfprintf.c: Likewise.
8988 * stdio-common/tst-cookie.c: Likewise.
8989 * stdio-common/tst-fileno.c: Likewise.
8990 * stdio-common/tst-gets.c: Likewise.
8991 * stdio-common/tst-obprintf.c: Likewise.
8992 * stdio-common/tst-perror.c: Likewise.
8993 * stdio-common/tst-sprintf2.c: Likewise.
8994 * stdio-common/tst-sprintf3.c: Likewise.
8995 * stdio-common/tst-sprintf.c: Likewise.
8996 * stdio-common/tst-swprintf.c: Likewise.
8997 * stdio-common/tst-tmpnam.c: Likewise.
8998 * stdio-common/tst-unbputc.c: Likewise.
8999 * stdio-common/tst-wc-printf.c: Likewise.
9000 * stdlib/tst-environ.c: Likewise.
9001 * stdlib/tst-fmtmsg.c: Likewise.
9002 * stdlib/tst-limits.c: Likewise.
9003 * stdlib/tst-rand48-2.c: Likewise.
9004 * stdlib/tst-rand48.c: Likewise.
9005 * stdlib/tst-random2.c: Likewise.
9006 * stdlib/tst-random.c: Likewise.
9007 * stdlib/tst-strtol.c: Likewise.
9008 * stdlib/tst-strtoll.c: Likewise.
9009 * stdlib/tst-tls-atexit.c: Likewise.
9010 * stdlib/tst-xpg-basename.c: Likewise.
9011 * string/test-ffs.c: Likewise.
9012 * string/tst-bswap.c: Likewise.
9013 * string/tst-inlcall.c: Likewise.
9014 * string/tst-strtok.c: Likewise.
9015 * string/tst-strxfrm.c: Likewise.
9016 * sysdeps/x86_64/tst-audit10.c: Likewise.
9017 * sysdeps/x86_64/tst-audit3.c: Likewise.
9018 * sysdeps/x86_64/tst-audit4.c: Likewise.
9019 * sysdeps/x86_64/tst-audit5.c: Likewise.
9020 * time/tst-ftime_l.c: Likewise.
9021 * time/tst-getdate.c: Likewise.
9022 * time/tst-mktime3.c: Likewise.
9023 * time/tst-mktime.c: Likewise.
9024 * time/tst-posixtz.c: Likewise.
9025 * time/tst-strptime2.c: Likewise.
9026 * time/tst-strptime3.c: Likewise.
9027 * wcsmbs/tst-btowc.c: Likewise.
9028 * wcsmbs/tst-mbrtowc.c: Likewise.
9029 * wcsmbs/tst-mbsrtowcs.c: Likewise.
9030 * wcsmbs/tst-wchar-h.c: Likewise.
9031 * wcsmbs/tst-wcpncpy.c: Likewise.
9032 * wcsmbs/tst-wcrtomb.c: Likewise.
9033 * wcsmbs/tst-wcsnlen.c: Likewise.
9034 * wcsmbs/tst-wcstof.c: Likewise.
9036 2014-11-04 Joseph Myers <joseph@codesourcery.com>
9039 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9041 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9043 (_dl_mcount): Use rtld_hidden_proto.
9044 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9046 * elf/rtld.c (_rtld_global_ro): Likewise.
9049 * elf/dl-init.c (_dl_init): Don't use INTDEF.
9050 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9051 of _dl_init_internal.
9052 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9053 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9054 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9055 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9056 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9057 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9058 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9059 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9060 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9061 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9062 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9063 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9064 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9065 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9066 * sysdeps/tile/dl-start.S (_start): Likewise.
9067 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9068 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9071 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9072 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9073 (rtld_progname): Make macro definition unconditional.
9074 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9076 (dlmopen_doit): Do not use INTUSE with _dl_argv.
9077 (dl_main): Likewise.
9078 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9079 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9080 instead of _dl_argv_internal.
9081 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9082 __GI__dl_argv instead of INTUSE(_dl_argv).
9083 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9084 __GI__dl_argv instead of _dl_argv_internal.
9086 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9087 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9089 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9090 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9092 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9093 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9095 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9096 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9098 2014-11-04 Andreas Schwab <schwab@suse.de>
9100 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9102 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9105 mtvsrd instruction in binary form.
9107 2014-11-03 Andreas Schwab <schwab@suse.de>
9110 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9111 for less than MB_LEN_MAX use a local buffer of that size.
9112 * libio/tst-fputws.c: New file.
9113 * libio/Makefile (tests): Add tst-fputws.
9115 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
9117 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9118 the size of the fpu_fr.fpu_dregs[] array.
9120 2014-11-01 Joseph Myers <joseph@codesourcery.com>
9122 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9123 (__nanosleep): Do not define as alias.
9124 (nanosleep): Define as alias of __nanosleep.
9125 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9126 __libc_nanosleep name.
9128 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9130 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9131 install.texi in comment.
9133 2014-10-31 Torvald Riegel <triegel@redhat.com>
9135 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9136 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9137 ... add here and use lwsync or sync ...
9138 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9139 ... and add here using lwsync.
9141 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
9143 * elf/dl-machine-reject-phdr.h: New file.
9144 * elf/dl-load.c: #include that.
9145 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9146 if that returned true.
9148 2014-10-31 Roland McGrath <roland@hack.frob.com>
9151 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9152 gen-as-const-headers chunk. Add a big scare comment after the last
9153 safe place to touch before-compile.
9155 2014-10-31 Joseph Myers <joseph@codesourcery.com>
9157 * manual/install.texi (Tools for Compilation): Update autoconf
9158 version requirements.
9159 * INSTALL: Regenerated.
9161 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9162 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9163 (__libc_pselect): Likewise.
9166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9171 2014-10-31 Torvald Riegel <triegel@redhat.com>
9173 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9174 correct barrier instruction.
9175 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9177 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9180 2014-10-30 Roland McGrath <roland@hack.frob.com>
9182 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9183 after defining inlines. Instead, just use parens to defeat macro
9184 expansion of __isctype in its declaration.
9186 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9188 * include/sys/uio.h (__libc_readv): Remove declaration.
9189 (__libc_writev): Likewise.
9190 * misc/readv.c (__libc_readv): Rename to __readv.
9191 (__readv): Do not define as alias.
9192 (readv): Define as alias of __readv.
9193 * misc/writev.c (__libc_writev): Rename to __writev.
9194 (__writev): Do not define as alias.
9195 (writev): Define as alias of __writev.
9196 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9197 (__readv): Do not define as alias.
9198 (readv): Define unconditionally as alias of __readv.
9199 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9200 (__writev): Do not define as alias.
9201 (writev): Define unconditionally as alias of __writev.
9202 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9204 (writev): Do not define __libc_writev name.
9206 2014-10-30 Roland McGrath <roland@hack.frob.com>
9208 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9209 (convert_charseq): New function, broken out of ...
9210 (use_from_charmap): ... here. Call it.
9211 (use_to_charmap): Use convert_charseq and free instead of duplicating
9212 its code with a variable-length stack struct.
9214 2014-10-30 Joseph Myers <joseph@codesourcery.com>
9216 * include/fcntl.h (__libc_creat): Remove declaration.
9217 * io/creat.c (__libc_creat): Rename to creat.
9218 (creat): Do not define as alias.
9219 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9220 of creat instead of __libc_creat.
9221 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9223 (creat): Do not define as alias.
9224 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9226 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9231 2014-10-29 Carlos O'Donell <carlos@redhat.com>
9233 * manual/llio.texi: Add comments discussing why write() may be
9234 considered MT-unsafe on Linux.
9236 2014-10-28 Carlos O'Donell <carlos@redhat.com>
9238 * dl-load.c (local_strdup): Remove.
9239 (expand_dynamic_string_token): Use __strdup.
9240 (decompose_rpath): Likewise.
9241 (_dl_map_object): Likewise.
9243 2014-10-28 Joseph Myers <joseph@codesourcery.com>
9246 * sysdeps/generic/unwind-dw2-fde.c
9247 (__register_frame_info_bases_internal): Do not declare.
9248 (__register_frame_info_table_bases_internal): Likewise.
9249 (__deregister_frame_info_bases_internal): Likewise.
9250 (__register_frame_info_bases): Declare and use hidden_proto before
9251 definition. Use hidden_def instead of INTDEF.
9252 (__register_frame_info_table_bases): Likewise.
9253 (__deregister_frame_info_bases): Likewise.
9254 (__register_frame_info): Do not use INTUSE.
9255 (__register_frame): Likewise.
9256 (__register_frame_info_table): Likewise.
9257 (__register_frame_table): Likewise.
9258 (__deregister_frame_info): Likewise.
9259 (__deregister_frame): Likewise.
9261 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
9263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9264 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9266 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9268 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9271 2014-10-27 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9275 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9276 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9277 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9278 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9279 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9280 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9281 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9282 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9283 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9286 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9288 (setfsuid): Likewise.
9289 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9290 (setfsuid): Likewise.
9291 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9292 (setfsuid): Likewise.
9293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9295 (setfsuid): Likewise.
9296 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9297 (setfsuid): Likewise.
9298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9300 (setfsuid): Likewise.
9302 2014-10-27 Andreas Schwab <schwab@suse.de>
9305 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9306 check for Slow_SSE4_2 feature bit.
9307 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9308 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9309 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9310 Likewise. Fix check for Fast_Unaligned_Load feature bit.
9312 2014-10-24 Roland McGrath <roland@hack.frob.com>
9314 * configure.ac: Validate compiler version with a empirical test of
9315 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9317 * configure: Regenerated.
9319 * inet/htons.c (htons): Prototypify.
9320 * inet/htonl.c (htonl): Likewise.
9322 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9324 * string/strncat.c (strncat): Improve performance by using strlen.
9326 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9328 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9330 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9332 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9333 Call libc_fetestexcept_aarch64.
9335 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9337 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9338 Call libc_feholdexcept_aarch64.
9340 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9342 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9343 Call get_rounding_mode.
9345 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9347 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9350 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
9352 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9355 2014-10-24 Joseph Myers <joseph@codesourcery.com>
9358 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9359 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9360 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9361 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9362 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9363 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9364 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9365 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9366 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9367 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9368 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9369 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9371 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9372 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9373 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9374 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9375 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9376 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9377 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9378 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9379 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9380 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9381 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9382 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9383 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9384 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9385 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9386 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9387 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9388 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9389 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9390 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9391 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9392 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9393 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9394 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9396 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9398 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9400 (geteuid): Likewise.
9403 (getresgid): Likewise.
9404 (getresuid): Likewise.
9405 (getgroups): Likewise.
9406 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9407 (geteuid): Likewise.
9410 (getresgid): Likewise.
9411 (getresuid): Likewise.
9412 (getgroups): Likewise.
9413 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9414 (geteuid): Likewise.
9417 (getresgid): Likewise.
9418 (getresuid): Likewise.
9419 (getgroups): Likewise.
9420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9422 (geteuid): Likewise.
9425 (getresgid): Likewise.
9426 (getresuid): Likewise.
9427 (getgroups): Likewise.
9428 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9429 (geteuid): Likewise.
9432 (getresgid): Likewise.
9433 (getresuid): Likewise.
9434 (getgroups): Likewise.
9435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9437 (geteuid): Likewise.
9440 (getgroups): Likewise.
9443 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9444 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9445 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9447 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9448 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9449 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9450 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9451 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9453 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9454 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9457 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9460 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9464 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9467 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9472 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9474 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9477 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9479 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9482 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9484 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9485 Remove unused include.
9487 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
9489 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9491 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9492 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9494 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
9495 Helge Deller <deller@gmx.de>
9498 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9499 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9500 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9502 2014-10-23 Joseph Myers <joseph@codesourcery.com>
9505 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9506 Remove macro definition.
9507 (__ashrdi3_v_glibc20): Likewise.
9508 (__lshrdi3_v_glibc20): Likewise.
9509 (__cmpdi2_v_glibc20): Likewise.
9510 (__ucmpdi2_v_glibc20): Likewise.
9511 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9512 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9513 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9514 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9515 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9516 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9518 2014-10-22 Roland McGrath <roland@hack.frob.com>
9520 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9521 old GNU extension [0] syntax.
9522 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9523 alloca rather than an array member with variable length.
9524 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9525 * nscd/nscd.c (invalidate_db): New function, broken out of ...
9526 (parse_opt): ... here. Likewise use alloca there.
9527 Validate the -i argument before checking for rootness.
9528 (send_shutdown): New function, broken out of ...
9529 (parse_opt): ... here.
9531 2014-10-22 Roland McGrath <roland@hack.frob.com>
9533 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9534 macro to get at the _rt_local_ro field.
9535 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9536 ([PIC] case) or _dl_hwcap ([!PIC] case).
9537 * sysdeps/arm/setjmp.S: Likewise.
9539 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9540 * sysdeps/arm/configure.ac: New check to define it.
9541 * sysdeps/arm/configure: Regenerated.
9542 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9543 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9544 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9545 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9546 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9547 Use move/movt pair instead of a load.
9548 (LDST_GLOBAL): Macro removed.
9549 (LDR_GLOBAL): New macro replaces it.
9550 (LDR_HIDDEN): New macro.
9551 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9552 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9554 * setjmp/tst-setjmp-static.c: New file.
9555 * setjmp/Makefile (tests): Add it.
9556 (tests-static): New variable.
9558 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
9561 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9563 2014-10-21 Joseph Myers <joseph@codesourcery.com>
9566 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9568 2014-10-21 Roland McGrath <roland@hack.frob.com>
9570 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9572 2014-10-20 Roland McGrath <roland@hack.frob.com>
9574 * io/fts.c (dirent_not_directory): New function.
9575 (fts_build): Call it.
9577 2014-10-20 Roland McGrath <roland@hack.frob.com>
9579 * nptl/version.c (__nptl_main): Use normal __write rather than
9581 (banner): Update copyright years.
9583 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9585 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9586 * nptl/pthread_cond_timedwait.c: Likewise.
9587 * nptl/pthread_mutex_timedlock.c: Likewise.
9588 * nptl/sem_timedwait.c: Likewise.
9590 * sysdeps/nptl/bits/libc-lock.h
9591 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9592 (__libc_lock_init_recursive): Return void, not 0.
9593 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9594 (__libc_rwlock_init): Likewise.
9595 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9597 2014-10-20 Torvald Riegel <triegel@redhat.com>
9600 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9601 (__pthread_once_slow): ... here.
9602 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9603 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9605 2014-10-20 Torvald Riegel <triegel@redhat.com>
9608 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9609 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9610 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9611 * nptl/pthread_once.c (__pthread_once): Likewise.
9614 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9617 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9619 (writev): Use __libc_writev as strong name.
9620 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9621 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9623 2014-10-17 Roland McGrath <roland@hack.frob.com>
9625 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9627 * sysdeps/i386/nptl/tls.h
9628 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9629 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9631 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9632 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9633 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9634 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9635 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9636 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9638 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9639 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9641 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9643 (__pthread_mutex_init): ... here. Call it.
9644 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9645 Conditionalize PI cases on [__NR_futex].
9646 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9647 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9648 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9650 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9651 conditional on [SIGSETXID].
9652 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9653 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9654 is defined. Likewise for SIGSETXID.
9655 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9656 Conditionalize definitions on [SIGSETXID].
9657 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9658 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9659 unblocking on [SIGCANCEL].
9661 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9662 [__NR_set_robust_list].
9664 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9666 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9667 (do_compare): Likewise.
9669 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9672 * string/strcoll_l.c: Don't include stdio.h.
9673 (coll_seq): Remove members idxarr and rulearr.
9674 (get_next_seq_cached): Remove function.
9675 (get_next_seq): Likewise.
9676 (get_next_seq_nocache): Rename to get_next_seq.
9677 (do_compare): Remove function.
9678 (do_compare_nocache): Rename to do_compare.
9679 (STRCOLL): Remove weight and rules cache.
9681 2014-10-16 Roland McGrath <roland@hack.frob.com>
9683 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9684 * sysdeps/arm/sfp-machine.h: ... to here.
9685 * sysdeps/arm/Implies: Remove arm/soft-fp.
9687 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9689 * conform/data/sys/utsname.h-data (*_t): Allow.
9690 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9691 [POSIX] (WEXITED): Do not expect constant.
9692 [POSIX] (WSTOPPED): Likewise.
9693 [POSIX] (WNOHANG): Likewise.
9694 [POSIX] (WNOWAIT): Likewise.
9695 [POSIX] (siginfo_t): Do not expect type or elements.
9696 [POSIX] (pid_t): Do not expect type.
9697 [POSIX] (signal.h): Do not allow header.
9698 [POSIX] (sys/resource.h): Likewise.
9699 [POSIX] (si_*): Do not allow pattern.
9700 [POSIX] (W*): Likewise.
9701 [POSIX] (P_*): Likewise.
9702 [POSIX] (BUS_*): Likewise.
9703 [POSIX] (CLD_*): Likewise.
9704 [POSIX] (FPE_*): Likewise.
9705 [POSIX] (ILL_*): Likewise.
9706 [POSIX] (POLL_*): Likewise.
9707 [POSIX] (SEGV_*): Likewise.
9708 [POSIX] (SI_*): Likewise.
9709 [POSIX] (TRAP_*): Likewise.
9710 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9713 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9717 infinite loop when __recvmsg returns 0.
9719 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9721 * CANCEL-FCT-WAIVE: Remove file.
9722 * CANCEL-FILE-WAIVE: Likewise.
9725 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9726 instead of INTVARDEF.
9727 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9728 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9729 rtld_hidden_data_def instead of INTVARDEF.
9730 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9731 * elf/dl-deps.c (expand_dst): Likewise.
9732 * elf/dl-load.c (_dl_dst_count): Likewise.
9733 (_dl_dst_substitute): Likewise.
9734 (decompose_rpath): Likewise.
9735 (_dl_init_paths): Likewise.
9736 (open_path): Likewise.
9737 (_dl_map_object): Likewise.
9738 * elf/rtld.c (dl_main): Likewise.
9739 (process_dl_audit): Likewise.
9740 (process_envvars): Likewise.
9741 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9743 (__libc_enable_secure): Use rtld_hidden_proto.
9745 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9748 (add_path): New function broken out of _dl_rtld_di_serinfo.
9749 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9751 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9753 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9754 parentheses around macro arguments.
9755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9766 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9768 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9769 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9770 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9771 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9773 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9775 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9784 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9787 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9788 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9789 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9790 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9799 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9800 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9801 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9802 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9803 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9804 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9805 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9811 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9813 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9814 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9815 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9816 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9817 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9818 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9819 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9820 (_FP_FRAC_SRS_1): Likewise.
9821 (_FP_FRAC_CLZ_1): Likewise.
9822 (_FP_MUL_MEAT_1_imm): Likewise.
9823 (_FP_MUL_MEAT_1_wide): Likewise.
9824 (_FP_MUL_MEAT_1_hard): Likewise.
9825 (_FP_SQRT_MEAT_1): Likewise.
9826 (_FP_FRAC_ASSEMBLE_1): Likewise.
9827 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9828 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9829 (__FP_CLZ_2): Likewise.
9830 (_FP_MUL_MEAT_2_wide): Likewise.
9831 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9832 (_FP_MUL_MEAT_2_gmp): Likewise.
9833 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9834 (_FP_SQRT_MEAT_2): Likewise.
9835 (_FP_FRAC_ASSEMBLE_2): Likewise.
9836 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9837 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9838 (_FP_FRAC_CLZ_4): Likewise.
9839 (_FP_MUL_MEAT_4_wide): Likewise.
9840 (_FP_MUL_MEAT_4_gmp): Likewise.
9841 (_FP_SQRT_MEAT_4): Likewise.
9842 (_FP_FRAC_ASSEMBLE_4): Likewise.
9843 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9844 * soft-fp/op-common.h (_FP_CMP): Likewise.
9845 (_FP_CMP_EQ): Likewise.
9846 (_FP_CMP_UNORD): Likewise.
9847 (_FP_TO_INT): Likewise.
9848 (_FP_FROM_INT): Likewise.
9849 [!__FP_CLZ] (__FP_CLZ): Likewise.
9850 (_FP_DIV_HELP_imm): Likewise.
9851 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9853 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9864 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9866 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9867 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9868 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9869 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9872 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9873 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9882 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9884 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9885 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9886 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9887 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9888 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9889 (FP_UNPACK_RAW_SP): Likewise.
9890 (FP_PACK_RAW_S): Likewise.
9891 (FP_PACK_RAW_SP): Likewise.
9892 (FP_UNPACK_S): Likewise.
9893 (FP_UNPACK_SP): Likewise.
9894 (FP_UNPACK_SEMIRAW_S): Likewise.
9895 (FP_UNPACK_SEMIRAW_SP): Likewise.
9896 (FP_PACK_S): Likewise.
9897 (FP_PACK_SP): Likewise.
9898 (FP_PACK_SEMIRAW_S): Likewise.
9899 (FP_PACK_SEMIRAW_SP): Likewise.
9900 (_FP_SQRT_MEAT_S): Likewise.
9901 (FP_CMP_S): Likewise.
9902 (FP_CMP_EQ_S): Likewise.
9903 (FP_CMP_UNORD_S): Likewise.
9904 (FP_TO_INT_S): Likewise.
9905 (FP_FROM_INT_S): Likewise.
9907 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9909 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9910 (FP_EX_INVALID_IMZ): Likewise.
9911 (FP_EX_INVALID_IMZ_FMA): Likewise.
9912 (FP_EX_INVALID_ISI): Likewise.
9913 (FP_EX_INVALID_ZDZ): Likewise.
9914 (FP_EX_INVALID_IDI): Likewise.
9915 (FP_EX_INVALID_SQRT): Likewise.
9916 (FP_EX_INVALID_CVI): Likewise.
9917 (FP_EX_INVALID_VC): Likewise.
9918 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9919 "invalid" exceptions.
9920 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9921 (_FP_ADD_INTERNAL): Likewise.
9922 (_FP_MUL): Likewise.
9923 (_FP_FMA): Likewise.
9924 (_FP_DIV): Likewise.
9925 (_FP_CMP_CHECK_NAN): Likewise.
9926 (_FP_SQRT): Likewise.
9927 (_FP_TO_INT): Likewise.
9928 (FP_EXTEND): Likewise.
9930 2014-10-09 Allan McRae <allan@archlinux.org>
9932 * po/fr.po: Update French translation from translation project.
9934 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9937 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9939 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9940 (__cxa_atexit): Use libc_hidden_proto.
9941 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9944 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9946 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9947 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9948 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9949 [!_ISOMAC] (__iswctype_internal): Likewise.
9950 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9951 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9953 (fcntl): Remove __fcntl_internal alias.
9954 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9955 __connect_internal alias.
9956 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9959 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9960 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9962 (_FP_CHECK_FLUSH_ZERO): New macro.
9963 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9964 (_FP_CMP): Likewise.
9965 (_FP_CMP_EQ): Likewise.
9966 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9968 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9969 (FP_TRUNC): Likewise.
9971 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9972 treated as invalid conversion, not as normal exponent.
9974 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9975 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9976 (_FP_CMP_EQ): Likewise.
9977 (_FP_CMP_UNORD): Likewise.
9978 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9979 (FP_CMP_EQ_D): Likewise.
9980 (FP_CMP_UNORD_D): Likewise.
9981 * soft-fp/extended.h (FP_CMP_E): Likewise.
9982 (FP_CMP_EQ_E): Likewise.
9983 (FP_CMP_UNORD_E): Likewise.
9984 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9985 (FP_CMP_EQ_Q): Likewise.
9986 (FP_CMP_UNORD_Q): Likewise.
9987 * soft-fp/single.h (FP_CMP_S): Likewise.
9988 (FP_CMP_EQ_S): Likewise.
9989 (FP_CMP_UNORD_S): Likewise.
9990 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9991 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9992 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9993 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9994 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9995 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9996 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9997 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9998 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9999 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10000 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10001 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10002 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10004 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10006 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10007 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10009 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10011 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10012 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10013 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10014 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10016 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10018 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10019 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10021 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10023 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10024 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10025 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10026 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10029 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10030 a subnormal result, set the underflow exception if trapping on
10031 underflow is enabled.
10032 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10033 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10034 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10036 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10037 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10038 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10039 * soft-fp/extendxftf2.c (__extendxftf2): Use
10040 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10042 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10043 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10044 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10045 FP_HANDLE_EXCEPTIONS.
10046 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10047 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10048 FP_HANDLE_EXCEPTIONS.
10049 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10050 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10051 FP_HANDLE_EXCEPTIONS.
10052 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10053 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10054 FP_HANDLE_EXCEPTIONS.
10056 2014-10-08 Joseph Myers <joseph@codesourcery.com>
10059 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10060 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10062 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10063 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10065 (__adjtimex): Define using libc_hidden_ver.
10066 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10067 Remove declaration.
10068 (ntp_gettime): Call __adjtimex directly.
10069 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10070 Remove declaration.
10071 (ntp_gettimex): Call __adjtimex directly.
10072 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10073 __adjtimex_internal alias.
10075 2014-10-08 Roland McGrath <roland@hack.frob.com>
10078 * nscd/nscd.c (more_help): Rewrite list of tables collection
10079 using xstrdup and asprintf.
10081 * nscd/nscd_conf.c: Remove local xstrdup declaration.
10083 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10084 Roland McGrath <roland@hack.frob.com>
10086 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10087 (do_lookup_unique): ... local function 'enter' here; update callers.
10089 2014-10-06 Joseph Myers <joseph@codesourcery.com>
10091 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10092 compat_symbol calls on [SHARED].
10093 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10094 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10096 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10097 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10098 (oldsetrlimit): Remove.
10099 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10101 (lchown): New syscall entry.
10102 (oldsetrlimit): Remove.
10103 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10105 (oldsetrlimit): Remove.
10106 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10109 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10110 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10111 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10112 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10113 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10114 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10115 (fchown): Likewise.
10116 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10117 (fchown): Likewise.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10121 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10123 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10124 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10125 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10126 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10127 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10129 (__old_sem_post): Likewise.
10131 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
10133 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10134 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10135 HAVE_CLOCK_GETTIME_VSYSCALL macros.
10136 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10137 Use INLINE_VSYSCALL macro.
10138 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10139 __vdso_clock_gettime.
10140 * sysdeps/unix/sysv/linux/tile/init-first.c
10141 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10142 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10143 __vdso_clock_gettime.
10145 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10146 to set up frame more cleanly.
10148 * sysdeps/tile/memcmp.c: New file.
10150 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10152 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10153 * sysdeps/tile/tilegx/strcasestr.c: New file.
10154 * sysdeps/tile/tilegx/strnlen.c: New file.
10155 * sysdeps/tile/tilegx/strstr.c: New file.
10157 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10159 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
10161 * nptl/tst-setuid3.c: Write errors to stdout.
10163 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10166 (preload): New functions broken out of _dl_map_object_deps.
10167 (_dl_map_object_deps): Remove a nested function. Update call sites.
10169 2014-10-01 Joseph Myers <joseph@codesourcery.com>
10172 * sysdeps/unix/sysv/linux/execve.c: Remove file.
10173 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10175 2014-10-01 Steve Ellcey <sellcey@mips.com>
10177 * sysdeps/mips/strcmp.S: New.
10179 2014-09-30 Joseph Myers <joseph@codesourcery.com>
10182 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10183 (linkat): Likewise.
10184 (mkdirat): Likewise.
10185 (readlinkat): Likewise.
10186 (renameat): Likewise.
10187 (symlinkat): Likewise.
10188 (unlinkat): Likewise.
10189 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10190 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10191 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10192 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10193 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10194 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10195 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10197 2014-09-30 Will Newton <will.newton@linaro.org>
10199 * math/math.h: Define long double math functions if
10200 _LIBC_TEST is defined.
10201 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10203 * localedata/Makefile: Move assignment to tests-special
10204 into an ifdef testing run-built-tests.
10205 * timezone/Makefile: Likewise.
10207 2014-09-29 Joseph Myers <joseph@codesourcery.com>
10209 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10210 with $(BASH) not $(SHELL).
10212 2014-09-29 Carlos O'Donell <carlos@redhat.com>
10213 Matthew LeGendre <legendre1@llnl.gov>
10216 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10219 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10221 * stdio-common/printf_fp.c
10222 (hack_digit): New function, broken out of ...
10223 (__printf_fp): ... local function here. Update call sites.
10224 hack_digit now takes an additional parameter that is a pointer
10225 to a struct of the referenced locals. Those locals moved inside
10226 the struct and references updated.
10228 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
10230 * aclocal.m4: Require autoconf 2.69.
10231 * configure: Regenerated.
10232 * sysdeps/aarch64/configure: Likewise.
10233 * sysdeps/alpha/configure: Likewise.
10234 * sysdeps/arm/armv7/configure: Likewise.
10235 * sysdeps/arm/configure: Likewise.
10236 * sysdeps/ia64/configure: Likewise.
10237 * sysdeps/mach/configure: Likewise.
10238 * sysdeps/mips/configure: Likewise.
10239 * sysdeps/s390/configure: Likewise.
10240 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10243 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10245 * sysdeps/ia64/configure.ac: Likewise.
10247 2014-09-26 Joseph Myers <joseph@codesourcery.com>
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10250 specify symbol version for ld.so. Do not include entry for
10252 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10257 * Makeconfig [$(build-shared) = yes]
10258 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10260 [$(build-shared) = yes && $(soversions.mk-done) = t]
10261 ($(common-objpfx)gnu/lib-names.h): Remove rule.
10262 [$(build-shared) = yes && $(soversions.mk-done) = t]
10263 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
10265 [$(build-shared) = yes && $(soversions.mk-done) = t]
10266 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10268 [$(build-shared) = yes && $(soversions.mk-done) = t]
10269 (common-generated): Don't append gnu/lib-names.h and
10270 gnu/lib-names.stmp here.
10271 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10272 (lib-names-h-abi): New variable.
10273 [$(build-shared) = yes && $(soversions.mk-done) = t]
10274 (lib-names-stmp-abi): Likewise.
10275 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10276 abi-variants] (before-compile): Append
10277 $(common-objpfx)$(lib-names-h-abi).
10278 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10279 abi-variants] (common-generated): Append gnu/lib-names.h.
10280 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10281 abi-variants] (install-others-nosubdir): Depend on
10282 $(inst_includedir)/$(lib-names-h-abi).
10283 [$(build-shared) = yes && $(soversions.mk-done) = t &&
10284 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10285 [$(build-shared) = yes && $(soversions.mk-done) = t]
10286 ($(common-objpfx)$(lib-names-h-abi)): New rule.
10287 [$(build-shared) = yes && $(soversions.mk-done) = t]
10288 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10289 [$(build-shared) = yes && $(soversions.mk-done) = t]
10290 (common-generated): Append $(lib-names-h-abi) and
10291 $(lib-names-stmp-abi).
10292 * scripts/lib-names.awk: Do not handle multi being set.
10293 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10295 (abi-lp64_be-ld-soname): Likewise.
10296 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10298 (abi-hard-ld-soname): Likewise.
10299 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10300 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10302 (abi-o32_hard-ld-soname): Likewise.
10303 (abi-o32_soft_2008-ld-soname): Likewise.
10304 (abi-o32_hard_2008-ld-soname): Likewise.
10305 (abi-n32_soft-ld-soname): Likewise.
10306 (abi-n32_hard-ld-soname): Likewise.
10307 (abi-n32_soft_2008-ld-soname): Likewise.
10308 (abi-n32_hard_2008-ld-soname): Likewise.
10309 (abi-n64_soft-ld-soname): Likewise.
10310 (abi-n64_hard-ld-soname): Likewise.
10311 (abi-n64_soft_2008-ld-soname): Likewise.
10312 (abi-n64_hard_2008-ld-soname): Likewise.
10313 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10315 (abi-64-v2-ld-soname): Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10318 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10320 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10322 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10324 (abi-64-ld-soname): Likewise.
10325 (abi-x32-ld-soname): Likewise.
10326 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10328 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10330 2014-09-23 Joseph Myers <joseph@codesourcery.com>
10333 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10334 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10335 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10337 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10338 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10339 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10340 syscall entry for GLIBC_2.2 symbol version.
10341 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10344 (setrlimit): Likewise.
10345 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10348 2014-09-23 Will Newton <will.newton@linaro.org>
10350 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10351 _LINUX_ARM_SYSDEP_H include guard too.
10352 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10355 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10357 * sysdeps/unix/sysv/linux/eventfd.c:
10358 Make first argument unsigned.
10359 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10360 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10362 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
10364 * socket/recvmmsg.c (recvmmsg): Drop const argument.
10365 * socket/sys/socket.h: Likewise
10366 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10368 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10370 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10372 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
10374 * time/tst-ftime.c: New test.
10375 * time/Makefile (tests): Add tst-ftime.
10377 2014-09-17 Joseph Myers <joseph@codesourcery.com>
10379 * soft-fp/extended.h: Fix comment formatting.
10380 * soft-fp/op-1.h: Likewise.
10381 * soft-fp/op-2.h: Likewise.
10382 * soft-fp/op-4.h: Likewise.
10383 * soft-fp/op-8.h: Likewise.
10384 * soft-fp/op-common.h: Likewise.
10385 * soft-fp/soft-fp.h: Likewise.
10387 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10389 2014-09-16 Joseph Myers <joseph@codesourcery.com>
10392 * Makeconfig (soversions-default-setname): Remove variable.
10393 ($(common-objpfx)soversions.i): Don't pass default_setname to
10395 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10396 oldest_abi to abi-versions.awk.
10397 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10398 * config.make.in (oldest-abi): Remove variable.
10399 * configure.ac (--enable-oldest-abi): Remove configure option.
10400 * configure: Regenerated.
10401 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10403 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10404 * scripts/soversions.awk: Do not handle default_setname variable.
10405 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10407 * sysdeps/mach/hurd/configure: Regenerated.
10408 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10410 * sysdeps/unix/sysv/linux/configure: Regenerated.
10412 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10414 * elf/Makefile (CFLAGS-interp.c): Remove.
10415 ($(elf-objpfx)runtime-linker.h): Generate header with linker
10417 * elf/interp.c: Include generated runtime-linker.h
10419 * Makerules (lib%.so): Don't include $(+interp) in
10421 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10422 * dlfcn/eval.c: Remove file.
10424 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10428 * misc/sys/cdefs.h: Define __extern_always_inline for clang
10432 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10434 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10435 Jakub Jelinek <jakub@redhat.com>
10438 * libio/stdio.h: Check definition of __fortify_function
10439 instead of __extern_always_inline to include bits/stdio2.h.
10440 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10441 check if __extern_always_inline is defined.
10442 [__USE_MISC || __USE_XOPEN]: Likewise.
10443 [__USE_ISOC99] Likewise.
10444 * misc/sys/cdefs.h (__fortify_function): Define only if
10445 __extern_always_inline is defined.
10446 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10447 __extern_always_inline and __extern_inline only for g++-4.3
10448 and newer or a compatible gcc.
10450 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
10453 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10454 last change to handle zero prefix length.
10456 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10458 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10461 * posix/getconf.c (vars): Add _POSIX_IPV6 and
10462 _POSIX_RAW_SOCKETS.
10464 2014-09-13 Allan McRae <allan@archlinux.org>
10466 * po/ru.po: Update Russian translation from translation project.
10468 2014-09-12 Roland McGrath <roland@hack.frob.com>
10470 * locale/programs/locale.c (show_locale_vars): Inline local function
10471 into its sole call site. Clean up some style nits.
10472 (print_item): New function, broken out of ...
10473 (show_info): ... local function here. Clean up style nits.
10475 * locale/programs/ld-ctype.c (set_one_default): New function, broken
10477 (set_class_defaults): ... local function set_default here.
10478 Define set_default as a macro locally to pass constant parameters.
10479 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10480 rather than a shared local.
10482 * stdlib/rpmatch.c (try): New function, broken out of ...
10483 (rpmatch): ... local function here. Also, prototypify definition.
10485 2014-09-12 Joseph Myers <joseph@codesourcery.com>
10487 * scripts/soversions.awk: Do not handle configuration names.
10488 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10489 vendor and os variables to soversions.awk.
10490 * configure.ac: Do not modify gnu-* host_os.
10491 * configure: Regenerated
10492 * shlib-versions: Remove first column with configuration names.
10493 * nptl/shlib-versions: Likewise.
10494 * nptl_db/shlib-versions: Likewise.
10495 * sysdeps/hppa/shlib-versions: Likewise.
10496 * sysdeps/m68k/shlib-versions: Likewise.
10497 * sysdeps/mach/hurd/shlib-versions: Likewise.
10498 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10499 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10500 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10501 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10502 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10503 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10504 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10505 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10508 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10510 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10511 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10512 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10513 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10514 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10518 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10521 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10523 Condition symbol version definitions on [HAVE_ELFV2_ABI].
10525 * shlib-versions: Remove OS-specific entries. Moved to files in
10527 * sysdeps/mach/hurd/shlib-versions: New file.
10528 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10530 * nptl/shlib-versions: Remove architecture-specific entries.
10531 Moved to files in sysdeps.
10532 * shlib-versions: Likewise.
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10535 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10536 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10540 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10541 (UDP_NO_CHECK6_RX): Likewise.
10543 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10545 * sysdeps/posix/sysconf.c (__sysconf): Spell
10546 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10548 2014-08-12 Florian Weimer <fweimer@redhat.com>
10550 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10552 * iconv/Versions (__gconv_transliterate): Export for use from
10554 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10555 (struct __gconv_trans_data, __gconv_trans_fct,
10556 __gconv_trans_context_fct, __gconv_trans_query_fct,
10557 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10559 (struct __gconv_step_data): Remove __trans member.
10560 (__gconv_transliterate): Declaration moved from gconv_int.h. No
10561 longer hidden. Remove unused trans_data argument.
10562 * iconv/gconv_int.h (struct trans_struct): Remove definition.
10563 (__gconv_translit_find): Remove declaration.
10564 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
10566 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10567 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10568 trans_data argument. Add hidden definition.
10569 (__gconv_translit_find): Remove.
10570 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10571 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10572 * iconv/skeleton.c: Remove transliteration initialization.
10573 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10574 __gconv_step_data initialization.
10575 * libio/iofwide.c (__libio_translit_): Remove.
10576 (_IO_fwide): Adjust struct __gconv_step_data initialization.
10577 * wcsmbs/btowc.c (__btowc): Likewise.
10578 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10579 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10580 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10581 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10582 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10583 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10584 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10585 * wcsmbs/wctob.c (wctob): Likewise.
10587 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10590 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10591 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
10593 * sysdeps/x86/Makefile: Adjust.
10595 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10596 Roland McGrath <roland@hack.frob.com>
10598 * locale/weight.h: Add include guard.
10599 (findidx): Make static rather than auto; take new parameters
10600 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10601 * locale/weightwc.h: Likewise.
10602 * posix/fnmatch_loop.c
10603 (FCT): Change type of EXTRA from int32_t to wint_t.
10604 Don't include either header inside the function.
10605 Call FINDIDX rather than findidx, and pass new arguments.
10606 #undef FINDIDX at the end of the file.
10607 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10608 FINDIDX before including fnmatch_loop.c for the non-wide version.
10609 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10610 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10611 for the wide version.
10612 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10613 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10614 Pass new arguments to findidx.
10615 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10616 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10617 Don't #include it inside the function. Pass new arguments to findidx.
10618 * posix/regex_internal.h
10619 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10620 (re_string_elem_size_at): Don't #include it inside the function.
10621 Pass new arguments to findidx.
10622 * string/strcoll_l.c: #include WEIGHT_H at top level.
10623 (get_next_seq): Don't #include it inside the function.
10624 Pass new arguments to findidx.
10625 (get_next_seq_nocache): Likewise.
10626 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10627 (STRXFRM): Don't #include it inside the function.
10628 Pass new arguments to findidx.
10630 2014-09-11 Florian Weimer <fweimer@redhat.com>
10633 * malloc/malloc.c (unlink): Turn asserts into a call to
10636 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10639 * libio/wfileops (do_ftell_wide): Free OUT.
10641 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10643 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10645 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10648 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10649 group if the current group is empty.
10651 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10653 * benchtests/bench-memset.c (test_main): Add more test from size
10654 from 32 to 512 bytes.
10655 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10656 Add POWER8 memset object.
10657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10658 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10659 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10661 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10663 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10664 multiarch POWER8 memset optimization.
10665 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10666 POWER8 memset optimization.
10668 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10669 Remove bzero multiarch objects.
10670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10673 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10675 [__bzero]: Redefine to specific name.
10676 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10677 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10678 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10680 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10681 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10683 2014-09-10 Florian Weimer <fweimer@redhat.com>
10685 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10686 warnings into errors.
10688 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10689 __cxa_thread_atexit_impl prototype.
10691 2014-09-09 Steve Ellcey <sellcey@mips.com>
10693 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10694 Fix capitalization of error message.
10696 2014-09-09 Steve Ellcey <sellcey@mips.com>
10698 * sysdeps/mips/preconfigure: Modify ABI tests.
10700 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10702 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10704 2014-09-07 Roland McGrath <roland@hack.frob.com>
10705 Carlos O'Donell <carlos@systemhalted.org>
10707 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10708 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10709 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10710 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10711 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10712 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10713 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10714 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10715 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10716 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10717 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10718 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10719 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10720 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10721 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10722 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10723 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10724 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10725 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10726 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10727 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10728 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10729 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10730 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10731 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10732 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10733 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10734 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10735 Deconditionalize the code that was previously under [RESET_PID].
10736 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10737 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10738 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10739 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10742 2014-09-08 Allan McRae <allan@archlinux.org>
10744 * version.h (RELEASE): Set to "development".
10745 (VERSION): Set to "2.20.90"
10747 2014-09-07 Allan McRae <allan@archlinux.org
10749 * version.h (RELEASE): Set to "stable".
10750 (VERSION): Set to "2.20"
10751 * include/features.h (__GLIBC_MINOR__): Set to 20.
10753 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10756 * po/ko.po: Update Korean translation from translation project.
10758 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10761 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10762 macro for handling signed relocations.
10764 2014-09-03 Florian Weimer <fweimer@redhat.com>
10767 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10768 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10770 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10771 * iconvdata/ibm935.c (BODY): Likewise.
10772 * iconvdata/ibm937.c (BODY): Likewise.
10773 * iconvdata/ibm939.c (BODY): Likewise.
10774 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10776 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10778 * iconvdata/run-iconv-test.sh: New test loop for checking for
10781 2014-09-02 Khem Raj <raj.khem@gmail.com>
10783 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10786 2014-09-01 Allan McRae <allan@archlinux.org>
10788 * po/eo.po: Update Esperanto translation from translation project.
10790 * po/ca.po: Update Catalan translation from translation project.
10792 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10794 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10795 __proc_dostop call.
10797 2014-08-27 Mark Wielaard <mjw@redhat.com>
10800 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10801 to call set_thread_area instead of hand written asm.
10802 (__NR_set_thread_area): Removed define.
10803 (TLS_FLAG_WRITABLE): Likewise.
10804 (__ASSUME_SET_THREAD_AREA): Remove check.
10805 (TLS_EBX_ARG): Remove define.
10806 (TLS_LOAD_EBX): Likewise.
10808 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10810 Simplify atomicity of socket creation in bind.
10812 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10813 looking up the name after linking the file.
10815 2014-08-27 Allan McRae <allan@archlinux.org>
10817 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10819 2014-08-26 Florian Weimer <fweimer@redhat.com>
10822 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10823 trans_compare, open_translit, __gconv_translit_find):
10824 Remove module loading code.
10826 2014-08-26 Allan McRae <allan@archlinux.org>
10828 * po/vi.po: Update Vietnamese translation from translation project.
10830 * po/uk.po: Update Ukrainian translation from translation project.
10832 * po/fr.po: Update French translation from translation project.
10834 * po/ru.po: Update Russian translation from translation project.
10836 * po/pl.po: Update Polish translation from translation project.
10838 * po/cs.po: Update Czech translation from translation project.
10840 * po/de.po: Update German translation from translation project.
10842 * po/bg.po: Update Bulgarian translation from translation project.
10844 * po/sv.po: Update Sweedish translation from translation project.
10846 * po/nl.po: Update Dutch translation from translation project.
10848 * po/es.po: Update Spanish translation from translation project.
10850 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10852 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10854 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10855 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10856 (CPPFLAGS-iconvconfig): Likewise.
10857 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10859 * include/libc-symbols.h: Remove unnecessary check for
10861 * nptl/pthreadP.h: Likewise.
10862 * sysdeps/aarch64/setjmp.S: Likewise.
10863 * sysdeps/alpha/setjmp.S: Likewise.
10864 * sysdeps/arm/sysdep.h: Likewise.
10865 * sysdeps/i386/setjmp.S: Likewise.
10866 * sysdeps/m68k/setjmp.c: Likewise.
10867 * sysdeps/posix/getcwd.c: Likewise.
10868 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10869 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10870 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10871 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10872 * sysdeps/sh/sh3/setjmp.S: Likewise.
10873 * sysdeps/sh/sh4/setjmp.S: Likewise.
10874 * sysdeps/unix/alpha/sysdep.h: Likewise.
10875 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10877 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10878 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10883 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10886 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10888 * sysdeps/x86_64/setjmp.S: Likewise.
10890 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10893 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10895 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10896 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10898 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10900 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10903 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10904 and __x86_64__ when disabling x87 inline functions.
10906 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10909 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10910 asm statement with __cpuid_count.
10912 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10914 * configure.ac: Change __ehdr_start code to dereference the struct.
10915 Run readelf on the output to look for relocations.
10916 * configure: Regenerated.
10918 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10921 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10923 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10925 2014-08-12 Roland McGrath <roland@hack.frob.com>
10927 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10929 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10932 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10933 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10935 2014-08-12 Sean Anderson <seanga2@gmail.com>
10937 * malloc/malloc.c: Fix typo in comment.
10939 2014-08-09 Allan McRae <allan@archlinux.org>
10941 * Regenerate libc.po.
10943 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10945 * intl/tst-gettext2.sh: Check every lang file for creation.
10947 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10949 * sysdeps/aarch64/fpu/math_private.h
10950 (libc_feholdsetround_noex_aarch64_ctx): New function.
10952 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10954 * sysdeps/arm/armv6/strcpy.S (strcpy):
10955 Fix performance issue in misaligned cases.
10957 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10959 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10960 Move definition from termios.h.
10961 (struct termio): Likewise.
10962 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10963 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10964 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10965 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10967 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10968 Move definition to ioctl-types.h
10969 (struct termio): Likewise.
10970 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10971 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10972 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10973 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10976 2014-08-05 Richard Henderson <rth@redhat.com>
10978 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10980 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10982 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10983 Use __feraiseexcept.
10984 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10985 Protect libm symbols with IS_IN_libm.
10987 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10989 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10991 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10993 2014-08-04 Will Newton <will.newton@linaro.org>
10995 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10998 2014-08-04 Mike Frysinger <vapier@gentoo.org>
11000 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11001 variants for each function.
11003 2014-08-04 Roland McGrath <roland@hack.frob.com>
11005 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11007 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11008 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11010 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11011 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11012 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11013 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11014 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11015 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11016 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11017 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11018 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11019 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11020 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11021 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11022 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11024 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11026 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11028 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11029 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11030 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11031 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11034 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11036 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11046 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11047 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11048 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11049 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11050 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11051 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11052 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11053 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11054 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11055 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11056 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11057 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11058 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11059 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11060 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11061 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11062 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11064 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11065 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11067 2014-08-04 Roland McGrath <roland@hack.frob.com>
11069 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11070 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11071 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11072 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11073 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11074 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11076 2014-08-04 Roland McGrath <roland@hack.frob.com>
11078 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11079 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11080 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11081 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11083 2014-08-04 Roland McGrath <roland@hack.frob.com>
11085 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11086 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11087 (__libc_vfork): Define function under this name.
11088 (__vfork): Define as an alias.
11089 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11090 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11092 2014-08-04 Roland McGrath <roland@hack.frob.com>
11094 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11095 that was previously under [RESET_PID].
11096 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11098 2014-08-04 Andreas Schwab <schwab@suse.de>
11100 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11102 2014-08-03 Mike Frysinger <vapier@gentoo.org>
11104 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11107 2014-08-01 Roland McGrath <roland@hack.frob.com>
11109 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11111 2014-08-01 Richard Henderon <rth@redhat.com>
11113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11114 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11115 typo in exact zero test.
11116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11117 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11120 2014-08-01 Roland McGrath <roland@hack.frob.com>
11122 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11123 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11124 * sysdeps/arm/sysdep.h: ... here.
11125 [!__ASSEMBLER__]: Include <stdint.h>.
11127 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11129 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11130 (HAVE_WCTYPE_H): Likewise.
11131 (HAVE_ISWCTYPE): Likewise.
11132 (ENABLE_NLS): Likewise.
11133 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11134 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11136 * posix/regex_internal.c: Check if DEBUG is defined and is
11139 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11140 (HAVE_MBSRTOWCS): Likewise.
11141 * posix/fnmatch.c: Include string.h unconditionally.
11143 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11145 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11148 2014-07-31 Roland McGrath <roland@hack.frob.com>
11150 * sysdeps/generic/safe-fatal.h: New file.
11151 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11152 * nptl/forward.c: Include it.
11153 (__pthread_unwind): Use __safe_fatal as default action, rather
11154 than a bogus use of INTERNAL_SYSCALL that could never work.
11156 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11157 * configure.ac (libc_cv_builtin_trap): New test.
11158 * configure: Regenerated.
11159 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11160 (ABORT_INSTRUCTION): Define using __builtin_trap.
11162 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11163 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11164 * sysdeps/nptl/nptl-signals.h: New file.
11165 * nptl/pthreadP.h: Include <nptl-signals.h>.
11167 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11169 * sysdeps/s390/s390-64/utf16-utf32-z9.c
11170 (ONE_DIRECTION): Define.
11171 * sysdeps/s390/s390-64/utf8-utf16-z9.c
11172 (ONE_DIRECTION): Define.
11173 * sysdeps/s390/s390-64/utf8-utf32-z9.c
11174 (ONE_DIRECTION): Define.
11176 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11178 * sysdeps/s390/Makefile: Delete file.
11179 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11180 * sysdeps/s390/__longjmp.c: Delete file.
11181 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11182 Remove fields __flags and __reserved.
11183 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11184 and add versioning.
11185 * sysdeps/s390/rtld-__longjmp.c: Delete file.
11186 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11187 * sysdeps/s390/rtld-setjmp.S: Likewise.
11188 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11189 * sysdeps/s390/s390-32/__longjmp.c: ... here.
11190 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11191 * sysdeps/s390/s390-32/setjmp.S: ... here.
11193 (__sigsetjmp): Remove setting __flags field.
11194 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11195 * sysdeps/s390/s390-64/__longjmp.c: ... here.
11196 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11197 * sysdeps/s390/s390-64/setjmp.S: ... here.
11199 (__sigsetjmp): Remove setting __flags field.
11200 * sysdeps/s390/setjmp.S: Delete file.
11201 * sysdeps/s390/sigjmp.c: Likewise.
11202 * sysdeps/s390/v1-longjmp.c: Likewise.
11203 * sysdeps/s390/v1-setjmp.h: Likewise.
11204 * sysdeps/s390/v1-sigjmp.c: Likewise.
11205 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11206 Remove v1-longjmp_chk.
11207 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11208 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11209 Include debug/longjmp_chk.c and add versioning.
11210 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11211 Include nptl/pt-longjmp.c and add versioning.
11212 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11213 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11214 Include __longjmp.c.
11215 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11217 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11218 (__getcontext): Remove setting __flags field.
11220 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11221 Don't restore upper high grps.
11222 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11224 (__swapcontext): Remove setting uc_flags field.
11225 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11227 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11228 Include __longjmp.c.
11229 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11231 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11232 (__getcontext): Remove setting __flags field.
11234 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11235 (__swapcontext): Remove setting uc_flags field.
11236 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11237 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11238 Remove fields uc_high_gprs and __reserved.
11239 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11240 New file with reverted content.
11241 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11242 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11244 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11247 2014-07-31 Andreas Schwab <schwab@suse.de>
11249 * config.h.in (HAVE_IFUNC): Define to 0.
11250 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11253 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
11255 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11256 memmove-avx-unaligned, memcpy-avx-unaligned and
11257 mempcpy-avx-unaligned.
11258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11259 Add tests for AVX memcpy functions.
11260 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11261 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11263 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11264 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11266 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11267 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11269 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11270 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11271 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11273 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11279 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
11282 * manual/llio.texi: Add section about open file description locks.
11283 * manual/examples/ofdlocks.c: Example of open file description
11285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11286 F_OFD_SETLK, and F_OFD_SETLKW.
11288 2014-07-23 Allan McRae <allan@archlinux.org>
11290 * po/es.po: Update Spanish translation from translation project.
11292 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
11294 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11296 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
11299 * sysdeps/arm/dl-machine.h (elf_machine_rela)
11300 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11301 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11303 2014-07-17 Joseph Myers <joseph@codesourcery.com>
11306 * math/fesetenv.c (__fesetenv)
11307 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11308 * math/feupdateenv.c (__feupdateenv)
11309 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11311 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11312 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11313 (__ASSUME_SOCKETCALL): Do not define.
11315 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11316 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11317 (__ASSUME_SOCKETCALL): Do not define.
11318 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11319 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11320 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11321 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11322 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11323 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11324 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11325 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11327 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11328 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11329 (__ASSUME_SOCKETCALL): Do not define.
11330 (__ASSUME_IPC64): Define unconditionally.
11331 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11333 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11335 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11337 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11340 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11341 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11342 (__ASSUME_SOCKETCALL): Do not define.
11343 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11344 (__ASSUME_FUTEX_LOCK_PI): Likewise.
11345 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11346 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11347 (__ASSUME_REQUEUE_PI): Define unconditionally.
11348 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11349 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11350 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11351 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11352 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11353 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11355 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11356 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11357 (__ASSUME_SOCKETCALL): Do not define.
11358 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11359 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11360 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11361 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11362 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11363 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11365 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11366 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11367 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11368 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11369 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11370 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11371 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11372 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11373 (__ASSUME_GETCPU_SYSCALL): Likewise.
11375 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11376 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
11377 cases for individual architectures.
11378 * sysdeps/gnu/configure: Regenerated.
11379 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11380 LIBC_SLIBDIR_RTLDDIR.
11381 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11382 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11383 LIBC_SLIBDIR_RTLDDIR.
11384 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11386 LIBC_SLIBDIR_RTLDDIR.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11389 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11390 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11392 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11393 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11395 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11396 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11397 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11398 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11400 * sysdeps/aarch64/shlib-versions: Move to ...
11401 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11402 * sysdeps/alpha/shlib-versions: Move to ...
11403 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11404 * sysdeps/arm/shlib-versions: Move to ...
11405 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11406 * sysdeps/hppa/shlib-versions: Move all contents except for
11407 libgcc_s entry to ...
11408 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
11410 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
11411 * sysdeps/ia64/shlib-versions: Move to ...
11412 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
11414 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
11415 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11416 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11417 * sysdeps/microblaze/shlib-versions: Move to ...
11418 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11419 * sysdeps/mips/shlib-versions: Move to ...
11420 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
11422 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
11423 * sysdeps/tile/shlib-versions: Move to ...
11424 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11425 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11427 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
11428 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11430 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
11432 2014-07-17 Will Newton <will.newton@linaro.org>
11434 * sysdeps/arm/bits/atomic.h
11435 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11436 (__arch_compare_and_exchange_bool_16_int): Likewise.
11437 (__arch_compare_and_exchange_bool_64_int): Likewise.
11439 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11440 into an #else block.
11442 2014-07-16 Roland McGrath <roland@hack.frob.com>
11444 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11445 just Linux configurations. Test empirically that the compiler sets
11446 __ARM_EABI__, rather than using the tuple to decide.
11447 * sysdeps/arm/preconfigure: Regenerated.
11448 * sysdeps/unix/sysv/linux/arm/configure: File removed.
11449 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11450 contents appended ...
11451 * sysdeps/arm/configure.ac: ... here.
11452 * sysdeps/arm/configure: Regenerated.
11454 2014-07-15 Roland McGrath <roland@hack.frob.com>
11456 * nptl/pthread_kill.c: New file.
11457 * nptl/pthread_sigmask.c: New file.
11458 * nptl/pthread_sigqueue.c: New file.
11460 * sysdeps/nptl/lowlevellock.h: New file.
11461 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11462 * sysdeps/nptl/lowlevellock-futex.h: New file.
11464 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11465 Remove dead declarations.
11467 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
11469 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11470 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11471 config-cflags-avx2.
11472 * sysdeps/x86_64/configure.ac: Likewise.
11473 * sysdeps/i386/configure: Regenerated.
11474 * sysdeps/x86_64/configure: Likewise.
11475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11476 memset-avx2 only if config-cflags-avx2 is yes.
11477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11478 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11480 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11481 only if HAVE_AVX2_SUPPORT is defined.
11482 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11484 2014-07-14 Alan Modra <amodra@gmail.com>
11487 * elf/elf.h (DT_PPC64_NUM): Correct value.
11488 * NEWS: Add to fixed bug list.
11490 2014-07-13 Jim Meyering <meyering@fb.com>
11493 regex: don't deref NULL upon heap allocation failure
11494 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11495 failure in one more place.
11496 To trigger the segfault, configure grep -with-included-regex,
11497 build it, and run these commands:
11498 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11500 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
11502 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11504 2014-07-11 Richard Henderson <rth@redhat.com>
11506 * sysdeps/aarch64/libm-test-ulps: Update.
11508 2014-07-10 Florian Weimer <fweimer@redhat.com>
11511 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11512 * nptl/allocatestack.c (__nptl_setxid_error): New function.
11513 (__nptl_setxid): Initialize error member. Call
11514 __nptl_setxid_error.
11515 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11516 * nptl/descr.h (struct xid_command): Add error member.
11517 * nptl/tst-setuid3.c: New file.
11518 * nptl/Makefile (tests): Add it.
11520 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11522 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11524 (__lll_trylock): Use __lll_base_trylock.
11525 (__lll_cond_trylock): Likewise.
11527 2014-07-10 Roland McGrath <roland@hack.frob.com>
11529 * nptl/pthread_create.c (start_thread): Use atomic_or and
11530 lll_futex_wake directly rather than lll_robust_dead.
11531 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11532 (lll_robust_dead): Macro removed.
11533 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11534 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11535 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11536 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11537 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11538 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11539 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11540 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11541 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11542 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11543 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11544 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11546 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11547 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11549 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11550 Use atomic_compare_and_exchange_val_acq directly rather than
11551 lll_robust_trylock.
11552 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11553 (__lll_robust_trylock, lll_robust_trylock): Removed.
11554 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11555 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11556 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11557 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11558 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11559 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11560 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11561 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11562 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11563 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11564 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11565 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11566 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11567 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11569 2014-07-02 Florian Weimer <fweimer@redhat.com>
11571 * manual/locale.texi (Locale Names): New section documenting
11572 locale name syntax. Adjust menu and node chaining accordingly.
11573 (Choosing Locale): Reference Locale Names, Locale Categories.
11574 Mention setting LC_ALL=C. Reflect that name syntax is now
11576 (Locale Categories): New section title. Reference Locale Names.
11577 LC_ALL is an environment variable, but not a category.
11578 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11579 description, now in Locale Name. Reference that section. Locale
11580 name syntax is now documented.
11582 2014-07-02 Florian Weimer <fweimer@redhat.com>
11585 * locale/findlocale.c (name_present, valid_locale_name): New
11587 (_nl_find_locale): Use the loc_name variable to store name
11588 candidates. Call name_present and valid_locale_name to check and
11589 validate locale names. Return an error if the locale is invalid.
11591 2014-07-02 Florian Weimer <fweimer@redhat.com>
11593 * locale/setlocale.c (setlocale): Use strdup for allocating
11594 composite name copy.
11596 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 Sync up with gnulib.
11599 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11600 [!_LIBC && ENABLE_NLS]: Include gettext.h.
11601 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11602 and _GL_ARG_NONNULL.
11603 [USE_UNLOCKED_IO]: Include unlocked-io.h.
11604 [!_LIBC]: Include code for Windows and Cygwin.
11605 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11606 Include prototype for int strerror_r.
11607 [!_LIBC] (is_open): New function.
11608 (flush_stdout): New function.
11609 (print_errno_message): Use it.
11611 (error_at_line): Likewise.
11612 (error_tail) Add function attribute macros. Use
11615 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11617 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11619 * io/ftw.c: Include sys/param.h unconditionally.
11621 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11624 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11626 (freecache): New function to free CACHE on exit.
11628 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11631 2014-07-09 David S. Miller <davem@davemloft.net>
11633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11635 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11636 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11637 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11638 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11639 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11640 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11641 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11642 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11643 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11644 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11645 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11646 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11647 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11649 2014-07-09 Andreas Schwab <schwab@suse.de>
11651 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11653 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11654 (do_test): Likewise.
11656 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11658 2014-07-09 Will Newton <will.newton@linaro.org>
11660 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11661 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11662 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11663 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11664 * sysdeps/hppa/start.S (_start): Likewise.
11666 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11668 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11670 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11673 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11675 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11676 after checking that it is non-NULL.
11678 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11680 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11682 * sysdeps/powerpc/memmove.c: Remove file.
11683 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11684 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11685 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11686 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11687 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11688 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11689 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11690 string memmove instead of removed powerpc one.
11692 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11693 [weak_alias]: Fix compiler warning due trailing data.
11694 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11695 [weak_alias]: Likewise.
11696 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11697 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11700 (__libc_ifunc_impl_list): Add memmove functions.
11702 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11704 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11706 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11708 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11710 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11712 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11714 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11716 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11718 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11720 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11722 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11724 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11726 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11728 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11730 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11732 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11734 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11736 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11739 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11741 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11742 to avoid alignment traps in non-cacheable memory.
11743 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11747 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11748 file: multiarch power7 memmove.
11749 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11750 multiarch default memmove.
11751 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11752 multiarch memove for powerpc32/power4.
11754 * string/bcopy.c: Use full path to include memmove.c.
11755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11757 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11758 bcopy for powerpc64.
11759 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11760 bcopy for powerpc64.
11761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11762 and memmove implementations.
11763 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11764 optimized multiarch memmove for POWER7/powerpc64.
11765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11766 default multiarch memmove for powerpc64.
11767 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11768 multiarch for powerpc64.
11769 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11770 for POWER7/powerpc64.
11771 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11772 memmove for POWER7/powerpc64.
11774 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11777 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11778 __ELF_NATIVE_CLASS equal to 64.
11780 2014-07-07 Roland McGrath <roland@hack.frob.com>
11782 * sysdeps/nptl/lowlevellock.h: File removed.
11784 * NEWS: NPTL is no longer an add-on!
11785 * nptl/internaltypes.h: Moved ...
11786 * sysdeps/nptl/internaltypes.h: ... here.
11787 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11788 * sysdeps/nptl/fork.c: Likewise.
11789 * sysdeps/nptl/gai_misc.h: Likewise.
11790 * sysdeps/nptl/librt-cancellation.c: Likewise.
11791 * sysdeps/nptl/jmp-unwind.c: Likewise.
11792 * sysdeps/nptl/setxid.h: Likewise.
11793 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11794 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11795 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11796 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11797 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11798 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11799 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11800 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11801 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11802 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11803 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11804 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11805 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11806 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11807 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11808 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11809 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11810 * nptl/Makeconfig: Moved ...
11811 * sysdeps/nptl/Makeconfig: ... here.
11812 * nptl/configure: File removed.
11813 * nptl/ANNOUNCE: File removed.
11814 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11815 * sysdeps/unix/sysv/linux/configure: Regenerated.
11817 * nptl/Makefile (routines): Add libc_pthread_init,
11818 libc_multiple_threads, register-atfork and unregister-atfork.
11819 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11820 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11821 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11822 pthread-pi-defines.sym, structsem.sym.
11823 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11824 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11825 [$(subdir) = nptl] (tests): Add tst-setgetname.
11826 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11827 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11828 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11829 [!LIBC_SIGACTION]: Remove aliases.
11830 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11831 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11832 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11833 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11834 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11835 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11836 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11838 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11839 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11840 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11841 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11842 __libc_allocate_rtsig_private.
11843 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11844 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11845 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11846 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11847 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11848 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11849 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11850 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11851 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11852 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11853 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11854 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11855 * nptl/internaltypes.h: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11857 * sysdeps/nptl/jmp-unwind.c: ... here.
11858 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11859 * nptl/libc-lowlevellock.c: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11861 * nptl/libc_multiple_threads.c: ... here.
11862 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11863 * nptl/libc_pthread_init.c: ... here.
11864 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11865 * nptl/lowlevelbarrier.sym: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11867 * nptl/lowlevelcond.sym: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11869 * nptl/lowlevellock.c: ... here.
11870 * nptl/lowlevellock.h: Moved ...
11871 * sysdeps/nptl/lowlevellock.h: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11873 * nptl/lowlevelrobustlock.c: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11875 * nptl/lowlevelrobustlock.sym: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11877 * nptl/lowlevelrwlock.sym: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11879 * nptl/pt-fork.c: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11881 * nptl/pthread-pi-defines.sym: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11883 * nptl/pthread_attr_getaffinity.c: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11885 * nptl/pthread_attr_setaffinity.c: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11887 * nptl/pthread_mutex_cond_lock.c: ... here.
11888 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11890 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11891 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11892 * nptl/pthread_once.c: ... here, replacing old file.
11893 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11894 * nptl/pthread_yield.c: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11896 * nptl/register-atfork.c: ... here.
11897 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11898 * nptl/sem_post.c: ... here.
11899 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11900 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11901 * nptl/sem_timedwait.c: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11903 * nptl/sem_trywait.c: ... here.
11904 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11905 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11906 * nptl/sem_wait.c: ... here.
11907 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11908 * nptl/structsem.sym: ... here.
11909 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11910 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11911 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11912 * nptl/unregister-atfork.c: ... here.
11913 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11914 * nptl/unwindbuf.sym: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11916 * sysdeps/nptl/fork.c: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11918 * sysdeps/nptl/fork.h: ... here.
11919 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11920 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11921 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11923 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11924 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11925 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11927 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11928 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11929 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11930 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11931 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11933 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11935 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11937 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11939 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11941 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11943 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11944 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11945 * sysdeps/unix/sysv/linux/raise.c: ... here.
11946 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11947 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11948 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11949 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11950 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11951 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11952 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11953 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11954 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11955 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11956 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11957 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11958 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11959 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11960 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11962 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11964 * sysdeps/generic/memcopy.h: Add comment for
11965 MEMCPY_OK_FOR_FWD_MEMMOVE.
11967 2014-07-04 Will Newton <will.newton@linaro.org>
11969 * string/memchr.c: Merge from gnulib.
11970 [_LIBC]: Remove conditionals.
11971 (__ptr_t): Remove define.
11972 (LONG_MAX_32_BITS): Likewise.
11973 (LONG_MAX): Likewise.
11974 (MEMCHR): Use ANSI prototype and optimize algorithm.
11976 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11978 2014-07-03 Roland McGrath <roland@hack.frob.com>
11980 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11981 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11983 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11984 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11985 in a bare environment with no <stdlib.h> installed.
11986 * sysdeps/nptl/configure: Regenerated.
11988 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11990 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11991 AC_EGREP_CPP for kernel header checks, so they only succeed if
11992 including <linux/version.h> actually works right.
11993 * sysdeps/unix/sysv/linux/configure: Regenerated.
11995 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11996 value so it's not diagnosed as unused.
11998 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11999 thing) with "ifeq ($(subdir),rt)".
12001 2014-07-03 Richard Henderson <rth@redhat.com>
12003 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12004 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12005 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12007 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12008 (math_force_eval): New.
12010 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12011 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12013 * sysdeps/alpha/fpu/s_round.c: Remove file.
12014 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12016 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12017 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12018 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12019 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12020 (_dl_start, print_statistics): Likewise.
12021 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12022 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12024 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12025 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12026 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12027 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12028 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12029 (HP_SMALL_TIMING_AVAIL): Define.
12030 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12031 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12032 (HP_SMALL_TIMING_AVAIL): Define.
12033 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12034 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12036 * sysdeps/aarch64/hp-timing.h: New file.
12038 * sysdeps/generic/hp-timing.h: Remove dead comment.
12039 * sysdeps/generic/hp-timing-common.h: New file.
12040 * sysdeps/alpha/hp-timing.h: Include it.
12041 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12042 * sysdeps/i386/i686/hp-timing.h: Likewise.
12043 * sysdeps/ia64/hp-timing.h: Likewise.
12044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12045 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12047 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12048 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12049 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12050 (hp_timing_t): New.
12052 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12053 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12054 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12055 * elf/rtld.c (_dl_start_final): Likewise.
12056 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12057 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12058 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12059 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12060 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12061 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12062 (HP_TIMING_DIFF_INIT): Remove.
12063 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12064 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12065 (HP_TIMING_DIFF_INIT): Remove.
12066 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12067 * sysdeps/i386/i686/hp-timing.c: Remove file.
12068 * sysdeps/x86_64/hp-timing.c: Remove file.
12069 * sysdeps/ia64/hp-timing.c: Remove file.
12070 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12071 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12072 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12073 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12075 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12076 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12077 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12078 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12080 (HP_TIMING_ACCUM): Remove.
12081 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12082 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12083 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12085 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12086 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12087 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12088 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12090 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12091 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12092 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12094 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12096 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
12098 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12100 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 Sync up with gettext.
12103 * intl/loadmsgcat.c: Define O_BINARY if not defined.
12104 [_MSC_VER]: Include malloc.h
12105 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12106 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12107 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
12108 TEMP_FAILURE_RETRY. Cast return of alloca.
12109 [!_LIBC] Call gl_rwlock_init.
12110 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12112 2014-07-02 Roland McGrath <roland@hack.frob.com>
12114 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12115 before checking its value.
12117 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12119 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12121 * debug/memcpy_chk.c: Don't include pagecopy.h.
12122 * debug/mempcpy_chk.c: Likewise.
12123 * string/memcpy.c: Likewise.
12124 * string/memmove.c: Likewise.
12125 * sysdeps/powerpc/memmove.c: Likewise.
12126 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
12127 definition of PAGE_COPY_FWD_MAYBE here...
12128 * sysdeps/generic/pagecopy.h: ... from here.
12129 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12131 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12132 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12134 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12138 (__libc_ifunc_impl_list): Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12140 multiarch strcat for PPC64.
12141 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12142 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12144 2014-07-02 Roland McGrath <roland@hack.frob.com>
12146 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12148 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12150 * intl/loadmsgcat.c: Remove declaration of
12151 get_sysdep_segment_value.
12152 (get_sysdep_segment_value): Use ISO C style.
12153 (_nl_load_domain): Use ISO C style. Get rid of redundant
12154 semicolon. Fix typo and formatting in comment.
12155 (_nl_unload_domain): Use ISO C style.
12157 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12159 2014-07-02 Will Newton <will.newton@linaro.org>
12161 * malloc/obstack.c: Merge from gnulib master.
12162 [HAVE_CONFIG_H]: Remove conditional code.
12163 [!_LIBC]: Include config.h.
12164 [!ELIDE_CODE]: Don't include inttypes.h, include
12165 stdint.h unconditionally.
12166 (print_and_abort): Mark as _Noreturn.
12167 (_obstack_allocated_p): Mark as __attribute_pure__.
12168 (obstack_free): Rename to __obstack_free.
12169 [!__attribute__]: Remove conditional code.
12170 * malloc/obstack.h: Merge from gnulib master.
12171 [__cplusplus]: Move conditional down.
12172 [!__attribute_pure__]: Define __attribute_pure__ here
12173 if it is not already defined.
12174 (_obstack_memory_used): Mark as __attribute_pure__.
12175 [!__obstack_free]: Define as obstack_free.
12176 [__GNUC__]: Remove check for ancient NeXT gcc.
12178 2014-07-02 Will Newton <will.newton@linaro.org>
12179 Paul Eggert <eggert@cs.ucla.edu>
12181 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12183 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12185 * resolv/gethnamaddr.c: Add comment warning that the file is
12188 2014-07-01 Carlos O'Donell <carlos@redhat.com>
12190 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12193 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12194 entry for aio_cancel and aio_cancel64.
12195 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12196 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12197 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12198 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12199 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12200 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12201 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12202 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12203 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12204 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12205 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12206 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12207 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12209 2014-07-01 Roland McGrath <roland@hack.frob.com>
12211 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12212 * nptl/pthread_mutex_lock.c: Likewise.
12213 * nptl/pthread_mutex_timedlock.c: Likewise.
12214 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12216 2014-07-01 Richard henderson <rth@redhat.com>
12218 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12219 (__isnan, __isnanl): Remove.
12220 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12222 * sysdeps/alpha/fpu/libm-test-ulps: Update.
12224 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
12226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12228 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12230 * resolv/nss_dns/dns-host.c (getanswer_r)
12231 [MULTI_PTRS_ARE_ALIASES]: Remove code.
12233 2014-07-01 Joseph Myers <joseph@codesourcery.com>
12235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12236 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12238 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12239 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12241 2014-07-01 Roland McGrath <roland@hack.frob.com>
12243 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12244 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12246 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12247 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12249 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12250 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12252 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12253 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12255 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12256 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12257 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12258 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12260 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12261 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12262 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12263 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12264 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12266 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12268 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12269 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12270 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12271 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12272 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12273 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12274 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12275 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12276 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12277 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12278 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12279 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12280 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12281 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12282 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12283 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12284 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12285 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12289 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12290 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12291 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12292 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12293 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12294 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12295 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12296 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12298 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
12300 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12301 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12302 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12305 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12309 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12311 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12312 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12314 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12316 * sysdeps/arm/libm-test-ulps: Regenerated.
12318 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12319 Roland McGrath <roland@hack.frob.com>
12321 * test-skeleton.c (signal_handler): Kill the whole process group
12322 before killing the child individually.
12323 (main): Report any failure on `setpgid'.
12325 2014-06-30 Roland McGrath <roland@hack.frob.com>
12327 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12328 from _TLS_H to _ARM_NPTL_TLS_H.
12329 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12330 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12332 2014-06-30 Joseph Myers <joseph@codesourcery.com>
12335 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12336 (__expm1l): Return argument unchanged when small but not
12339 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12340 include macro name.
12341 (_FP_UNPACK_RAW_1_P): Likewise.
12342 (_FP_PACK_RAW_1): Likewise.
12343 (_FP_PACK_RAW_1_P): Likewise.
12344 (_FP_MUL_MEAT_1_wide): Likewise.
12345 (_FP_MUL_MEAT_DW_1_hard): Likewise.
12346 (_FP_MUL_MEAT_1_hard): Likewise.
12347 (_FP_DIV_MEAT_1_imm): Likewise.
12348 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12349 (_FP_DIV_MEAT_1_udiv): Likewise.
12350 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12351 (_FP_UNPACK_RAW_2): Likewise.
12352 (_FP_UNPACK_RAW_2_P): Likewise.
12353 (_FP_PACK_RAW_2): Likewise.
12354 (_FP_PACK_RAW_2_P): Likewise.
12355 (_FP_MUL_MEAT_DW_2_wide): Likewise.
12356 (_FP_MUL_MEAT_2_wide): Likewise.
12357 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12358 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12359 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12360 (_FP_MUL_MEAT_2_gmp): Likewise.
12361 (_FP_DIV_MEAT_2_udiv): Likewise.
12362 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12363 (_FP_FRAC_SRL_4): Likewise.
12364 (_FP_FRAC_SRST_4): Likewise.
12365 (_FP_FRAC_SRS_4): Likewise.
12366 (_FP_UNPACK_RAW_4): Likewise.
12367 (_FP_UNPACK_RAW_4_P): Likewise.
12368 (_FP_PACK_RAW_4): Likewise.
12369 (_FP_PACK_RAW_4_P): Likewise.
12370 (_FP_MUL_MEAT_DW_4_wide): Likewise.
12371 (_FP_MUL_MEAT_4_wide): Likewise.
12372 (_FP_MUL_MEAT_4_gmp): Likewise.
12373 (umul_ppppmnnn): Likewise.
12374 (_FP_DIV_MEAT_4_udiv): Likewise.
12375 (__FP_FRAC_ADD_4): Likewise.
12376 (__FP_FRAC_SUB_3): Likewise.
12377 (__FP_FRAC_SUB_4): Likewise.
12378 (__FP_FRAC_DEC_3): Likewise.
12379 (__FP_FRAC_DEC_4): Likewise.
12380 (__FP_FRAC_ADDI_4): Likewise.
12381 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12382 (_FP_FRAC_SRL_8): Likewise.
12383 (_FP_FRAC_SRS_8): Likewise.
12385 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12386 include macro name.
12387 (FP_UNPACK_RAW_EP): Likewise.
12388 (FP_PACK_RAW_E): Likewise.
12389 (FP_PACK_RAW_EP): Likewise.
12390 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12391 (_FP_ISSIGNAN): Likewise.
12392 (_FP_ADD_INTERNAL): Likewise.
12393 (_FP_FMA): Likewise.
12394 (_FP_CMP): Likewise.
12395 (_FP_SQRT): Likewise.
12396 (_FP_TO_INT): Likewise.
12397 (_FP_FROM_INT): Likewise.
12398 (FP_EXTEND): Likewise.
12399 (_FP_DIV_MEAT_N_loop): Likewise.
12401 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
12403 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12406 2014-06-29 Joseph Myers <joseph@codesourcery.com>
12409 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12410 result with correct sign in case of exponents that produce
12411 overflow except for X very close to 1.
12413 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
12415 mktime: merge #if/#ifdef usage from glibc
12416 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12417 as that works with both Glibc's and Gnulib's style.
12418 See thread starting at Siddhesh Poyarekar's bug report at:
12419 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12421 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12423 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12424 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12425 * sysdeps/tile/tilegx/memmove.c: Remove file.
12427 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12429 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12430 abi-name definition.
12431 * scripts/soversions.awk: Do not handle or generate ABI lines.
12432 * shlib-versions: Remove ABI entries.
12433 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12434 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12436 2014-06-27 Roland McGrath <roland@hack.frob.com>
12438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12439 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12440 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12441 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12443 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12446 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12449 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12451 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12453 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12455 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12457 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12458 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12459 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12462 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12464 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12466 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12479 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12481 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12483 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12486 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12488 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12491 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12494 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12496 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12499 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12501 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12502 Identical file removed.
12503 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12505 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12506 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12507 Identical file removed.
12508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12509 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12512 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12514 Identical file removed.
12515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12516 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12517 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12518 Identical file removed.
12519 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12522 Identical file removed.
12523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12524 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12526 Identical file removed.
12527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12529 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12530 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12531 Identical file removed.
12532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12534 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12536 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12538 Identical file removed.
12539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12541 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12544 Identical file removed.
12545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12547 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12549 Identical file removed.
12550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12552 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12554 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12556 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12559 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12560 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12561 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12563 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12564 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12565 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12566 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12567 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12569 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
12572 * nscd/nscd.c (monitor_child): Return exit status of child
12573 instead of return value from wait syscall.
12575 2014-06-27 Joseph Myers <joseph@codesourcery.com>
12577 * configure.ac (libc_commonpagesize): Remove variable.
12578 (libc_relro_required): Likewise.
12579 (libc_cv_z_relro): Remove configure test.
12580 * configure: Regenerated.
12581 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12583 (libc_relro_required): Likewise.
12584 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12585 (libc_relro_required): Likewise.
12586 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12587 (libc_relro_required): Likewise.
12588 * sysdeps/arm/preconfigure: Regenerated.
12589 * sysdeps/ia64/preconfigure: Remove file.
12590 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12592 (libc_relro_required): Likewise.
12596 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12597 (__ieee754_yn): Set FE_TONEAREST mode internally and then
12598 recompute overflowing results in original rounding mode.
12599 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12600 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12601 recompute overflowing results in original rounding mode.
12602 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12603 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12604 recompute overflowing results in original rounding mode.
12605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12606 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12607 recompute overflowing results in original rounding mode.
12608 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12609 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12610 recompute overflowing results in original rounding mode.
12611 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12612 (libc_feholdsetround_ctx): New macro.
12613 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12614 * sysdeps/i386/fpu/libm-test-ulps: Update.
12615 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12617 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12619 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12620 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12621 corresponding .cpsetup call.
12623 2014-06-26 Roland McGrath <roland@hack.frob.com>
12625 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12626 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12627 * sysdeps/arm/Makefile [$(subdir) = csu]
12628 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12629 (static-only-routines): Add aeabi_read_tp here.
12630 (shared-only-routines): Add libc-aeabi_read_tp here.
12631 (CFLAGS-libc-start.c): Add -fexceptions here.
12632 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12633 (sysdep_routines, static-only-routines, shared-only-routines):
12634 Don't add to these here.
12635 (CFLAGS-libc-start.c): Likewise.
12637 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12638 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12639 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12640 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12641 * sysdeps/arm/Makefile [$(subdir) = rt]
12642 (librt-sysdep_routines, librt-shared-only-routines):
12643 Append rt-aeabi_unwind_cpp_pr1 here.
12644 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12645 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12646 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12647 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12648 Append nptl-aeabi_unwind_cpp_pr1 here.
12649 (tests): Filter out tst-cleanupx4 here.
12650 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12651 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12652 Don't do those here.
12654 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12656 * scripts/list-sources.sh: Do not handle ports specially.
12658 2014-06-26 Roland McGrath <roland@hack.frob.com>
12660 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12661 * sysdeps/arm/feupdateenv.c: Likewise.
12663 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12665 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12667 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12668 trailing whitespace removed.
12669 * scripts/config.guess: Update to version 2014-03-23.
12670 * scripts/config.sub: Update to version 2014-05-01
12671 * scripts/install-sh: Update to version 2013-12-25.23.
12672 * scripts/move-if-change: Update from gnulib.
12674 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12676 * debug/memmove_chk.c: Remove pagecopy.h include.
12678 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12680 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12681 identical to gnulib mktime.
12683 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12685 * configure.ac: Do not test for machine being rs6000. Do not test
12686 for powerpc*-*soft.
12687 * configure: Regenerated.
12690 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12692 * configure: Regenerated.
12693 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12694 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12695 Remove configure test.
12696 * sysdeps/arm/configure: Regenerated.
12697 * sysdeps/nptl/configure.ac: Do not check
12698 libc_cv_asm_cfi_directives.
12699 * sysdeps/nptl/configure: Regenerated.
12700 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12701 * sysdeps/x86_64/nptl/configure: Remove generated file.
12702 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12704 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12706 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12708 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12709 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12710 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12713 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12714 instead of whether it is defined.
12715 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12716 * sysdeps/hppa/dl-machine.h: Likewise.
12717 * sysdeps/ia64/dl-machine.h: Likewise.
12718 * sysdeps/m68k/dl-machine.h: Likewise.
12719 * sysdeps/microblaze/dl-machine.h: Likewise.
12720 * sysdeps/mips/dl-machine.: Likewise.
12721 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12722 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12723 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12724 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12725 * sysdeps/sh/dl-machine.h: Likewise.
12726 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12727 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12728 * sysdeps/tile/dl-machine.h: Likewise.
12729 * sysdeps/x86_64/dl-machine.h: Likewise.
12731 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12733 (verify_persistent_db): Likewise.
12735 2014-06-26 Roland McGrath <roland@hack.frob.com>
12737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12738 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12740 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12743 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12746 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12748 Identical file removed.
12749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12750 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12752 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12754 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12758 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12761 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12763 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12765 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12768 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12772 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12774 Identical file removed.
12775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12776 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12781 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12795 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12798 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12800 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12803 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12807 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12809 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12810 * sysdeps/unix/sysv/linux/s390/Versions
12811 (libpthread: GLIBC_2.19): New version set.
12812 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12813 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12814 (librt: GLIBC_2.3.3): New version set.
12815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12816 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12817 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12818 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12819 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12820 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12821 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12822 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12823 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12824 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12825 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12827 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12829 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12830 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12831 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12833 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12835 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12837 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12839 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12841 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12843 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12845 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12848 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12851 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12853 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12855 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12857 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12858 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12859 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12861 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12862 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12863 (__libc_vfork): Define the function under this name.
12864 [!NOT_IN_libc] (__vfork): Make this an alias.
12865 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12867 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12868 (__libc_vfork): Define the function under this name.
12869 [!NOT_IN_libc] (__vfork): Make this an alias.
12870 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12871 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12872 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12875 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12877 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12878 code that was previously under [RESET_PID].
12879 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12880 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12881 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12883 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12884 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12885 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12886 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12887 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12888 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12889 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12890 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12891 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12895 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12896 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12899 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12901 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12903 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12904 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12913 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12914 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12915 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12916 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12917 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12918 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12919 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12920 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12921 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12923 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12925 2014-06-25 Roland McGrath <roland@hack.frob.com>
12927 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12928 that was previously under [RESET_PID].
12929 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12931 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12933 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12934 not undefine and redefine.
12935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12936 [O_CLOEXEC]: Make code unconditional.
12937 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12938 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12939 <kernel-features.h>.
12940 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12941 conditional variable definition.
12942 (shm_open) [O_CLOEXEC]: Make code unconditional.
12943 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12946 * configure.ac (USE_REGPARMS): Don't define here.
12947 * configure: Regenerated.
12948 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12949 * sysdeps/i386/configure: Regenerated.
12951 * nptl/createthread.c: Don't include kernel-features.h.
12952 * nptl/pthread_cancel.c: Likewise.
12953 * nptl/pthread_condattr_setclock.c: Likewise.
12954 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12955 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12956 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12957 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12958 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12959 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12960 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12962 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12963 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12964 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12965 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12966 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12967 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12968 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12969 * nscd/gai.c: Likewise.
12970 * nss/nss_db/db-open.c: Likewise.
12971 * sysdeps/generic/ldsodefs.h: Likewise.
12972 * sysdeps/sh/nptl/tls.h: Likewise.
12973 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12974 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12975 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12976 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12977 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12978 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12979 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12980 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12982 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12983 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12984 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12985 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12986 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12987 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12988 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12989 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12990 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12991 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12992 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12994 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12995 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12996 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12999 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13000 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13001 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13002 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13003 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13004 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13005 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13006 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13007 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13008 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13009 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13010 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13011 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13012 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13013 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13014 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13015 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13016 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13017 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13018 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13019 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13020 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13021 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13022 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13023 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13024 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13025 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13026 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13027 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13028 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13029 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13030 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13053 * sysdeps/unix/sysv/linux/pread.c: Likewise.
13054 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13055 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13056 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13057 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13059 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13060 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13061 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13062 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13063 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13064 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13065 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13066 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13067 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13068 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13071 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13072 * sysdeps/unix/sysv/linux/system.c: Likewise.
13073 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13074 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13075 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13076 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13077 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13079 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13081 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13082 * configure: Regenerated.
13083 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13085 * configure.ac (base_machine): Do not set specially for particular
13087 * configure: Regenerated.
13088 * sysdeps/powerpc/preconfigure: Move machine and base_machine
13089 settings from configure.ac.
13090 * sysdeps/i386/preconfigure: New file.
13091 * sysdeps/s390/preconfigure: Likewise.
13092 * sysdeps/sh/preconfigure: Likewise.
13093 * sysdeps/sparc/preconfigure: Likewise.
13095 2014-06-25 Roland McGrath <roland@hack.frob.com>
13097 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13098 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13099 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13100 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13101 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13102 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13103 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13104 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13105 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13106 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13107 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13108 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13109 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13112 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13113 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13114 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13115 * sysdeps/sparc/sparc64/Makefile: ... appended here.
13117 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13118 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13119 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13120 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13121 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13122 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13123 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13124 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13125 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13126 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13127 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13128 * sysdeps/sparc/sparc32/sem_post.c: ... here.
13129 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13130 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13131 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13132 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13133 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13134 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13135 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13136 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13137 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13138 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13139 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13140 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13141 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13142 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13143 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13144 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13146 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13147 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13148 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13149 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13150 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13151 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13152 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13153 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13154 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13157 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13159 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13162 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13165 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13167 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13170 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13172 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13174 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13176 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13179 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13182 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13187 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13189 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13191 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13195 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13198 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13201 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13203 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13208 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13210 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13212 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13215 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13218 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13220 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13223 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13225 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13227 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13229 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13231 * timezone/checktab.awk: Update from tzcode 2014e.
13232 * timezone/private.h: Likewise.
13233 * timezone/tzfile.h: Likewise.
13234 * timezone/zdump.c: Likewise.
13235 * timezone/zic.c: Likewise.
13237 * sysdeps/unix/sysv/linux/kernel-features.h
13238 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13240 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13241 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13242 Remove conditional code.
13244 2014-06-25 Will Newton <will.newton@linaro.org>
13246 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13247 (_dl_arm_cap_flags): Add HWCAP2 values.
13248 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13249 (_DL_HWCAP_COUNT): Increase to 37.
13250 (_DL_HWCAP_LAST): New define.
13251 (_DL_HWCAP2_LAST): New define.
13252 (_dl_procinfo): Add support for printing
13254 (_dl_string_hwcap): Use _dl_hwcap_string.
13256 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13260 2014-06-25 Joseph Myers <joseph@codesourcery.com>
13262 * README: Do not mention ports directory.
13264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13266 * sysdeps/unix/sysv/linux/futimes.c: Do not include
13267 <kernel-features.h>.
13268 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13269 conditional variable definition.
13270 (__futimes): Update comment.
13271 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13272 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13275 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13276 arguments close to 0.
13277 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13279 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13281 * math/auto-libm-test-in: Add more tests of exp10.
13282 * math/auto-libm-test-out: Regenerated.
13283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13285 * sysdeps/unix/sysv/linux/kernel-features.h
13286 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13287 * sysdeps/unix/sysv/linux/readv.c: Do not include
13288 <kernel-features.h>.
13289 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13290 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13291 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13293 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13295 * sysdeps/unix/sysv/linux/writev.c: Do not include
13296 <kernel-features.h>.
13297 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13298 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13299 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13301 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13304 2014-06-25 Will Newton <will.newton@linaro.org>
13306 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13307 comment changes throughout the file. Remove checks
13308 for HAVE_*_H definitions that are not required.
13309 (__gen_tempname): Call abort if an unknown kind value is
13312 2014-06-25 Andreas Schwab <schwab@suse.de>
13315 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13316 scalbln, scalblnf, scalblnl in libc.
13318 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13321 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13322 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13323 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13325 2014-06-24 Roland McGrath <roland@hack.frob.com>
13327 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13328 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13329 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13330 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13332 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13333 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13335 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13336 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13337 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13338 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13339 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13340 * sysdeps/x86/bits/pthreadtypes.h: ... here.
13341 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13342 * sysdeps/x86/bits/semaphore.h: ... here.
13343 * sysdeps/x86/nptl/elide.h: Moved ...
13344 * sysdeps/x86/elide.h: ... here.
13345 * sysdeps/x86_64/nptl/Implies: File removed.
13346 * sysdeps/i386/nptl/Implies: File removed.
13348 2014-06-24 Joseph Myers <joseph@codesourcery.com>
13351 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13352 return the argument for normal arguments with exponent below -64.
13353 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13355 * math/auto-libm-test-in: Add another test of expm1.
13356 * math/auto-libm-test-out: Regenerated.
13359 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13360 calling __erfcl for arguments at least 16.
13361 * math/auto-libm-test-in: Add more tests of erf.
13362 * math/auto-libm-test-out: Regenerated.
13364 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13365 individual architectures.
13366 * sysdeps/unix/sysv/linux/configure: Regenerated.
13367 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13368 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13369 * sysdeps/unix/sysv/linux/powerpc/configure.ac
13370 (ldd_rewrite_script): Define variable.
13371 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13376 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13377 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13378 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13379 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13380 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13381 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13382 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13383 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13385 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13388 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13389 Rename member __data.d to __data.__elision_data.
13391 2014-06-24 Wilco <wdijkstr@arm.com>
13393 * NEWS: Add 16918 to fixed bug list.
13395 2014-06-24 Wilco <wdijkstr@arm.com>
13397 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13399 2014-06-24 Wilco <wdijkstr@arm.com>
13401 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13402 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13403 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13404 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13405 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13406 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13407 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13410 2014-06-24 Wilco <wdijkstr@arm.com>
13412 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13414 2014-06-24 Wilco <wdijkstr@arm.com>
13416 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13417 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13418 * sysdeps/arm/fesetround.c (fesetround): Remove space.
13419 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13421 2014-06-24 Wilco <wdijkstr@arm.com>
13424 * sysdeps/arm/feupdateenv.c (feupdateenv):
13425 Rewrite to reduce FPSCR accesses and fix return value.
13427 2014-06-24 Wilco <wdijkstr@arm.com>
13429 * sysdeps/arm/fclrexcpt.c (feclearexcept):
13430 Optimize to avoid unnecessary FPSCR writes.
13431 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13432 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13433 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13434 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13436 2014-06-24 Wilco <wdijkstr@arm.com>
13438 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13439 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13440 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13441 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13442 Call libc_fetestexcept_vfp.
13443 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13444 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13445 __SOFTFP__ ifdef so that they can be built for softfp.
13447 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13449 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13450 argument type signed char.
13452 * Makerules (check-abi): Dump diff of symlist if the test
13455 2014-06-23 Roland McGrath <roland@hack.frob.com>
13457 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13460 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13461 Remove unused variable ST.
13463 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13467 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13468 small arguments before calling __expm1.
13469 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13470 small arguments before calling __expm1f.
13471 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13472 small arguments before calling __expm1l.
13473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13475 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13476 * math/auto-libm-test-in: Add more cosh tests. Do not allow
13477 spurious underflow for some cosh tests.
13478 * math/auto-libm-test-out: Regenerated.
13479 * sysdeps/i386/fpu/libm-test-ulps: Update.
13482 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13483 (__ieee754_y1): Set errno if return value overflows.
13484 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13485 (__ieee754_y1f): Set errno if return value overflows.
13486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13487 (__ieee754_y1l): Set errno if return value overflows.
13488 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13489 (__ieee754_y1l): Set errno if return value overflows.
13490 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13491 * math/auto-libm-test-out: Regenerated.
13493 * math/gen-auto-libm-tests.c: Document use of
13494 ignore-zero-inf-sign.
13495 (input_flag_type): Add value flag_ignore_zero_inf_sign.
13496 (input_flags): Add ignore-zero-inf-sign.
13497 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13498 * math/gen-libm-test.pl (generate_testfile): Handle
13499 ignore-zero-inf-sign.
13500 * math/auto-libm-test-in: Mark some cpow tests with
13501 ignore-zero-inf-sign and some with xfail-rounding.
13502 * math/auto-libm-test-out: Regenerated.
13503 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13504 * sysdeps/i386/fpu/libm-test-ulps: Update.
13505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13508 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13509 overflowing or underflowing operations take place with sign of
13511 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13512 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13513 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13514 (__ieee754_pow): Recompute overflowing and underflowing results in
13515 original rounding mode.
13516 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13517 (__powl_helper): Allow negative argument X and scale negated value
13518 as needed. Avoid passing value outside [-1, 1] to f2xm1.
13519 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13520 overflowing or underflowing operations take place with sign of
13522 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13524 * math/auto-libm-test-in: Add more tests of pow.
13525 * math/auto-libm-test-out: Regenerated.
13526 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13527 (pow_tonearest_test_data): Remove.
13528 (pow_test_tonearest): Likewise.
13529 (pow_towardzero_test_data): Likewise.
13530 (pow_test_towardzero): Likewise.
13531 (pow_downward_test_data): Likewise.
13532 (pow_test_downward): Likewise.
13533 (pow_upward_test_data): Likewise.
13534 (pow_test_upward): Likewise.
13535 (main): Don't call removed functions.
13536 * sysdeps/i386/fpu/libm-test-ulps: Update.
13537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13539 2014-06-23 Roland McGrath <roland@hack.frob.com>
13541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13715 2014-06-23 Will Newton <will.newton@linaro.org>
13716 Wilco <wdijkstr@arm.com>
13718 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13719 implementation. Include get-rounding-mode.h.
13720 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13721 [!libc_feholdsetround_noex_ctx]: Define
13722 libc_feholdsetround_noex_ctx.
13723 [!libc_feholdsetround_noexf_ctx]: Define
13724 libc_feholdsetround_noexf_ctx.
13725 [!libc_feholdsetround_noexl_ctx]: Define
13726 libc_feholdsetround_noexl_ctx.
13727 (libc_feholdsetround_ctx): New function.
13728 (libc_feresetround_ctx): New function.
13729 (libc_feholdsetround_noex_ctx): New function.
13730 (libc_feresetround_noex_ctx): New function.
13732 2014-06-23 Roland McGrath <roland@hack.frob.com>
13734 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13735 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13736 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13737 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13738 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13739 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13741 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13742 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13743 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13744 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13745 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13746 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13747 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13748 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13749 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13750 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13751 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13753 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13755 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13756 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13757 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13758 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13759 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13761 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13763 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13764 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13765 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13767 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13770 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13773 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13775 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13778 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13780 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13781 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13782 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13783 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13784 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13785 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13786 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13787 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13789 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13791 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13802 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13803 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13805 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13807 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13808 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13809 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13812 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13816 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13818 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13819 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13820 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13821 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13822 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13823 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13824 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13825 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13826 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13827 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13828 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13829 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13830 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13831 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13832 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13833 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13834 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13835 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13836 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13837 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13838 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13839 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13840 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13841 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13842 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13843 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13844 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13845 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13847 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13849 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13850 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13851 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13852 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13853 (IPV6_PMTUDISC_INTERFACE): Likewise.
13854 (IPV6_PMTUDISC_OMIT): Likewise.
13856 2014-06-23 Andreas Schwab <schwab@suse.de>
13858 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13859 Remove unused errout label.
13861 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13863 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13864 macro: hardware supports Vector Crypto instructions.
13866 2014-06-23 Will Newton <will.newton@linaro.org>
13868 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13869 rather than __builtin_expect.
13871 * elf/dl-lookup.c (undefined_msg): Remove variable.
13872 (_dl_lookup_symbol_x): Replace undefined_msg with string
13875 * elf/dl-lookup.c (do_lookup_unique): New function.
13876 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13877 to a separate function.
13879 2014-06-23 Andreas Schwab <schwab@suse.de>
13882 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13883 before reading the next line.
13885 2014-06-23 Will Newton <will.newton@linaro.org>
13887 * test-skeleton.c (signal_handler): Use printf and %m
13888 rather than perror. Use printf rather than fprintf to
13889 stderr. Use puts rather than fputs to stderr.
13892 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13894 * nscd/nscd.c (thread_info_t): Remove typedef.
13895 (thread_info): Remove variable.
13897 2014-06-21 Allan McRae <allan@archlinux.org>
13899 * NEWS: Mention CVE-2014-4043.
13901 2014-06-20 Roland McGrath <roland@hack.frob.com>
13903 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13904 * nptl/smp.h: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13908 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13909 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13910 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13911 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13913 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13914 * nptl/stack-aliasing.h: New file.
13915 * sysdeps/i386/i686/stack-aliasing.h: New file.
13916 * sysdeps/i386/i686/nptl/Makefile: File removed.
13917 * sysdeps/x86_64/stack-aliasing.h: New file.
13918 * sysdeps/x86_64/nptl/Makefile
13919 (CFLAGS-pthread_create.c): Variable removed.
13921 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13922 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13924 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13925 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13928 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13931 (__ASSUME_SIGFRAME_V2): Remove macro.
13932 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13933 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13934 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13935 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13936 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13937 Declare as function. Remove conditional macro definitions.
13938 (__default_rt_sa_restorer): Likewise.
13939 (__default_sa_restorer_v1): Remove declaration.
13940 (__default_sa_restorer_v2): Likewise.
13941 (__default_rt_sa_restorer_v1): Likewise.
13942 (__default_rt_sa_restorer_v2): Likewise.
13943 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13944 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13945 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13947 2014-06-20 Roland McGrath <roland@hack.frob.com>
13949 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13950 (libpthread-routines): Add sysdep.
13951 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13952 * sysdeps/unix/sysv/linux/sparc/Versions
13953 (libpthread: GLIBC_2.3.3): New version set.
13954 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13955 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13956 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13958 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13959 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13961 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13962 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13963 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13964 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13965 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13966 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13967 * sysdeps/sparc/nptl/sem_init.c: ... here.
13968 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13969 * sysdeps/sparc/nptl/sem_post.c: ... here.
13970 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13971 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13972 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13973 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13974 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13975 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13976 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13977 (libpthread-routines): Add cpu_relax.
13978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13980 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13981 (librt: GLIBC_2.3.3): New version set.
13982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13983 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13984 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13985 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13988 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13991 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13993 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13994 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13995 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13997 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13999 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14002 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14010 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14014 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14025 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14029 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14031 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14033 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14036 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14038 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14040 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14042 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14044 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14045 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14046 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14047 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14048 * nscd/nscd.c: Likewise.
14049 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14050 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14051 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14052 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14054 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14055 <kernel-features.h>.
14056 (init_mq_netlink): Remove conditional have_sock_cloexec
14057 definitions. Remove code conditional on have_sock_cloexec < 0.
14058 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14059 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14060 * sysdeps/unix/sysv/linux/opensock.c: Do not include
14061 <kernel-features.h>.
14062 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14063 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14065 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14068 Add tests for memset_chk and memset.
14070 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14073 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14076 * elf/tst-dl-iter-static.c: New file.
14077 * elf/Makefile (tests-static): Add tst-dl-iter-static.
14079 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14082 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14084 * sysdeps/unix/sysv/linux/kernel-features.h
14085 (__ASSUME_F_GETOWN_EX): Remove macro.
14086 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14087 <kernel-features.h>.
14088 (miss_F_GETOWN_EX): Remove variable or macro.
14089 (do_fcntl): Do not check miss_F_GETOWN_EX.
14090 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14095 [!__ASSUME_AT_RANDOM]: Remove conditional code.
14096 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14098 * sysdeps/unix/sysv/linux/kernel-features.h
14099 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14100 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14101 [ADJ_OFFSET_SS_READ]: Make code unconditional.
14102 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14104 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
14107 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14108 Fix calculation of the symbol's value.
14109 * sysdeps/arm/tst-armtlsdescloc.c: New file.
14110 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14111 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14112 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14113 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14114 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14115 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14116 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14117 (modules-names): Add `tst-armtlsdescmod',
14118 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14119 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14120 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14121 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14122 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14123 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14124 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14125 ($(objpfx)tst-armtlsdescloc): New dependency.
14126 ($(objpfx)tst-armtlsdescextnow): Likewise.
14127 ($(objpfx)tst-armtlsdescextlazy): Likewise.
14128 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14129 TLS scheme support.
14130 * sysdeps/arm/configure: Regenerate.
14132 2014-06-20 Joseph Myers <joseph@codesourcery.com>
14134 * include/fcntl.h (__atfct_seterrno): Remove prototype.
14135 (__atfct_seterrno_2): Likewise.
14136 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14137 <kernel-features.h>.
14138 (__ASSUME_ATFCTS): Do not undefine and redefine.
14139 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14140 (__have_atfcts): Remove conditional definition.
14141 (__fxstatat([__NR_fstatat64]: Make code unconditional.
14142 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14143 unreachable if [__ASSUME_ATFCTS].
14144 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14145 not undefine and redefine.
14146 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14147 <kernel-features.h>.
14148 (faccessat) [__NR_faccessat]: Make code unconditional.
14149 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14150 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14151 <kernel-features.h>.
14152 (fchmodat) [__NR_fchmodat]: Make code unconditional.
14153 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14154 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14155 <kernel-features.h>.
14156 (fchownat) [__NR_fchownat]: Make code unconditional.
14157 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14158 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14159 <kernel-features.h>.
14160 (futimesat) [__NR_futimesat]: Make code unconditional.
14161 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14162 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14163 <kernel-features.h>.
14164 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14165 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14166 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14167 <kernel-features.h>.
14168 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14169 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14170 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14171 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14172 <kernel-features.h>.
14173 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14174 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14175 * sysdeps/unix/sysv/linux/linkat.c: Do not include
14176 <kernel-features.h>.
14177 (linkat) [__NR_linkat]: Make code unconditional.
14178 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14179 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14180 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14181 <kernel-features.h>.
14182 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14183 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14184 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14185 <kernel-features.h>.
14186 (mkdirat) [__NR_mkdirat]: Make code unconditional.
14187 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14188 * sysdeps/unix/sysv/linux/openat.c: Do not include
14189 <kernel-features.h>.
14190 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14191 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14192 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14193 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14194 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14195 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14196 <kernel-features.h>.
14197 (readlinkat) [__NR_readlinkat]: Make code unconditional.
14198 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
14199 result of INLINE_SYSCALL directly, not via int variable.
14200 * sysdeps/unix/sysv/linux/renameat.c: Do not include
14201 <kernel-features.h>.
14202 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14203 (renameat) [__NR_renameat]: Make code unconditional.
14204 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14205 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14206 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14207 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14208 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14209 (__ASSUME_ATFCTS): Do not undefine and redefine.
14210 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14211 <kernel-features.h>.
14212 (symlinkat) [__NR_symlinkat]: Make code unconditional.
14213 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14214 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14215 <kernel-features.h>.
14216 (unlinkat) [__NR_unlinkat]: Make code unconditional.
14217 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14218 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14219 (__ASSUME_ATFCTS): Do not undefine and redefine.
14220 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14221 <kernel-features.h>.
14222 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14223 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14224 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14225 <kernel-features.h>.
14226 (__xmknodat) [__NR_mknodat]: Make code unconditional.
14227 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14229 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14233 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
14236 * posix/regcomp.c (parse_reg_exp): Deallocate partially
14237 constructed tree before returning error.
14238 * posix/bug-regexp36.c: Expand test case.
14240 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
14243 * math/libm-test.inc (scalbln_test_date):
14244 Add errno expectations.
14245 * math/w_scalblnf.c: New File.
14246 Add wrapper which checks for setting errno to ERANGE.
14247 Add weak_alias for corresponding scalbln function.
14248 * math/w_scalbln.c: Likewise.
14249 * math/w_scalblnl.c: Likewise.
14250 * math/Makefile (libm-calls): Add w_scalbln.
14251 * sysdeps/ieee754/flt-32/s_scalblnf.c:
14252 Remove weak_alias for corresponding scalbln function.
14253 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14255 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14257 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14258 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14259 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14260 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14261 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14262 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14263 Remove long_double_symbol for scalblnl function in libm, libc.
14264 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14265 Add wrapper which checks for setting errno to ERANGE.
14266 Add long_double_symbol for scalblnl function in libm, libc.
14267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14268 Remove long_double_symbol for scalblnl in libm.
14269 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14270 Add wrapper which checks for setting errno to ERANGE.
14271 Add long_double_symbol for scalblnl function in libm.
14272 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14273 Do not use wrapper because of own implementation.
14275 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
14277 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14278 3 bytes for __pad1 for x32.
14279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14281 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
14282 H.J. Lu <hongjiu.lu@intel.com>
14284 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14285 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14286 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14287 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14288 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14290 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
14293 * posix/regcomp.c (parse_expression): Deallocate partially
14294 constructed tree before returning error.
14295 * posix/Makefile.c (tests): Add bug-regex36.
14296 (generated): Add bug-regex36.mtrace.
14297 (tests-special): Add $(objpfx)bug-regex36-mem.out
14298 (bug-regex36-ENV): New variable.
14299 ($(objpfx)bug-regex36-mem.out): New rule.
14300 * posix/bug-regex36.c: New file.
14302 2014-06-19 Will Newton <will.newton@linaro.org>
14304 * malloc/malloc.c (systrim): If extra is zero then return
14307 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14309 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14311 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
14313 * sysdeps/aarch64/strchr.S: New file.
14315 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14318 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14319 from arguments -2 or below.
14320 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14321 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14323 2014-06-18 Andreas Schwab <schwab@suse.de>
14326 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14327 of a bracket expr not to run off the end of the string.
14328 * posix/Makefile (tests): Add tst-fnmatch3.
14329 * posix/tst-fnmatch3.c: New file.
14331 2014-06-18 Joseph Myers <joseph@codesourcery.com>
14333 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14334 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14335 [$(cross-compiling) = no]: Likewise.
14336 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14337 [$(cross-compiling) = no]: Likewise.
14339 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14342 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14343 double, adjusted for any remainder from the high double.
14344 * math/libm-test.inc (nearbyint): Add tests.
14347 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14349 * nptl/sysdeps/powerpc/Makefile: Moved ...
14350 * sysdeps/powerpc/nptl/Makefile: ... here.
14351 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14352 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14353 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14354 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14355 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14356 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14357 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14358 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14359 * nptl/sysdeps/powerpc/tls.h: Moved ...
14360 * sysdeps/powerpc/nptl/tls.h: ... here.
14362 2014-06-16 Joseph Myers <joseph@codesourcery.com>
14365 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14366 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14367 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14368 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14369 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14370 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14371 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14372 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14373 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14375 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
14377 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14379 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
14381 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14384 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14387 2014-06-16 Florian Weimer <fweimer@redhat.com>
14390 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14391 non-executed part of the test.
14393 2014-06-16 Andreas Schwab <schwab@suse.de>
14395 * string/bits/string2.h (strdup, strndup): Update feature guard.
14397 2014-06-14 David S. Miller <davem@davemloft.net>
14399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14401 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
14403 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14404 that was previously under [RESET_PID].
14405 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14407 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14408 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14409 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14410 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14411 (__libc_vfork): New strong alias.
14412 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14414 2014-06-14 Andi Kleen <ak@linux.intel.com>
14416 * sysdeps/generic/elide.h: New file.
14418 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14420 * Makefile (installed-headers): Adjust path of pthread.h header.
14422 2014-06-13 Roland McGrath <roland@hack.frob.com>
14424 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14425 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14426 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14427 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14429 * nptl/sysdeps/s390/Makefile: Moved ...
14430 * sysdeps/s390/nptl/Makefile: ... here.
14431 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14432 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14433 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14434 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14435 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14436 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14437 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14438 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14439 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14440 * sysdeps/s390/nptl/pthreaddef.h: ... here.
14441 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14442 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14443 * nptl/sysdeps/s390/tls.h: Moved ...
14444 * sysdeps/s390/nptl/tls.h: ... here.
14446 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14447 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14449 2014-06-13 David S. Miller <davem@davemloft.net>
14451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14453 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14454 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14457 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14458 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14459 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14460 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14461 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14462 Remove RESET_PID cpp guards.
14463 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14464 Remove RESET_PID cpp guards.
14465 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14467 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
14469 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14472 2014-06-13 Andi Kleen <ak@linux.intel.com>
14474 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14477 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14478 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14484 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14488 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14491 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14493 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14495 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14496 (pthread_rwlock_rdlock): Add elision.
14497 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14498 (pthread_rwlock_wrlock): Add elision.
14499 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14500 (pthread_rwlock_trywrlock): Add elision.
14501 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14502 (pthread_rwlock_tryrdlock): Add elision.
14503 * nptl/pthread_rwlock_unlock.c: Include elide.h.
14504 (pthread_rwlock_tryrdlock): Add elision unlock.
14505 * nptl/sysdeps/pthread/pthread.h:
14506 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14507 (PTHREAD_RWLOCK_INITIALIZER,
14508 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14509 Handle new elision field.
14510 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14511 * sysdeps/arm/nptl/bits/pthreadtypes.h
14512 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14513 * sysdeps/sh/nptl/bits/pthreadtypes.h
14514 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14515 * sysdeps/tile/nptl/bits/pthreadtypes.h
14516 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14517 * sysdeps/a/nptl/bits/pthreadtypes.h
14518 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14519 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14521 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14522 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14523 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14524 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14525 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14527 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14529 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14531 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14533 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14535 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14536 (elision_init): Set try_xbegin to zero when no RTM.
14537 * sysdeps/x86/nptl/bits/pthreadtypes.h
14538 (pthread_rwlock_t): Change __pad1 to __rwelision.
14539 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14541 2014-06-13 Andi Kleen <ak@linux.intel.com>
14543 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14544 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14545 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14546 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14548 2014-06-13 Meador Inge <meadori@codesourcery.com>
14551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14552 that the cached result has been set before returning it.
14554 2014-06-12 Roland McGrath <roland@hack.frob.com>
14556 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14557 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14558 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14559 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14560 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14561 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14563 * nptl/sysdeps/sparc/Makefile: Moved ...
14564 * sysdeps/sparc/nptl/Makefile: ... here.
14565 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14566 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14567 * nptl/sysdeps/sparc/tls.h: Moved ...
14568 * sysdeps/sparc/nptl/tls.h: ... here.
14569 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14570 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14571 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14572 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14573 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14574 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14575 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14576 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14577 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14578 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14579 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14580 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14581 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14582 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14583 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14584 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14585 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14586 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14588 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14591 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14594 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14595 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14598 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14600 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14601 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14603 * sysdeps/pthread/posix-timer.h: Include <list.h>.
14604 (struct list_links): Type removed.
14605 (struct thread_node, struct timer_node): Replace struct list_links
14606 with struct list_head.
14607 (list_unlink_ip): Likewise.
14608 * sysdeps/pthread/timer_routines.c
14609 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14610 (list_append, list_insbefore): Likewise.
14611 (list_init): Function removed.
14612 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14613 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14614 * sysdeps/pthread/Makefile: ... here, new file.
14616 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14617 * sysdeps/nptl/Implies: ... here.
14618 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14619 * nptl/sysdeps/pthread/list.h: Moved ...
14620 * include/list.h: ... here.
14621 * nptl/sysdeps/pthread/createthread.c: Moved ...
14622 * nptl/createthread.c: ... here.
14623 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14624 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14625 * nptl/pt-longjmp.c: ... here.
14626 * nptl/sysdeps/pthread/Makefile: Moved ...
14627 * sysdeps/nptl/Makefile: ... here.
14628 * nptl/sysdeps/pthread/Subdirs: Moved ...
14629 * sysdeps/nptl/Subdirs: ... here.
14630 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14631 * sysdeps/nptl/aio_misc.h: ... here.
14632 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14633 * sysdeps/nptl/bits/libc-lock.h: ... here.
14634 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14635 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14636 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14637 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14638 * nptl/sysdeps/pthread/configure: Moved ...
14639 * sysdeps/nptl/configure: ... here.
14640 * nptl/sysdeps/pthread/configure.ac: Moved ...
14641 * sysdeps/nptl/configure.ac: ... here.
14642 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14643 * sysdeps/nptl/gai_misc.h: ... here.
14644 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14645 * sysdeps/nptl/librt-cancellation.c: ... here.
14646 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14647 * sysdeps/nptl/malloc-machine.h: ... here.
14648 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14649 * sysdeps/nptl/pthread-functions.h: ... here.
14650 * nptl/sysdeps/pthread/pthread.h: Moved ...
14651 * sysdeps/nptl/pthread.h: ... here.
14652 * nptl/sysdeps/pthread/setxid.h: Moved ...
14653 * sysdeps/nptl/setxid.h: ... here.
14654 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14655 * sysdeps/nptl/sigfillset.c: ... here.
14656 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14657 * sysdeps/nptl/tcb-offsets.h: ... here.
14658 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14659 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14660 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14661 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14662 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14663 * sysdeps/pthread/allocalim.h: ... here.
14664 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14665 * sysdeps/pthread/bits/sigthread.h: ... here.
14666 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14667 * sysdeps/pthread/flockfile.c: ... here.
14668 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14669 * sysdeps/pthread/ftrylockfile.c: ... here.
14670 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14671 * sysdeps/pthread/funlockfile.c: ... here.
14672 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14673 * sysdeps/pthread/posix-timer.h: ... here.
14674 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14675 * sysdeps/pthread/timer_create.c: ... here.
14676 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14677 * sysdeps/pthread/timer_delete.c: ... here.
14678 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14679 * sysdeps/pthread/timer_getoverr.c: ... here.
14680 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14681 * sysdeps/pthread/timer_gettime.c: ... here.
14682 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14683 * sysdeps/pthread/timer_routines.c: ... here.
14684 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14685 * sysdeps/pthread/timer_settime.c: ... here.
14686 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14687 * sysdeps/pthread/tst-timer.c: ... here.
14688 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14689 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14691 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14692 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14694 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14695 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14696 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14697 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14698 Update #include target.
14699 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14700 * sysdeps/i386/i686/nptl/Makefile: ... here.
14701 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14702 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14703 Update #include target.
14704 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14705 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14706 * nptl/sysdeps/i386/Makefile: Moved ...
14707 * sysdeps/i386/nptl/Makefile: ... here.
14708 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14709 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14710 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14711 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14712 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14713 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14714 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14715 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14716 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14717 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14718 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14719 * nptl/sysdeps/i386/tls.h: Moved ...
14720 * sysdeps/i386/nptl/tls.h: ... here.
14722 * sysdeps/sh/Makefile [$(subdir) = csu]
14723 (gen-as-const-headers): Add tcb-offsets.sym.
14724 * nptl/sysdeps/sh/Makefile: File removed.
14725 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14726 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14727 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14728 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14729 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14730 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14731 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14732 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14733 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14734 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14735 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14736 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14737 * nptl/sysdeps/sh/tls.h: Moved ...
14738 * sysdeps/sh/nptl/tls.h: ... here.
14739 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14740 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14741 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14742 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14743 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14744 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14745 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14746 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14747 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14748 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14749 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14750 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14751 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14752 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14753 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14754 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14755 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14756 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14757 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14758 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14759 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14760 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14761 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14762 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14768 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14770 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14772 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14773 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14774 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14775 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14776 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14777 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14778 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14779 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14780 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14781 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14782 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14783 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14784 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14785 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14786 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14788 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14790 * posix/spawn_faction_addopen.c: Include string.h.
14792 2014-06-11 Roland McGrath <roland@hack.frob.com>
14794 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14795 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14796 * nptl/sysdeps/x86_64/Makefile: Moved ...
14797 * sysdeps/x86_64/nptl/Makefile: ... here.
14798 * nptl/sysdeps/x86_64/configure: Moved ...
14799 * sysdeps/x86_64/nptl/configure: ... here.
14800 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14801 * sysdeps/x86_64/nptl/configure.ac: ... here.
14802 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14803 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14804 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14805 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14806 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14807 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14808 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14809 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14810 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14811 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14812 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14813 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14814 * nptl/sysdeps/x86_64/tls.h: Moved ...
14815 * sysdeps/x86_64/nptl/tls.h: ... here.
14816 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14817 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14818 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14819 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14821 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14823 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14827 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14829 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14831 [POSIX] (off_t): Likewise.
14832 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14833 [POSIX] (S_ISBLK): Require macro.
14834 [POSIX] (S_ISCHR): Likewise.
14835 [POSIX] (S_ISDIR): Likewise.
14836 [POSIX] (S_ISFIFO): Likewise.
14837 [POSIX] (S_ISREG): Likewise.
14838 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14840 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14842 [POSIX] (time_t): Likewise.
14843 [POSIX] (timer_t): Likewise.
14845 2014-06-11 Florian Weimer <fweimer@redhat.com>
14848 * posix/spawn_int.h (struct __spawn_action): Make the path string
14849 non-const to support deallocation.
14850 * posix/spawn_faction_addopen.c
14851 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14852 * posix/spawn_faction_destroy.c
14853 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14854 path in all spawn_do_open actions.
14855 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14856 posix_spawn_file_actions_addopen.
14858 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14860 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14861 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14862 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14863 conditional code always true.
14864 (__libc_vfork): New alias.
14866 2014-06-11 Roland McGrath <roland@hack.frob.com>
14868 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14869 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14871 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14873 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14874 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14876 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14877 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14879 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14880 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14882 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14884 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14885 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14886 multiarch strcmp for PPC64.
14887 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14888 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14890 multiarch optimizations.
14891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14892 (__libc_ifunc_impl_list): Likewise.
14894 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14896 * benchtests/scripts/validate_benchout.py: New script.
14897 * benchtests/Makefile (bench-func): Call it.
14898 * benchtests/scripts/benchout.schema.json: New file.
14900 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14902 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14903 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14904 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14905 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14906 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14907 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14908 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14909 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14910 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14911 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14912 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14913 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14914 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14915 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14916 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14917 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15021 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15022 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15023 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15024 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15025 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15027 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15029 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15030 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15031 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15032 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15033 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15034 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15036 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15038 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15040 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15041 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15043 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15046 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15048 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15051 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15053 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15054 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15055 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15056 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15057 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15059 2014-06-10 Wilco <wdijkstr@arm.com>
15061 * math/test-fenv-return.c: New file.
15062 * math/Makefile: Add new test test-fenv-return.
15064 2014-06-10 Joseph Myers <joseph@codesourcery.com>
15067 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15068 when x - 1 is zero.
15069 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15070 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15071 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15072 0.0L for an argument of 1.0L.
15073 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15075 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15076 value when x - 1 is zero.
15077 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15078 * sysdeps/i386/fpu/libm-test-ulps: Update.
15079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15081 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
15084 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15086 2014-06-09 Roland McGrath <roland@hack.frob.com>
15088 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15089 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15091 2014-06-09 Roland McGrath <roland@hack.frob.com>
15093 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15094 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15096 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15097 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15099 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15100 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15102 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15103 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15105 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15106 if not already defined.
15107 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15108 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15109 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15110 (TLS_INIT_TP): Use it.
15111 (TLS_DEFINE_INIT_TP): New macro.
15112 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15114 2014-06-09 Joseph Myers <joseph@codesourcery.com>
15116 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15118 [POSIX] (IXANY): Likewise.
15119 [POSIX] (OLCUC): Likewise.
15120 [POSIX || POSIX2008] (CBAUD): Do not allow.
15121 [POSIX || POSIX2008] (DEFECHO): Likewise.
15122 [POSIX || POSIX2008] (ECHOCTL): Likewise.
15123 [POSIX || POSIX2008] (ECHOKE): Likewise.
15124 [POSIX || POSIX2008] (ECHOPRT): Likewise.
15125 [POSIX || POSIX2008] (EXTA): Likewise.
15126 [POSIX || POSIX2008] (EXTB): Likewise.
15127 [POSIX || POSIX2008] (FLUSHO): Likewise.
15128 [POSIX || POSIX2008] (LOBLK): Likewise.
15129 [POSIX || POSIX2008] (PENDIN): Likewise.
15130 [POSIX || POSIX2008] (SWTCH): Likewise.
15131 [POSIX || POSIX2008] (VDISCARD): Likewise.
15132 [POSIX || POSIX2008] (VDSUSP): Likewise.
15133 [POSIX || POSIX2008] (VLNEXT): Likewise.
15134 [POSIX || POSIX2008] (VREPRINT): Likewise.
15135 [POSIX || POSIX2008] (VSTATUS): Likewise.
15136 [POSIX || POSIX2008] (VWERASE): Likewise.
15137 (B*): Change to B[0123456789]*.
15138 * conform/data/time.h-data [POSIX || UNIX98]
15139 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15140 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15141 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15142 [POSIX] (tm_*): Do not allow.
15144 2014-06-07 Joseph Myers <joseph@codesourcery.com>
15146 * Makefile (install): Don't set LANGUAGE.
15147 * Makefile.in (install): Likewise.
15148 * assert/Makefile (test-assert-ENV): Remove variable.
15149 (test-assert-perr-ENV): Likewise.
15150 * elf/Makefile (neededtest4-ENV): Likewise.
15151 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15152 [$(cross-compiling) = no]: Don't set LANGUAGE.
15153 * io/ftwtest-sh (LANG): Remove variable.
15154 * libio/Makefile (tst-widetext-ENV): Likewise.
15155 * manual/install.texi (Running make install): Don't refer to
15156 environment settings for make install.
15157 * INSTALL: Regenerated.
15158 * nptl/tst-tls6.sh: Don't set LANG.
15159 * posix/globtest.sh (LANG): Remove variable.
15160 * string/Makefile (tester-ENV): Likewise.
15161 (inl-tester-ENV): Likewise.
15162 (noinl-tester-ENV): Likewise.
15163 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15164 [$(cross-compiling) = no]: Don't set LANGUAGE.
15165 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15166 without explicit environment settings.
15168 2014-06-06 Roland McGrath <roland@hack.frob.com>
15170 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15171 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15172 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15173 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15175 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
15177 * crypt/crypt-private.h [DOS]: Add some includes taken from the
15178 other files in the crypt directory.
15179 * crypt/crypt.c: Remove duplicate includes.
15180 * crypt/crypt-entry.c: Likewise.
15181 * crypt/crypt_util.c: Likewise.
15183 2014-06-06 Joseph Myers <joseph@codesourcery.com>
15185 * Makeconfig (run-program-env): New variable.
15186 (run-program-prefix-before-env): Likewise.
15187 (run-program-prefix-after-env): Likewise.
15188 (run-program-prefix): Define in terms of new variables.
15189 (built-program-cmd-before-env): New variable.
15190 (built-program-cmd-after-env): Likewise.
15191 (built-program-cmd): Define in terms of new variables.
15192 (test-program-prefix-before-env): New variable.
15193 (test-program-prefix-after-env): Likewise.
15194 (test-program-prefix): Define in terms of new variables.
15195 (test-program-cmd-before-env): New variable.
15196 (test-program-cmd-after-env): Likewise.
15197 (test-program-cmd): Define in terms of new variables.
15198 * Rules (make-test-out): Use $(run-program-env).
15199 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15200 (help): Do not mention environment variables. Mention
15201 --timeoutfactor option.
15202 (timeoutfactor): New variable.
15203 (blacklist_exports): Remove function.
15204 (exports): Remove variable.
15205 (command): Do not include ${exports}.
15206 * manual/install.texi (Configuring and compiling): Do not mention
15207 test wrappers preserving environment variables. Mention that last
15208 assignment to a variable must take precedence.
15209 * INSTALL: Regenerated.
15210 * benchtests/Makefile (run-bench): Use $(run-program-env).
15211 * catgets/Makefile ($(objpfx)test1.cat): Use
15212 $(built-program-cmd-before-env), $(run-program-env) and
15213 $(built-program-cmd-after-env).
15214 ($(objpfx)test2.cat): Do not specify environment variables
15216 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15217 $(run-program-env) and $(built-program-cmd-after-env).
15218 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15219 $(run-program-env) and $(test-program-cmd-after-env).
15220 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15222 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15223 run_program_env and test_program_cmd_after_env arguments.
15224 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15225 * elf/tst-pathopt.sh: Use run_program_env argument.
15226 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15227 $(test-wrapper-env) and $(run-program-env).
15228 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15229 run_program_env arguments.
15230 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15231 * intl/Makefile ($(objpfx)tst-gettext.out): Use
15232 $(test-program-prefix-before-env), $(run-program-env) and
15233 $(test-program-prefix-after-env).
15234 ($(objpfx)tst-gettext2.out): Likewise.
15235 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15236 run_program_env and test_program_prefix_after_env arguments.
15237 * intl/tst-gettext2.sh: Likewise.
15238 * intl/tst-gettext4.sh: Do not set environment variables
15240 * intl/tst-gettext6.sh: Likewise.
15241 * intl/tst-translit.sh: Likewise.
15242 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15243 $(test-program-prefix-before-env), $(run-program-env) and
15244 $(test-program-prefix-after-env).
15245 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15246 run_program_env and test_program_prefix_after_env arguments.
15247 * math/Makefile (run-regen-ulps): Use $(run-program-env).
15248 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15249 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
15250 explicitly with each use of ${test_wrapper_env}.
15251 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15252 $(test-program-prefix-before-env), $(run-program-env) and
15253 $(test-program-prefix-after-env).
15254 * posix/tst-getconf.sh: Do not set environment variables
15256 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15257 run_program_env and test_program_prefix_after_env arguments.
15258 * stdio-common/tst-printf.sh: Do not set environment variables
15260 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15261 $(test-program-prefix-before-env), $(run-program-env) and
15262 $(test-program-prefix-after-env).
15263 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15264 run_program_env and test_program_prefix_after_env arguments.
15265 Split $test calls into $test_pre and $test.
15266 * timezone/Makefile (build-testdata): Use
15267 $(built-program-cmd-before-env), $(run-program-env) and
15268 $(built-program-cmd-after-env).
15270 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15272 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15273 strlen for non SHARED builds.
15275 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15277 * nptl/allocatestack.c (check_list): Inlined function...
15278 (__reclaim_stacks): ... here.
15280 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15283 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15286 2014-06-05 Joseph Myers <joseph@codesourcery.com>
15288 * Rules (make-test-out): Include
15289 LOCPATH=$(common-objpfx)localedata in default environment.
15290 * debug/Makefile (tst-chk1-ENV): Remove variable.
15291 (tst-chk2-ENV): Likewise.
15292 (tst-chk3-ENV): Likewise.
15293 (tst-chk4-ENV): Likewise.
15294 (tst-chk5-ENV): Likewise.
15295 (tst-chk6-ENV): Likewise.
15296 (tst-lfschk1-ENV): Likewise.
15297 (tst-lfschk2-ENV): Likewise.
15298 (tst-lfschk3-ENV): Likewise.
15299 (tst-lfschk4-ENV): Likewise.
15300 (tst-lfschk5-ENV): Likewise.
15301 (tst-lfschk6-ENV): Likewise.
15302 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15303 (tst-iconv7-ENV): Likewise.
15304 * intl/Makefile (LOCPATH-ENV): Likewise.
15305 (tst-codeset-ENV): Likewise.
15306 (tst-gettext3-ENV): Likewise.
15307 (tst-gettext5-ENV): Likewise.
15308 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15309 (tst-fopenloc-ENV): Likewise.
15310 (tst-fgetws-ENV): Remove variable.
15311 (tst-ungetwc1-ENV): Likewise.
15312 (tst-ungetwc2-ENV): Likewise.
15313 (bug-ungetwc2-ENV): Likewise.
15314 (tst-swscanf-ENV): Likewise.
15315 (bug-ftell-ENV): Likewise.
15316 (tst-fgetwc-ENV): Likewise.
15317 (tst-fseek-ENV): Likewise.
15318 (tst-ftell-partial-wide-ENV): Likewise.
15319 (tst-ftell-active-handler-ENV): Likewise.
15320 (tst-ftell-append-ENV): Likewise.
15321 * posix/Makefile (tst-fnmatch-ENV): Likewise.
15322 (tst-regexloc-ENV): Likewise.
15323 (bug-regex1-ENV): Likewise.
15324 (tst-regex-ENV): Likewise.
15325 (tst-regex2-ENV): Likewise.
15326 (bug-regex5-ENV): Likewise.
15327 (bug-regex6-ENV): Likewise.
15328 (bug-regex17-ENV): Likewise.
15329 (bug-regex18-ENV): Likewise.
15330 (bug-regex19-ENV): Likewise.
15331 (bug-regex20-ENV): Likewise.
15332 (bug-regex22-ENV): Likewise.
15333 (bug-regex23-ENV): Likewise.
15334 (bug-regex25-ENV): Likewise.
15335 (bug-regex26-ENV): Likewise.
15336 (bug-regex30-ENV): Likewise.
15337 (bug-regex32-ENV): Likewise.
15338 (bug-regex33-ENV): Likewise.
15339 (bug-regex34-ENV): Likewise.
15340 (bug-regex35-ENV): Likewise.
15341 (tst-rxspencer-ENV): Likewise.
15342 (tst-rxspencer-no-utf8-ENV): Likewise.
15343 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15344 (tst-sscanf-ENV): Likewise.
15345 (tst-swprintf-ENV): Likewise.
15346 (tst-swscanf-ENV): Likewise.
15347 (test-vfprintf-ENV): Likewise.
15348 (scanf13-ENV): Likewise.
15349 (bug14-ENV): Likewise.
15350 (tst-grouping-ENV): Likewise.
15351 * stdlib/Makefile (tst-strtod-ENV): Likewise.
15352 (tst-strtod3-ENV): Likewise.
15353 (tst-strtod4-ENV): Likewise.
15354 (tst-strtod5-ENV): Likewise.
15355 (testmb2-ENV): Likewise./
15356 * string/Makefile (tst-strxfrm-ENV): Likewise.
15357 (tst-strxfrm2-ENV): Likewise.
15358 (bug-strcoll1-ENV): Likewise.
15359 (test-strcasecmp-ENV): Likewise.
15360 (test-strncasecmp-ENV): Likewise.
15361 * time/Makefile (tst-strptime-ENV): Likewise.
15362 (tst-ftime_l-ENV): Likewise.
15363 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15364 (tst-mbrtowc-ENV): Likewise.
15365 (tst-wcrtomb-ENV): Likewise.
15366 (tst-mbrtowc2-ENV): Likewise.
15367 (tst-c16c32-1-ENV): Likewise.
15368 (tst-mbsnrtowcs-ENV): Likewise.
15370 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
15372 * manual/resource.texi (How to get information about the memory
15373 subsystem?): Fix typo.
15374 Reported by Peon de la Parra Ivan <peon@keba.com>
15376 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
15379 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15380 (pthread_spin_lock): Branch out of spin loop to proper location.
15381 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15382 (pthread_spin_lock): Likewise.
15384 * nptl/tst-spin4.c: New test.
15385 * nptl/Makefile (tests): Add tst-spin4.
15387 2014-06-03 Andreas Schwab <schwab@suse.de>
15390 * resolv/res_send.c (send_dg): Reload file descriptor after
15393 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
15395 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15397 2014-06-03 Richard Henderson <rth@redhat.com>
15399 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15400 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15401 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15402 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
15403 in the SAVE_PID block.
15404 (__libc_vfork): New alias.
15405 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15407 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15408 child in registers, not on the stack. Remove RESET_PID conditionals.
15409 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15411 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
15413 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15415 2014-06-03 Wilco <wdijkstr@arm.com>
15417 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15418 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15419 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15420 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15421 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15424 2014-06-03 Wilco <wdijkstr@arm.com>
15426 * sysdeps/aarch64/fpu/math_private.h
15427 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15428 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15429 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15430 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15433 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15435 * crypt/crypt-private.h: Include ufc-crypt.h.
15436 (__b64_from_24bit): Declare extern.
15437 * crypt/crypt_util.c(__b64_from_24bit): New function.
15438 (b64t): New static const variable.
15439 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15440 (b64t): Remove variable.
15441 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15442 * crypt/sha256-crypt.c: Include crypt-private.h.
15443 (b64t): Remove variable.
15444 (__sha256_crypt_r): Remove b64_from_24bit and replace
15445 with __b64_from_24bit.
15446 * crypt/sha512-crypt.c: Likewise.
15448 2014-06-02 Roland McGrath <roland@hack.frob.com>
15450 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15451 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15452 Label the code __libc_vfork rather than __vfork.
15453 [!NOT_IN_libc] (vfork): Define as weak alias.
15454 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15455 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15456 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15458 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15460 * malloc/malloc.c (malloc_info): Fix format specifier for
15463 2014-06-02 Wilco <wdijkstr@arm.com>
15465 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15468 2014-06-02 Wilco <wdijkstr@arm.com>
15471 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15472 Rewrite to reduce FPCR/FPSR accesses.
15474 2014-06-01 David S. Miller <davem@davemloft.net>
15476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15478 2014-05-31 David S. Miller <davem@davemloft.net>
15480 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15481 to occur in round to nearest mode when |x| >= 2.0
15483 2014-05-30 Richard Henderson <rth@twiddle.net>
15485 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15486 (PSEUDO_RET_NOERRNO): Remove.
15487 (ret): Don't redefine.
15488 (ret_NOERRNO): Define in terms of ret.
15489 (ret_ERRVAL): Likewise.
15491 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15492 use of PSEUDO_RET; perform the error check directly.
15494 2014-05-30 Marko Myllynen <myllynen@redhat.com>
15496 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15499 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15501 * malloc/malloc (malloc_info): Fix formatting.
15503 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15504 Roland McGrath <roland@hack.frob.com>
15506 * malloc/malloc (malloc_info): Also print mmapped statistics.
15508 2014-05-30 Roland McGrath <roland@hack.frob.com>
15510 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15511 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15513 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
15515 * malloc/malloc.c (malloc_info): Inline mi_arena.
15517 2014-05-29 Richard Henderson <rth@twiddle.net>
15519 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15520 Remove comma before expanding ASM_ARGS_##nr.
15521 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15522 Make _x0 a strict output; make _x8 a strict input; adjust expansion
15524 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15525 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15526 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15527 (ASM_ARGS_1): Add leading comma.
15529 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15530 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15531 to __errno_location.
15532 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15533 Remove the expected plt for __errno_location.
15535 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15536 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15539 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15540 Always allocate 64 bytes of stack frame. Use ldp/stp to create
15541 it and break it down.
15542 (DOCARGS_0, DOCARGS_1): Do nothing.
15543 (DOCARGS_2): Update to store into the new stack frame.
15544 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15545 (UNDOCARGS_1): Update to restore from the new stack frame.
15546 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15547 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15550 (SINGLE_THREAD_P): New parameter for result regno.
15551 (PSEUDO): Update to match; use cbz instead of beq.
15553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15554 Use ENTRY to define the _nocancel entry point. Share the syscall
15555 and syscall error check paths with the cancel path.
15558 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15559 whitespace; tabs before and after asm mnemonics.
15561 2014-05-29 Eric Wong <normalperson@yhbt.net>
15564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15565 Call fstat64 or stat64 internally, depending on arguments passed.
15566 Replace stat buffer argument with file descriptor argument.
15567 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15568 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15569 Pass fd to __internal_statvfs instead of calling fstat64.
15570 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15571 Pass fd to __internal_statvfs64 instead of calling fstat64.
15572 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15573 Pass -1 to __internal_statvfs instead of calling stat64.
15574 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15575 Pass -1 to __internal_statvfs64 instead of calling stat64.
15577 2014-05-28 Roland McGrath <roland@hack.frob.com>
15579 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15580 that was previously under [RESET_PID].
15581 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15583 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15584 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15586 2014-05-27 Roland McGrath <roland@hack.frob.com>
15588 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15590 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15591 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15593 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
15595 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15597 2014-05-27 Andreas Schwab <schwab@suse.de>
15599 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15601 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15602 * elf/rtld.c (init_tls, dl_main): Likewise.
15603 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15604 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15605 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15606 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15607 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15608 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15609 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15610 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15611 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15612 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15613 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15614 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15615 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15616 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15617 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15618 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15619 * sysdeps/generic/tls.h: Update description.
15621 2014-05-27 Will Newton <will.newton@linaro.org>
15624 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15625 and restore r2 rather than just restoring.
15627 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15630 * libio/tst-ftell-append.c: New test case.
15631 * libio/Makefile (tests): Add test case.
15632 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15634 * libio/wfileops.c (do_ftell_wide): Likewise.
15636 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15640 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15644 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15645 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15646 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15647 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15648 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15649 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15656 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15657 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15658 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15659 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15662 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15663 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15665 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15667 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15669 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15671 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15673 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15674 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15675 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15676 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15699 conditional [RESET_PID].
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15703 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15708 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15709 (__libc_vfork): New strong alias.
15710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15717 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15718 (__libc_vfork): New strong alias.
15719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15724 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15726 * malloc/malloc.c (mi_arena): New function.
15727 (malloc_info): Remove nested function mi_arena. Call non-nosted
15730 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15732 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15734 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15735 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15736 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15737 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15738 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15739 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15740 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15742 2014-05-26 Andreas Schwab <schwab@suse.de>
15745 * locale/programs/repertoire.c (repertoire_read): Add slash
15746 between I18NPATH element and file name.
15747 * locale/programs/locfile.c (locfile_read): Likewise.
15749 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15751 * nptl/pthread_mutexattr_settype.c
15752 (__pthread_mutexattr_settype):
15753 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15755 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15757 * nptl/tst-mutex5 (do_test):
15758 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15760 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15762 * benchtests/README: Document 'init' directive.
15763 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15765 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15766 (parse_file): Recognize 'init' directive.
15768 2014-05-26 Kyle McMartin <kyle@redhat.com>
15771 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15772 alignment of struct pthread.
15774 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15777 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15778 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15779 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15780 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15782 2014-05-25 Richard Henderson <rth@twiddle.net>
15784 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15785 (SINGLE_THREAD_P_PIC): Remove.
15786 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15787 (SINGLE_THREAD_P_PIC): Remove.
15789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15790 branch to syscall error ...
15791 (PSEUDO): ... here.
15792 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15793 from __local_syscall_error to .Lsyscall_error.
15794 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15795 (SYSCALL_ERROR): Update label name.
15797 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15798 Do not use DOARGS/UNDOARGS.
15799 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15800 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15801 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15802 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15803 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15808 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15809 define if !NOT_IN_libc.
15810 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15811 define with non-default symbol versions.
15813 2014-05-23 Richard Henderson <rth@twiddle.net>
15815 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15816 (vfork, __vfork): Define via compat_symbol.
15818 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15819 [!HAVE_IFUNC] (vfork_compat): Remove.
15820 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15822 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15825 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15826 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15829 2014-05-23 Richard Henderson <rth@twiddle.net>
15831 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15832 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15833 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15834 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15836 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15837 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15838 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15839 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15840 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15841 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15842 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15843 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15844 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15845 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15846 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15847 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15848 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15849 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15851 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15852 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15853 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15854 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15855 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15856 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15857 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15858 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15859 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15860 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15863 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15864 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15867 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15868 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15869 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15870 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15871 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15872 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15873 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15874 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15875 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15876 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15877 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15878 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15879 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15880 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15881 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15882 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15883 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15884 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15885 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15886 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15887 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15888 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15889 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15890 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15891 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15893 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15894 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15895 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15896 before exiting on error.
15897 (__libc_vfork): New strong alias.
15898 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15899 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15901 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15902 that was previously under [RESET_PID].
15903 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15905 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15907 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15910 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15911 value when x - 1 is zero.
15912 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15913 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15914 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15915 0.0L for an argument of 1.0L.
15916 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15918 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15919 value when x - 1 is zero.
15920 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15921 * sysdeps/i386/fpu/libm-test-ulps: Update.
15922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15924 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15926 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15927 alphasort and versionsort.
15929 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15931 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15933 [copysignf]: Likewise.
15935 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15937 * crypt/md5-crypt.c: Fix formatting.
15939 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15941 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15942 (b64_from_24bit): New function.
15944 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15946 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15947 libc_hidden_builtin_def to ifunc.
15948 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15949 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15951 2014-05-21 Roland McGrath <roland@hack.frob.com>
15953 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15954 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15956 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15958 * nscd/Depend (linuxthreads): Remove.
15960 * resolv/Depend (linuxthreads): Remove.
15961 * rt/Depend (linuxthreads): Remove.
15963 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15964 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15965 $(common-objpfx)elf/.
15966 (link-libc-before-gnulib): Likewise.
15967 (elfobjdir): Remove variable.
15968 * Makefile (install): Use $(elf-objpfx) instead of
15969 $(common-objpfx)elf/.
15970 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15972 (link-libc-deps): Likewise.
15973 ($(common-objpfx)libc.so): Likewise.
15974 ($(common-objpfx)linkobj/libc.so): Likewise.
15975 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15976 instead of $(common-objpfx)elf/.
15977 (symbolic-link-list): Likewise.
15978 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15979 [$(cross-compiling) = no]: Likewise.
15980 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15982 (static-gnulib-arch): Likewise.
15983 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15984 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15985 $(common-objpfx)elf/.
15987 2014-05-21 Richard Henderson <rth@redhat.com>
15989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15990 (SINGLE_THREAD_P): Use the correct width load. Fold
15991 into the ldr offset.
15993 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15994 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15996 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15998 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15999 (libgcc_s_resume): Use __attribute_used__.
16000 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16003 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16005 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16006 optimization when used with float constants.
16008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16010 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
16013 * locale/nl_langinfo_l.c: Make direct reference to every
16014 _nl_current_CATEGORY symbol.
16015 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16016 (tests-static): Add tst-langinfo-static.
16017 (tests-special): Add tst-langinfo-static.out.
16018 ($(objpfx)tst-langinfo.out): Redirect output.
16019 ($(objpfx)tst-langinfo-static.out): New.
16020 * localedata/tst-langinfo.sh: Send output to stdout.
16021 * localedata/tst-langinfo-static.c: New file.
16024 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16025 when the shift amount is modulo the limb size.
16027 2014-05-20 Richard Henderson <rth@redhat.com>
16030 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16031 Change type of sa_flags from unsigned int to int.
16034 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16036 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16038 2014-05-20 Will Newton <will.newton@linaro.org>
16040 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16041 Test the return value of the system call in the nocancel case.
16043 2014-05-20 Will Newton <will.newton@linaro.org>
16044 Yvan Roux <yvan.roux@linaro.org>
16046 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16047 #include of asm/ptrace.h.
16048 (PTRACE_GET_THREAD_AREA): Remove #undef.
16049 (PTRACE_GETHBPREGS): Likewise.
16050 (PTRACE_SETHBPREGS): Likewise.
16051 (struct user_regs_struct): New structure.
16052 (struct user_fpsimd_struct): New structure.
16053 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16054 #include of asm/ptrace.h and second #include of sys/user.h.
16055 (PTRACE_GET_THREAD_AREA): Remove #undef.
16056 (PTRACE_GETHBPREGS): Likewise.
16057 (PTRACE_SETHBPREGS): Likewise.
16058 (ELF_NGREG): Use new struct user_regs_struct.
16059 (elf_fpregset_t): Use new struct user_fpsimd_struct.
16061 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16066 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
16069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16070 membar to avoid block loads/stores to overlap previous stores.
16072 2014-05-17 Richard Henderson <rth@redhat.com>
16074 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16075 Create the __##syscall_name##_nocancel entry point.
16076 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16077 Remove; let the sysdep-cancel.h code create it.
16079 2014-05-17 David S. Miller <davem@davemloft.net>
16081 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16082 Protect with __USE_GNU.
16083 (TIOCSET_TEMPT): Likewise.
16084 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16085 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16086 these are already provided in bits/ioctl-types.h
16088 2014-05-16 Roland McGrath <roland@hack.frob.com>
16090 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16091 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16093 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16094 Use wait4 regardless of [__NR_waitpid].
16096 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16099 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16100 (_FP_NANSIGN_Q): Set the quiet bit.
16102 2014-05-16 Joseph Myers <joseph@codesourcery.com>
16104 * benchtests/Makefile
16105 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16106 not $(common-objpfx)math/libm.so.
16107 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16108 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16109 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16110 $(common-objpfx)dlfcn/libdl.so.
16111 ($(objpfx)tst-audit8): Depend on $(libm), not
16112 $(common-objpfx)math/libm.so.
16113 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16114 not $(common-objpfx)dlfcn/libdl.so.
16116 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16117 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
16118 [$(build-shared) = yes].
16119 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16120 $(common-objpfx)nptl/libpthread.so.
16121 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16122 $(common-objpfx)math/libm.so$(libm.so-version) or
16123 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16124 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16125 $(common-objpfx)dlfcn/libdl.so.
16126 * setjmp/Makefile (link-libm): Remove variable.
16127 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16128 * stdio-common/Makefile (link-libm): Remove variable.
16129 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16130 * stdlib/Makefile (link-libm): Remove variable.
16131 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16132 ($(objpfx)tst-strtod-round): Likewise.
16133 ($(objpfx)tst-tininess): Likewise.
16134 ($(objpfx)tst-strtod-underflow): Likewise.
16135 ($(objpfx)tst-strtod6): Likewise.
16136 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16137 $(libdl), not $(common-objpfx)nptl/libpthread.so and
16138 $(common-objpfx)dlfcn/libdl.so.
16140 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16142 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16143 BSD terminal modes definitions.
16145 2014-05-16 Roland McGrath <roland@hack.frob.com>
16147 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16148 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16150 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16151 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16152 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16153 Don't do #include_next.
16154 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16155 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16156 Don't do #include_next.
16157 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16158 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16159 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16160 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16162 2014-05-16 Allan McRae <allan@archlinux.org>
16164 * po/sv.po: Update Swedish translation from translation project.
16166 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16169 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
16172 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16173 errno if the TIOCGPTN ioctl fails with an error different than
16175 * login/tst-ptsname.c: New file.
16176 * login/Makefile (tests): Add tst-ptsname.
16179 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16182 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16186 herrno to return EAI_AGAIN.
16188 2014-05-14 Roland McGrath <roland@hack.frob.com>
16190 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16191 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16192 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16193 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16194 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16195 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16196 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16197 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16199 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16200 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16201 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16202 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16203 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16204 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16205 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16206 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16207 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16208 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16209 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16210 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16211 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16212 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16213 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16214 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16215 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16216 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16217 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16218 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16219 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16221 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16226 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16228 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16232 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16234 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16236 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16238 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16240 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16242 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16244 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16246 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16248 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16250 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16252 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16255 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16257 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16259 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16261 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16263 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16267 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16269 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16271 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16273 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16276 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16278 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16280 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16281 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16282 (libpthread-sysdep_routines): Add elision-related stuff here instead.
16283 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16284 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16285 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16286 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16287 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16288 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16289 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16290 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16291 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16292 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16293 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16294 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16295 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16296 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16297 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16298 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16299 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16300 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16301 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16302 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16303 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16304 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16305 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16306 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16307 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16308 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16309 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16310 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16312 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16313 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16315 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16316 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16317 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16318 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16319 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16320 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16322 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16325 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16328 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16329 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16331 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16333 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16336 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16337 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16338 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16339 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16340 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16341 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16342 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16345 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16350 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16351 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16352 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16353 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16361 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16362 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16363 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16364 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16365 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16367 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16370 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16373 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16374 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16376 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16378 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16381 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16382 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16383 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16384 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16385 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16387 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16390 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16393 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16395 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16396 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16397 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16398 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16401 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16407 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16409 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16413 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16416 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16419 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16422 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16423 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16425 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16426 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16427 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16428 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16429 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16430 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16432 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16433 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16434 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16435 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16436 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16437 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16438 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16439 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16441 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16446 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16447 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16448 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16449 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16450 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16452 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16454 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16457 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16458 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16459 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16460 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16461 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16462 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16463 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16464 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16465 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16466 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16468 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16469 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16471 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16472 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16474 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16475 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16476 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16477 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16478 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16479 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16480 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16481 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16482 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16483 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16484 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16485 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16486 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16487 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16488 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16489 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16490 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16491 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16493 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16495 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16496 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16498 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16500 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16501 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16502 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16512 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16514 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16516 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16517 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16518 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16519 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16520 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16521 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16522 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16523 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16524 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16525 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16526 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16528 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16529 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16530 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16531 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16532 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16534 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16535 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16536 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16537 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16538 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16539 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16540 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16541 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16542 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16543 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16548 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16549 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16550 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16551 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16552 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16553 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16554 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16555 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16556 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16557 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16558 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16559 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16560 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16561 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16591 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
16596 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
16598 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16599 that was previously under [RESET_PID].
16600 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16601 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16602 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16604 * sysdeps/i386/nptl/Implies: New file.
16605 * sysdeps/x86_64/nptl/Implies: New file.
16606 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16607 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16608 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16609 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16611 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16613 (__libc_vfork): New strong alias.
16614 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16615 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16617 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16618 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16619 (__libc_vfork): New strong alias.
16620 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16621 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16623 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16624 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16625 (__libc_vfork): New strong alias.
16626 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16627 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16628 * nptl/pt-vfork.c: New file.
16629 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16630 (libpthread: GLIBC_2.20): New version set (empty).
16632 2014-05-14 Will Newton <will.newton@linaro.org>
16634 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16637 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16640 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16641 arguments with exponent 65 or above.
16642 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16643 arguments 0x1p113L or above.
16644 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16645 to arguments 0x1p107L or above.
16646 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16647 positive arguments with exponent 65 or above.
16648 * math/auto-libm-test-in: Add more tests of log1p.
16649 * math/auto-libm-test-out: Regenerated.
16652 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16653 non-finite arguments is +0.
16654 * math/s_cacosf.c (__cacosf): Likewise.
16655 * math/s_cacosl.c (__cacosl): Likewise.
16656 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16657 * sysdeps/i386/fpu/libm-test-ulps: Update.
16658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16661 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16663 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16664 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16665 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16666 for explicit high bit of mantissa when testing for argument equal
16668 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16669 * sysdeps/i386/fpu/libm-test-ulps: Update.
16670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16673 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16674 (__erf): Scale by 16 instead of 8 in potentially underflowing
16675 case. Ensure exception if result actually underflows.
16676 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16677 (__erff): Scale by 16 instead of 8 in potentially underflowing
16678 case. Ensure exception if result actually underflows.
16679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16680 (efx8): Remove variable.
16681 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16682 case. Ensure exception if result actually underflows.
16683 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16684 (efx8): Remove variable.
16685 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16686 case. Ensure exception if result actually underflows.
16687 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16688 (efx8): Remove variable.
16689 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16690 case. Ensure exception if result actually underflows.
16691 * math/auto-libm-test-in: Add more tests of erf.
16692 * math/auto-libm-test-out: Regenerated.
16694 2014-05-14 Andreas Schwab <schwab@suse.de>
16696 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16697 Remove code conditionalized on USE___THREAD.
16699 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16700 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16703 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16706 Define unconditionally.
16707 (__ASSUME_O_CLOEXEC): Likewise.
16708 (__ASSUME_SOCK_CLOEXEC): Likewise.
16709 (__ASSUME_IN_NONBLOCK): Likewise.
16710 (__ASSUME_PIPE2): Likewise.
16711 (__ASSUME_EVENTFD2): Likewise.
16712 (__ASSUME_SIGNALFD4): Likewise.
16713 (__ASSUME_DUP3): Likewise.
16714 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16715 (__ASSUME_DUP3): Do not define.
16716 (__ASSUME_EVENTFD2): Likewise.
16717 (__ASSUME_IN_NONBLOCK): Likewise.
16718 (__ASSUME_O_CLOEXEC): Likewise.
16719 (__ASSUME_PIPE2): Likewise.
16720 (__ASSUME_SIGNALFD4): Likewise.
16721 (__ASSUME_SOCK_CLOEXEC): Likewise.
16722 (__ASSUME_UTIMES): Undefine.
16723 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16724 (__ASSUME_UTIMES): Do not define.
16725 (__ASSUME_O_CLOEXEC): Likewise.
16726 (__ASSUME_SOCK_CLOEXEC): Likewise.
16727 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16728 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16730 (__ASSUME_PIPE2): Likewise.
16731 (__ASSUME_EVENTFD2): Likewise.
16732 (__ASSUME_SIGNALFD4): Likewise.
16733 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16734 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16736 (__ASSUME_EVENTFD2): Likewise.
16737 (__ASSUME_SIGNALFD4): Likewise.
16738 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16739 (__ASSUME_32BITUIDS): Likewise.
16740 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16741 (__ASSUME_IPC64): Likewise.
16742 (__ASSUME_ST_INO_64_BIT): Likewise.
16743 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16744 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16745 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16746 (__ASSUME_UTIMES): Do not define.
16747 (__ASSUME_PSELECT): Likewise.
16748 (__ASSUME_PPOLL): Likewise.
16749 (__ASSUME_O_CLOEXEC): Likewise.
16750 (__ASSUME_SOCK_CLOEXEC): Likewise.
16751 (__ASSUME_IN_NONBLOCK): Likewise.
16752 (__ASSUME_PIPE2): Likewise.
16753 (__ASSUME_EVENTFD2): Likewise.
16754 (__ASSUME_SIGNALFD4): Likewise.
16755 (__ASSUME_DUP3): Likewise.
16756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16757 (__ASSUME_UTIMES): Likewise.
16758 (__ASSUME_O_CLOEXEC): Likewise.
16759 (__ASSUME_SOCK_CLOEXEC): Likewise.
16760 (__ASSUME_IN_NONBLOCK): Likewise.
16761 (__ASSUME_PIPE2): Likewise.
16762 (__ASSUME_EVENTFD2): Likewise.
16763 (__ASSUME_SIGNALFD4): Likewise.
16764 (__ASSUME_DUP3): Likewise.
16765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16766 (__ASSUME_UTIMES): Likewise.
16767 (__ASSUME_O_CLOEXEC): Likewise.
16768 (__ASSUME_SOCK_CLOEXEC): Likewise.
16769 (__ASSUME_IN_NONBLOCK): Likewise.
16770 (__ASSUME_PIPE2): Likewise.
16771 (__ASSUME_EVENTFD2): Likewise.
16772 (__ASSUME_SIGNALFD4): Likewise.
16773 (__ASSUME_DUP3): Likewise.
16774 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16776 (__ASSUME_UTIMES): Likewise.
16777 (__ASSUME_EVENTFD2): Likewise.
16778 (__ASSUME_SIGNALFD4): Likewise.
16779 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16780 (__ASSUME_O_CLOEXEC): Likewise.
16781 (__ASSUME_SOCK_CLOEXEC): Likewise.
16782 (__ASSUME_IN_NONBLOCK): Likewise.
16783 (__ASSUME_PIPE2): Likewise.
16784 (__ASSUME_EVENTFD2): Likewise.
16785 (__ASSUME_SIGNALFD4): Likewise.
16786 (__ASSUME_DUP3): Likewise.
16787 (__ASSUME_UTIMES): Undefine.
16789 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16790 feclearexcept. Remove symbol versioning code.
16791 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16792 symbol versioning code.
16793 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16794 symbol versioning code.
16795 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16796 feupdateenv. Remove symbol versioning code.
16797 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16798 fegetexceptflag. Remove symbol versioning code.
16799 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16800 fesetexceptflag. Remove symbol versioning code.
16801 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16802 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16803 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16804 (__posix_fadvise64_l32): Remove prototype.
16805 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16808 2014-05-13 Roland McGrath <roland@hack.frob.com>
16810 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16811 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16812 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16813 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16815 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16817 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16818 current working directory
16820 2014-05-13 Roland McGrath <roland@hack.frob.com>
16822 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16823 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16824 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16825 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16826 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16827 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16828 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16829 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16830 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16831 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16832 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16833 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16834 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16835 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16836 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16837 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16838 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16839 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16840 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16841 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16842 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16843 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16844 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16845 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16846 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16847 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16848 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16849 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16850 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16851 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16852 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16853 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16854 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16855 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16856 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16857 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16858 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16859 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16860 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16861 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16862 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16863 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16865 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16866 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16868 * sysdeps/unix/sysv/linux/arm/Makefile
16869 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16870 Add rt-aeabi_unwind_cpp_pr1.
16871 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16872 Add nptl-aeabi_unwind_cpp_pr1.
16873 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16874 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16875 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16876 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16877 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16878 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16880 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16881 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16882 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16883 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16885 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16886 Deconditionalize the code that was previously under [RESET_PID].
16887 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16889 * sysdeps/generic/exit-thread.h: New file.
16890 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16891 * include/unistd.h (__exit_thread): Remove declaration.
16892 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16893 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16894 * csu/libc-start.c: Include <exit-thread.h>.
16895 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16896 * nptl/pthread_create.c: Include <exit-thread.h>.
16897 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16898 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16899 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16900 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16901 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16902 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16903 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16904 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16905 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16906 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16907 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16908 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16909 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16910 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16911 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16912 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16913 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16915 2014-05-13 Andreas Schwab <schwab@suse.de>
16917 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16919 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16921 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16922 (__ASSUME_UTIMES): Do not condition on kernel version.
16923 (__ASSUME_PSELECT): Define unconditionally.
16924 (__ASSUME_PPOLL): Likewise.
16925 (__ASSUME_ATFCTS): Likewise.
16926 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16927 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16928 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16929 (__ASSUME_UTIMENSAT): Define unconditionally.
16930 (__ASSUME_PRIVATE_FUTEX): Likewise.
16931 (__ASSUME_FALLOCATE): Likewise.
16932 (__ASSUME_O_CLOEXEC): Likewise.
16933 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16934 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16935 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16936 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16937 (__ASSUME_IN_NONBLOCK): Likewise.
16938 (__ASSUME_PIPE2): Likewise.
16939 (__ASSUME_EVENTFD2): Likewise.
16940 (__ASSUME_SIGNALFD4): Likewise.
16941 (__ASSUME_DUP3): Likewise.
16942 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16943 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16944 (__ASSUME_AT_RANDOM): Likewise.
16945 (__ASSUME_PREADV): Likewise.
16946 (__ASSUME_PWRITEV): Likewise.
16947 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16948 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16949 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16950 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16951 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16952 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16953 (__ASSUME_O_CLOEXEC): Define unconditionally.
16954 (__ASSUME_PSELECT): Do not undefine conditionally.
16955 (__ASSUME_PPOLL): Likewise.
16956 (__ASSUME_ATFCTS): Likewise.
16957 (__ASSUME_SET_ROBUST_LIST): Likewise.
16958 (__ASSUME_UTIMENSAT): Likewise.
16959 (__ASSUME_FDATASYNC): Define unconditionally.
16960 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16961 (__ASSUME_SIGFRAME_V2): Likewise.
16962 )__ASSUME_EVENTFD2): Likewise.
16963 (__ASSUME_SIGNALFD4): Likewise.
16964 (__ASSUME_PSELECT): Do not undefine conditionally.
16965 (__ASSUME_PPOLL): Likewise.
16966 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16967 (__ASSUME_PSELECT): Define unconditionally.
16968 (__ASSUME_PPOLL): Likewise.
16969 (__ASSUME_O_CLOEXEC): Likewise.
16970 (__ASSUME_SOCK_CLOEXEC): Likewise.
16971 (__ASSUME_IN_NONBLOCK): Likewise.
16972 (__ASSUME_PIPE2): Likewise.
16973 (__ASSUME_EVENTFD2): Likewise.
16974 (__ASSUME_SIGNALFD4): Likewise.
16975 (__ASSUME_DUP3): Likewise.
16976 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16977 (__ASSUME_O_CLOEXEC): Likewise.
16978 (__ASSUME_SOCK_CLOEXEC): Likewise.
16979 (__ASSUME_IN_NONBLOCK): Likewise.
16980 (__ASSUME_PIPE2): Likewise.
16981 (__ASSUME_EVENTFD2): Likewise.
16982 (__ASSUME_SIGNALFD4): Likewise.
16983 (__ASSUME_DUP3): Likewise.
16984 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16985 (__ASSUME_EVENTFD2): Likewise.
16986 (__ASSUME_SIGNALFD4): Likewise.
16987 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16989 2014-05-12 Andreas Schwab <schwab@suse.de>
16992 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16993 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16994 than maximum RPC packet size.
16995 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16996 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16997 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16998 (_nss_nis_getservbyport_r): Likewise.
17000 2014-05-12 Will Newton <will.newton@linaro.org>
17002 * malloc/Makefile (tests): Add tst-mallopt.
17003 * malloc/tst-mallopt.c: New file.
17005 2014-05-09 Roland McGrath <roland@hack.frob.com>
17007 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17008 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17010 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17013 (tst-tlsmod6.so): Likewise.
17015 2014-05-09 Roland McGrath <roland@hack.frob.com>
17017 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17019 2014-05-09 Joseph Myers <joseph@codesourcery.com>
17022 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17023 and <dl-procinfo.h>.
17024 (__fegetenv): Save SSE state in envp->__eip if supported.
17025 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17026 envp->__eip if supported.
17027 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17028 and <dl-procinfo.h>.
17029 (__fesetenv): Always set __eip, __cs_selector, __opcode,
17030 __data_offset and __data_selector in environment to 0. Set SSE
17031 state if supported.
17032 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17034 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17036 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17038 2014-05-09 Will Newton <will.newton@linaro.org>
17040 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17041 and libc_relro_required for ARM.
17042 * sysdeps/arm/preconfigure: Regenerate.
17044 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
17045 Stefan Liebler <stli@linux.vnet.ibm.com>
17047 * config.make.in (enable-lock-elision): New Makefile variable.
17048 * configure.ac: Likewise.
17049 * configure: Regenerate.
17050 * sysdeps/s390/configure.ac:
17051 Add check for gcc transactions support.
17052 * sysdeps/s390/configure: Regenerate.
17053 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17054 Build elision files if enabled.
17055 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17056 Add lock elision support for s390.
17057 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17058 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17059 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17060 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17061 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17062 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17063 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17065 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17067 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17069 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17071 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17072 (__lll_timedlock_elision, __lll_lock_elision)
17073 (__lll_unlock_elision, __lll_trylock_elision)
17074 (lll_timedlock_elision, lll_lock_elision)
17075 (lll_unlock_elision, lll_trylock_elision): Add.
17076 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17077 (pthread_mutex_t): Add lock elision support for s390.
17079 2014-05-14 Wilco <wdijkstr@arm.com>
17081 * sysdeps/arm/fclrexcpt.c: Cleanup.
17082 * sysdeps/arm/fedisblxcpt.c: Cleanup.
17083 * sysdeps/arm/feenablxcpt.c: Cleanup.
17084 * sysdeps/arm/fegetenv.c: Cleanup.
17085 * sysdeps/arm/fegetexcept.c: Cleanup.
17086 * sysdeps/arm/fegetround.c: Cleanup.
17087 * sysdeps/arm/feholdexcpt.c: Cleanup.
17088 * sysdeps/arm/fesetenv.c: Cleanup.
17089 * sysdeps/arm/fesetround.c: Cleanup.
17090 * sysdeps/arm/feupdateenv.c: Cleanup.
17091 * sysdeps/arm/fgetexcptflg.c: Cleanup.
17092 * sysdeps/arm/fraiseexcpt.c: Cleanup.
17093 * sysdeps/arm/fsetexcptflg.c: Cleanup.
17094 * sysdeps/arm/ftestexcept.c: Cleanup.
17095 * sysdeps/arm/get-rounding-mode.h: Cleanup.
17096 * sysdeps/arm/setfpucw.c: Cleanup.
17098 2014-05-09 Will Newton <will.newton@linaro.org>
17100 * sysdeps/arm/armv7/strcmp.S: New file.
17101 * NEWS: Mention addition of ARMv7 optimized strcmp.
17103 2014-05-08 Roland McGrath <roland@hack.frob.com>
17105 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17106 look for %.ac rather than %.in.
17108 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17109 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17110 * sysdeps/mach/hurd/configure: Regenerated.
17111 * sysdeps/unix/sysv/linux/configure: Regenerated.
17113 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17115 2014-05-07 Steve Ellcey <sellcey@mips.com>
17118 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17122 2014-05-07 Andreas Schwab <schwab@suse.de>
17124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17125 when skipping over non-matching result from nscd.
17127 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
17130 * nptl/sockperf.c (client): Check socket return value.
17133 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17134 nscd security class.
17136 2014-05-06 Roland McGrath <roland@hack.frob.com>
17138 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17139 * sysdeps/arm/unwind.h: ... here.
17141 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
17144 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17147 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17149 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17150 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17151 multiarch strncpy for PPC64.
17152 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17153 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17155 multiarch optimizations.
17156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17157 (__libc_ifunc_impl_list): Likewise.
17158 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17159 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17160 multiarch stpncpy for PPC64.
17161 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17162 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17164 2014-05-06 Andreas Schwab <schwab@suse.de>
17167 * gmon/mcount.c (_MCOUNT_DECL): Use
17168 atomic_compare_and_exchange_bool_acq instead of
17169 catomic_compare_and_exchange_bool_acq.
17171 2014-05-05 Roland McGrath <roland@hack.frob.com>
17173 * elf/Makefile (others, install-bin): Remove pldd.
17174 (pldd-modules): Variable removed.
17175 ($(objpfx)pldd): Target removed.
17176 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17177 (others, install-bin): Append pldd here.
17178 ($(objpfx)pldd): New target.
17180 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17181 to 0, so the first #if test emitted later doesn't see it undefined.
17182 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17183 * sysdeps/gnu/errlist.c: Regenerated.
17185 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17187 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17188 [libc_hidden_builtin_def]: Define to empty value.
17189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17190 [libc_hidden_builtin_def]: Likewise.
17191 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17192 [libc_hidden_builtin_def]: Likewise.
17193 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17194 [libc_hidden_builtin_def]: Likewise.
17195 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17196 __redirect_memcpy and define ifunc as default hidden symbol.
17197 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17198 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17200 2014-05-04 Adam Conrad <adconrad@0c3.net>
17202 * locale/iso-4217.def: Reintroduce XDR currency.
17204 2014-05-04 Allan McRae <allan@archlinux.org>
17206 * po/eo.po: Update Esperanto translation from translation project.
17208 2014-05-02 Carlos O'Donell <carlos@redhat.com>
17210 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17211 and FEATURE_INDEX_MAX to 1.
17212 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17214 2014-05-01 Steve Ellcey <sellcey@mips.com>
17216 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17217 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17218 * iconvdata/big5.c (ONE_DIRECTION): Define.
17219 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17220 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17221 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17222 * iconvdata/cp932.c (ONE_DIRECTION): Define.
17223 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17224 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17225 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17226 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17227 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17228 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17229 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17230 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17231 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17232 * iconvdata/gbk.c (ONE_DIRECTION): Define.
17233 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17234 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17235 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17236 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17237 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17238 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17239 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17240 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17241 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17242 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17243 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17244 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17245 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17246 * iconvdata/iso646.c (ONE_DIRECTION): Define.
17247 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17248 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17249 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17250 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17251 * iconvdata/johab.c (ONE_DIRECTION): Define.
17252 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17253 * iconvdata/sjis.c (ONE_DIRECTION): Define.
17254 * iconvdata/t.61.c (ONE_DIRECTION): Define.
17255 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17256 * iconvdata/tscii.c (ONE_DIRECTION): Define.
17257 * iconvdata/uhc.c (ONE_DIRECTION): Define.
17258 * iconvdata/unicode.c (ONE_DIRECTION): Define.
17259 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17260 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17261 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17263 2014-05-01 Roland McGrath <roland@hack.frob.com>
17265 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17266 (_IO_JUMPS_OFFSET): Define to 0.
17268 * nptl/sysdeps/pthread/bits/libc-lock.h
17269 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17270 (__libc_lock_define_initialized_recursive): Always define using
17271 initializer. Modern compilers treat uninitialized (implicit zero) and
17272 explicit zero initializers the same (i.e. put the datum in bss).
17274 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17276 * nscd/nscd-client.h: Include <string.h>.
17278 2014-05-01 David S. Miller <davem@davemloft.net>
17281 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17282 multiple zero bytes exist at the end of a string.
17283 Reported by Aurelien Jarno <aurelien@aurel32.net>
17285 * string/test-strcmp.c (check): Add explicit test for situations where
17286 there are multiple zero bytes after the first.
17288 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
17291 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17292 when compiling wprintf.
17293 * stdio-common/tstdiomisc.c (t3): New function.
17296 2014-05-01 Steve Ellcey <sellcey@mips.com>
17298 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17299 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17300 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17301 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17303 2014-05-01 Steve Ellcey <sellcey@mips.com>
17305 * stdlib/longlong.h: Updated from GCC.
17307 2014-05-01 Will Newton <will.newton@linaro.org>
17308 Bernard Ogden <bernie.ogden@linaro.org>
17310 * NEWS: Update fixed bug list.
17313 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17315 2014-04-30 David S. Miller <davem@davemloft.net>
17317 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17318 (libc_feholdexcept_setround_sparc_ctx): New function.
17319 (libc_fesetenv_sparc_ctx): Likewise.
17320 (libc_feupdateenv_sparc_ctx): Likewise.
17321 (libc_feholdsetround_sparc_ctx): Likewise.
17322 (libc_feholdexcept_setround_ctx): Define.
17323 (libc_feholdexcept_setroundf_ctx): Likewise.
17324 (libc_feholdexcept_setroundl_ctx): Likewise.
17325 (libc_fesetenv_ctx): Likewise.
17326 (libc_fesetenvf_ctx): Likewise.
17327 (libc_fesetenvl_ctx): Likewise.
17328 (libc_feupdateenv_ctx): Likewise.
17329 (libc_feupdateenvf_ctx): Likewise.
17330 (libc_feupdateenvl_ctx): Likewise.
17331 (libc_feresetround_ctx): Likewise.
17332 (libc_feresetroundf_ctx): Likewise.
17333 (libc_feresetroundl_ctx): Likewise.
17334 (libc_feholdsetround_ctx): Likewise.
17335 (libc_feholdsetroundf_ctx): Likewise.
17336 (libc_feholdsetroundl_ctx): Likewise.
17338 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17339 with __USE_GNU instead of XOPEN cpp guards.
17341 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17344 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17345 with XOPEN cpp guards.
17347 2014-04-30 Julian Brown <julian@codesourcery.com>
17350 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17353 2014-04-30 Joseph Myers <joseph@codesourcery.com>
17356 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17358 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17359 * sysdeps/unix/sysv/linux/configure: Regenerated.
17360 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17361 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17362 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17363 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17364 * README: Update reference to required Linux kernel version.
17365 * manual/install.texi (Linux): Update reference to required Linux
17366 kernel headers version.
17367 * INSTALL: Regenerated.
17369 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17371 [POSIX] (limits.h): Likewise.
17372 [POSIX] (math.h): Likewise.
17373 [POSIX] (sys/wait.h): Likewise.
17374 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17376 [POSIX] (stddef.h): Do not allow header inclusion.
17378 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17380 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17382 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
17384 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17385 Return immediately after lll_futex_wake.
17387 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17390 * nscd/nscd-client.h (datahead_init_common): Initialize entire
17392 (datahead_init_pos): Call datahead_init_common early.
17393 (datahead_init_neg): Likewise.
17395 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17396 datahead_init_neg): New functions.
17397 * nscd/aicache.c (addhstaiX): Use them.
17398 * nscd/grpcache.c (cache_addgr): Likewise.
17399 * nscd/hstcache.c (cache_addhst): Likewise.
17400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17401 * nscd/netgroupcache.c (do_notfound): Likewise.
17402 (addgetnetgrentX): Likewise.
17403 (addinnetgrX): Likewise.
17404 * nscd/pwdcache.c (cache_addpw): Likewise.
17405 * nscd/servicescache.c (cache_addserv): Likewise.
17407 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17408 Atsushi Onoe <atsushi@onoe.org>
17413 * resolv/res_query.c (__libc_res_nsearch): Return if at least
17414 one response is valid.
17415 * resolv/res_send.c (send_dg): Check for validity of other
17416 response if the current response is a referral.
17418 2014-04-29 Steve Ellcey <sellcey@mips.com>
17420 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17422 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
17425 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17426 Always divide by positive zero when computing -Inf result.
17427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17428 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17430 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17432 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17433 FPSCR if value do not change.
17434 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17435 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17436 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17437 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17438 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17439 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17442 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
17444 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17445 * sysdeps/unix/sysv/linux/hppa: Move directory from
17446 ports/systeps/unix/sysv/linux/hppa.
17447 * README: Update listing for hppa-*-linux-gnu.
17449 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
17452 * manual/stdio.texi (Hook functions): Fix types of stream hook
17455 * socket/sys/socket.h: Fix typo in comment.
17457 2014-04-28 Wilco <wdijkstr@arm.com>
17459 * sysdeps/arm/fenv_private.h: New file.
17460 * sysdeps/arm/math_private.h: New file.
17461 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17463 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
17465 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17467 (La_x86_64_retval): Likewise.
17469 2014-04-24 Ian Bolton <ian.bolton@arm.com>
17471 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17472 fpsr if value didn't change.
17473 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17474 to fpcr if value didn't change.
17475 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17476 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17477 fpsr or fpcr if value didn't change.
17478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17479 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17480 fpcr if value didn't change.
17481 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17482 to fpsr if value didn't change.
17484 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17486 * nptl/tst-sem3.c: Use test-skeleton.c
17487 (main): Rename to do_test. Use return instead of
17489 * nptl/tst-sem4.c: Use test-skeleton.c
17490 (main): Rename to do_test.
17492 2014-04-22 David S. Miller <davem@davemloft.net>
17494 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17495 (struct sigaction): New struct member __glibc_reserved0, change
17496 type of sa_flags to int.
17498 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
17500 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17501 (COUNT_LEADING_ZEROS_0): Define for AArch64.
17503 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17505 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17506 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17508 2014-04-22 Will Newton <will.newton@linaro.org>
17509 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
17511 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17512 (__longjmp): Add longjmp and longjmp_target SystemTap
17514 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17515 (__sigsetjmp): Add setjmp SystemTap probe.
17517 2014-04-17 Carlos O'Donell <carlos@redhat.com>
17519 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17520 match manual order.
17522 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17524 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17526 * sysdeps/powerpc/fpu/fenv_private.h
17527 (libc_feholdexcept_setroundl_ctx): Define to
17528 libc_feholdexcept_setround_ppc_ctx.
17529 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17530 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17531 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17532 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17534 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17536 * sysdeps/aarch64/math-tests.h: New file.
17538 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
17540 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17543 Check and set bit_AVX2_Usable.
17544 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17546 (bit_AVX2): Likewise.
17547 (index_AVX2_Usable): Likewise.
17548 (CPUID_AVX2): Likewise.
17549 (HAS_AVX2): Likewise.
17551 2014-04-17 Will Newton <will.newton@linaro.org>
17553 * manual/setjmp.texi (System V contexts): Add note that
17554 calling setcontext on a context created by a call to a
17555 signal handler is undefined. Update text to note that
17556 setcontext from a signal handler is possible but not
17560 * stdlib/tst-setcontext.c: Include signal.h.
17561 (main): Check that the signal stack before and
17562 after swapcontext is the same.
17564 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17565 Re-implement to restore registers in user code and avoid
17566 rt_sigreturn system call.
17568 2014-04-17 Wilco <wdijkstr@arm.com>
17570 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17571 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17572 * math/test-fenv.c: Skip exception trap tests on targets which only
17573 support non-stop mode.
17575 2014-04-17 Ian Bolton <ian.bolton@arm.com>
17576 Wilco Dijkstra <wilco.dijkstra@arm.com>
17578 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17579 (libc_feholdsetround_aarch64_ctx)
17580 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17581 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17582 (libc_feresetround_ctx, libc_feresetroundf_ctx)
17583 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17584 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17585 (libc_feresetround_noexl_ctx): Define.
17587 2014-04-16 Richard Henderson <rth@redhat.com>
17589 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17591 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17594 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17595 const from the non-libc, non-ldso copy.
17597 * sysdeps/alpha/libm-test-ulps: Regenerate.
17599 2014-04-16 Ian Bolton <ian.bolton@arm.com>
17600 Wilco Dijkstra <wilco.dijkstra@arm.com>
17602 * sysdeps/aarch64/fpu/math_private.h: New file.
17604 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
17606 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17608 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
17611 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17612 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17614 Intel MPX bound registers before _dl_profile_fixup.
17615 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17616 registers after _dl_profile_fixup. Save and restore bound
17617 registers bnd0/bnd1 when calling _dl_call_pltexit.
17618 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17619 (LR_BND_OFFSET): Likewise.
17620 (LRV_BND0_OFFSET): Likewise.
17621 (LRV_BND1_OFFSET): Likewise.
17623 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17625 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17627 * sysdeps/mach/hurd/i386/tls.h: ... here.
17628 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17629 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17632 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17634 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17636 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17638 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17640 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17643 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17644 * sysdeps/s390/configure: Regenerate.
17647 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17648 Set round-to-nearest internally to reduce error accumulation.
17650 2014-04-16 Alan Modra <amodra@gmail.com>
17654 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17655 * math/libm-test.inc (frexp_test_data): Add tests.
17656 * NEWS: Update fixed bug list.
17658 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17660 * benchtests/Makefile: Depend on libraries in build directory.
17661 (bench-math): Separate out math tests.
17662 (bench-pthread): Separate out pthread tests.
17663 (bench): Include math and pthread tests.
17665 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17668 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17669 _dl_debug_initialize.
17671 * configure.ac: Remove SELinux header check.
17672 * configure: Regenerate.
17673 * nscd/selinux.c (perms): Array of const char* to permission names.
17674 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17675 default policy. Call string_to_security_class and string_to_av_perm to
17676 translate strings. Enforce default policy and call avs_has_perm with
17677 results of translated strings.
17679 2014-04-13 David S. Miller <davem@davemloft.net>
17681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17683 2014-04-12 Allan McRae <allan@archlinux.org>
17686 * manual/string.texi (Collation Functions): Fix qsort argument
17688 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17690 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17692 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17693 Make the test a no-op if there are no exceptions defined.
17695 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17697 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17698 enable-hardcoded-path-in-tests
17700 2014-04-11 Will Newton <will.newton@linaro.org>
17702 * benchtests/Makefile (extra-objs): Add json-lib.o.
17703 (bench-func): Tidy up JSON output.
17704 * benchtests/bench-skeleton.c: Include json-lib.h.
17705 (main): Use JSON library functions to do output of
17707 * benchtests/bench-timing-type.c (main): Output the
17708 timing type simply, leaving formatting to the user.
17709 * benchtests/json-lib.c: New file.
17710 * benchtests/json-lib.h: Likewise.
17712 2014-04-11 Torvald Riegel <triegel@redhat.com>
17715 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17716 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17717 memory barriers. Add comments.
17718 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17719 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17720 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17721 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17722 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17723 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17725 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17727 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17728 * sysdeps/s390/s390-64/configure.ac: ... this ...
17729 * sysdeps/s390/configure.ac: ... to here.
17730 * sysdeps/s390/s390-32/configure: Delete file.
17731 * sysdeps/s390/s390-64/configure: Delete file.
17732 * sysdeps/s390/configure: Regenerate.
17734 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17736 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17738 2014-04-11 Will Newton <will.newton@linaro.org>
17740 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17741 to zero if it is not defined elsewhere. (mtrim): Test
17742 the value of MALLOC_DEBUG with #if rather than #ifdef.
17744 2014-04-10 Torvald Riegel <triegel@redhat.com>
17746 * benchtests/pthread_once-inputs: New file.
17747 * benchtests/pthread_once-source.c: New file.
17748 * benchtests/README: Update documentation.
17750 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17751 H.J. Lu <hongjiu.lu@intel.com>
17754 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17755 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17756 * sysdeps/x86_64/configure: Regenerated.
17757 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17759 (REGISTER_SAVE_RAX): Likewise.
17760 (REGISTER_SAVE_RCX): Likewise.
17761 (REGISTER_SAVE_RDX): Likewise.
17762 (REGISTER_SAVE_RSI): Likewise.
17763 (REGISTER_SAVE_RDI): Likewise.
17764 (REGISTER_SAVE_R8): Likewise.
17765 (REGISTER_SAVE_R9): Likewise.
17766 (REGISTER_SAVE_BND0): Likewise.
17767 (REGISTER_SAVE_BND1): Likewise.
17768 (REGISTER_SAVE_BND2): Likewise.
17769 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17770 bound registers when calling _dl_fixup.
17772 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17774 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17775 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17777 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17778 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17779 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17780 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17781 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17782 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17783 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17785 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17788 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17789 pathconf(_PC_NAME_MAX).
17791 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17793 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17794 Remove macro usage.
17795 (__PTHREAD_SPINS): Move definition to ...
17796 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17797 (__PTHREAD_SPINS): ... here.
17798 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17799 (__PTHREAD_SPIN): Likewise.
17800 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17801 (__PTHREAD_SPIN): Likewise.
17802 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17803 (__PTHREAD_SPIN): Likewise.
17804 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17805 (__PTHREAD_SPIN): Likewise.
17806 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17807 (__PTHREAD_SPIN): Likewise.
17808 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17809 (__PTHREAD_SPIN): Likewise.
17810 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17811 (__PTHREAD_SPIN): Likewise.
17812 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17813 (__PTHREAD_SPIN): Likewise.
17814 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17815 (__PTHREAD_SPIN): Likewise.
17816 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17817 (__PTHREAD_SPIN): Likewise.
17818 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17819 (__PTHREAD_SPIN): Likewise.
17820 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17821 (__PTHREAD_SPIN): Likewise.
17823 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17824 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17825 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17828 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17829 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17830 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17831 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17832 correct imply path.
17833 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17834 strlen symbol for non multi-arch builds.
17835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17836 missing hidden_def and weak_alias.
17838 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17840 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17842 2014-04-07 Will Newton <will.newton@linaro.org>
17844 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17845 and contents. [!_LIBC] Remove #ifndef and contents.
17846 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17847 * string/memccpy.c (__memccpy): Use ANSI prototype.
17848 * string/memfrob.c (memfrob): Likewise.
17849 * string/strcoll.c (STRCOLL): Likewise.
17850 * string/strlen.c (strlen): Likewise.
17851 * string/strtok.c (STRTOK): Likewise.
17852 * string/strcat.c: Remove unused #include of memcopy.h.
17853 (strcat): Use ANSI prototype.
17854 * string/strchr.c: Remove unused #include of memcopy.h.
17855 (strchr): Use ANSI prototype.
17856 * string/strcmp.c: Remove unused #include of memcopy.h.
17857 (strcmp): Use ANSI prototype.
17858 * string/strcpy.c: Remove unused #include of memcopy.h.
17859 (strcpy): Use ANSI prototype.
17861 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17863 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17864 * config.make.in (config-extra-cppflags): Set it from
17865 libc_extra_cppflags.
17866 * configure.ac (libc_extra_cflags): Make it accumulate over
17867 configure fragments.
17868 (libc_extra_cppflags): New flag.
17869 * configure. Regenerate.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17871 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17872 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17877 result for FE_DOWNWARD rounding mode.
17878 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17882 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17884 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17885 in function argument name.
17887 2014-04-03 David Svoboda <svoboda@cert.org>
17890 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17893 2014-04-03 Roland McGrath <roland@hack.frob.com>
17895 * elf/dl-unmap-segments.h: New file.
17896 * sysdeps/generic/ldsodefs.h
17897 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17898 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17899 * elf/dl-fptr.c: Likewise.
17900 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17901 * sysdeps/aarch64/tlsdesc.c: Likewise.
17902 * sysdeps/arm/tlsdesc.c: Likewise.
17903 * sysdeps/i386/tlsdesc.c: Likewise.
17904 * sysdeps/tile/dl-runtime.c: Likewise.
17905 * sysdeps/x86_64/tlsdesc.c: Likewise.
17906 * elf/dl-load.h: New file.
17907 * elf/dl-load.c: Include it.
17908 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17909 Macros moved to dl-load.h.
17910 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17911 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17912 Use _dl_unmap_segments in place of __munmap.
17913 Break out segment-mapping loop into ...
17914 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17916 2014-04-03 Will Newton <will.newton@linaro.org>
17918 * elf/dl-lookup.c (do_lookup_x): Remove comment
17919 referring to nested function and move variable
17920 declarations down to before first use.
17922 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17926 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17928 * math/s_catanf.c (__catanf): Likewise.
17929 * math/s_catanh.c (__catanh): Likewise.
17930 * math/s_catanhf.c (__catanhf): Likewise.
17931 * math/s_catanhl.c (__catanhl): Likewise.
17932 * math/s_catanl.c (__catanl): Likewise.
17933 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17934 by positive zero when computing -Inf result.
17935 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17936 (catanh_test): Likewise.
17937 * sysdeps/i386/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17941 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17942 instead of using underflowing value in computing result.
17943 * math/s_clog10.c (__clog10): Likewise.
17944 * math/s_clog10f.c (__clog10f): Likewise.
17945 * math/s_clog10l.c (__clog10l): Likewise.
17946 * math/s_clogf.c (__clogf): Likewise.
17947 * math/s_clogl.c (__clogl): Likewise.
17948 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17949 (clog10_test): Likewise.
17950 * sysdeps/i386/fpu/libm-test-ulps: Update.
17951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953 2014-04-02 Alan Modra <amodra@gmail.com>
17956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17957 output when value is near a power of two. Use int64_t for lx and
17958 remove casts. Use decimal rather than hex exponent constants.
17959 Don't use long double multiplication when double will suffice.
17960 * math/libm-test.inc (nextafter_test_data): Add tests.
17961 * NEWS: Add 16739 and 16786 to bug list.
17963 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17965 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17967 2014-04-01 Will Newton <will.newton@linaro.org>
17969 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17970 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17972 2014-04-01 Florian Weimer <fweimer@redhat.com>
17975 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17976 * nptl/tst-setuid2.c: New file.
17977 * nptl/Makefile (xtests): Add tst-setuid2.
17979 2014-04-01 Alan Modra <amodra@gmail.com>
17982 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17984 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17988 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17989 set errno as appropriate.
17990 * math/w_scalbf.c (__scalbf): Likewise.
17991 * math/w_scalbl.c (__scalbl): Likewise.
17992 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17993 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17994 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17995 Add more NaN tests.
17998 * math/w_atan2.c: Include <errno.h>.
17999 (__atan2): Set errno for result underflowing to zero.
18000 * math/w_atan2f.c: Include <errno.h>.
18001 (__atan2f): Set errno for result underflowing to zero.
18002 * math/w_atan2l.c: Include <errno.h>.
18003 (__atan2l): Set errno for result underflowing to zero.
18004 * math/auto-libm-test-in: Don't allow missing errno for some atan2
18006 * math/auto-libm-test-out: Regenerated.
18008 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18011 Encode instruction correctly in little endian.
18012 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18014 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18016 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18018 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18021 2014-03-31 Joseph Myers <joseph@codesourcery.com>
18024 * sysdeps/unix/sysv/linux/kernel-features.h
18025 [__sparc__ && !__arch64__ && !__sparc_v9__]
18026 (__ASSUME_SET_ROBUST_LIST): Do not define.
18027 [__sparc__ && !__arch64__ && !__sparc_v9__]
18028 (__ASSUME_FUTEX_LOCK_PI): Likewise.
18029 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18031 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18032 (__ASSUME_FUTEX_LOCK_PI): Undefine.
18033 (__ASSUME_REQUEUE_PI): Likewise.
18034 (__ASSUME_SET_ROBUST_LIST): Likewise.
18035 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18036 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18038 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18039 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18041 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18046 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18048 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18049 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18053 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18054 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18055 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18057 2014-03-31 Will Newton <will.newton@linaro.org>
18059 * benchtests/Makefile (bench): Add ffs and ffsll to list
18061 * benchtests/ffs-inputs: New file.
18062 * benchtests/ffsll-inputs: Likewise.
18064 2014-03-29 Joseph Myers <joseph@codesourcery.com>
18067 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18068 too large before casting to int.
18069 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18070 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18071 * math/libm-test.inc (scalb_test_data): Add more tests.
18073 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18075 * benchtests/Makefile (DETAILED_OPT): New make option.
18076 (bench-func): Run benchmark program with -d if DETAILED_OPT is
18078 * benchtests/bench-skeleton.c: Include stdbool.h.
18079 (main): Store and print timings per input.
18080 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18081 member to each argument value.
18082 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18083 (_print_arg_data): Initialize per-input timing to 0.
18085 * benchtests/Makefile (timing-type): New binary.
18086 (bench-clean): Also remove bench-timing-type.
18087 (bench): New target for timing-type.
18088 (bench-func): Print output in JSON format.
18089 * benchtests/bench-skeleton.c (main): Print output in JSON
18091 * benchtests/bench-timing-type.c: New file.
18092 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18093 (TIMING_PRINT_STATS): Remove.
18094 * benchtests/scripts/bench.py (_print_arg_data): Store variant
18097 * benchtests/bench-modf.c: Remove.
18098 * benchtests/modf-inputs: New inputs file.
18100 2014-03-28 Joseph Myers <joseph@codesourcery.com>
18103 * math/s_clog10.c (M_PI_LOG10E): New macro.
18104 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18105 imaginary parts are 0.
18106 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18107 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18108 imaginary parts are 0.
18109 * math/s_clog10l.c (M_PI_LOG10El): New macro.
18110 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18111 imaginary parts are 0.
18112 * math/libm-test.inc (clog10_test_data): Update expected results
18113 for when real and imaginary parts are 0.
18115 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
18117 * elf/dl-load.c: Finish conversion of __builtin_expect into
18118 __glibc_{un}likely.
18120 2014-03-27 Joseph Myers <joseph@codesourcery.com>
18123 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18124 1+x for argument with exponent below -67.
18125 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18127 * math/auto-libm-test-in: Add more tests of exp.
18128 * math/auto-libm-test-out: Regenerated.
18130 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18133 * inet/getnetgrent_r.c (get_nonempty_val): New function.
18134 (nscd_getnetgrent): Use it.
18137 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18140 2014-03-27 Andi Kleen <ak@linux.intel.com>
18142 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18143 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18144 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18145 (lll_robust_unlock): Remove out of line section. Use cfi
18147 (LLL_STUB_UNWIND_INFO*): Remove.
18148 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18149 (lll_robust_lock, lll_cond_lock, lll_timedlock)
18150 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18151 (lll_robust_unlock): Remove out of line section. Use cfi
18153 (LLL_STUB_UNWIND_INFO*): Remove.
18155 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18158 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18161 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
18163 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18165 2014-03-26 Joseph Myers <joseph@codesourcery.com>
18168 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18170 * math/test-fenv-preserve.c: New file.
18171 * math/Makefile (tests): Add test-fenv-preserve.
18173 2014-03-26 Will Newton <will.newton@linaro.org>
18175 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18177 2014-03-25 Roland McGrath <roland@hack.frob.com>
18179 * scripts/versionlist.awk: Partition the version sets and emit all
18180 GLIBC_* (sorted) before all others (sorted).
18182 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18184 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18185 GLIBC_2.2.5 version.
18187 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18192 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18197 2014-03-25 Andreas Schwab <schwab@suse.de>
18199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18200 label to be used after in6ailist is initialized.
18202 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18204 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18205 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18207 2014-03-25 Joseph Myers <joseph@codesourcery.com>
18211 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18213 (fp_formats): Update initializers.
18214 (init_fp_formats): Initialize new field.
18215 (output_for_one_input_case): Allow underflow for results up to
18217 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18218 * math/auto-libm-test-in: Don't mark some underflows from asin and
18220 * math/auto-libm-test-out: Regenerated.
18221 * sysdeps/i386/fpu/libm-test-ulps: Update.
18222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18224 2014-03-25 Andreas Schwab <schwab@suse.de>
18226 * libio/Makefile (tst-ftell-partial-wide-ENV)
18227 (tst-ftell-active-handler-ENV): Define.
18229 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
18231 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18233 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18235 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18237 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18239 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18240 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18241 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18243 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
18246 * elf/dl-load.c (open_verify): Add mode parameter.
18247 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18248 (open_path): Change from boolean 'secure' to complete flag 'mode'
18249 (_dl_map_object): Adjust.
18250 * elf/Makefile (tests): Add tst-dlopen-aout.
18251 * elf/tst-dlopen-aout.c: New test.
18253 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18256 * sysdeps/unix/sysv/linux/s390/bits/stat.h
18257 (struct stat): Rename member pad0 to __glibc_reserved0.
18260 * sysdeps/s390/s390-32/bits/wordsize.h
18261 (__WORDSIZE32_SIZE_ULONG): New define.
18262 * sysdeps/s390/s390-64/bits/wordsize.h
18263 (__WORDSIZE32_SIZE_ULONG): Likewise.
18264 * sysdeps/generic/stdint.h (SIZE_MAX):
18265 Define as UL if __WORDSIZE32_SIZE_ULONG.
18268 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18269 (__glibc_reserved0): New variable.
18270 (sa_flags): Change type to int.
18272 * posix/Makefile (before-compile): Use += before-compile instead
18275 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18276 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18278 2014-03-20 Andreas Schwab <schwab@suse.de>
18281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18282 non-matching result from nscd.
18284 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18286 * scripts/bench.py: Moved to ...
18287 * benchtests/scripts/bench.py: ... here.
18288 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18290 2014-03-24 Andreas Schwab <schwab@suse.de>
18293 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18294 alloca_account and account alloca use for struct in6ailist.
18296 2014-03-24 Joseph Myers <joseph@codesourcery.com>
18299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18300 rounding mode to recompute results that overflow to infinity or
18302 * math/auto-libm-test-in: Don't mark tests as expected to fail for
18304 * math/auto-libm-test-out: Regenerated.
18305 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18306 (ccosh_test): Likewise.
18307 (csin_test_data): Use plus_oflow.
18308 (csin_test): Use ALL_RM_TEST.
18309 (csinh_test_data): Use plus_oflow.
18310 (csinh_test): Use ALL_RM_TEST.
18311 * sysdeps/i386/fpu/libm-test-ulps: Update.
18312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18314 2014-03-21 Joseph Myers <joseph@codesourcery.com>
18316 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18317 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18318 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18321 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18322 when x - 1 is zero.
18323 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18324 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18325 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18326 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18328 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18329 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18331 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18332 * sysdeps/i386/fpu/libm-test-ulps: Update.
18333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18335 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18337 * scripts/bench.pl: Remove file.
18338 * scripts/bench.py: New benchmark script.
18339 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18340 * benchtests/README: Mention python dependency.
18341 * scripts/pylintrc: New file.
18342 * scripts/pylint: New file.
18344 * bits/mathdef.h: Use #ifdef instead of #if.
18345 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18346 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18347 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18348 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18349 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18350 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18352 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18355 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18357 and strpbrk-ppc64 objects.
18358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18359 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18360 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18361 multiarch strpbrk for POWER7.
18362 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18363 multiarch strpbrk for PPC64.
18364 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18366 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18367 strpbrk for POWER7.
18369 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18371 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18372 (atan_test): Likewise.
18373 (atanh_test_data): Use NO_TEST_INLINE for two tests.
18374 (atanh_test): Use ALL_RM_TEST.
18375 (atan2_test_data): Likewise.
18376 (cabs_test): Likewise.
18377 (cacosh_test): Likewise.
18378 (carg_test): Likewise.
18379 (casin_test): Likewise.
18380 (casinh_test): Likewise.
18381 (cbrt_test): Likewise.
18382 (csqrt_test): Likewise.
18383 (erf_test): Likewise.
18384 (erfc_test): Likewise.
18385 (pow10_test): Likewise.
18386 (exp2_test): Likewise.
18387 (hypot_test): Likewise.
18388 (j0_test): Likewise.
18389 (j1_test): Likewise.
18390 (lgamma_test): Likewise.
18391 (gamma_test): Likewise.
18392 (sincos_test): Likewise.
18393 (tanh_test): Likewise.
18394 (y0_test): Likewise.
18395 (y1_test): Likewise.
18396 * sysdeps/i386/fpu/libm-test-ulps: Update.
18397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18399 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18401 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18403 and strcspn-ppc64 objects.
18404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18405 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18406 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18407 multiarch strcspn for POWER7.
18408 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18409 multiarch strcspn for PPC64.
18410 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18412 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18413 strcspn for POWER7.
18415 2014-03-20 Joseph Myers <joseph@codesourcery.com>
18417 * math/gen-libm-test.pl (generate_testfile): Expect only function
18418 name as argument to AUTO_TESTS_* and pass results for all rounding
18419 modes to parse_args.
18420 (parse_auto_input): Separate inputs of automatic tests from
18421 outputs before storing in %auto_tests.
18422 * math/libm-test.inc (acos_test_data): Update call to
18424 (acos_test): Use ALL_RM_TEST.
18425 (acos_tonearest_test_data): Remove.
18426 (acos_test_tonearest): Likewise.
18427 (acos_towardzero_test_data): Likewise.
18428 (acos_test_towardzero): Likewise.
18429 (acos_downward_test_data): Likewise.
18430 (acos_test_downward): Likewise.
18431 (acos_upward_test_data): Likewise.
18432 (acos_test_upward): Likewise.
18433 (acosh_test_data): Update call to AUTO_TESTS_f_f.
18434 (asin_test_data): Likewise.
18435 (asin_test): Use ALL_RM_TEST.
18436 (asin_tonearest_test_data): Remove.
18437 (asin_test_tonearest): Likewise.
18438 (asin_towardzero_test_data): Likewise.
18439 (asin_test_towardzero): Likewise.
18440 (asin_downward_test_data): Likewise.
18441 (asin_test_downward): Likewise.
18442 (asin_upward_test_data): Likewise.
18443 (asin_test_upward): Likewise.
18444 (asinh_test_data): Update call to AUTO_TESTS_f_f.
18445 (atan_test_data): Likewise.
18446 (atanh_test_data): Likewise.
18447 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18448 (cabs_test_data): Update call to AUTO_TESTS_c_f.
18449 (carg_test_data): Likewise.
18450 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18451 (ccos_test_data): Update call to AUTO_TESTS_c_c.
18452 (ccosh_test_data): Likewise.
18453 (cexp_test_data): Likewise.
18454 (clog_test_data): Likewise.
18455 (clog10_test_data): Likewise.
18456 (cos_test_data): Update call to AUTO_TESTS_f_f.
18457 (cos_test): Use ALL_RM_TEST.
18458 (cos_tonearest_test_data): Remove.
18459 (cos_test_tonearest): Likewise.
18460 (cos_towardzero_test_data): Likewise.
18461 (cos_test_towardzero): Likewise.
18462 (cos_downward_test_data): Likewise.
18463 (cos_test_downward): Likewise.
18464 (cos_upward_test_data): Likewise.
18465 (cos_test_upward): Likewise.
18466 (cosh_test_data): Update call to AUTO_TESTS_f_f.
18467 (cosh_test): Use ALL_RM_TEST.
18468 (cosh_tonearest_test_data): Remove.
18469 (cosh_test_tonearest): Likewise.
18470 (cosh_towardzero_test_data): Likewise.
18471 (cosh_test_towardzero): Likewise.
18472 (cosh_downward_test_data): Likewise.
18473 (cosh_test_downward): Likewise.
18474 (cosh_upward_test_data): Likewise.
18475 (cosh_test_upward): Likewise.
18476 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18477 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18478 (ctan_test_data): Likewise.
18479 (ctan_test): Use ALL_RM_TEST.
18480 (ctan_tonearest_test_data): Remove.
18481 (ctan_test_tonearest): Likewise.
18482 (ctan_towardzero_test_data): Likewise.
18483 (ctan_test_towardzero): Likewise.
18484 (ctan_downward_test_data): Likewise.
18485 (ctan_test_downward): Likewise.
18486 (ctan_upward_test_data): Likewise.
18487 (ctan_test_upward): Likewise.
18488 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18489 (ctanh_test): Use ALL_RM_TEST.
18490 (ctanh_tonearest_test_data): Remove.
18491 (ctanh_test_tonearest): Likewise.
18492 (ctanh_towardzero_test_data): Likewise.
18493 (ctanh_test_towardzero): Likewise.
18494 (ctanh_downward_test_data): Likewise.
18495 (ctanh_test_downward): Likewise.
18496 (ctanh_upward_test_data): Likewise.
18497 (ctanh_test_upward): Likewise.
18498 (erf_test_data): Update call to AUTO_TESTS_f_f.
18499 (erfc_test_data): Likewise.
18500 (exp_test_data): Likewise.
18501 (exp_test): Use ALL_RM_TEST.
18502 (exp_tonearest_test_data): Remove.
18503 (exp_test_tonearest): Likewise.
18504 (exp_towardzero_test_data): Likewise.
18505 (exp_test_towardzero): Likewise.
18506 (exp_downward_test_data): Likewise.
18507 (exp_test_downward): Likewise.
18508 (exp_upward_test_data): Likewise.
18509 (exp_test_upward): Likewise.
18510 (exp10_test_data): Update call to AUTO_TESTS_f_f.
18511 (exp10_test): Use ALL_RM_TEST.
18512 (exp10_tonearest_test_data): Remove.
18513 (exp10_test_tonearest): Likewise.
18514 (exp10_towardzero_test_data): Likewise.
18515 (exp10_test_towardzero): Likewise.
18516 (exp10_downward_test_data): Likewise.
18517 (exp10_test_downward): Likewise.
18518 (exp10_upward_test_data): Likewise.
18519 (exp10_test_upward): Likewise.
18520 (exp2_test_data): Update call to AUTO_TESTS_f_f.
18521 (expm1_test_data): Likewise.
18522 (expm1_test): Use ALL_RM_TEST.
18523 (expm1_tonearest_test_data): Remove.
18524 (expm1_test_tonearest): Likewise.
18525 (expm1_towardzero_test_data): Likewise.
18526 (expm1_test_towardzero): Likewise.
18527 (expm1_downward_test_data): Likewise.
18528 (expm1_test_downward): Likewise.
18529 (expm1_upward_test_data): Likewise.
18530 (expm1_test_upward): Likewise.
18531 (fma_test_data): Update call to AUTO_TESTS_fff_f.
18532 (fma_test): Use ALL_RM_TEST.
18533 (fma_towardzero_test_data): Remove.
18534 (fma_test_towardzero): Likewise.
18535 (fma_downward_test_data): Likewise.
18536 (fma_test_downward): Likewise.
18537 (fma_upward_test_data): Likewise.
18538 (fma_test_upward): Likewise.
18539 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18540 (j0_test_data): Update call to AUTO_TESTS_f_f.
18541 (j1_test_data): Likewise.
18542 (jn_test_data): Update call to AUTO_TESTS_if_f.
18543 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18544 (log_test_data): Update call to AUTO_TESTS_f_f.
18545 (log10_test_data): Likewise.
18546 (log1p_test_data): Likewise.
18547 (log2_test_data): Likewise.
18548 (pow_test_data): Update call to AUTO_TESTS_ff_f.
18549 (pow_tonearest_test_data): Likewise.
18550 (sin_test_data): Update call to AUTO_TESTS_f_f.
18551 (sin_test): Use ALL_RM_TEST.
18552 (sin_tonearest_test_data): Remove.
18553 (sin_test_tonearest): Likewise.
18554 (sin_towardzero_test_data): Likewise.
18555 (sin_test_towardzero): Likewise.
18556 (sin_downward_test_data): Likewise.
18557 (sin_test_downward): Likewise.
18558 (sin_upward_test_data): Likewise.
18559 (sin_test_upward): Likewise.
18560 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18561 (sinh_test_data): Update call to AUTO_TESTS_f_f.
18562 (sinh_test): Use ALL_RM_TEST.
18563 (sinh_tonearest_test_data): Remove.
18564 (sinh_test_tonearest): Likewise.
18565 (sinh_towardzero_test_data): Likewise.
18566 (sinh_test_towardzero): Likewise.
18567 (sinh_downward_test_data): Likewise.
18568 (sinh_test_downward): Likewise.
18569 (sinh_upward_test_data): Likewise.
18570 (sinh_test_upward): Likewise.
18571 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18572 (sqrt_test): Use ALL_RM_TEST.
18573 (sqrt_tonearest_test_data): Remove.
18574 (sqrt_test_tonearest): Likewise.
18575 (sqrt_towardzero_test_data): Likewise.
18576 (sqrt_test_towardzero): Likewise.
18577 (sqrt_downward_test_data): Likewise.
18578 (sqrt_test_downward): Likewise.
18579 (sqrt_upward_test_data): Likewise.
18580 (sqrt_test_upward): Likewise.
18581 (tan_test_data): Update call to AUTO_TESTS_f_f.
18582 (tan_test): Use ALL_RM_TEST.
18583 (tan_tonearest_test_data): Remove.
18584 (tan_test_tonearest): Likewise.
18585 (tan_towardzero_test_data): Likewise.
18586 (tan_test_towardzero): Likewise.
18587 (tan_downward_test_data): Likewise.
18588 (tan_test_downward): Likewise.
18589 (tan_upward_test_data): Likewise.
18590 (tan_test_upward): Likewise.
18591 (tanh_test_data): Update call to AUTO_TESTS_f_f.
18592 (tgamma_test_data): Likewise.
18593 (y0_test_data): Likewise.
18594 (y1_test_data): Likewise.
18595 (yn_test_data): Update call to AUTO_TESTS_if_f.
18596 (main): Do not call removed functions.
18598 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18600 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18601 (ldexp_test_data): Remove.
18602 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
18604 (scalb_test): Use ALL_RM_TEST.
18606 2014-03-19 Andreas Schwab <schwab@suse.de>
18608 * nscd/nscd.service: Also invalidate netgroup cache on reload.
18610 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18613 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18614 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18615 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18616 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18617 (__ASSUME_PREADV): Undefine.
18618 (__ASSUME_PWRITEV): Likewise.
18620 2014-03-18 Roland McGrath <roland@hack.frob.com>
18622 * bits/mman-linux.h: Add comment about non-Linux use.
18623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18624 bits/mman-linux.h resting place.
18626 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18627 * bits/mman-linux.h: ... here.
18629 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18631 * conform/conformtest.pl: Add standard definition when calling C
18632 preprocessor on data files.
18633 (checknamespace): Remove unused variable.
18635 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18637 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18638 minus_oflow, plus_uflow and minus_uflow in expected results.
18639 * math/libm-test.inc (scalbn_test_data): Add more tests of
18640 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18642 (scalbn_test): Use ALL_RM_TEST.
18643 (scalbln_test_data): Add more tests of negative arguments. Use
18644 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18645 (scalbln_test): Use ALL_RM_TEST.
18647 2014-03-18 Roland McGrath <roland@hack.frob.com>
18649 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18651 2014-03-18 Will Newton <will.newton@linaro.org>
18653 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18654 inaccurate comment.
18656 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18658 * Makerules [!subdir] (check-abi): Exit with error status if a
18661 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18663 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18664 for rint. Include results for all rounding modes.
18665 (nearbyint_test): Use ALL_RM_TEST.
18666 (rint_test_data): Include all tests used for nearbyint.
18668 2014-03-17 Will Newton <will.newton@linaro.org>
18670 * nptl/sysdeps/pthread/pthread.h: Revert previous
18673 * sysdeps/generic/ldsodefs.h: Revert previous
18676 * libio/genops.c: Revert previous change.
18677 * libio/libioP.h: Likewise.
18678 * stdio-common/vfprintf.c: Likewise.
18680 * sysdeps/generic/math_private.h: Revert previous
18683 * sysdeps/generic/math_private.h: Check whether
18684 HAVE_RM_CTX is defined with #ifdef rather
18687 * argp/argp-fmtstream.h: Check whether
18688 __STRICT_ANSI__ is defined with #ifdef rather
18690 * argp/argp.h: Likewise.
18692 * libio/genops.c: Check whether
18693 _IO_JUMPS_OFFSET is defined with #ifdef rather
18695 * libio/libioP.h: Likewise.
18696 * stdio-common/vfprintf.c: Likewise.
18698 * sysdeps/generic/ldsodefs.h: Check whether
18699 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18702 * nptl/sysdeps/pthread/pthread.h: Check
18703 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18706 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18708 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18710 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18714 * libio/fileops.c (_IO_file_open): Seek to end of file but
18715 don't cache the offset.
18716 (get_file_offset): Remove function.
18717 (do_ftell): Use cached offset when available.
18718 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18719 don't cache the offset.
18720 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18722 (do_one_test): Call it.
18723 (do_ftell_test): Fix up expected old offset for a+ mode.
18724 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18727 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18728 up test status with function return status.
18729 (do_write_test): Likewise.
18730 (do_append_test): Likewise.
18732 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18733 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18736 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18738 * math/gen-libm-test.pl (parse_args): Handle results specified for
18739 each rounding mode separately.
18740 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18741 tests and results from lrint_tonearest_test_data,
18742 lrint_towardzero_test_data, lrint_downward_test_data and
18743 lrint_upward_test_data.
18744 (lrint_test): Use ALL_RM_TEST.
18745 (lrint_tonearest_test_data): Remove.
18746 (lrint_test_tonearest): Likewise.
18747 (lrint_towardzero_test_data): Likewise.
18748 (lrint_test_towardzero): Likewise.
18749 (lrint_downward_test_data): Likewise.
18750 (lrint_test_downward): Likewise.
18751 (lrint_upward_test_data): Likewise.
18752 (lrint_test_upward): Likewise.
18753 (llrint_test_data): Merge in per-rounding-mode tests and results
18754 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18755 llrint_downward_test_data and llrint_upward_test_data.
18756 (llrint_test): Use ALL_RM_TEST.
18757 (llrint_tonearest_test_data): Remove.
18758 (llrint_test_tonearest): Likewise.
18759 (llrint_towardzero_test_data): Likewise.
18760 (llrint_test_towardzero): Likewise.
18761 (llrint_downward_test_data): Likewise.
18762 (llrint_test_downward): Likewise.
18763 (llrint_upward_test_data): Likewise.
18764 (llrint_test_upward): Likewise.
18765 (rint_test_data): Merge in per-rounding-mode tests and results
18766 from rint_tonearest_test_data, rint_towardzero_test_data,
18767 rint_downward_test_data and rint_upward_test_data. Add
18768 per-rounding-mode results for tests not in those arrays.
18769 (rint_test): Use ALL_RM_TEST.
18770 (rint_tonearest_test_data): Remove.
18771 (rint_test_tonearest): Likewise.
18772 (rint_towardzero_test_data): Likewise.
18773 (rint_test_towardzero): Likewise.
18774 (rint_downward_test_data): Likewise.
18775 (rint_test_downward): Likewise.
18776 (rint_upward_test_data): Likewise.
18777 (rint_test_upward): Likewise.
18778 (main): Don't call removed functions.
18780 2014-03-14 Roland McGrath <roland@hack.frob.com>
18782 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18783 "Compiled on ..." crapola. It is anti-useful.
18785 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18787 * scripts/evaluate-test.sh: Handle fourth argument to determine
18788 whether test run should stop on failure.
18789 * Makeconfig (stop-on-test-failure): New variable.
18790 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18791 $(stop-on-test-failure).
18792 * Makefile (tests): Give a summary of results from testing and
18793 exit with failure status if they include an ERROR or FAIL.
18794 (xtests): Likewise.
18795 * manual/install.texi (Configuring and compiling): Mention
18796 stop-on-test-failure=y.
18797 * INSTALL: Regenerated.
18799 2014-03-14 Roland McGrath <roland@hack.frob.com>
18801 * scripts/versionlist.awk: New file.
18802 * Makerules [$(build-shared) = yes]
18803 (postclean-generated): Add Versions.def, not Versions.def.v and
18805 ($(common-objpfx)Versions.def.v.i): Target removed.
18806 ($(common-objpfx)Versions.def): New target.
18807 ($(common-objpfx)Versions.all): Depend on that rather that
18808 $(common-objpfx)Versions.def.v.
18809 * Versions.def: File removed.
18811 * Makeconfig (+gccwarn): Add -Wundef.
18812 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18813 a dl-sysdep.h breaking its contract.
18814 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18815 * include/stackinfo.h: New file.
18816 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18817 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18818 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18819 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18820 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18821 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18822 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18823 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18824 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18825 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18826 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18827 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18828 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18829 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18830 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18832 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18835 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18837 * math/libm-test.inc (round_test_data): Add more tests.
18840 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18842 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18845 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18847 * math/libm-test.inc (ceil_test_data): Add more tests.
18849 * math/libm-test.inc (trunc_test_data): Add more tests related to
18852 2014-03-14 Roland McGrath <roland@hack.frob.com>
18854 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18855 with #if rather than #ifdef.
18856 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18858 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18860 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18861 first. Disable AVX-512 GCC support if assembler doesn't support
18863 * sysdeps/x86_64/configure: Regenerated.
18865 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18867 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18868 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18869 (__old_pthread_attr_setstack): Likewise.
18870 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18871 [!_STACK_GROWS_DOWN]: Likewise.
18873 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18875 * config.make.in (have-bash2): Delete.
18876 * configure.ac (libc_cv_have_bash2): Delete.
18877 * configure: Regenerate.
18878 * elf/Makefile (common-ldd-rewrite): Rename to ...
18879 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18880 (sh-ldd-rewrite): Delete.
18881 (bash-ldd-rewrite): Delete.
18882 (have-bash2): Delete checks.
18883 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18886 * config.make.in (have-ksh): Delete.
18888 * configure.ac (libc_cv_have_ksh): Delete.
18889 * configure: Regenerate.
18891 * elf/Makefile: Delete $(have-ksh) check.
18892 ($(objpfx)sotruss): Change KSH to BASH.
18893 * elf/sotruss.ksh: Rename to ...
18894 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18895 function style to match POSIX. Drop ksh vim mode setting.
18897 * manual/time.texi (Specifying the Time Zone with TZ): Change
18898 Tuesday to Thursday.
18900 * debug/tst-longjmp_chk2.c: Update header comment.
18901 (stackoverflow_handler): Add comment. Call assert on pass value.
18903 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18906 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18907 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18908 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18909 (La_x86_64_vector): Add zmm.
18910 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18911 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18912 ($(objpfx)tst-audit10): New target.
18913 ($(objpfx)tst-audit10.out): Likewise.
18914 (tst-audit10-ENV): New.
18915 (AVX512-CFLAGS): Likewise.
18916 (CFLAGS-tst-audit10.c): Likewise.
18917 (CFLAGS-tst-auditmod10a.c): Likewise.
18918 (CFLAGS-tst-auditmod10b.c): Likewise.
18919 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18920 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18921 * sysdeps/x86_64/configure: Regenerated.
18922 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18923 AVX-512 zmm register support.
18924 (_dl_x86_64_save_sse): Likewise.
18925 (_dl_x86_64_restore_sse): Likewise.
18926 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18927 size vector registers.
18928 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18929 (ZMM_SIZE): Likewise.
18930 * sysdeps/x86_64/tst-audit10.c: New file.
18931 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18932 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18934 2014-03-13 Roland McGrath <roland@hack.frob.com>
18936 * configure.ac (HAVE_EHDR_START): New check.
18937 * configure: Regenerated.
18938 * config.h.in (HAVE_EHDR_START): New #undef.
18939 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18940 assuming the lowest-addressed segment maps the start of the file.
18942 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18944 * INSTALL: Regenerated.
18946 2014-03-13 Will Newton <will.newton@linaro.org>
18948 * manual/setjmp.texi (System V contexts): Improve
18949 clarity and grammar of documentation.
18951 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18954 * elf/Makefile (tests): Add tst-pie2.
18955 (tests-pie): Add tst-pie2.
18956 * elf/tst-pie2.c: New file.
18957 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18959 * elf/rtld.c (map_doit): Load executable as lt_executable.
18960 (dl_main): Likewise.
18962 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18966 (__ASSUME_PSELECT): Undefine.
18968 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18971 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18972 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18974 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18975 selector for static builds.
18977 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18980 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18983 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18985 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18986 IFUNC selector for static builds.
18988 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18990 * sysdeps/mips/math_private.h [__mips_hard_float]
18991 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18992 libc_feresetround_mips_ctx.
18993 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18994 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18995 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18998 * math/s_nextafter.c (__nextafter): Do not return value from
18999 overflowing computation.
19000 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19001 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19002 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19006 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19007 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19009 2014-03-11 Roland McGrath <roland@hack.frob.com>
19011 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19012 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19013 Move sfi_sp use from the load-multiple (that no longer sets sp) to
19014 the new mov targetting sp.
19016 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19019 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19020 Define it for static builds as well.
19021 (NO_BZERO_IMPL): Likewise.
19023 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19025 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19026 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19027 multiarch strspn for PPC64.
19028 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19029 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19031 (__libc_ifunc_impl_list): Likewise.
19032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19033 multiarch optimizations
19034 * string/strspn.c (strspn): Using macro to redefine symbol name.
19036 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19037 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19039 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19040 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19041 multiarch strncat for PPC64.
19042 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19043 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19045 (__libc_ifunc_impl_list): Likewise.
19046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19047 multiarch optimizations
19049 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19052 * nscd/nscd.service: Make service type forking.
19054 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19056 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19057 sign in non default rounding modes.
19058 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19060 2014-03-08 Joseph Myers <joseph@codesourcery.com>
19062 * math/libm-test.inc (ALL_RM_TEST): New macro.
19063 (ceil_test): Use ALL_RM_TEST.
19064 (cimag_test): Likewise.
19065 (conj_test): Likewise.
19066 (copysign_test): Likewise.
19067 (cproj_test): Likewise.
19068 (creal_test): Likewise.
19069 (fabs_test): Likewise.
19070 (floor_test): Likewise.
19071 (fmax_test): Likewise.
19072 (fmin_test): Likewise.
19073 (fmod_test): Likewise.
19074 (fpclassify_test): Likewise.
19075 (frexp_test): Likewise.
19076 (ilogb_test): Likewise.
19077 (isfinite_test): Likewise.
19078 (finite_test): Likewise.
19079 (isgreater_test): Likewise.
19080 (isgreaterequal_test): Likewise.
19081 (isinf_test): Likewise.
19082 (isless_test): Likewise.
19083 (islessequal_test): Likewise.
19084 (islessgreater_test): Likewise.
19085 (isnan_test): Likewise.
19086 (isnormal_test): Likewise.
19087 (issignaling_test): Likewise.
19088 (isunordered_test): Likewise.
19089 (logb_test): Likewise.
19090 (logb_downward_test_data): Remove.
19091 (logb_test_downward): Likewise.
19092 (lround_test): Use ALL_RM_TEST.
19093 (llround_test): Likewise.
19094 (modf_test): Likewise.
19095 (nexttoward_test): Likewise.
19096 (remainder_test): Likewise.
19097 (drem_test): Likewise.
19098 (remainder_tonearest_test_data): Likewise.
19099 (remainder_test_tonearest): Likewise.
19100 (drem_test_tonearest): Likewise.
19101 (remainder_towardzero_test_data): Likewise.
19102 (remainder_test_towardzero): Likewise.
19103 (drem_test_towardzero): Likewise.
19104 (remainder_downward_test_data): Likewise.
19105 (remainder_test_downward): Likewise.
19106 (drem_test_downward): Likewise.
19107 (remainder_upward_test_data): Likewise.
19108 (remainder_test_upward): Likewise.
19109 (drem_test_upward): Likewise.
19110 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
19111 (round_test): Use ALL_RM_TEST.
19112 (signbit_test): Likewise.
19113 (trunc_test): Likewise.
19114 (significand_test): Likewise.
19115 (main): Don't call removed functions.
19117 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19120 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19121 || __USE_XOPEN2K8].
19122 (ILL_ILLOPN): Likewise.
19123 (ILL_ILLADR): Likewise.
19124 (ILL_ILLTRP): Likewise.
19125 (ILL_PRVOPC): Likewise.
19126 (ILL_PRVREG): Likewise.
19127 (ILL_COPROC): Likewise.
19128 (ILL_BADSTK): Likewise.
19129 (FPE_INTDIV): Likewise.
19130 (FPE_INTOVF): Likewise.
19131 (FPE_FLTDIV): Likewise.
19132 (FPE_FLTOVF): Likewise.
19133 (FPE_FLTUND): Likewise.
19134 (FPE_FLTRES): Likewise.
19135 (FPE_FLTINV): Likewise.
19136 (FPE_FLTSUB): Likewise.
19137 (SEGV_MAPERR): Likewise.
19138 (SEGV_ACCERR): Likewise.
19139 (BUS_ADRALN): Likewise.
19140 (BUS_ADRERR): Likewise.
19141 (BUS_OBJERR): Likewise.
19142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19143 (TRAP_TRACE): Likewise.
19144 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19146 (CLD_KILLED): Likewise.
19147 (CLD_DUMPED): Likewise.
19148 (CLD_TRAPPED): Likewise.
19149 (CLD_STOPPED): Likewise.
19150 (CLD_CONTINUED): Likewise.
19151 (POLL_IN): Likewise.
19152 (POLL_OUT): Likewise.
19153 (POLL_MSG): Likewise.
19154 (POLL_ERR): Likewise.
19155 (POLL_PRI): Likewise.
19156 (POLL_HUP): Likewise.
19157 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19159 (ILL_ILLOPN): Likewise.
19160 (ILL_ILLADR): Likewise.
19161 (ILL_ILLTRP): Likewise.
19162 (ILL_PRVOPC): Likewise.
19163 (ILL_PRVREG): Likewise.
19164 (ILL_COPROC): Likewise.
19165 (ILL_BADSTK): Likewise.
19166 (FPE_INTDIV): Likewise.
19167 (FPE_INTOVF): Likewise.
19168 (FPE_FLTDIV): Likewise.
19169 (FPE_FLTOVF): Likewise.
19170 (FPE_FLTUND): Likewise.
19171 (FPE_FLTRES): Likewise.
19172 (FPE_FLTINV): Likewise.
19173 (FPE_FLTSUB): Likewise.
19174 (SEGV_MAPERR): Likewise.
19175 (SEGV_ACCERR): Likewise.
19176 (BUS_ADRALN): Likewise.
19177 (BUS_ADRERR): Likewise.
19178 (BUS_OBJERR): Likewise.
19179 (BUS_MCEERR_AR): Likewise.
19180 (BUS_MCEERR_AO): Likewise.
19181 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19182 (TRAP_TRACE): Likewise.
19183 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19185 (CLD_KILLED): Likewise.
19186 (CLD_DUMPED): Likewise.
19187 (CLD_TRAPPED): Likewise.
19188 (CLD_STOPPED): Likewise.
19189 (CLD_CONTINUED): Likewise.
19190 (POLL_IN): Likewise.
19191 (POLL_OUT): Likewise.
19192 (POLL_MSG): Likewise.
19193 (POLL_ERR): Likewise.
19194 (POLL_PRI): Likewise.
19195 (POLL_HUP): Likewise.
19196 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19197 (ILL_ILLOPN): Likewise.
19198 (ILL_ILLADR): Likewise.
19199 (ILL_ILLTRP): Likewise.
19200 (ILL_PRVOPC): Likewise.
19201 (ILL_PRVREG): Likewise.
19202 (ILL_COPROC): Likewise.
19203 (ILL_BADSTK): Likewise.
19204 (FPE_INTDIV): Likewise.
19205 (FPE_INTOVF): Likewise.
19206 (FPE_FLTDIV): Likewise.
19207 (FPE_FLTOVF): Likewise.
19208 (FPE_FLTUND): Likewise.
19209 (FPE_FLTRES): Likewise.
19210 (FPE_FLTINV): Likewise.
19211 (FPE_FLTSUB): Likewise.
19212 (SEGV_MAPERR): Likewise.
19213 (SEGV_ACCERR): Likewise.
19214 (BUS_ADRALN): Likewise.
19215 (BUS_ADRERR): Likewise.
19216 (BUS_OBJERR): Likewise.
19217 (BUS_MCEERR_AR): Likewise.
19218 (BUS_MCEERR_AO): Likewise.
19219 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19220 (TRAP_TRACE): Likewise.
19221 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19223 (CLD_KILLED): Likewise.
19224 (CLD_DUMPED): Likewise.
19225 (CLD_TRAPPED): Likewise.
19226 (CLD_STOPPED): Likewise.
19227 (CLD_CONTINUED): Likewise.
19228 (POLL_IN): Likewise.
19229 (POLL_OUT): Likewise.
19230 (POLL_MSG): Likewise.
19231 (POLL_ERR): Likewise.
19232 (POLL_PRI): Likewise.
19233 (POLL_HUP): Likewise.
19234 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19236 (ILL_ILLOPN): Likewise.
19237 (ILL_ILLADR): Likewise.
19238 (ILL_ILLTRP): Likewise.
19239 (ILL_PRVOPC): Likewise.
19240 (ILL_PRVREG): Likewise.
19241 (ILL_COPROC): Likewise.
19242 (ILL_BADSTK): Likewise.
19243 (ILL_BADIADDR): Likewise.
19244 (ILL_BREAK): Likewise.
19245 (FPE_INTDIV): Likewise.
19246 (FPE_INTOVF): Likewise.
19247 (FPE_FLTDIV): Likewise.
19248 (FPE_FLTOVF): Likewise.
19249 (FPE_FLTUND): Likewise.
19250 (FPE_FLTRES): Likewise.
19251 (FPE_FLTINV): Likewise.
19252 (FPE_FLTSUB): Likewise.
19253 (FPE_DECOVF): Likewise.
19254 (FPE_DECDIV): Likewise.
19255 (FPE_DECERR): Likewise.
19256 (FPE_INVASC): Likewise.
19257 (FPE_INVDEC): Likewise.
19258 (SEGV_MAPERR): Likewise.
19259 (SEGV_ACCERR): Likewise.
19260 (SEGV_PSTKOVF): Likewise.
19261 (BUS_ADRALN): Likewise.
19262 (BUS_ADRERR): Likewise.
19263 (BUS_OBJERR): Likewise.
19264 (BUS_MCEERR_AR): Likewise.
19265 (BUS_MCEERR_AO): Likewise.
19266 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19267 (TRAP_TRACE): Likewise.
19268 (TRAP_BRANCH): Likewise.
19269 (TRAP_HWBKPT): Likewise.
19270 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19272 (CLD_KILLED): Likewise.
19273 (CLD_DUMPED): Likewise.
19274 (CLD_TRAPPED): Likewise.
19275 (CLD_STOPPED): Likewise.
19276 (CLD_CONTINUED): Likewise.
19277 (POLL_IN): Likewise.
19278 (POLL_OUT): Likewise.
19279 (POLL_MSG): Likewise.
19280 (POLL_ERR): Likewise.
19281 (POLL_PRI): Likewise.
19282 (POLL_HUP): Likewise.
19283 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19284 (ILL_ILLOPN): Likewise.
19285 (ILL_ILLADR): Likewise.
19286 (ILL_ILLTRP): Likewise.
19287 (ILL_PRVOPC): Likewise.
19288 (ILL_PRVREG): Likewise.
19289 (ILL_COPROC): Likewise.
19290 (ILL_BADSTK): Likewise.
19291 (FPE_INTDIV): Likewise.
19292 (FPE_INTOVF): Likewise.
19293 (FPE_FLTDIV): Likewise.
19294 (FPE_FLTOVF): Likewise.
19295 (FPE_FLTUND): Likewise.
19296 (FPE_FLTRES): Likewise.
19297 (FPE_FLTINV): Likewise.
19298 (FPE_FLTSUB): Likewise.
19299 (SEGV_MAPERR): Likewise.
19300 (SEGV_ACCERR): Likewise.
19301 (BUS_ADRALN): Likewise.
19302 (BUS_ADRERR): Likewise.
19303 (BUS_OBJERR): Likewise.
19304 (BUS_MCEERR_AR): Likewise.
19305 (BUS_MCEERR_AO): Likewise.
19306 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19307 (TRAP_TRACE): Likewise.
19308 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19310 (CLD_KILLED): Likewise.
19311 (CLD_DUMPED): Likewise.
19312 (CLD_TRAPPED): Likewise.
19313 (CLD_STOPPED): Likewise.
19314 (CLD_CONTINUED): Likewise.
19315 (POLL_IN): Likewise.
19316 (POLL_OUT): Likewise.
19317 (POLL_MSG): Likewise.
19318 (POLL_ERR): Likewise.
19319 (POLL_PRI): Likewise.
19320 (POLL_HUP): Likewise.
19321 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19322 (ILL_ILLOPN): Likewise.
19323 (ILL_ILLADR): Likewise.
19324 (ILL_ILLTRP): Likewise.
19325 (ILL_PRVOPC): Likewise.
19326 (ILL_PRVREG): Likewise.
19327 (ILL_COPROC): Likewise.
19328 (ILL_BADSTK): Likewise.
19329 (FPE_INTDIV): Likewise.
19330 (FPE_INTOVF): Likewise.
19331 (FPE_FLTDIV): Likewise.
19332 (FPE_FLTOVF): Likewise.
19333 (FPE_FLTUND): Likewise.
19334 (FPE_FLTRES): Likewise.
19335 (FPE_FLTINV): Likewise.
19336 (FPE_FLTSUB): Likewise.
19337 (SEGV_MAPERR): Likewise.
19338 (SEGV_ACCERR): Likewise.
19339 (BUS_ADRALN): Likewise.
19340 (BUS_ADRERR): Likewise.
19341 (BUS_OBJERR): Likewise.
19342 (BUS_MCEERR_AR): Likewise.
19343 (BUS_MCEERR_AO): Likewise.
19344 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19345 (TRAP_TRACE): Likewise.
19346 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19348 (CLD_KILLED): Likewise.
19349 (CLD_DUMPED): Likewise.
19350 (CLD_TRAPPED): Likewise.
19351 (CLD_STOPPED): Likewise.
19352 (CLD_CONTINUED): Likewise.
19353 (POLL_IN): Likewise.
19354 (POLL_OUT): Likewise.
19355 (POLL_MSG): Likewise.
19356 (POLL_ERR): Likewise.
19357 (POLL_PRI): Likewise.
19358 (POLL_HUP): Likewise.
19359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19360 (ILL_ILLOPN): Likewise.
19361 (ILL_ILLADR): Likewise.
19362 (ILL_ILLTRP): Likewise.
19363 (ILL_PRVOPC): Likewise.
19364 (ILL_PRVREG): Likewise.
19365 (ILL_COPROC): Likewise.
19366 (ILL_BADSTK): Likewise.
19367 (FPE_INTDIV): Likewise.
19368 (FPE_INTOVF): Likewise.
19369 (FPE_FLTDIV): Likewise.
19370 (FPE_FLTOVF): Likewise.
19371 (FPE_FLTUND): Likewise.
19372 (FPE_FLTRES): Likewise.
19373 (FPE_FLTINV): Likewise.
19374 (FPE_FLTSUB): Likewise.
19375 (SEGV_MAPERR): Likewise.
19376 (SEGV_ACCERR): Likewise.
19377 (BUS_ADRALN): Likewise.
19378 (BUS_ADRERR): Likewise.
19379 (BUS_OBJERR): Likewise.
19380 (BUS_MCEERR_AR): Likewise.
19381 (BUS_MCEERR_AO): Likewise.
19382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19383 (TRAP_TRACE): Likewise.
19384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19386 (CLD_KILLED): Likewise.
19387 (CLD_DUMPED): Likewise.
19388 (CLD_TRAPPED): Likewise.
19389 (CLD_STOPPED): Likewise.
19390 (CLD_CONTINUED): Likewise.
19391 (POLL_IN): Likewise.
19392 (POLL_OUT): Likewise.
19393 (POLL_MSG): Likewise.
19394 (POLL_ERR): Likewise.
19395 (POLL_PRI): Likewise.
19396 (POLL_HUP): Likewise.
19397 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19398 (ILL_ILLOPN): Likewise.
19399 (ILL_ILLADR): Likewise.
19400 (ILL_ILLTRP): Likewise.
19401 (ILL_PRVOPC): Likewise.
19402 (ILL_PRVREG): Likewise.
19403 (ILL_COPROC): Likewise.
19404 (ILL_BADSTK): Likewise.
19405 (ILL_DBLFLT): Likewise.
19406 (ILL_HARDWALL): Likewise.
19407 (FPE_INTDIV): Likewise.
19408 (FPE_INTOVF): Likewise.
19409 (FPE_FLTDIV): Likewise.
19410 (FPE_FLTOVF): Likewise.
19411 (FPE_FLTUND): Likewise.
19412 (FPE_FLTRES): Likewise.
19413 (FPE_FLTINV): Likewise.
19414 (FPE_FLTSUB): Likewise.
19415 (SEGV_MAPERR): Likewise.
19416 (SEGV_ACCERR): Likewise.
19417 (BUS_ADRALN): Likewise.
19418 (BUS_ADRERR): Likewise.
19419 (BUS_OBJERR): Likewise.
19420 (BUS_MCEERR_AR): Likewise.
19421 (BUS_MCEERR_AO): Likewise.
19422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19423 (TRAP_TRACE): Likewise.
19424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19426 (CLD_KILLED): Likewise.
19427 (CLD_DUMPED): Likewise.
19428 (CLD_TRAPPED): Likewise.
19429 (CLD_STOPPED): Likewise.
19430 (CLD_CONTINUED): Likewise.
19431 (POLL_IN): Likewise.
19432 (POLL_OUT): Likewise.
19433 (POLL_MSG): Likewise.
19434 (POLL_ERR): Likewise.
19435 (POLL_PRI): Likewise.
19436 (POLL_HUP): Likewise.
19437 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19438 (ILL_ILLOPN): Likewise.
19439 (ILL_ILLADR): Likewise.
19440 (ILL_ILLTRP): Likewise.
19441 (ILL_PRVOPC): Likewise.
19442 (ILL_PRVREG): Likewise.
19443 (ILL_COPROC): Likewise.
19444 (ILL_BADSTK): Likewise.
19445 (FPE_INTDIV): Likewise.
19446 (FPE_INTOVF): Likewise.
19447 (FPE_FLTDIV): Likewise.
19448 (FPE_FLTOVF): Likewise.
19449 (FPE_FLTUND): Likewise.
19450 (FPE_FLTRES): Likewise.
19451 (FPE_FLTINV): Likewise.
19452 (FPE_FLTSUB): Likewise.
19453 (SEGV_MAPERR): Likewise.
19454 (SEGV_ACCERR): Likewise.
19455 (BUS_ADRALN): Likewise.
19456 (BUS_ADRERR): Likewise.
19457 (BUS_OBJERR): Likewise.
19458 (BUS_MCEERR_AR): Likewise.
19459 (BUS_MCEERR_AO): Likewise.
19460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19461 (TRAP_TRACE): Likewise.
19462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19464 (CLD_KILLED): Likewise.
19465 (CLD_DUMPED): Likewise.
19466 (CLD_TRAPPED): Likewise.
19467 (CLD_STOPPED): Likewise.
19468 (CLD_CONTINUED): Likewise.
19469 (POLL_IN): Likewise.
19470 (POLL_OUT): Likewise.
19471 (POLL_MSG): Likewise.
19472 (POLL_ERR): Likewise.
19473 (POLL_PRI): Likewise.
19474 (POLL_HUP): Likewise.
19475 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19476 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19479 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19480 before #include of <time.h>.
19481 [!__USE_XOPEN2K] (__need_timespec): Likewise.
19482 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19483 (test-xfail-UNIX98/sched.h/conform): Likewise.
19485 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
19487 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19488 error absence of trapping exception support.
19489 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19491 2014-03-07 Joseph Myers <joseph@codesourcery.com>
19493 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19494 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19495 * timezone/Makefile (testdata): Move definition above include of
19497 (test-zones): New variable.
19498 (tests-special): Add zone files.
19499 (build-testdata): Use $(evaluate-test).
19501 * elf/Makefile (tests-special): Rename tests to end with .out.
19502 ($(objpfx)noload-mem): Likewise.
19503 ($(objpfx)tst-leaks1-mem): Likewise.
19504 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19505 * iconv/Makefile (xtests-special): Change test-iconvconfig to
19506 $(objpfx)test-iconvconfig.out.
19507 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
19508 set -e inside subshell and redirect output to file.
19509 * iconvdata/Makefile (generated): Rename tests to end with .out.
19511 (tests-special): Rename tests to end with .out.
19512 ($(objpfx)mtrace-tst-loading): Likewise.
19513 * intl/Makefile (generated): Likewise.
19514 (tests-special): Likewise.
19515 ($(objpfx)mtrace-tst-gettext): Likewise.
19516 * misc/Makefile (generated): Likewise.
19517 (tests-special): Likewise.
19518 ($(objpfx)tst-error1-mem): Likewise.
19519 * nptl/Makefile (tests-special): Likewise.
19520 ($(objpfx)tst-stack3-mem): Likewise.
19521 (generated): Likewise.
19522 * posix/Makefile (generated): Likewise.
19523 (tests-special): Likewise.
19524 (xtests-special): Likewise.
19525 ($(objpfx)tst-fnmatch-mem): Likewise.
19526 ($(objpfx)bug-regex2-mem): Likewise.
19527 ($(objpfx)bug-regex14-mem): Likewise.
19528 ($(objpfx)bug-regex21-mem): Likewise.
19529 ($(objpfx)bug-regex31-mem): Likewise.
19530 ($(objpfx)tst-vfork3-mem): Likewise.
19531 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19532 ($(objpfx)tst-pcre-mem): Likewise.
19533 ($(objpfx)tst-boost-mem): Likewise.
19534 ($(objpfx)bug-ga2-mem): Likewise.
19535 ($(objpfx)bug-glob2-mem): Likewise.
19536 * resolv/Makefile (generate): Likewise.
19537 (tests-special): Likewise.
19538 (xtests-special): Likewise.
19539 (generated): Likewise.
19540 ($(objpfx)mtrace-tst-leaks): Likewise.
19541 ($(objpfx)mtrace-tst-leaks2): Likewise.
19543 * scripts/merge-test-results.sh: New file.
19544 * Makefile (tests-special-notdir): New variable.
19545 (tests): Run merge-test-results.sh.
19546 (xtests): Likewise.
19547 * Rules (tests-special-notdir): New variable.
19548 (xtests-special-notdir): Likewise.
19549 (tests): Run merge-test-results.sh
19550 (xtests): Likewise.
19552 * Makeconfig (test-xfail-name): New variable.
19553 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19554 compute variable name for expected failures.
19555 * conform/Makefile (conformtest-headers-data): New variable.
19556 (conformtest-standards): Likewise.
19557 (conformtest-headers-ISO): Likewise.
19558 (conformtest-headers-ISO99): Likewise.
19559 (conformtest-headers-ISO11): Likewise.
19560 (conformtest-headers-POSIX): Likewise.
19561 (conformtest-headers-XPG3): Likewise.
19562 (conformtest-headers-XPG4): Likewise.
19563 (conformtest-headers-UNIX98): Likewise.
19564 (conformtest-headers-XOPEN2K): Likewise.
19565 (conformtest-headers-POSIX2008): Likewise.
19566 (conformtest-headers-XOPEN2K8): Likewise.
19567 (conformtest-header-list-base): Likewise.
19568 (conformtest-header-list-tests): Likewise.
19569 (conformtest-header-base): Likewise.
19570 (conformtest-header-tests): Likewise.
19571 (tests-special): Add $(conformtest-header-list-tests). If
19572 [$(fast-check) && !$(cross-compiling)], add
19573 $(conformtest-header-tests) instead of
19574 $(objpfx)run-conformtest.out.
19575 (generated): Add $(conformtest-header-list-base). If
19576 [$(fast-check) && !$(cross-compiling)], add
19577 $(conformtest-header-base). Remove previous setting.
19578 ($(conformtest-header-list-tests)): New target.
19579 (test-xfail-run-conformtest): Remove variable.
19580 ($(objpfx)run-conformtest.out): Remove target.
19581 (test-xfail-ISO11/complex.h/conform): New variable.
19582 (test-xfail-ISO11/stdalign.h/conform): Likewise.
19583 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19584 (test-xfail-XPG3/varargs.h/conform): Likewise.
19585 (test-xfail-XPG4/varargs.h/conform): Likewise.
19586 (test-xfail-UNIX98/varargs.h/conform): Likewise.
19587 (test-xfail-XPG4/ndbm.h/conform): Likewise.
19588 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19589 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19590 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19591 (test-xfail-XPG3/fcntl.h/conform): Likewise.
19592 (test-xfail-XPG3/ftw.h/conform): Likewise.
19593 (test-xfail-XPG3/grp.h/conform): Likewise.
19594 (test-xfail-XPG3/langinfo.h/conform): Likewise.
19595 (test-xfail-XPG3/limits.h/conform): Likewise.
19596 (test-xfail-XPG3/pwd.h/conform): Likewise.
19597 (test-xfail-XPG3/search.h/conform): Likewise.
19598 (test-xfail-XPG3/signal.h/conform): Likewise.
19599 (test-xfail-XPG3/stdio.h/conform): Likewise.
19600 (test-xfail-XPG3/stdlib.h/conform): Likewise.
19601 (test-xfail-XPG3/string.h/conform): Likewise.
19602 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19603 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19604 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19605 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19606 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19607 (test-xfail-XPG3/sys/types.h/conform): Likewise.
19608 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19609 (test-xfail-XPG3/termios.h/conform): Likewise.
19610 (test-xfail-XPG3/time.h/conform): Likewise.
19611 (test-xfail-XPG3/unistd.h/conform): Likewise.
19612 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19613 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19614 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19615 (test-xfail-XPG4/netdb.h/conform): Likewise.
19616 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19617 (test-xfail-XPG4/signal.h/conform): Likewise.
19618 (test-xfail-XPG4/stdio.h/conform): Likewise.
19619 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19620 (test-xfail-XPG4/stropts.h/conform): Likewise.
19621 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19622 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19623 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19624 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19625 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19626 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19627 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19628 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19629 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19630 (test-xfail-XPG4/termios.h/conform): Likewise.
19631 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19632 (test-xfail-XPG4/unistd.h/conform): Likewise.
19633 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19634 (test-xfail-POSIX/sched.h/conform): Likewise.
19635 (test-xfail-POSIX/signal.h/conform): Likewise.
19636 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19637 (test-xfail-POSIX/tar.h/conform): Likewise.
19638 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19639 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19640 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19641 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19642 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19643 (test-xfail-UNIX98/sched.h/conform): Likewise.
19644 (test-xfail-UNIX98/signal.h/conform): Likewise.
19645 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19646 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19647 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19648 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19649 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19650 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19651 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19652 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19653 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19654 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19655 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19656 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19657 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19658 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19659 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19660 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19661 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19662 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19663 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19664 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19665 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19666 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19667 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19668 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19669 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19670 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19671 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19672 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19673 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19674 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19675 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19676 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19677 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19678 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19679 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19680 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19681 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19682 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19683 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19684 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19685 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19686 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19687 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19688 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19689 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19690 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19691 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19692 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19693 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19694 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19695 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19696 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19697 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19698 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19699 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19700 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19701 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19702 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19703 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19704 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19705 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19706 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19707 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19708 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19709 (conformtest-cc-flags): Likewise.
19710 ($(conformtest-header-tests): New target.
19711 * conform/check-header-lists.sh: New file.
19712 * conform/run-conformtest.sh: Remove.
19714 * conform/conformtest.pl: Allow ' and \ in values given for
19716 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19718 [POSIX] (sys/types.h): Likewise.
19719 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19721 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19723 * conform/data/signal.h-data (SIGIO): Remove expectation.
19724 [XPG3] (SIGBUS): Do not expect.
19725 [POSIX || XPG3] (SIGPOLL): Likewise.
19726 [POSIX || XPG3] (SIGPROF): Likewise.
19727 [POSIX || XPG3] (SIGSYS): Likewise.
19728 [XPG3] (SIGTRAP): Likewise.
19729 [POSIX || XPG3] (SIGURG): Likewise.
19730 [POSIX || XPG3] (SIGVTALRM): Likewise.
19731 [POSIX || XPG3] (SIGXCPU): Likewise.
19732 [POSIX || XPG3] (SIGXFSZ): Likewise.
19733 [POSIX] (SA_SIGINFO): Expect.
19734 [XPG3] (siginfo_t): Do not expect type or contents.
19735 [POSIX] (si_pid): Do not expect element.
19736 [POSIX] (si_uid): Likewise.
19737 [POSIX] (si_addr): Likewise.
19738 [POSIX] (si_status): Likewise.
19739 [POSIX] (si_band): Likewise.
19740 [XPG4] (si_value): Likewise.
19741 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19742 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19743 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19744 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19745 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19746 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19747 [POSIX || XPG3] (ILL_COPROC): Likewise.
19748 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19749 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19750 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19751 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19752 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19753 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19754 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19755 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19756 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19757 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19758 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19759 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19760 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19761 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19762 [POSIX || XPG3] (CLD_EXITED): Likewise.
19763 [POSIX || XPG3] (CLD_KILLED): Likewise.
19764 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19765 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19766 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19767 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19768 [POSIX || XPG3] (POLL_IN): Likewise.
19769 [POSIX || XPG3] (POLL_OUT): Likewise.
19770 [POSIX || XPG3] (POLL_MSG): Likewise.
19771 [POSIX || XPG3] (POLL_ERR): Likewise.
19772 [POSIX || XPG3] (POLL_PRI): Likewise.
19773 [POSIX || XPG3] (POLL_HUP): Likewise.
19774 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19775 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19776 (SIG*): Do not allow.
19777 [XPG3] (si_*): Likewise.
19778 [XPG3] (SI_*): Likewise.
19779 [XPG3 || XPG4] (sigev_*): Likewise.
19780 [XPG3 || XPG4] (SIGEV_*): Likewise.
19781 [XPG3 || XPG4] (sival_*): Likewise.
19782 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19783 [POSIX || XPG3] (BUS_*): Likewise.
19784 [POSIX || XPG3] (CLD_*): Likewise.
19785 [POSIX || XPG3] (FPE_*): Likewise.
19786 [POSIX || XPG3] (ILL_*): Likewise.
19787 [POSIX || XPG3] (POLL_*): Likewise.
19788 [POSIX || XPG3] (SEGV_*): Likewise.
19789 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19790 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19791 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19792 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19793 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19794 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19795 Specify type and value.
19796 (TVERSLEN): Likewise.
19797 (REGTYPE): Likewise.
19798 (AREGTYPE): Likewise.
19799 (LNKTYPE): Likewise.
19800 (SYMTYPE): Likewise.
19801 (CHRTYPE): Likewise.
19802 (BLKTYPE): Likewise.
19803 (DIRTYPE): Likewise.
19804 (FIFOTYPE): Likewise.
19805 (CONTTYPE): Likewise.
19809 (TUREAD): Likewise.
19810 (TUWRITE): Likewise.
19811 (TUEXEC): Likewise.
19812 (TGREAD): Likewise.
19813 (TGWRITE): Likewise.
19814 (TGEXEC): Likewise.
19815 (TOREAD): Likewise.
19816 (TOWRITE): Likewise.
19817 (TOEXEC): Likewise.
19818 [POSIX] (TSVTX): Expect constant.
19820 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19822 * Makefile (tests): Change dependencies to ....
19823 (tests-special): ... additions to this variable.
19824 (tests): Depend on $(tests-special).
19825 * Makerules (check-abi-list): New variable.
19826 (check-abi): Depend on $(check-abi-list).
19827 [$(subdir) = elf] (tests-special): Add
19828 $(objpfx)check-abi-libc.out.
19829 [$(build-shared) = yes && subdir] (tests-special): Add
19831 [$(build-shared) = yes && subdir] (tests): Do not depend on
19833 * Rules (tests): Depend on $(tests-special).
19834 (xtests): Depend on $(xtests-special).
19835 * catgets/Makefile (tests): Change dependencies to ....
19836 (tests-special): ... additions to this variable.
19837 * conform/Makefile (tests): Change dependencies to ....
19838 (tests-special): ... additions to this variable.
19839 * elf/Makefile (tests): Change dependencies to ....
19840 (tests-special): ... additions to this variable.
19841 * grp/Makefile (tests): Change dependencies to ....
19842 (tests-special): ... additions to this variable.
19843 * iconv/Makefile (xtests): Change dependencies to ....
19844 (xtests-special): ... additions to this variable.
19845 * iconvdata/Makefile (tests): Change dependencies to ....
19846 (tests-special): ... additions to this variable.
19847 * intl/Makefile (tests): Change dependencies to ....
19848 (tests-special): ... additions to this variable. Also add
19849 $(objpfx)tst-gettext.out.
19850 * io/Makefile (tests): Change dependencies to ....
19851 (tests-special): ... additions to this variable.
19852 * libio/Makefile (tests): Change dependencies to ....
19853 (tests-special): ... additions to this variable.
19854 * malloc/Makefile (tests): Change dependencies to ....
19855 (tests-special): ... additions to this variable.
19856 * misc/Makefile (tests): Change dependencies to ....
19857 (tests-special): ... additions to this variable.
19858 * nptl/Makefile (tests): Change dependencies to ....
19859 (tests-special): ... additions to this variable.
19860 * nptl_db/Makefile (tests): Change dependencies to ....
19861 (tests-special): ... additions to this variable.
19862 * posix/Makefile (tests): Change dependencies to ....
19863 (tests-special): ... additions to this variable.
19864 (xtests): Change dependencies to ....
19865 (xtests-special): ... additions to this variable.
19866 * resolv/Makefile (tests): Change dependencies to ....
19867 (tests-special): ... additions to this variable.
19868 (xtests): Change dependencies to ....
19869 (xtests-special): ... additions to this variable.
19870 * stdio-common/Makefile (tests): Change dependencies to ....
19871 (tests-special): ... additions to this variable.
19872 (do-tst-unbputc): Remove target.
19873 (do-tst-printf): Likewise.
19874 * stdlib/Makefile (tests): Change dependencies to ....
19875 (tests-special): ... additions to this variable.
19876 * string/Makefile (tests): Change dependencies to ....
19877 (tests-special): ... additions to this variable.
19878 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19879 (tests-special): ... additions to this variable.
19881 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19883 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19885 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19886 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19888 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19889 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19890 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19891 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19892 * conform/data/libgen.h-data [XPG3]: Likewise.
19893 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19894 * conform/data/ndbm.h-data [XPG3]: Likewise.
19895 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19896 * conform/data/netdb.h-data [XPG3]: Likewise.
19897 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19898 * conform/data/poll.h-data [XPG3]: Likewise.
19899 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19900 * conform/data/strings.h-data [XPG3]: Likewise.
19901 * conform/data/stropts.h-data [XPG3]: Likewise.
19902 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19903 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19904 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19906 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19907 * conform/data/sys/time.h-data [XPG3]: Likewise.
19908 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19909 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19910 * conform/data/sys/un.h-data [XPG3]: Likewise.
19911 * conform/data/syslog.h-data [XPG3]: Likewise.
19912 * conform/data/ucontext.h-data [XPG3]: Likewise.
19913 * conform/data/utmpx.h-data [XPG3]: Likewise.
19914 * conform/data/varargs.h-data [UNIX98]: Enable file.
19916 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19918 * math/libm-test.inc (struct test_f_f_data): Move expected results
19919 into structure for each rounding mode.
19920 (struct test_ff_f_data): Likewise.
19921 (struct test_ff_f_data_nexttoward): Likewise.
19922 (struct test_fi_f_data): Likewise.
19923 (struct test_fl_f_data): Likewise.
19924 (struct test_if_f_data): Likewise.
19925 (struct test_fff_f_data): Likewise.
19926 (struct test_c_f_data): Likewise.
19927 (struct test_f_f1_data): Likewise.
19928 (struct test_fF_f1_data): Likewise.
19929 (struct test_ffI_f1_data): Likewise.
19930 (struct test_c_c_data): Likewise.
19931 (struct test_cc_c_data): Likewise.
19932 (struct test_f_i_data): Likewise.
19933 (struct test_ff_i_data): Likewise.
19934 (struct test_f_l_data): Likewise.
19935 (struct test_f_L_data): Likewise.
19936 (struct test_fFF_11_data): Likewise.
19938 (RM_FE_DOWNWARD): Likewise.
19939 (RM_FE_TONEAREST): Likewise.
19940 (RM_FE_TOWARDZERO): Likewise.
19941 (RM_FE_UPWARD): Likewise.
19942 (RUN_TEST_LOOP_f_f): Update references to expected results.
19943 (RUN_TEST_LOOP_2_f): Likewise.
19944 (RUN_TEST_LOOP_fff_f): Likewise.
19945 (RUN_TEST_LOOP_c_f): Likewise.
19946 (RUN_TEST_LOOP_f_f1): Likewise.
19947 (RUN_TEST_LOOP_fF_f1): Likewise.
19948 (RUN_TEST_LOOP_fI_f1): Likewise.
19949 (RUN_TEST_LOOP_ffI_f1): Likewise.
19950 (RUN_TEST_LOOP_c_c): Likewise.
19951 (RUN_TEST_LOOP_cc_c): Likewise.
19952 (RUN_TEST_LOOP_f_i): Likewise.
19953 (RUN_TEST_LOOP_f_i_tg): Likewise.
19954 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19955 (RUN_TEST_LOOP_f_b): Likewise.
19956 (RUN_TEST_LOOP_f_b_tg): Likewise.
19957 (RUN_TEST_LOOP_f_l): Likewise.
19958 (RUN_TEST_LOOP_f_L): Likewise.
19959 (RUN_TEST_LOOP_fFF_11): Likewise.
19960 * math/gen-libm-test.pl (parse_args): Output four copies of
19961 expected results for each test.
19963 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19964 (__ASSUME_UTIMES): Remove.
19965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19966 (__ASSUME_UTIMES): Likewise.
19968 * math/gen-auto-libm-tests.c: Update comment on output format.
19969 (output_for_one_input_case): Generate before-rounding and
19970 after-rounding information as conditions on output flags not
19971 floating-point format.
19972 * math/auto-libm-test-out: Regenerated.
19973 * math/gen-libm-test.pl (cond_value): New function.
19974 (or_cond_value): Use cond_value.
19975 (generate_testfile): Handle conditional exceptions.
19977 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19979 * math/libm-test.inc (max_valid_error): New variable.
19980 (init_max_error): Take new argument specifying whether function
19981 results are exactly determined. Set max_valid_error and bound
19982 other variables for errors based on this argument.
19983 (set_max_error): Do not record results above max_valid_error.
19984 (check_float_internal): Only accept errors of up to 0.5ulps if
19985 also at most max_valid_error.
19986 (START): Take new argument EXACT and pass it to init_max_error.
19987 (acos_test): Update call to START.
19988 (acos_test_tonearest): Likewise.
19989 (acos_test_towardzero): Likewise.
19990 (acos_test_downward): Likewise.
19991 (acos_test_upward): Likewise.
19992 (acosh_test): Likewise.
19993 (asin_test): Likewise.
19994 (asin_test_tonearest): Likewise.
19995 (asin_test_towardzero): Likewise.
19996 (asin_test_downward): Likewise.
19997 (asin_test_upward): Likewise.
19998 (asinh_test): Likewise.
19999 (atan_test): Likewise.
20000 (atanh_test): Likewise.
20001 (atan2_test): Likewise.
20002 (cabs_test): Likewise.
20003 (cacos_test): Likewise.
20004 (cacosh_test): Likewise.
20005 (carg_test): Likewise.
20006 (casin_test): Likewise.
20007 (casinh_test): Likewise.
20008 (catan_test): Likewise.
20009 (catanh_test): Likewise.
20010 (cbrt_test): Likewise.
20011 (ccos_test): Likewise.
20012 (ccosh_test): Likewise.
20013 (ceil_test): Likewise.
20014 (cexp_test): Likewise.
20015 (cimag_test): Likewise.
20016 (clog_test): Likewise.
20017 (clog10_test): Likewise.
20018 (conj_test): Likewise.
20019 (copysign_test): Likewise.
20020 (cos_test): Likewise.
20021 (cos_test_tonearest): Likewise.
20022 (cos_test_towardzero): Likewise.
20023 (cos_test_downward): Likewise.
20024 (cos_test_upward): Likewise.
20025 (cosh_test): Likewise.
20026 (cosh_test_tonearest): Likewise.
20027 (cosh_test_towardzero): Likewise.
20028 (cosh_test_downward): Likewise.
20029 (cosh_test_upward): Likewise.
20030 (cpow_test): Likewise.
20031 (cproj_test): Likewise.
20032 (creal_test): Likewise.
20033 (csin_test): Likewise.
20034 (csinh_test): Likewise.
20035 (csqrt_test): Likewise.
20036 (ctan_test): Likewise.
20037 (ctan_test_tonearest): Likewise.
20038 (ctan_test_towardzero): Likewise.
20039 (ctan_test_downward): Likewise.
20040 (ctan_test_upward): Likewise.
20041 (ctanh_test): Likewise.
20042 (ctanh_test_tonearest): Likewise.
20043 (ctanh_test_towardzero): Likewise.
20044 (ctanh_test_downward): Likewise.
20045 (ctanh_test_upward): Likewise.
20046 (erf_test): Likewise.
20047 (erfc_test): Likewise.
20048 (exp_test): Likewise.
20049 (exp_test_tonearest): Likewise.
20050 (exp_test_towardzero): Likewise.
20051 (exp_test_downward): Likewise.
20052 (exp_test_upward): Likewise.
20053 (exp10_test): Likewise.
20054 (exp10_test_tonearest): Likewise.
20055 (exp10_test_towardzero): Likewise.
20056 (exp10_test_downward): Likewise.
20057 (exp10_test_upward): Likewise.
20058 (pow10_test): Likewise.
20059 (exp2_test): Likewise.
20060 (expm1_test): Likewise.
20061 (expm1_test_tonearest): Likewise.
20062 (expm1_test_towardzero): Likewise.
20063 (expm1_test_downward): Likewise.
20064 (expm1_test_upward): Likewise.
20065 (fabs_test): Likewise.
20066 (fdim_test): Likewise.
20067 (floor_test): Likewise.
20068 (fma_test): Likewise.
20069 (fma_test_towardzero): Likewise.
20070 (fma_test_downward): Likewise.
20071 (fma_test_upward): Likewise.
20072 (fmax_test): Likewise.
20073 (fmin_test): Likewise.
20074 (fmod_test): Likewise.
20075 (fpclassify_test): Likewise.
20076 (frexp_test): Likewise.
20077 (hypot_test): Likewise.
20078 (ilogb_test): Likewise.
20079 (isfinite_test): Likewise.
20080 (finite_test): Likewise.
20081 (isgreater_test): Likewise.
20082 (isgreaterequal_test): Likewise.
20083 (isinf_test): Likewise.
20084 (isless_test): Likewise.
20085 (islessequal_test): Likewise.
20086 (islessgreater_test): Likewise.
20087 (isnan_test): Likewise.
20088 (isnormal_test): Likewise.
20089 (issignaling_test): Likewise.
20090 (isunordered_test): Likewise.
20091 (j0_test): Likewise.
20092 (j1_test): Likewise.
20093 (jn_test): Likewise.
20094 (ldexp_test): Likewise.
20095 (lgamma_test): Likewise.
20096 (gamma_test): Likewise.
20097 (lrint_test): Likewise.
20098 (lrint_test_tonearest): Likewise.
20099 (lrint_test_towardzero): Likewise.
20100 (lrint_test_downward): Likewise.
20101 (lrint_test_upward): Likewise.
20102 (llrint_test): Likewise.
20103 (llrint_test_tonearest): Likewise.
20104 (llrint_test_towardzero): Likewise.
20105 (llrint_test_downward): Likewise.
20106 (llrint_test_upward): Likewise.
20107 (log_test): Likewise.
20108 (log10_test): Likewise.
20109 (log1p_test): Likewise.
20110 (log2_test): Likewise.
20111 (logb_test): Likewise.
20112 (logb_test_downward): Likewise.
20113 (lround_test): Likewise.
20114 (llround_test): Likewise.
20115 (modf_test): Likewise.
20116 (nearbyint_test): Likewise.
20117 (nextafter_test): Likewise.
20118 (nexttoward_test): Likewise.
20119 (pow_test): Likewise.
20120 (pow_test_tonearest): Likewise.
20121 (pow_test_towardzero): Likewise.
20122 (pow_test_downward): Likewise.
20123 (pow_test_upward): Likewise.
20124 (remainder_test): Likewise.
20125 (drem_test): Likewise.
20126 (remainder_test_tonearest): Likewise.
20127 (drem_test_tonearest): Likewise.
20128 (remainder_test_towardzero): Likewise.
20129 (drem_test_towardzero): Likewise.
20130 (remainder_test_downward): Likewise.
20131 (drem_test_downward): Likewise.
20132 (remainder_test_upward): Likewise.
20133 (drem_test_upward): Likewise.
20134 (remquo_test): Likewise.
20135 (rint_test): Likewise.
20136 (rint_test_tonearest): Likewise.
20137 (rint_test_towardzero): Likewise.
20138 (rint_test_downward): Likewise.
20139 (rint_test_upward): Likewise.
20140 (round_test): Likewise.
20141 (scalb_test): Likewise.
20142 (scalbn_test): Likewise.
20143 (scalbln_test): Likewise.
20144 (signbit_test): Likewise.
20145 (sin_test): Likewise.
20146 (sin_test_tonearest): Likewise.
20147 (sin_test_towardzero): Likewise.
20148 (sin_test_downward): Likewise.
20149 (sin_test_upward): Likewise.
20150 (sincos_test): Likewise.
20151 (sinh_test): Likewise.
20152 (sinh_test_tonearest): Likewise.
20153 (sinh_test_towardzero): Likewise.
20154 (sinh_test_downward): Likewise.
20155 (sinh_test_upward): Likewise.
20156 (sqrt_test): Likewise.
20157 (sqrt_test_tonearest): Likewise.
20158 (sqrt_test_towardzero): Likewise.
20159 (sqrt_test_downward): Likewise.
20160 (sqrt_test_upward): Likewise.
20161 (tan_test): Likewise.
20162 (tan_test_tonearest): Likewise.
20163 (tan_test_towardzero): Likewise.
20164 (tan_test_downward): Likewise.
20165 (tan_test_upward): Likewise.
20166 (tanh_test): Likewise.
20167 (tgamma_test): Likewise.
20168 (trunc_test): Likewise.
20169 (y0_test): Likewise.
20170 (y1_test): Likewise.
20171 (yn_test): Likewise.
20172 (significand_test): Likewise.
20174 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20175 individual tests in comment.
20176 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20177 (prev_max_error): New variable.
20178 (prev_real_max_error): Likewise.
20179 (prev_imag_max_error): Likewise.
20180 (compare_ulp_data): Don't refer to test names in comment.
20181 (find_test_ulps): Remove function.
20182 (find_function_ulps): Likewise.
20183 (find_complex_function_ulps): Likewise.
20184 (init_max_error): Take function name as argument. Look up ulps
20186 (print_ulps): Remove function.
20187 (print_max_error): Use prev_max_error instead of calling
20188 find_function_ulps.
20189 (print_complex_max_error): Use prev_real_max_error and
20190 prev_imag_max_error instead of calling find_complex_function_ulps.
20191 (check_float_internal): Take max_ulp parameter instead of calling
20192 find_test_ulps. Don't call print_ulps.
20193 (check_float): Update call to check_float_internal.
20194 (check_complex): Update calls to check_float_internal.
20195 (START): Pass argument to init_max_error.
20196 * math/gen-libm-test.pl (%results): Don't include "kind"
20198 (parse_ulps): Don't handle ulps of individual tests.
20199 (print_ulps_file): Likewise.
20200 (output_ulps): Likewise.
20201 * math/README.libm-test: Update.
20202 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20204 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20205 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20206 * sysdeps/arm/libm-test-ulps: Likewise.
20207 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20208 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20209 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20210 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20211 * sysdeps/microblaze/libm-test-ulps: Likewise.
20212 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20213 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20215 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20216 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20217 * sysdeps/sh/libm-test-ulps: Likewise.
20218 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20219 * sysdeps/tile/libm-test-ulps: Likewise.
20220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20222 2014-03-04 Joseph Myers <joseph@codesourcery.com>
20224 * math/libm-test.inc (print_complex_max_error): Check separately
20225 whether real and imaginary errors are within allowed range and
20226 pass 0 to print_complex_function_ulps instead of value within
20229 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20231 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20233 (get_handles_fopen): Likewise.
20234 (do_write_test): Likewise.
20236 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20238 * libio/fileops.c (do_ftell): Use cached offset when
20240 * libio/iofwide.c (do_ftell_wide): Likewise.
20241 * libio/iofdopen.c (_IO_new_fdopen): Don't use
20243 * libio/wfileops.c (_IO_fwide): Don't cache offset.
20246 * libio/libioP.h (get_file_offset): New function.
20247 * libio/fileops.c (get_file_offset): Likewise.
20248 (do_ftell): Likewise.
20249 (_IO_new_file_seekoff): Split out ftell logic.
20250 * libio/wfileops.c (do_ftell_wide): Likewise.
20251 (_IO_wfile_seekoff): Split out ftell logic.
20252 * libio/tst-ftell-active-handler.c: New test case.
20253 * libio/Makefile (tests): Add it.
20255 2014-03-03 Roland McGrath <roland@hack.frob.com>
20257 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20258 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20260 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20263 * nscd/connections.c (nscd_init): Call do_exit.
20264 (start_threads): Call do_exit and notify_parent.
20265 (begin_drop_privileges): Call do_exit.
20266 (finish_drop_privileges): Likewise.
20267 * nscd/selinux.c (preserve_capabilities): Likewise.
20268 (install_real_capabilities): Likewise.
20269 (nscd_selinux_enabled): Likewise.
20270 (avc_create_thread): Likewise.
20271 (avc_alloc_lock): Likewise.
20272 (nscd_avc_init): Likewise.
20273 * nscd/nscd.c (parent_fd): New static variable.
20274 (main): Create a pipe between parent and child processes.
20275 Skip closing parent_fd.
20276 (monitor_child): New function.
20277 (do_exit): Likewise.
20278 (notify_parent): Likewise.
20279 * nscd/nscd.h (notify_parent): Likewise.
20280 (do_exit): Likewise.
20282 2014-03-03 Carlos O'Donell <carlos@redhat.com>
20284 * malloc/malloc.c (__libc_calloc): Revert last change.
20286 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20290 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20292 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20296 (__libc_ifunc_impl_list): Likewise.
20297 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20298 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20299 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20300 * string/strrchr.c: Define STRRCHR.
20302 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
20304 * benchtest/bench-strtok.c (simple_strtok): Delete.
20305 (strtok_string): Use as benchmark.
20306 * string/strtok (STRTOK): New macro.
20308 2014-02-28 Carlos O'Donell <carlos@redhat.com>
20310 * manual/threads.texi: Add header and standard comments to all
20313 * elf/dl-lookup.c (check_match): New function.
20314 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20315 (do_lookup_x): Remove nested function check_match. Use non-nested
20316 function check_match.
20318 2014-02-28 Roland McGrath <roland@hack.frob.com>
20320 * csu/Makefile (generated, before-compile): Use += rather than =.
20321 * catgets/Makefile (generated, generated-dirs): Likewise.
20322 * debug/Makefile (generated): Likewise.
20323 * dlfcn/Makefile (generated): Likewise.
20324 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20325 * iconvdata/Makefile (before-compile, generated): Likewise.
20326 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20327 * libio/Makefile (generated): Likewise.
20328 * malloc/Makefile (generated): Likewise.
20329 * manual/Makefile (generated, generated-dirs): Likewise.
20330 * misc/Makefile (generated): Likewise.
20331 * posix/Makefile (generated): Likewise.
20332 * resolv/Makefile (generated): Likewise.
20333 * sunrpc/Makefile (generated, generated-dirs): Likewise.
20334 * timezone/Makefile (generated, generated-dirs): Likewise.
20336 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20338 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20341 power8 implementation.
20342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20343 file: POWER8 llround ifunc implementation.
20344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20345 (__lllround): Add POWER8 implementation.
20346 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20347 POWER8 llround implementation.
20349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20350 power8 implementation.
20351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20352 file: POWER8 llrint ifunc implementation.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20354 Add POWER8 implementation.
20355 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20356 POWER8 llrint implementation.
20358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20359 power8 implementation.
20360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20361 file: POWER8 finite ifunc implementation.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20363 Add POWER8 implementation.
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20366 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20367 POWER8 finite implementation.
20368 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20371 power8 implementation.
20372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20373 file: POWER8 isinf ifunc implementation.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20375 POWER8 implementation.
20376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20378 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20379 isinf implementation.
20380 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20383 (INIT_ARCH): Add hwcap2 initialization.
20384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20385 power8 implementation.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20387 file: POWER8 isnan ifunc implementation.
20388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20389 POWER8 implementation.
20390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20393 isnan implementation.
20394 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20396 2014-02-27 Joey Ye <joey.ye@arm.com>
20398 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20399 (_FP_NANFRAC_Q): Set to zero.
20401 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20404 * math/auto-libm-test-in: New test inputs.
20405 * math/auto-libm-test-out: Regenerate.
20406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20409 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20411 2014-02-27 Joseph Myers <joseph@codesourcery.com>
20413 * scripts/evaluate-test.sh: Take new argument indicating whether
20414 failure is expected.
20415 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20416 indicating whether failure is expected.
20417 * conform/Makefile (test-xfail-run-conformtest): New variable.
20418 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20420 * posix/Makefile (test-xfail-annexc): New variable.
20421 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20423 2014-02-26 Joseph Myers <joseph@codesourcery.com>
20425 * argp/Makefile: Include Makeconfig immediately after defining
20427 * assert/Makefile: Likewise.
20428 * benchtests/Makefile: Likewise.
20429 * catgets/Makefile: Likewise.
20430 * conform/Makefile: Likewise.
20431 * crypt/Makefile: Likewise.
20432 * csu/Makefile: Likewise.
20433 (all): Remove target.
20434 * ctype/Makefile: Include Makeconfig immediately after defining
20436 * debug/Makefile: Likewise.
20437 * dirent/Makefile: Likewise.
20438 * dlfcn/Makefile: Likewise.
20439 * gmon/Makefile: Likewise.
20440 * gnulib/Makefile: Likewise.
20441 * grp/Makefile: Likewise.
20442 * gshadow/Makefile: Likewise.
20443 * hesiod/Makefile: Likewise.
20444 * hurd/Makefile: Likewise.
20445 (all): Remove target.
20446 * iconvdata/Makefile: Include Makeconfig immediately after
20448 * inet/Makefile: Likewise.
20449 * intl/Makefile: Likewise.
20450 * io/Makefile: Likewise.
20451 * libio/Makefile: Likewise.
20452 (all): Remove target.
20453 * locale/Makefile: Include Makeconfig immediately after defining
20455 * login/Makefile: Likewise.
20456 * mach/Makefile: Likewise.
20457 (all): Remove target.
20458 * malloc/Makefile: Include Makeconfig immediately after defining
20460 (all): Remove target.
20461 * manual/Makefile: Include Makeconfig immediately after defining
20463 * math/Makefile: Likewise.
20464 * misc/Makefile: Likewise.
20465 * nis/Makefile: Likewise.
20466 * nss/Makefile: Likewise.
20467 * po/Makefile: Likewise.
20468 (all): Remove target.
20469 * posix/Makefile: Include Makeconfig immediately after defining
20471 * pwd/Makefile: Likewise.
20472 * resolv/Makefile: Likewise.
20473 * resource/Makefile: Likewise.
20474 * rt/Makefile: Likewise.
20475 * setjmp/Makefile: Likewise.
20476 * shadow/Makefile: Likewise.
20477 * signal/Makefile: Likewise.
20478 * socket/Makefile: Likewise.
20479 * soft-fp/Makefile: Likewise.
20480 * stdio-common/Makefile: Likewise.
20481 * stdlib/Makefile: Likewise.
20482 * streams/Makefile: Likewise.
20483 * string/Makefile: Likewise.
20484 * sunrpc/Makefile: Likewise.
20485 (all): Remove target.
20486 * sysvipc/Makefile: Include Makeconfig immediately after defining
20488 * termios/Makefile: Likewise.
20489 * time/Makefile: Likewise.
20490 * timezone/Makefile: Likewise.
20491 (all): Remove target.
20492 * wcsmbs/Makefile: Include Makeconfig immediately after defining
20494 * wctype/Makefile: Likewise.
20496 2014-02-26 Steve Ellcey <sellcey@mips.com>
20498 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20499 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20500 (libc_feholdexcept_setround_mips): Ditto.
20501 (libc_feholdsetround): New.
20502 (libc_feholdsetroundf): New.
20503 (libc_feholdsetroundl): New.
20504 (libc_feupdateenv_test_mips): New.
20505 (libc_feupdateenv_test): New.
20506 (libc_feupdateenv_testf): New.
20507 (libc_feupdateenv_testl): New.
20508 (libc_feresetround): New.
20509 (libc_feresetroundf): New.
20510 (libc_feresetroundl): New.
20511 (libc_fetestexcept_mips): New.
20512 (libc_fetestexcept): New.
20513 (libc_fetestexceptf): New.
20514 (libc_fetestexceptl): New.
20515 (HAVE_RM_CTX): New.
20516 (libc_feholdexcept_setround_mips_ctx): New.
20517 (libc_feholdexcept_setround_ctx): New.
20518 (libc_feholdexcept_setroundf_ctx): New.
20519 (libc_feholdexcept_setroundl_ctx): New.
20520 (libc_fesetenv_mips_ctx): New.
20521 (libc_fesetenv_ctx): New.
20522 (libc_fesetenv_ctxf): New.
20523 (libc_fesetenv_ctxl): New.
20524 (libc_feupdateenv_mips_ctx): New.
20525 (libc_feupdateenv_ctx): New.
20526 (libc_feupdateenvf_ctx): New.
20527 (libc_feupdateenvl_ctx): New.
20528 (libc_feholdsetround_mips_ctx): New.
20529 (libc_feholdsetround_ctx): New.
20530 (libc_feholdsetroundf_ctx): New.
20531 (libc_feholdsetroundl_ctx): New.
20532 (libc_feresetround_mips_ctx): New.
20533 (libc_feresetround_ctx): New.
20534 (libc_feresetroundf_ctx): New.
20535 (libc_feresetroundl_ctx): New.
20537 2014-02-26 Carlos O'Donell <carlos@redhat.com>
20539 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20541 * manual/ipc.texi: New file.
20542 * manual/Makefile (chapters): Add ipc.
20543 * manual/job.texi: Add "Inter-Process Communication" to next.
20544 * manual/process.texi: Add "Inter-Process Communication" to prev.
20546 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20550 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
20552 * malloc/malloc.c (__libc_calloc): Simplify implementation.
20554 * manual/arith.texi: Fix spaces after sentences.
20555 * manual/charset.texi: Likewise.
20556 * manual/errno.texi: Likewise.
20557 * manual/install.texi: Likewise.
20558 * manual/llio.texi: Likewise.
20559 * manual/locale.texi: Likewise.
20560 * manual/maint.texi: Likewise.
20561 * manual/math.texi: Likewise.
20562 * manual/memory.texi: Likewise.
20563 * manual/message.texi: Likewise.
20564 * manual/probes.texi: Likewise.
20565 * manual/resource.texi: Likewise.
20566 * manual/signal.texi: Likewise.
20567 * manual/socket.texi: Likewise.
20568 * manual/stdio.texi: Likewise.
20569 * manual/string.texi: Likewise.
20570 * manual/time.texi: Likewise.
20571 * manual/users.texi: Likewise.
20573 2014-02-25 Carlos O'Donell <carlos@redhat.com>
20576 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20577 _DEFAULT_SOURCE is defined.
20579 2014-02-25 Ulrich Drepper <drepper@gmail.com>
20580 Carlos O'Donell <carlos@redhat.com>
20583 * elf/dl-tls.c (_dl_count_modids): New function.
20584 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20585 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20586 audit library and increment generation counter.
20587 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20588 * elf/tst-audit9.c: New file.
20589 * elf/tst-auditmod9a.c: New file.
20590 * elf/tst-auditmod9b.c: New file.
20591 * elf/Makefile: Add rules to build and run tst-audit9.
20593 2014-02-25 Florian Weimer <fweimer@redhat.com>
20596 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20598 2014-02-25 Will Newton <will.newton@linaro.org>
20600 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20601 (__longjmp): Restore sp and lr before restoring callee
20602 saved registers. Add longjmp and longjmp_target
20603 SystemTap probe point.
20604 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20605 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20606 Define to zero to match jmpbuf layout.
20607 * sysdeps/arm/setjmp.S: Include stap-probe.h.
20608 (__sigsetjmp): Save sp and lr before saving callee
20609 saved registers. Add setjmp SystemTap probe point.
20611 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20613 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20615 2014-02-24 Andreas Schwab <schwab@suse.de>
20618 * elf/pldd.c (wait_for_ptrace_stop): New function.
20619 (main): Call it after attaching.
20621 2014-02-22 Roland McGrath <roland@hack.frob.com>
20623 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20624 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20625 Versions files is now verboten.
20626 * hurd/Versions (libc: GLIBC_2.0):
20627 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20628 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20629 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20630 * mach/Versions: Likewise.
20632 * csu/Versions: Remove unused %include.
20633 * resolv/Versions: Likewise.
20635 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20637 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20638 ($(objpfx)check-local-headers.out): Likewise.
20639 ($(objpfx)begin-end-check.out): Likewise.
20640 * Makerules (check-abi-%.out): Likewise.
20641 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20642 ($(objpfx)test2.cat): Likewise.
20643 ($(objpfx)de/libc.cat): Likewise.
20644 ($(objpfx)test-gencat.out): Likewise.
20645 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20646 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20647 ($(objpfx)noload-mem): Likewise.
20648 ($(objpfx)tst-pathopt.out): Likewise.
20649 ($(objpfx)tst-rtld-load-self.out): Likewise.
20650 ($(objpfx)tst-array1-cmp.out): Likewise.
20651 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20652 ($(objpfx)tst-array2-cmp.out): Likewise.
20653 ($(objpfx)tst-array3-cmp.out): Likewise.
20654 ($(objpfx)tst-array4-cmp.out): Likewise.
20655 ($(objpfx)tst-array5-cmp.out): Likewise.
20656 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20657 ($(objpfx)check-textrel.out): Likewise.
20658 ($(objpfx)check-execstack.out): Likewise.
20659 ($(objpfx)check-localplt.out): Likewise.
20660 ($(objpfx)order2-cmp.out): Likewise.
20661 ($(objpfx)tst-leaks1-mem): Likewise.
20662 ($(objpfx)tst-leaks1-static-mem): Likewise.
20663 ($(objpfx)tst-initorder-cmp.out): Likewise.
20664 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20665 ($(objpfx)tst-unused-dep.out): Likewise.
20666 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20667 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20668 * iconv/Makefile (test-iconvconfig): Likewise.
20669 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20670 ($(objpfx)iconv-test.out): Likewise.
20671 ($(objpfx)tst-tables.out): Likewise.
20672 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20673 ($(objpfx)tst-gettext.out): Likewise.
20674 ($(objpfx)tst-translit.out): Likewise.
20675 ($(objpfx)tst-gettext2.out): Likewise.
20676 ($(objpfx)tst-gettext4.out): Likewise.
20677 ($(objpfx)tst-gettext6.out): Likewise.
20678 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20679 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20680 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20681 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20683 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20684 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20685 ($(objpfx)wordexp-tst.out): Likewise.
20686 ($(objpfx)annexc.out): Likewise.
20687 ($(objpfx)tst-fnmatch-mem): Likewise.
20688 ($(objpfx)bug-regex2-mem): Likewise.
20689 ($(objpfx)bug-regex14-mem): Likewise.
20690 ($(objpfx)bug-regex21-mem): Likewise.
20691 ($(objpfx)bug-regex31-mem): Likewise.
20692 ($(objpfx)tst-vfork3-mem): Likewise.
20693 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20694 ($(objpfx)tst-pcre-mem): Likewise.
20695 ($(objpfx)tst-boost-mem): Likewise.
20696 ($(objpfx)tst-getconf.out): Likewise.
20697 ($(objpfx)bug-ga2-mem): Likewise.
20698 ($(objpfx)bug-glob2-mem): Likewise.
20699 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20700 ($(objpfx)mtrace-tst-leaks2): Likewise.
20701 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20702 ($(objpfx)tst-printf.out): Likewise.
20703 ($(objpfx)tst-setvbuf1.out): Likewise.
20704 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20705 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20706 ($(objpfx)tst-fmtmsg.out): Likewise.
20707 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20708 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20710 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20711 * bits/sigaction.h [__USE_MISC]: Likewise.
20712 * bits/waitstatus.h: Update #endif comments.
20713 * ctype/ctype.h: Likewise.
20714 * dirent/dirent.h: Likewise.
20715 [__USE_MISC]: Remove redundant conditionals.
20716 * grp/grp.h: Update #endif comments.
20717 [__USE_GNU]: Remove redundant conditionals.
20718 [__USE_MISC]: Likewise.
20719 * inet/netinet/in.h [__USE_GNU]: Likewise.
20720 * io/sys/stat.h [__USE_MISC]: Likewise.
20721 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20722 * libio/bits/stdio.h: Update #endif comments.
20723 [__USE_MISC]: Remove redundant conditionals.
20724 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20725 * libio/stdio.h: Update #endif comments.
20726 [__USE_MISC]: Remove redundant conditionals.
20727 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20728 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20729 * math/math.h: Update #else and #endif comments.
20730 [__USE_MISC]: Remove redundant conditionals.
20731 * misc/sys/uio.h: Update #endif comments.
20732 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20733 * posix/glob.h [__USE_MISC]: Likewise.
20734 * posix/sys/types.h: Update #endif comments.
20735 [__USE_MISC]: Remove redundant conditionals.
20736 * posix/sys/wait.h: Update #endif comments.
20737 [__USE_MISC]: Remove redundant conditionals.
20738 * posix/unistd.h: Update #endif comments.
20739 [__USE_MISC]: Remove redundant conditionals.
20740 * pwd/pwd.h [__USE_GNU]: Likewise.
20741 [__USE_MISC]: Likewise.
20742 * resolv/netdb.h [__USE_GNU]: Likewise.
20743 * signal/signal.h: Update #endif comments.
20744 [__USE_MISC]: Remove redundant conditionals.
20745 * stdlib/stdlib.h: Update #else and #endif comments.
20746 [__USE_MISC]: Remove redundant conditionals.
20747 [__USE_GNU]: Likewise.
20748 * string/bits/string2.h [__USE_MISC]: Likewise.
20749 * string/string.h: Update #endif comments.
20750 [__USE_MISC]: Remove redundant conditionals.
20751 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20753 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20754 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20755 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20757 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20761 [__USE_MISC]: Remove redundant conditionals.
20762 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20763 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20764 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20765 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20766 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20768 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20769 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20771 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20772 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20774 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20776 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20777 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20779 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20781 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20782 * sysdeps/x86/bits/string.h: Update #endif comments.
20783 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20785 * time/sys/time.h: Update #endif comments.
20786 * time/time.h: Likewise.
20787 [__USE_MISC]: Remove redundant conditionals.
20789 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20792 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20794 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20796 * Versions.def (librt): Add GLIBC_2.17.
20798 2014-02-21 Adam Conrad <adconrad@0c3.net>
20800 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20801 synonym for _SYS_AUXV_H to allow direct inclusion.
20802 * sysdeps/sparc/bits/hwcap.h: Likewise.
20803 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20804 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20805 * sysdeps/sparc/sysdep.h: Likewise.
20807 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20809 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20811 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20813 * benchtests/bench-strrchr.c: Print length instead of position.
20815 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20818 * sysdeps/unix/sysv/linux/kernel-features.h
20819 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20820 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20821 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20822 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20824 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20825 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20826 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20827 (__ASSUME_SENDMMSG): Define instead of using previous
20828 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20829 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20830 (__ASSUME_SENDMMSG_SYSCALL): Define.
20831 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20832 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20835 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20837 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20838 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20840 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20841 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20842 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20843 [__ASSUME_SENDMMSG]: Change conditionals to
20844 [__ASSUME_SENDMMSG_SOCKETCALL].
20845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20846 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20848 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20849 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20851 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20852 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20853 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20854 [!__ASSUME_SENDMMSG]: Change conditional to
20855 [!__ASSUME_SENDMMSG_SOCKETCALL].
20856 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20857 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20861 * sysdeps/unix/sysv/linux/kernel-features.h
20862 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20863 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20864 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20865 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20866 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20867 [__i386__ || __sparc__]
20868 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20869 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20870 (__ASSUME_RECVMMSG): Define instead of using previous
20871 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20872 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20873 (__ASSUME_RECVMMSG_SYSCALL): Define.
20874 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20877 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20878 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20880 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20881 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20883 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20884 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20885 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20886 [__ASSUME_RECVMMSG]: Change condition to
20887 [__ASSUME_RECVMMSG_SOCKETCALL].
20888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20891 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20892 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20893 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20895 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20896 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20897 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20898 [!__ASSUME_RECVMMSG]: Change condition to
20899 [!__ASSUME_RECVMMSG_SOCKETCALL].
20900 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20901 (__ASSUME_RECVMMSG_SYSCALL): Define.
20904 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20905 __powerpc__ || __s390__ || __sh__ || __sparc__]
20906 (__ASSUME_SOCKETCALL): Define.
20907 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20908 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20909 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20910 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20911 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20912 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20913 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20914 (__ASSUME_ACCEPT4): Define instead of using previous
20915 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20916 __powerpc__ || __sparc__ || __s390__)] condition.
20917 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20918 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20919 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20920 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20921 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20922 [!__ASSUME_ACCEPT4]: Change condition to
20923 [!__ASSUME_ACCEPT4_SOCKETCALL].
20924 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20925 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20926 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20927 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20928 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20929 __ASSUME_ACCEPT4_SYSCALL.
20930 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20931 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20932 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20933 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20934 __ASSUME_ACCEPT4_SYSCALL.
20935 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20936 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20937 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20938 [__ASSUME_ACCEPT4]: Change condition to
20939 [__ASSUME_ACCEPT4_SOCKETCALL].
20940 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20941 (__ASSUME_SOCKETCALL): Define.
20942 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20943 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20944 (__ASSUME_SOCKETCALL): Define.
20945 (__ASSUME_ACCEPT4): Remove.
20946 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20948 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20949 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20952 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20954 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20956 (HWCAP_ARM_LPAE): Likewise.
20957 (HWCAP_ARM_EVTSTRM): Likewise.
20958 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20959 Add vpfd32, lpae and evtstrm.
20960 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20963 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20965 * math/auto-libm-test-in: Add tests of clog10.
20966 * math/auto-libm-test-out: Regenerated.
20967 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20968 * sysdeps/i386/fpu/libm-test-ulps: Update.
20969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20971 2014-02-18 Andreas Schwab <schwab@suse.de>
20974 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20975 Store non-zero if the second buffer was newly allocated.
20976 (send_dg): Likewise.
20977 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20978 to send_vc and send_dg.
20979 (res_nsend): Pass NULL for ansp2_malloced.
20980 * resolv/res_query.c (__libc_res_nquery): Add parameter
20981 answerp2_malloced and pass it down to __libc_res_nsend.
20982 (res_nquery): Pass additional NULL to __libc_res_nquery.
20983 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20984 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20985 second answer buffer if answerp2_malloced was set.
20986 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20987 (__libc_res_nquerydomain): Add parameter
20988 answerp2_malloced and pass it down to __libc_res_nquery.
20989 (res_nquerydomain): Pass additional NULL to
20990 __libc_res_nquerydomain.
20991 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20992 additional NULL to __libc_res_nsend and __libc_res_nquery.
20993 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20994 additional NULL to __libc_res_nsearch.
20995 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20996 parameter of __libc_res_nsearch to check for separately allocated
20998 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21000 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21001 additional NULL to __libc_res_nquery.
21002 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21003 __libc_res_nsearch.
21004 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21005 * include/resolv.h: Update prototypes of __libc_res_nquery,
21006 __libc_res_nsearch, __libc_res_nsend.
21008 2014-02-18 Joseph Myers <joseph@codesourcery.com>
21010 * math/auto-libm-test-in: Add tests of fma.
21011 * math/auto-libm-test-out: Regenerated.
21012 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21013 (fma_towardzero_test_data): Likewise.
21014 (fma_downward_test_data): Likewise.
21015 (fma_upward_test_data): Likewise.
21016 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21018 (rounding_modes): Add values for new field.
21019 (func_calc_method): Add value mpfr_fff_f.
21020 (func_calc_desc): Add mpfr_fff_f union field.
21021 (test_function): Add field exact_args.
21022 (FUNC): Add macro argument EXACT_ARGS.
21023 (FUNC_mpfr_f_f): Update call to FUNC.
21024 (FUNC_mpfr_f_f): Likewise.
21025 (FUNC_mpfr_ff_f): Likewise.
21026 (FUNC_mpfr_if_f): Likewise.
21027 (FUNC_mpc_c_f): Likewise.
21028 (FUNC_mpc_c_c): Likewise.
21029 (test_functions): Add fma. Update calls to FUNC.
21030 (handle_input_arg): Add argument exact_args.
21031 (add_test): Update call to handle_input_arg.
21032 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
21033 (output_for_one_input_case): Update call to calc_generic_results.
21034 Recalculate exact zero results in each rounding mode.
21036 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21037 non-negative before setting low bit.
21038 * math/auto-libm-test-in: Mark one asin test possibly having
21039 spurious underflow.
21040 * math/auto-libm-test-out: Regenerated.
21041 * sysdeps/i386/fpu/libm-test-ulps: Update.
21042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21044 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
21046 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21047 * sysdeps/unix/sysv/linux/microblaze: Move directory from
21048 ports/sysdeps/unix/sysv/linux/microblaze.
21049 * README: Add missing listing for microblaze*-*-linux-gnu.
21051 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
21053 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21056 2014-02-16 Mike Frysinger <vapier@gentoo.org>
21058 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21059 * sysdeps/unix/sysv/linux/ia64: Move directory from
21060 ports/sysdeps/unix/sysv/linux/ia64.
21061 * README: Update listing for ia64-*-linux-gnu.
21063 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
21064 Joseph Myers <joseph@codesourcery.com>
21066 * Makeconfig (test-name): New variable.
21067 (evaluate-test): Likewise.
21068 * Makerules (do-test-clean): Remove .test-result files.
21069 (common-mostlyclean): Likewise.
21070 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21071 * scripts/evaluate-test.sh: New file.
21073 2014-02-14 Joseph Myers <joseph@codesourcery.com>
21075 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21076 separate $(objpfx)tst-fopenloc-cmp.out and
21077 $(objpfx)tst-fopenloc-mem.out targets.
21078 (tests): Update dependencies.
21079 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21080 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21081 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21082 (tst-rxspencer-no-utf8-ARGS): New variable.
21083 (tst-rxspencer-no-utf8-ENV): Likewise.
21084 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21085 instead of $(objpfx)tst-rxspencer-mem.
21086 ($(objpfx)tst-rxspencer-mem): Change target to
21087 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
21088 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21089 * posix/tst-rxspencer-no-utf8.c: New file.
21091 * elf/Makefile ($(objpfx)order.out): Remove rule.
21092 [$(run-built-tests) = yes] (tests): Depend on
21093 $(objpfx)order-cmp.out.
21094 ($(objpfx)order-cmp.out): New rule.
21095 [$(run-built-tests) = yes] (tests): Depend on
21096 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21097 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21098 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21099 $(objpfx)tst-array5-static-cmp.out.
21100 ($(objpfx)tst-array1.out): Remove rule.
21101 ($(objpfx)tst-array1-cmp.out): New rule.
21102 ($(objpfx)tst-array1-static.out): Remove rule.
21103 ($(objpfx)tst-array1-static-cmp.out): New rule.
21104 ($(objpfx)tst-array2.out): Remove rule.
21105 ($(objpfx)tst-array2-cmp.out): New rule.
21106 ($(objpfx)tst-array3.out): Remove rule.
21107 ($(objpfx)tst-array3-cmp.out): New rule.
21108 ($(objpfx)tst-array4.out): Remove rule.
21109 ($(objpfx)tst-array4-cmp.out): New rule.
21110 ($(objpfx)tst-array5.out): Remove rule.
21111 ($(objpfx)tst-array5-cmp.out): New rule.
21112 ($(objpfx)tst-array5-static.out): Remove rule.
21113 ($(objpfx)tst-array5-static-cmp.out): New rule.
21114 [$(run-built-tests) = yes] (tests): Depend on
21115 $(objpfx)order2-cmp.out.
21116 ($(objpfx)order2.out): Remove rule.
21117 ($(objpfx)order2-cmp.out): New rule.
21118 ($(objpfx)tst-initorder.out): Remove rule.
21119 [$(run-built-tests) = yes] (tests): Depend on
21120 $(objpfx)tst-initorder-cmp.out.
21121 ($(objpfx)tst-initorder-cmp.out): New rule.
21122 ($(objpfx)tst-initorder2.out): Remove rule.
21123 [$(run-built-tests) = yes] (tests): Depend on
21124 $(objpfx)tst-initorder2-cmp.out.
21125 ($(objpfx)tst-initorder2-cmp.out): New rule.
21126 [$(run-built-tests) = yes] (tests): Depend on
21127 $(objpfx)tst-unused-dep-cmp.out.
21128 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21129 ($(objpfx)tst-unused-dep-cmp.out): New rule.
21130 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21131 on $(objpfx)tst-setvbuf1-cmp.out.
21132 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21133 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21134 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21135 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21136 ($(objpfx)tst-svc.out): Remove rule.
21137 ($(objpfx)tst-svc-cmp.out): New rule.
21139 2014-02-13 Joseph Myers <joseph@codesourcery.com>
21141 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21142 * ctype/ctype.h [__USE_MISC]: Likewise.
21143 * dirent/dirent.h [__USE_MISC]: Likewise.
21144 * grp/grp.h [__USE_MISC]: Likewise.
21145 * io/fcntl.h [__USE_MISC]: Likewise.
21146 * io/sys/stat.h [__USE_MISC]: Likewise.
21147 * libio/stdio.h [__USE_MISC]: Likewise.
21148 * posix/unistd.h [__USE_MISC]: Likewise.
21149 * pwd/pwd.h [__USE_MISC]: Likewise.
21150 * stdlib.h [__USE_MISC]: Likewise.
21151 * string/bits/string2.h [__USE_MISC]: Likewise.
21152 * string/string.h [__USE_MISC]: Likewise.
21153 * time/time.h [__USE_MISC]: Likewise.
21155 2014-02-13 Andreas Schwab <schwab@suse.de>
21158 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21159 second answer buffer if it was separately allocated.
21161 2014-02-12 Joseph Myers <joseph@codesourcery.com>
21163 * sysdeps/mips/math-tests.h: Include <features.h>.
21164 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21165 (ROUNDING_TESTS_long_double): Do not define.
21166 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21167 (EXCEPTION_TESTS_long_double): Likewise.
21168 * sysdeps/mips/mips64/libm-test-ulps: Update.
21170 * include/features.h (__USE_BSD): Remove macro definitions.
21171 (__USE_SVID): Likewise.
21172 (_BSD_SOURCE): Likewise.
21173 (_SVID_SOURCE): Likewise.
21174 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21175 from definition of _DEFAULT_SOURCE.
21176 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21178 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21179 * bits/mman.h [__USE_BSD]: Likewise.
21180 * bits/termios.h [__USE_BSD]: Likewise.
21181 * bits/waitstatus.h [__USE_BSD]: Likewise.
21182 * ctype/ctype.h [__USE_SVID]: Likewise.
21183 * dirent/dirent.h [__USE_BSD]: Likewise.
21184 * grp/grp.h [__USE_SVID]: Likewise.
21185 [__USE_BSD]: Likewise.
21186 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21187 * io/fcntl.h [__USE_BSD]: Likewise.
21188 * io/ftw.h [__USE_BSD]: Likewise.
21189 * io/sys/stat.h [__USE_BSD]: Likewise.
21190 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21191 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21192 * libio/stdio.h [__USE_SVID]: Likewise.
21193 [__USE_BSD]: Likewise.
21194 * math/math.h [__USE_SVID]: Likewise.
21195 [__USE_BSD]: Likewise.
21196 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21197 * misc/bits/syslog.h [__USE_BSD]: Likewise.
21198 * misc/search.h [__USE_SVID]: Likewise.
21199 * misc/sys/mman.h [__USE_BSD]: Likewise.
21200 * misc/sys/syslog.h [__USE_BSD]: Likewise.
21201 * misc/sys/uio.h [__USE_BSD]: Likewise.
21202 * posix/bits/unistd.h [__USE_BSD]: Likewise.
21203 * posix/glob.h [__USE_BSD]: Likewise.
21204 * posix/regex.h [__USE_BSD]: Likewise.
21205 * posix/sys/types.h [__USE_BSD]: Likewise.
21206 [__USE_SVID]: Likewise.
21207 * posix/sys/utsname.h [__USE_SVID]: Likewise.
21208 * posix/sys/wait.h [__USE_BSD]: Likewise.
21209 [__USE_SVID]: Likewise.
21210 * posix/unistd.h [__USE_BSD]: Likewise.
21211 [__USE_SVID]: Likewise.
21212 * pwd/pwd.h [__USE_SVID]: Likewise.
21213 * resolv/netdb.h [__USE_BSD]: Likewise.
21214 * setjmp/setjmp.h [__USE_BSD]: Likewise.
21215 * signal/signal.h [__USE_BSD]: Likewise.
21216 [__USE_SVID]: Likewise.
21217 * socket/sys/socket.h [__USE_BSD]: Likewise.
21218 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21219 * stdlib/stdlib.h [__USE_BSD]: Likewise.
21220 [__USE_SVID]: Likewise.
21221 * string/bits/string2.h [__USE_BSD]: Likewise.
21222 [__USE_SVID]: Likewise.
21223 * string/bits/string3.h [__USE_BSD]: Likewise.
21224 * string/endian.h [__USE_BSD]: Likewise.
21225 * string/string.h [__USE_SVID]: Likewise.
21226 [__USE_BSD]: Likewise.
21227 * string/strings.h [__USE_BSD]: Likewise.
21228 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21229 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21230 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21231 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21232 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21233 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21237 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21238 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21240 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21241 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21243 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21245 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21246 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21247 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21249 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21251 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21252 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21253 * termios/termios.h [__USE_BSD]: Likewise.
21254 * time/sys/time.h [__USE_BSD]: Likewise.
21255 * time/time.h [__USE_BSD]: Likewise.
21256 [__USE_SVID]: Likewise.
21258 * Makefile (subdir_targets): Remove subdir_lint.out.
21260 * stdio-common/Makefile (do-tst-unbputc): Remove target.
21261 (do-tst-printf): Likewise.
21262 (tests): Depend directly on $(objpfx)tst-unbputc.out and
21263 $(objpfx)tst-printf.out.
21265 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21267 * Makerules (check-abi-%): Change target to
21268 $(objpfx)check-abi-%.out.
21269 (check-abi target): Update dependencies.
21270 (check-abi-pattern variable): Redirect output of diff to $@.
21271 (check-abi variable): Likewise.
21272 * elf/Makefile (check-abi): Update dependencies.
21274 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21276 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21277 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21279 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21280 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21281 value has largest subnormal exponent.
21282 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21283 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21284 * sysdeps/aarch64/soft-fp/sfp-machine.h
21285 (_FP_TININESS_AFTER_ROUNDING): New macro.
21286 * sysdeps/alpha/soft-fp/sfp-machine.h
21287 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21288 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21290 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21291 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21292 * sysdeps/mips/soft-fp/sfp-machine.h
21293 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21294 * sysdeps/powerpc/soft-fp/sfp-machine.h
21295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21296 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21298 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
21302 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21305 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
21308 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21311 2014-02-12 Richard Henderson <rth@redhat.com>
21313 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21314 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21315 * sysdeps/unix/sysv/linux/alpha: Move directory from
21316 ports/sysdeps/unix/sysv/linux/alpha.
21317 * README: Update listing for alpha-*-linux-gnu.
21319 2014-02-11 Joseph Myers <joseph@codesourcery.com>
21321 * include/features.h: Update comment documenting feature test
21323 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
21325 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21326 (_SVID_SOURCE): Likewise.
21327 (_DEFAULT_SOURCE): Update description of default features.
21328 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21330 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21331 (S_ISVTX): Likewise.
21332 * manual/math.texi (Mathematical Constants): Likewise.
21333 * manual/signal.texi (Interrupted Primitives): Likewise.
21334 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21335 * math/test-matherr.c (_SVID_SOURCE): Do not define.
21336 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21337 Don't refer to _SVID_SOURCE in warning text.
21339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21341 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21343 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21344 * sysdeps/mips/dl-lookup.c: Remove.
21345 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21347 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21350 * math/auto-libm-test-in: Add testcase for expl.
21351 * math/auto-libm-test-out: Regenerate.
21352 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21353 calculation of unsafe.
21354 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21356 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
21358 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21359 * sysdeps/unix/sysv/linux/aarch64: Move directory from
21360 ports/sysdeps/unix/sysv/linux/aarch64.
21361 * README: Update listing for aarch64*-*-linux-gnu.
21363 2014-02-11 Will Newton <will.newton@linaro.org>
21365 * manual/probes.texi (Mathematical Function Probes): Use
21366 "triggered" instead of "hit".
21368 * manual/probes.texi (Internal Probes): Add documentation
21369 of setjmp, longjmp and longjmp_target probes.
21371 * include/stap-probe.h: Add comment about probe argument
21374 * malloc/mtrace.c (attribute_hidden): Remove unused macro
21375 definition. (tr_where, tr_freehook, tr_mallochook,
21376 tr_reallochook, tr_memalignhook): Use ANSI protoype.
21378 2014-02-11 David S. Miller <davem@davemloft.net>
21380 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21381 processing int_tests.
21383 2014-02-10 Joseph Myers <joseph@codesourcery.com>
21385 * sysdeps/mips: Move directory from ports/sysdeps/mips.
21386 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21387 * sysdeps/unix/sysv/linux/mips: Move directory from
21388 ports/sysdeps/unix/sysv/linux/mips.
21389 * README: Update listing for mips-*-linux-gnu and
21390 mips64-*-linux-gnu.
21392 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
21394 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21395 * sysdeps/unix/sysv/linux/m68k: Move directory from
21396 ports/sysdeps/unix/sysv/linux/m68k.
21397 * README: Update listing for m68k-*-linux-gnu.
21399 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
21401 * sysdeps/tile: Move directory from ports/sysdeps/tile.
21402 * sysdeps/unix/sysv/linux/generic: Move directory from
21403 ports/sysdeps/unix/sysv/linux/generic.
21404 * sysdeps/unix/sysv/linux/tile: Move directory from
21405 ports/sysdeps/unix/sysv/linux/tile.
21406 * README: Update listing for tile*-*-linux-gnu.
21408 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
21410 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21412 * benchtests/bench-memmem.c (simple_memmem): Likewise.
21413 * catgets/open_catalog.c (__open_catalog): Likewise.
21414 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21415 * debug/confstr_chk.c: Likewise.
21416 * debug/fread_chk.c (__fread_chk): Likewise.
21417 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21418 * debug/getgroups_chk.c: Likewise.
21419 * debug/mbsnrtowcs_chk.c: Likewise.
21420 * debug/mbsrtowcs_chk.c: Likewise.
21421 * debug/mbstowcs_chk.c: Likewise.
21422 * debug/memcpy_chk.c: Likewise.
21423 * debug/memmove_chk.c: Likewise.
21424 * debug/mempcpy_chk.c: Likewise.
21425 * debug/memset_chk.c: Likewise.
21426 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21427 * debug/strcat_chk.c (__strcat_chk): Likewise.
21428 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21429 * debug/strncat_chk.c (__strncat_chk): Likewise.
21430 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21431 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21432 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21433 * debug/wcpncpy_chk.c: Likewise.
21434 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21435 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21436 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21437 * debug/wcsncpy_chk.c: Likewise.
21438 * debug/wcsnrtombs_chk.c: Likewise.
21439 * debug/wcsrtombs_chk.c: Likewise.
21440 * debug/wcstombs_chk.c: Likewise.
21441 * debug/wmemcpy_chk.c: Likewise.
21442 * debug/wmemmove_chk.c: Likewise.
21443 * debug/wmempcpy_chk.c: Likewise.
21444 * debug/wmemset_chk.c: Likewise.
21445 * dirent/scandirat.c (SCANDIRAT): Likewise.
21446 * dlfcn/dladdr1.c (dladdr1): Likewise.
21447 * dlfcn/dladdr.c (dladdr): Likewise.
21448 * dlfcn/dlclose.c (dlclose_doit): Likewise.
21449 * dlfcn/dlerror.c (__dlerror): Likewise.
21450 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21451 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21452 * dlfcn/dlopen.c (dlopen_doit): Likewise.
21453 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21454 * dlfcn/dlsym.c (dlsym_doit): Likewise.
21455 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21456 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21457 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21459 * elf/dl-conflict.c: Likewise.
21460 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21461 * elf/dl-dst.h: Likewise.
21462 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21463 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21464 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21465 * elf/dl-init.c (call_init, _dl_init): Likewise.
21466 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21467 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21468 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21470 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21472 * elf/dl-minimal.c (__libc_memalign): Likewise.
21473 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21474 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21475 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21476 * elf/dl-sym.c (do_sym): Likewise.
21477 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21478 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21479 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21480 * elf/dl-writev.h (_dl_writev): Likewise.
21481 * elf/ldconfig.c (search_dir): Likewise.
21482 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21483 (dl_main): Likewise.
21484 * elf/setup-vdso.h (setup_vdso): Likewise.
21485 * grp/compat-initgroups.c (compat_call): Likewise.
21486 * grp/fgetgrent.c (fgetgrent): Likewise.
21487 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21488 * grp/putgrent.c (putgrent): Likewise.
21489 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21491 * hurd/hurdinit.c: Likewise.
21492 * iconvdata/8bit-gap.c (struct): Likewise.
21493 * iconvdata/ansi_x3.110.c : Likewise.
21494 * iconvdata/big5.c : Likewise.
21495 * iconvdata/big5hkscs.c : Likewise.
21496 * iconvdata/cp1255.c: Likewise.
21497 * iconvdata/cp1258.c : Likewise.
21498 * iconvdata/cp932.c : Likewise.
21499 * iconvdata/euc-cn.c: Likewise.
21500 * iconvdata/euc-jisx0213.c : Likewise.
21501 * iconvdata/euc-jp.c: Likewise.
21502 * iconvdata/euc-jp-ms.c : Likewise.
21503 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21504 * iconvdata/gb18030.c : Likewise.
21505 * iconvdata/gbbig5.c (const): Likewise.
21506 * iconvdata/gbgbk.c: Likewise.
21507 * iconvdata/gbk.c : Likewise.
21508 * iconvdata/ibm1364.c : Likewise.
21509 * iconvdata/ibm930.c : Likewise.
21510 * iconvdata/ibm932.c: Likewise.
21511 * iconvdata/ibm933.c : Likewise.
21512 * iconvdata/ibm935.c : Likewise.
21513 * iconvdata/ibm937.c : Likewise.
21514 * iconvdata/ibm939.c : Likewise.
21515 * iconvdata/ibm943.c: Likewise.
21516 * iconvdata/iso_11548-1.c: Likewise.
21517 * iconvdata/iso-2022-cn.c : Likewise.
21518 * iconvdata/iso-2022-cn-ext.c : Likewise.
21519 * iconvdata/iso-2022-jp-3.c: Likewise.
21520 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21521 * iconvdata/iso-2022-kr.c : Likewise.
21522 * iconvdata/iso646.c (gconv_end): Likewise.
21523 * iconvdata/iso_6937-2.c : Likewise.
21524 * iconvdata/iso_6937.c : Likewise.
21525 * iconvdata/iso8859-1.c: Likewise.
21526 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21527 * iconvdata/shift_jisx0213.c : Likewise.
21528 * iconvdata/sjis.c : Likewise.
21529 * iconvdata/t.61.c : Likewise.
21530 * iconvdata/tcvn5712-1.c : Likewise.
21531 * iconvdata/tscii.c: Likewise.
21532 * iconvdata/uhc.c : Likewise.
21533 * iconvdata/unicode.c (gconv_end): Likewise.
21534 * iconvdata/utf-16.c (gconv_end): Likewise.
21535 * iconvdata/utf-32.c (gconv_end): Likewise.
21536 * iconvdata/utf-7.c (base64): Likewise.
21537 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21538 * iconv/gconv_close.c (__gconv_close): Likewise.
21539 * iconv/gconv_open.c (__gconv_open): Likewise.
21540 * iconv/gconv_simple.c (internal_ucs4_loop_single)
21541 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21542 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21543 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21544 (ucs4le_internal_loop_single): Likewise.
21545 * iconv/iconv.c (iconv): Likewise.
21546 * iconv/iconv_close.c: Likewise.
21547 * iconv/loop.c (SINGLE): Likewise.
21548 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21549 * include/atomic.h: Likewise.
21550 * inet/inet6_option.c (option_alloc): Likewise.
21551 * intl/bindtextdom.c (set_binding_values): Likewise.
21552 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21553 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21554 * intl/localealias.c (read_alias_file): Likewise.
21555 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21556 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21557 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21558 * libio/fmemopen.c (fmemopen): Likewise.
21559 * libio/iofgets.c (_IO_fgets): Likewise.
21560 * libio/iofgets_u.c (fgets_unlocked): Likewise.
21561 * libio/iofgetws.c (fgetws): Likewise.
21562 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21563 * libio/iogetdelim.c (_IO_getdelim): Likewise.
21564 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21565 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21566 * locale/findlocale.c (_nl_find_locale): Likewise.
21567 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21568 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21570 * locale/setlocale.c (setlocale): Likewise.
21571 * login/programs/pt_chown.c (main): Likewise.
21572 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21573 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21574 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21575 (mmap, mmap64, mremap, munmap): Likewise.
21576 * math/e_exp2l.c: Likewise.
21577 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21578 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21579 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21580 * math/s_catan.c (__catan): Likewise.
21581 * math/s_catanf.c (__catanf): Likewise.
21582 * math/s_catanh.c (__catanh): Likewise.
21583 * math/s_catanhf.c (__catanhf): Likewise.
21584 * math/s_catanhl.c (__catanhl): Likewise.
21585 * math/s_catanl.c (__catanl): Likewise.
21586 * math/s_ccosh.c (__ccosh): Likewise.
21587 * math/s_ccoshf.c (__ccoshf): Likewise.
21588 * math/s_ccoshl.c (__ccoshl): Likewise.
21589 * math/s_cexp.c (__cexp): Likewise.
21590 * math/s_cexpf.c (__cexpf): Likewise.
21591 * math/s_cexpl.c (__cexpl): Likewise.
21592 * math/s_clog10.c (__clog10): Likewise.
21593 * math/s_clog10f.c (__clog10f): Likewise.
21594 * math/s_clog10l.c (__clog10l): Likewise.
21595 * math/s_clog.c (__clog): Likewise.
21596 * math/s_clogf.c (__clogf): Likewise.
21597 * math/s_clogl.c (__clogl): Likewise.
21598 * math/s_csin.c (__csin): Likewise.
21599 * math/s_csinf.c (__csinf): Likewise.
21600 * math/s_csinh.c (__csinh): Likewise.
21601 * math/s_csinhf.c (__csinhf): Likewise.
21602 * math/s_csinhl.c (__csinhl): Likewise.
21603 * math/s_csinl.c (__csinl): Likewise.
21604 * math/s_csqrt.c (__csqrt): Likewise.
21605 * math/s_csqrtf.c (__csqrtf): Likewise.
21606 * math/s_csqrtl.c (__csqrtl): Likewise.
21607 * math/s_ctan.c (__ctan): Likewise.
21608 * math/s_ctanf.c (__ctanf): Likewise.
21609 * math/s_ctanh.c (__ctanh): Likewise.
21610 * math/s_ctanhf.c (__ctanhf): Likewise.
21611 * math/s_ctanhl.c (__ctanhl): Likewise.
21612 * math/s_ctanl.c (__ctanl): Likewise.
21613 * math/w_pow.c: Likewise.
21614 * math/w_powf.c: Likewise.
21615 * math/w_powl.c: Likewise.
21616 * math/w_scalb.c (sysv_scalb): Likewise.
21617 * math/w_scalbf.c (sysv_scalbf): Likewise.
21618 * math/w_scalbl.c (sysv_scalbl): Likewise.
21619 * misc/error.c (error_tail): Likewise.
21620 * misc/pselect.c (__pselect): Likewise.
21621 * nis/nis_callback.c (__nis_create_callback): Likewise.
21622 * nis/nis_call.c (__nisfind_server): Likewise.
21623 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21624 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21625 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21626 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21627 * nis/nis_lookup.c (nis_lookup): Likewise.
21628 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21629 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21630 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21631 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21632 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21633 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21634 * nis/nss_compat/compat-initgroups.c (add_group)
21635 (internal_getgrent_r): Likewise.
21636 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21637 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21638 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21639 (internal_getspnam_r): Likewise.
21640 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21641 (_nss_nis_getaliasbyname_r): Likewise.
21642 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21643 (_nss_nis_getntohost_r): Likewise.
21644 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21645 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21646 (_nss_nis_getgrgid_r): Likewise.
21647 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21648 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21649 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21650 (_nss_nis_gethostbyname4_r): Likewise.
21651 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21652 (initgroups_netid): Likewise.
21653 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21654 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21655 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21656 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21657 (_nss_nis_getprotobynumber_r): Likewise.
21658 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21659 (_nss_nis_getsecretkey): Likewise.
21660 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21661 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21662 (_nss_nis_getpwuid_r): Likewise.
21663 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21664 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21665 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21666 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21667 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21668 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21669 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21671 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21672 (_nss_nisplus_getntohost_r): Likewise.
21673 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21674 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21675 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21676 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21678 * nis/nss_nisplus/nisplus-initgroups.c
21679 (_nss_nisplus_initgroups_dyn): Likewise.
21680 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21681 (_nss_nisplus_getnetbyaddr_r): Likewise.
21682 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21683 (_nss_nisplus_getprotobynumber_r): Likewise.
21684 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21685 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21686 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21688 * nis/nss_nisplus/nisplus-service.c
21689 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21690 (_nss_nisplus_getservbyport_r): Likewise.
21691 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21692 (_nss_nisplus_getspnam_r): Likewise.
21693 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21695 * nscd/aicache.c (addhstaiX): Likewise.
21696 * nscd/cache.c (cache_search, prune_cache): Likewise.
21697 * nscd/connections.c (register_traced_file, send_ro_fd)
21698 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21699 (main_loop_epoll): Likewise.
21700 * nscd/grpcache.c (addgrbyX): Likewise.
21701 * nscd/hstcache.c (addhstbyX): Likewise.
21702 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21703 * nscd/mem.c (gc, mempool_alloc): Likewise.
21704 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21705 (addinnetgrX): Likewise.
21706 * nscd/nscd-client.h (__nscd_acquire_maplock)
21707 (__nscd_drop_map_ref): Likewise.
21708 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21709 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21710 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21712 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21713 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21714 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21715 (__nscd_get_map_ref): Likewise.
21716 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21717 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21719 * nscd/pwdcache.c (addpwbyX): Likewise.
21720 * nscd/selinux.c (preserve_capabilities): Likewise.
21721 * nscd/servicescache.c (addservbyX): Likewise.
21722 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21723 * posix/fnmatch.c (fnmatch): Likewise.
21724 * posix/getopt.c (_getopt_internal_r): Likewise.
21725 * posix/glob.c (glob, glob_in_dir): Likewise.
21726 * posix/wordexp.c (exec_comm_child): Likewise.
21727 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21728 (getanswer_r, gaih_getanswer_slice): Likewise.
21729 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21730 * resolv/res_init.c: Likewise.
21731 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21732 * resolv/res_query.c (__libc_res_nquery): Likewise.
21733 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21735 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21736 * stdio-common/perror.c (perror): Likewise.
21737 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21738 * stdio-common/tmpnam.c (tmpnam): Likewise.
21739 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21740 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21741 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21743 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21744 * stdlib/putenv.c (putenv): Likewise.
21745 * stdlib/setenv.c (__add_to_environ): Likewise.
21746 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21747 * stdlib/strtol_l.c (INTERNAL): Likewise.
21748 * string/memmem.c (memmem): Likewise.
21749 * string/strerror.c (strerror): Likewise.
21750 * string/strnlen.c (__strnlen): Likewise.
21751 * string/test-memmem.c (simple_memmem): Likewise.
21752 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21753 * sunrpc/pm_getport.c (__get_socket): Likewise.
21754 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21755 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21756 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21757 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21759 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21760 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21761 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21762 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21763 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21764 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21766 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21768 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21769 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21770 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21771 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21772 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21776 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21777 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21778 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21779 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21781 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21783 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21785 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21786 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21787 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21788 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21789 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21790 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21791 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21800 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21802 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21804 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21806 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21808 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21810 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21812 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21813 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21814 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21815 * sysdeps/posix/sleep.c: Likewise.
21816 * sysdeps/posix/tempname.c: Likewise.
21817 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21818 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21820 * sysdeps/powerpc/powerpc32/dl-machine.h
21821 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21822 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21824 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21825 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21827 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21828 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21829 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21830 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21831 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21832 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21833 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21834 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21835 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21836 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21838 (elf_machine_lazy_rel): Likewise.
21839 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21841 (elf_machine_lazy_rel): Likewise.
21842 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21843 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21844 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21845 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21846 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21847 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21848 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21851 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21852 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21853 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21854 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21855 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21856 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21857 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21858 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21859 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21860 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21861 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21863 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21864 (__posix_fallocate64_l64): Likewise.
21865 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21866 (posix_fallocate): Likewise.
21867 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21870 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21871 (getifaddrs_internal): Likewise.
21872 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21873 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21874 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21875 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21876 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21877 (__posix_fallocate64_l64): Likewise.
21878 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21880 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21882 (__get_clockfreq): Likewise.
21883 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21884 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21885 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21888 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21889 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21890 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21892 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21893 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21894 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21895 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21896 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21897 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21898 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21900 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21901 (posix_fallocate): Likewise.
21902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21903 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21904 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21905 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21906 (elf_machine_rela, elf_machine_rela_relative)
21907 (elf_machine_lazy_rel): Likewise.
21908 * time/asctime.c (asctime_internal): Likewise.
21909 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21910 * time/tzset.c (__tzset_parse_tz): Likewise.
21911 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21912 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21913 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21914 * wcsmbs/wcsmbsload.h: Likewise.
21917 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21919 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21920 (arena_get2): Remove THREAD_STATS conditionals.
21921 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21922 (__malloc_stats, int): Likewise.
21924 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21926 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21927 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21929 * manual/setjmp.texi: Fix typos/grammar errors.
21931 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21932 Only return early when n is <= 0. Delete unused return statement.
21934 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21935 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21936 * debug/tst-longjmp_chk3.c: New file.
21938 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21939 (test_main): Replace code with set_fortify_handler call.
21940 * debug/test-strcpy_chk.c: Likewise.
21941 * debug/tst-chk1.c: Likewise.
21942 * debug/tst-longjmp_chk.c: Likewise.
21943 * test-skeleton.c: Include fcntl.h & paths.h
21944 (set_fortify_handler): Define.
21946 * debug/tst-longjmp_chk.c: Add header comment and include
21947 ../test-skeleton.c.
21948 (do_test): Mark static.
21949 (TEST_FUNCTION): Define.
21951 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21952 (IP_PMTUDISC_INTERFACE): Likewise.
21953 (IP_MULTICAST_IF): Likewise.
21954 (IP_MULTICAST_TTL): Likewise.
21955 (IP_MULTICAST_LOOP): Likewise.
21956 (IP_ADD_MEMBERSHIP): Likewise.
21957 (IP_DROP_MEMBERSHIP): Likewise.
21958 (IP_UNBLOCK_SOURCE): Likewise.
21959 (IP_BLOCK_SOURCE): Likewise.
21960 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21961 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21962 (IP_MSFILTER): Likewise.
21963 (MCAST_JOIN_GROUP): Likewise.
21964 (MCAST_BLOCK_SOURCE): Likewise.
21965 (MCAST_UNBLOCK_SOURCE): Likewise.
21966 (MCAST_LEAVE_GROUP): Likewise.
21967 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21968 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21969 (MCAST_MSFILTER): Likewise.
21970 (IP_MULTICAST_ALL): Likewise.
21971 (IP_UNICAST_IF): Likewise.
21973 * timezone/Makefile: Delete $(have-ksh) check.
21974 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21975 * timezone/tzselect.ksh: Add +x mode bits.
21977 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21978 (ANON_INODE_FS_MAGIC): Likewise.
21979 (BDEVFS_MAGIC): Likewise.
21980 (BINFMTFS_MAGIC): Likewise.
21981 (BTRFS_TEST_MAGIC): Likewise.
21982 (CRAMFS_MAGIC_WEND): Likewise.
21983 (DEBUGFS_MAGIC): Likewise.
21984 (ECRYPTFS_SUPER_MAGIC): Likewise.
21985 (EXT3_SUPER_MAGIC): Likewise.
21986 (EXT4_SUPER_MAGIC): Likewise.
21987 (FUTEXFS_SUPER_MAGIC): Likewise.
21988 (HOSTFS_SUPER_MAGIC): Likewise.
21989 (HUGETLBFS_MAGIC): Likewise.
21990 (MINIX3_SUPER_MAGIC): Likewise.
21991 (MTD_INODE_FS_MAGIC): Likewise.
21992 (NILFS_SUPER_MAGIC): Likewise.
21993 (OPENPROM_SUPER_MAGIC): Likewise.
21994 (PIPEFS_MAGIC): Likewise.
21995 (PSTOREFS_MAGIC): Likewise.
21996 (QNX6_SUPER_MAGIC): Likewise.
21997 (RAMFS_MAGIC): Likewise.
21998 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21999 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22000 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22001 (SECURITYFS_MAGIC): Likewise.
22002 (SELINUX_MAGIC): Likewise.
22003 (SMACK_MAGIC): Likewise.
22004 (SOCKFS_MAGIC): Likewise.
22005 (SQUASHFS_MAGIC): Likewise.
22006 (STACK_END_MAGIC): Likewise.
22007 (TMPFS_MAGIC): Likewise.
22008 (USBDEVICE_SUPER_MAGIC): Likewise.
22009 (V9FS_MAGIC): Likewise.
22010 (XENFS_SUPER_MAGIC): Likewise.
22011 (CRAMFS_MAGIC): Fix typo in comment.
22012 (EXT2_SUPER_MAGIC): Update comment.
22013 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22015 2014-02-08 Joseph Myers <joseph@codesourcery.com>
22017 * sysdeps/arm: Move directory from ports/sysdeps/arm.
22018 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22019 * sysdeps/unix/sysv/linux/arm: Move directory from
22020 ports/sysdeps/unix/sysv/linux/arm.
22021 * README: Update listing for arm-*-linux-gnueabi.
22023 * README: Remove mention of am33.
22025 2014-02-07 Roland McGrath <roland@hack.frob.com>
22027 * bits/sigset.h (__sigemptyset): Use a statement expression rather
22028 than the comma operator, to avoid "rhs of comma has no effect"
22030 (__sigfillset, __sigandset, __sigorset): Likewise.
22031 * include/signal.h (__sigemptyset): Likewise.
22032 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22034 2014-02-07 Allan McRae <allan@archlinux.org>
22036 * version.h (RELEASE): Set to "development".
22037 (VERSION): Set to "2.19.90"
22038 * NEWS: Add 2.20 section.
22040 2014-02-06 Carlos O'Donell <carlos@redhat.com>
22043 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22045 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22047 * manual/contrib.texi: Update entry for Carlos O'Donell,
22048 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22050 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
22052 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22054 * sysdeps/unix/sysv/linux/kernel-features.h
22055 [__LINUX_KERNEL_VERSION >= 0x020621]
22056 (__ASSUME_PROC_PID_TASK_COMM): Define.
22058 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22061 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22062 conversion when destination buffer does not have enough space.
22063 * libio/tst-ftell-partial-wide.c: New test case.
22064 * libio/Makefile (tests): Add tst-ftell-partial-wide.
22066 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22067 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
22068 Leonard and Allan McRae.
22070 2014-02-04 David S. Miller <davem@davemloft.net>
22072 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22075 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22104 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22106 * nptl/shlib-versions: Change powerpc*le start to 2.17.
22107 * shlib-versions: Likewise.
22109 2014-02-04 Roland McGrath <roland@hack.frob.com>
22110 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22112 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22113 (abilist-pattern): New variable, set to %-le.abilist.
22115 * Makerules (abilist-pattern): New variable.
22116 (vpath): Use $(abilist-pattern) in place of %.abilist.
22117 (check-abi-% pattern rule): Likewise.
22118 (check-abi, update-abi): Likewise.
22120 2014-02-04 Eric Wong <normalperson@yhbt.net>
22122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22124 2014-02-03 Carlos O'Donell <carlos@redhat.com>
22126 * manual/startup.texi: Add next, previous, and top entries for
22127 the `Program Arguments' and `Environment Variables' nodes.
22129 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
22131 * manual/macros.texi: Add comments before MTASC-safety macros.
22133 * manual/users.texi: Document MTASC-safety properties.
22135 * manual/threads.texi (pthread_key_create, pthread_key_delete)
22136 (pthread_getspecific, pthread_setspecific): Format with
22137 @deftypefun, and add @safety note.
22138 * manual/signal.texi: Move comments that analyze the above
22139 functions to their home place.
22141 2014-02-03 Allan McRae <allan@archlinux.org>
22143 * po/sl.po: Update Slovenian translation from translation project.
22145 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
22147 * manual/time.texi (timegm): Add missing blank after @c.
22148 Reported by Joseph Myers <joseph@codesourcery.com>.
22150 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
22152 * manual/check-safety.sh: New.
22153 * manual/Makefile ($(objpfx)stamp-summary): Run it.
22155 * manual/terminal.texi: Document MTASC-safety properties.
22157 * manual/filesys.texi: Document MTASC-safety properties.
22159 * manual/errno.texi: Document MTASC-safety properties.
22161 * manual/intro.texi: Document safety identifiers and
22164 * manual/string.texi (wcstok): Fix prototype.
22165 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22167 * manual/time.texi: Document MTASC-safety properties.
22169 * manual/string.texi: Document MTASC-safety properties.
22171 * manual/threads.texi: Document MTASC-safety properties.
22173 * manual/stdio.texi: Document MTASC-safety properties.
22175 * manual/syslog.texi: Document MTASC-safety properties.
22177 * manual/sysinfo.texi: Document MTASC-safety properties.
22179 * manual/startup.texi: Document MTASC-safety properties.
22181 * manual/socket.texi: Document MTASC-safety properties.
22183 * manual/signal.texi: Document MTASC-safety properties.
22185 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
22187 * manual/setjmp.texi: Document MTASC-safety properties.
22189 * manual/search.texi: Document MTASC-safety properties.
22191 * manual/resource.texi: Document MTASC-safety properties.
22193 * manual/process.texi: Document MTASC-safety properties.
22195 * manual/platform.texi: Document MTASC-safety properties.
22197 * manual/pipe.texi: Document MTASC-safety properties.
22199 * manual/pattern.texi: Document MTASC-safety properties.
22201 * manual/message.texi: Document MTASC-safety properties.
22204 * manual/memory.texi: Document MTASC-safety properties.
22206 * manual/math.texi: Document MTASC-safety properties.
22208 * manual/locale.texi: Document MTASC-safety properties.
22210 * manual/llio.texi: Document MTASC-safety properties.
22212 * manual/libdl.texi: New.
22214 * manual/lang.texi: Document MTASC-safety properties.
22216 * manual/job.texi: Document MTASC-safety properties.
22218 * manual/getopt.texi: Document MTASC-safety properties.
22220 * manual/ctype.texi: Document MTASC-safety properties.
22222 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22225 * csu/libc-tls.c (static_map): Remove variable.
22226 (__libc_setup_tls): Use main executable's link map for TLS data.
22227 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22228 casing for LM_ID_BASE and GL(dl_nns).
22229 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22230 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
22231 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22232 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22233 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22235 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22238 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
22240 * manual/debug.texi: Document MTASC-safety properties.
22242 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
22245 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22246 of __x86_64__ when disabling x87 inline functions.
22248 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
22250 * manual/charset.texi: Document MTASC-safety properties.
22252 * manual/crypt.texi: Document MTASC-safety properties.
22254 * manual/conf.texi: Document MTASC-safety properties.
22256 * manual/arith.texi: Document MTASC-safety properties.
22258 * manual/argp.texi: Document MTASC-safety properties.
22260 * manual/macros.texi: Introduce macros to document multi
22261 thread, asynchronous signal and asynchronous cancellation
22263 * manual/intro.texi: Introduce the properties themselves.
22265 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22267 * sysdeps/sh/sh4/Makefile: New file.
22269 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
22271 * math/gen-libm-test.pl ($srcdir): New variable.
22272 ($auto_input): Use it.
22274 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22277 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22278 access beyond array bounds when parsing netgroups file.
22280 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22281 the old buffer before realloc.
22283 2014-01-27 Allan McRae <allan@archlinux.org>
22285 * po/fr.po: Update French translation from translation project.
22287 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22289 * sysdeps/sh/libm-test-ulps: Regenerate.
22291 2014-01-24 David S. Miller <davem@davemloft.net>
22293 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22295 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22297 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22298 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22300 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22303 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22304 string pointers after reallocation.
22306 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22308 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22309 __SH4A__ instead of __SH_FPU_ANY__.
22311 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22313 * sysdeps/sh/fpu_control.h: New file.
22314 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22315 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22316 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22317 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22318 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22319 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22320 * sysdeps/sh/sys/ucontext.h: Remove.
22321 * sysdeps/sh/sys: Remove directory.
22323 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22325 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22326 s390/sys/ucontext.h.
22327 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22330 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
22333 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22335 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22338 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22339 Adjust the vDSO correctly for internal calls.
22340 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22342 2014-01-20 Allan McRae <allan@archlinux.org>
22344 * po/ca.po: Update Catalan translation from translation project.
22346 2014-01-16 Mike Frysinger <vapier@gentoo.org>
22348 * sysdeps/s390/sotruss-lib.c: New file.
22350 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22354 (__GI___gettimeofday): Alias for a different internal symbol to avoid
22355 local calls issues by not having a PLT stub required for IFUNC calls.
22356 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22358 2014-01-16 Joseph Myers <joseph@codesourcery.com>
22360 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22361 * math/test-fpucw-static.c: Likewise.
22363 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22366 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22368 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22370 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22371 implementation for powerpc.
22373 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
22376 * sysdeps/posix/system.c (__libc_system): Do not enable
22377 asynchronous cancellation.
22379 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22382 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22383 handling only for numbers special also in the IEEE case.
22385 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22387 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22389 2014-01-11 Allan McRae <allan@archlinux.org>
22391 * po/bg.po: Update Bulgarian translation from translation project.
22393 * po/de.po: Update German translation from translation project.
22395 2014-01-10 Roland McGrath <roland@hack.frob.com>
22397 * sysdeps/generic/gcc-compat.h: New file.
22399 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22401 * benchtests/asin-inputs: Correct slow inputs.
22402 * benchtests/acos-inputs: Likewise.
22404 2014-01-10 Allan McRae <allan@archlinux.org>
22406 * po:sv.po: Update Swedish translation from translation project.
22408 * po/vi.po: Update Vietnamese translation from translation project.
22410 * po/eo.po: Update Esperanto translation from translation project.
22412 * po/cs.po: Update Czech translation from translation project.
22414 * po/nl.po: Update Dutch translation from translation project.
22416 * po/pl.po: Update Polish translation from translation project.
22418 * po/ru.po: Update Russian translation from translation project.
22420 * po/uk.po: Update Ukrainian translation from translation project.
22422 2014-01-08 Brooks Moses <bmoses@google.com>
22424 * elf/dl-load.c: Fix comment typo.
22426 2014-01-08 Carlos O'Donell <carlos@redhat.com>
22428 * po/header.pot: Rename to...
22429 * po/pot.header: ... this.
22430 * po/Makefile: Use pot.header.
22432 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
22433 Maxim Kuvyrkov <maxim@kugelworks.com>
22436 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22437 SRC and DEST against LEN.
22439 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22442 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22444 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22446 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22450 2014-01-08 Joseph Myers <joseph@codesourcery.com>
22453 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22454 for large positive arguments.
22456 2014-01-07 Joseph Myers <joseph@codesourcery.com>
22458 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22460 * math/auto-libm-test-in: Mark various tests with
22461 xfail-rounding:ldbl-128ibm.
22462 * math/auto-libm-test-out: Regenerated.
22465 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22466 Increase overflow threshold.
22468 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
22471 * stdio-common/vfprintf.c: Check for integer overflow.
22473 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22475 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22476 the first argument and return value of __tls_get_addr_internal.
22478 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22480 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22481 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22483 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22485 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22486 * sysdeps/s390/rtld-global-offsets.sym: New file.
22487 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22489 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22490 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22493 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22494 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22500 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22501 halfs of GPRs for high_gprs contexts.
22502 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22503 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
22505 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22507 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22509 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22510 for high GPRs (uc_high_gprs) and for future extensions
22512 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22513 for future extensions (__reserved).
22514 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22516 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22517 SC_HIGHGPRS offset definition.
22518 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22519 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22521 * Versions.def: Add GLIBC_2.19 for libpthread.
22522 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22523 siglongjmp for libpthread with GLIBC_2.19 symver.
22524 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22525 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22526 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22527 * sysdeps/s390/__longjmp.c: New file.
22528 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22529 * sysdeps/s390/longjmp.c: New file.
22530 * sysdeps/s390/setjmp.S: New file.
22531 * sysdeps/s390/sigjmp.S: New file.
22532 * sysdeps/s390/v1-longjmp.c: New file.
22533 * sysdeps/s390/v1-setjmp.h: New file.
22534 * sysdeps/s390/v1-sigjmp.c: New file.
22535 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22536 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22537 GLIBC_2.19 version.
22538 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22539 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22540 versioned symbols for ____longjmp_chk.
22541 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22551 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22552 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22553 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22554 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22555 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22556 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22557 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22558 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22559 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22560 * sysdeps/s390/rtld-__longjmp.c: New file.
22561 * sysdeps/s390/rtld-setjmp.S: New file.
22563 2014-01-06 Joseph Myers <joseph@codesourcery.com>
22566 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22567 Return -__logl (x) for small positive arguments without evaluating
22570 2014-01-06 Mike Frysinger <vapier@gentoo.org>
22572 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22574 (__ptrace_peeksiginfo_args): ... this.
22575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22577 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22579 2014-01-06 Allan McRae <allan@archlinux.org>
22581 * inet/netinet/in.h: Fix typo in comment.
22583 2014-01-05 Andreas Jaeger <aj@suse.de>
22585 * sysdeps/i386/fpu/libm-test-ulps: Update.
22587 2014-01-05 Allan McRae <allan@archlinux.org>
22589 * po/libc.pot: Regenerated.
22591 * malloc/memusagestat.c: Fix gettext call formatting.
22593 2014-01-04 Sami Kerola <kerolasa@iki.fi>
22595 * nscd/nscd.c: Improve usage() output.
22597 2014-01-04 Mike Frysinger <vapier@gentoo.org>
22599 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22600 * sysdeps/unix/sysv/linux/configure: Regenerated.
22601 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22602 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22604 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22607 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22608 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22610 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22612 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22613 extra tokens at end of #undef directive.
22614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22615 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22616 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22618 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22620 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22622 * math/auto-libm-test-in: Mark various tests with
22623 xfail-rounding:ldbl-128ibm.
22624 * math/auto-libm-test-out: Regenerated.
22626 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22629 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22630 numbers with subnormal high part when calculating exponent.
22633 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22637 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22639 (__ieee754_acoshl): Use __log1pl not __log1p.
22641 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22643 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22644 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22645 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22646 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22647 (reused_arena, arena_get2): Convert to GNU style.
22648 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22649 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22650 (memalign_check, __malloc_set_state): Likewise.
22651 * malloc/mallocbug.c (main): Likewise.
22652 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22653 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22654 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22655 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22656 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22657 (__posix_memalign, malloc_info): Likewise.
22658 * malloc/malloc.h: Likewise.
22659 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22660 (mallochook, memalignhook, reallochook, mabort): Likewise.
22661 * malloc/mcheck.h: Likewise.
22662 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22663 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22664 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22665 * malloc/morecore.c (__default_morecore): Likewise.
22666 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22667 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22668 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22669 (print_and_abort): Likewise.
22670 * malloc/obstack.h: Likewise.
22671 * malloc/set-freeres.c (__libc_freeres): Likewise.
22672 * malloc/tst-mallocstate.c (main): Likewise.
22673 * malloc/tst-mtrace.c (main): Likewise.
22674 * malloc/tst-realloc.c (do_test): Likewise.
22676 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22679 * nscd/netgroupcache.c (do_notfound): New function.
22680 (addgetnetgrentX): Use it.
22683 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22684 NSS_STATUS_NOTFOUND.
22686 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22688 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22691 2014-01-01 Allan McRae <allan@archlinux.org>
22693 * scripts/update-copyrights: Update configure input file suffix.
22695 * NEWS: Update copyright year.
22696 * catgets/gencat.c: Likewise.
22697 * csu/version.c: Likewise.
22698 * debug/catchsegv.sh: Likewise.
22699 * debug/pcprofiledump.c: Likewise.
22700 * debug/xtrace.sh: Likewise.
22701 * elf/ldconfig.c: Likewise.
22702 * elf/ldd.bash.in: Likewise.
22703 * elf/pldd.c: Likewise.
22704 * elf/sotruss.ksh: Likewise.
22705 * elf/sprof.c: Likewise.
22706 * iconv/iconv_prog.c: Likewise.
22707 * iconv/iconvconfig.c: Likewise.
22708 * locale/programs/locale.c: Likewise.
22709 * locale/programs/localedef.c: Likewise.
22710 * login/programs/pt_chown.c: Likewise.
22711 * malloc/memusage.sh: Likewise.
22712 * malloc/memusagestat.c: Likewise.
22713 * malloc/mtrace.pl: Likewise.
22714 * manual/libc.texinfo: Likewise.
22715 * nscd/nscd.c: Likewise.
22716 * nss/getent.c: Likewise.
22717 * nss/makedb.c: Likewise.
22718 * posix/getconf.c: Likewise.
22719 * scripts/test-installation.pl: Likewise.
22721 * All files with FSF copyright notices: Update copyright dates
22722 using scripts/update-copyrights.
22723 * intl/plural.c: Regenerated.
22724 * locale/programs/charmap-kw.h: Likewise.
22725 * locale/programs/locfile-kw.h: Likewise.
22727 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22729 * sysdeps/unix/sysv/linux/configure: Regenerated.
22730 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22731 the linux/fanotify.h header.
22732 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22733 HAVE_LINUX_FANOTIFY_H is defined.
22735 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22737 * benchtests/cos-inputs: New inputs.
22738 * benchtests/sin-inputs: Likewise.
22740 * benchtests/atan-inputs: New inputs. Fix name of multiple
22741 precision fallback inputs.
22743 * benchtests/atanh-inputs: New inputs.
22744 * benchtests/tanh-inputs: Likewise.
22746 * benchtests/acosh-inputs: New inputs.
22747 * benchtests/asinh-inputs: Likewise.
22749 * benchtests/cosh-inputs: New inputs.
22750 * benchtests/sinh-inputs: Likewise.
22752 * benchtests/acos-inputs: Add more inputs.
22753 * benchtests/asin-inputs: Likewise.
22755 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22758 * manual/arith.texi: Fix spelling.
22759 * manual/charset.texi: Likewise.
22760 * manual/errno.texi: Likewise.
22761 * manual/filesys.texi: Likewise.
22762 * manual/lang.texi: Likewise.
22763 * manual/llio.texi: Likewise.
22764 * manual/locale.texi: Likewise.
22765 * manual/message.texi: Likewise.
22766 * manual/resource.texi: Likewise.
22767 * manual/search.texi: Likewise.
22768 * manual/setjmp.texi: Likewise.
22769 * manual/stdio.texi: Likewise.
22770 * manual/string.texi: Likewise.
22771 * manual/sysinfo.texi: Likewise.
22772 * manual/time.texi: Likewise.
22774 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22776 * po/sl.po: New file.
22778 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22780 * .gitignore: Add core/.gdbinit/.gdb_history.
22782 2013-12-27 Allan McRae <allan@archlinux.org>
22785 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22786 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22788 2013-12-24 Brooks Moses <bmoses@google.com>
22790 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22791 all compilers that claim C++98 compliance, not just GCC.
22792 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22795 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22797 * NEWS: Restore accidentally deleted bug-fix entries.
22799 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22800 Ondřej Bílka <neleai@seznam.cz>
22803 * malloc/malloc.c (_int_free): Perform sanity check only if we
22806 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22809 * manual/stdio.texi (String Input Conversions): Clarify that character
22810 classes are not supported.
22812 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22816 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22820 Calculate results for small negative arguments directly rather
22821 than using reflection formula with special underflow handling.
22823 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22824 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22825 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22826 (fchflags): Likewise.
22827 (revoke): Likewise.
22828 (setlogin): Likewise.
22829 (sigaltstack): Likewise.
22831 (sigblock): Remove.
22832 (sigsetmask): Likewise.
22834 (waitpid): Likewise.
22835 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22836 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22838 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22839 * sysdeps/unix/bsd/Makefile: ... here.
22840 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22841 * sysdeps/unix/bsd/Versions: ... here.
22842 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22843 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22844 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22845 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22846 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22847 * sysdeps/unix/bsd/sigblock.c: ... here.
22848 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22849 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22850 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22851 * sysdeps/unix/bsd/sigvec.c: ... here.
22852 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22853 * sysdeps/unix/bsd/tcdrain.c: ... here.
22854 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22855 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22856 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22857 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22858 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22859 * sysdeps/unix/bsd/wait.c: ... here.
22860 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22861 * sysdeps/unix/bsd/wait3.c: ... here.
22862 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22863 * sysdeps/unix/bsd/waitpid.c: ... here.
22865 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22869 round-to-nearest for [!USE_AS_EXPM1L].
22870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22871 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22872 more tests of exp and exp10. Expect some exp10 tests to miss
22873 exceptions or fail in directed rounding modes.
22874 * math/auto-libm-test-out: Regenerated.
22875 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22876 (exp10_test_tonearest): New function.
22877 (exp10_towardzero_test_data): New array.
22878 (exp10_test_towardzero): New function.
22879 (exp10_downward_test_data): New array.
22880 (exp10_test_downward): New function.
22881 (exp10_upward_test_data): New array.
22882 (exp10_test_upward): New function.
22883 (main): Call the new functions.
22884 * sysdeps/i386/fpu/libm-test-ulps: Update.
22885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22889 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22890 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22891 * math/auto-libm-test-out: Regenerated.
22892 * math/libm-test.inc (acosh_test_data): Add more tests.
22893 (atanh_test_data): Likewise.
22894 (ceil_test_data): Likewise.
22895 (copysign_test_data): Likewise.
22896 * sysdeps/i386/fpu/libm-test-ulps: Update.
22897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22899 * timezone/checktab.awk: Update from tzcode 2013i.
22900 * timezone/private.h: Likewise.
22901 * timezone/scheck.c: Likewise.
22902 * timezone/tzfile.h: Likewise.
22903 * timezone/tzselect.ksh: Likewise.
22904 * timezone/zdump.c: Likewise.
22905 * timezone/zic.c: Likewise.
22907 * math/auto-libm-test-in: Add tests of cpow.
22908 * math/auto-libm-test-out: Regenerated.
22909 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22910 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22912 (func_calc_desc): Add mpc_cc_c union field.
22913 (test_functions): Add cpow.
22914 (special_fill_2pi): New function.
22915 (special_real_inputs): Add 2pi.
22916 (calc_generic_results): Handle mpc_cc_c.
22917 * sysdeps/i386/fpu/libm-test-ulps: Update.
22918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22920 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22921 csqrt, ctan and ctanh.
22922 * math/auto-libm-test-out: Regenerated.
22923 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22924 (TEST_COND_x86): Likewise.
22925 (ccos_test_data): Use AUTO_TESTS_c_c.
22926 (ccosh_test_data): Likewise.
22927 (cexp_test_data): Likewise.
22928 (clog_test_data): Likewise.
22929 (csqrt_test_data): Likewise.
22930 (ctan_test_data): Likewise.
22931 (ctan_tonearest_test_data): Likewise.
22932 (ctan_towardzero_test_data): Likewise.
22933 (ctan_downward_test_data): Likewise.
22934 (ctan_upward_test_data): Likewise.
22935 (ctanh_test_data): Likewise.
22936 (ctanh_tonearest_test_data): Likewise.
22937 (ctanh_towardzero_test_data): Likewise.
22938 (ctanh_downward_test_data): Likewise.
22939 (ctanh_upward_test_data): Likewise.
22940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22942 (func_calc_desc): Add mpc_c_c union field.
22943 (FUNC_mpc_c_c): New macro.
22944 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22945 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22947 (special_fill_min_subnorm_p120): New function.
22948 (special_real_inputs): Add min_subnorm_p120.
22949 (calc_generic_results): Handle mpc_c_c.
22950 * sysdeps/i386/fpu/libm-test-ulps: Update.
22951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22953 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22955 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22956 (do_sin_slow): New functions.
22957 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22958 (cslow2, csloww1, csloww2): Use the new functions.
22960 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22961 Use M to change sign of result instead of X. Assume X is
22963 (csloww1): Likewise.
22967 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22968 arguments A and DA.
22972 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22974 (sloww1): Don't adjust sign of DX.
22975 (csloww1): Likewise.
22976 (sloww2): Use X directly and don't adjust sign of DX.
22977 (csloww2): Likewise.
22979 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22981 * math/auto-libm-test-in: Add tests of cabs and carg.
22982 * math/auto-libm-test-out: Regenerated.
22983 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22984 (carg_test_data): Likewise.
22985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22987 (func_calc_desc): Add mpc_c_f union field.
22988 (test_functions): Add cabs and carg.
22989 (calc_generic_results): Handle mpc_c_f.
22991 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22992 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22993 as a macro and a compat symbol.
22994 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22995 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22996 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22997 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22998 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22999 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23001 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23003 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23005 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23011 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23012 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23015 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23019 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23021 * manual/texinfo.tex: Update to version 2013-11-26.10 with
23022 trailing whitespace removed.
23023 * scripts/config.guess: Update to version 2013-11-29.
23024 * scripts/config.sub: Update to version 2013-10-01.
23026 * math/auto-libm-test-in: Add tests of sincos.
23027 * math/auto-libm-test-out: Regenerated.
23028 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23029 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23031 (func_calc_desc): Add mpfr_f_11 union field.
23032 (test_functions): Add sincos.
23033 (calc_generic_results): Handle mpfr_f_11.
23034 * sysdeps/i386/fpu/libm-test-ulps: Update.
23035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23037 2013-12-19 Andreas Schwab <schwab@suse.de>
23039 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23041 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23043 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23045 2013-12-19 Joseph Myers <joseph@codesourcery.com>
23047 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23048 * sysdeps/i386/fpu/libm-test-ulps: Update.
23049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23053 round-to-nearest mode when using frndint.
23054 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23055 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23056 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23058 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
23060 * math/auto-libm-test-out: Regenerated.
23061 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23062 (TEST_COND_x86): Likewise.
23063 (expm1_tonearest_test_data): New array.
23064 (expm1_test_tonearest): New function.
23065 (expm1_towardzero_test_data): New array.
23066 (expm1_test_towardzero): New function.
23067 (expm1_downward_test_data): New array.
23068 (expm1_test_downward): New function.
23069 (expm1_upward_test_data): New array.
23070 (expm1_test_upward): New function.
23071 (main): Run the new test functions.
23072 * sysdeps/i386/fpu/libm-test-ulps: Update.
23073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075 * include/features.h: Update comment documenting feature test
23076 macros. Mention _DEFAULT_SOURCE in comment.
23077 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23078 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23079 _BSD_SOURCE and _SVID_SOURCE.
23080 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23081 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23082 !_SVID_SOURCE]: Likewise.
23083 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23084 (__USE_POSIX_IMPLICITLY): Define.
23085 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23086 (_POSIX_SOURCE): Undefine and redefine.
23087 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23088 (_POSIX_C_SOURCE): Likewise.
23089 * manual/creature.texi (_DEFAULT_SOURCE): Document.
23090 (Feature Test Macros): Update documentation of default features.
23092 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23094 * benchtests/Makefile: Add bench-strtok.
23095 * benchtests/bench-strtok.c: New file: strtok benchtest.
23097 2013-12-19 Allan McRae <allan@archlinux.org>
23099 * manual/install.texi: Suppress menu for plain text output.
23100 * INSTALL: Regenerated.
23102 2013-12-18 Brooks Moses <bmoses@google.com>
23105 * misc/getauxval.c: Include errno.h.
23106 (__getauxval): Set errno to ENOENT if the requested type is not
23108 * misc/sys/auxv.h (getauxval): Document that it may set errno;
23109 don't declare with __attribute_const__.
23110 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23111 * manual/startup.texi: Document that getauxval sets errno.
23113 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23115 * math/auto-libm-test-in: Add tests of jn and yn.
23116 * math/auto-libm-test-out: Regenerated.
23117 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23118 (yn_test_data): Likewise.
23119 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23121 (func_calc_desc): Add mpfr_if_f union field.
23122 (FUNC_mpfr_if_f): New macro.
23123 (test_functions): Add jn and yn.
23124 (calc_generic_results): Assert type of second input for
23125 mpfr_ff_f. Handle mpfr_if_f.
23126 (output_for_one_input_case): Disable all checking for arguments
23127 fitting floating-point types in case of an integer argument.
23128 * sysdeps/i386/fpu/libm-test-ulps: Update.
23129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23132 Don't expect fegetround reference in libm.so.
23134 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23136 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23137 $(config-cflags-nofma).
23139 2013-12-18 Joseph Myers <joseph@codesourcery.com>
23141 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23142 * math/auto-libm-test-out: Regenerated.
23145 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23146 to determine exponent and adjust argument to have exponent of -1.
23147 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23149 * math/auto-libm-test-out: Regenerated.
23150 * sysdeps/i386/fpu/libm-test-ulps: Update.
23151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23153 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
23155 * manual/probes.texi: Remove cases when per-thread arenas are
23158 2013-12-18 Andreas Schwab <schwab@suse.de>
23160 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23161 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23162 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23163 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23164 * sysdeps/i386/i686/multiarch/Makefile: Update.
23165 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23167 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23170 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23172 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
23175 Support TZ transition times < 00:00:00.
23176 This is needed for version-3 tz-format files; it supports time
23177 stamps past 2037 for America/Godthab (the only entry in the tz
23178 database for which this change is relevant).
23179 * manual/time.texi (TZ Variable): Document transition times
23180 from -167:59:59 through -00:00:01.
23181 * time/tzset.c (tz_rule): Time of day is now signed.
23182 (__tzset_parse_tz): Parse negative time of day.
23184 Document TZ transition times >= 25:00:00.
23185 * manual/time.texi (TZ Variable): Document transition times from
23186 25:00:00 through 167:59:59. These are already supported, and this
23187 support will help with version-3 tz-format files.
23189 * manual/time.texi (TZ Variable): Modernize North America example
23190 to reflect current (i.e., 2007-and-later) daylight saving rules.
23192 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23194 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23196 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23197 * sysdeps/unix/bsd/bits/stat.h: Likewise.
23198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23200 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23201 * sysdeps/unix/bsd/bsdstat.h: Likewise.
23202 * sysdeps/unix/bsd/clock.c: Likewise.
23203 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23204 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23205 * sysdeps/unix/bsd/init-posix.c: Likewise.
23206 * sysdeps/unix/bsd/poll.c: Likewise.
23207 * sysdeps/unix/bsd/ptsname.c: Likewise.
23208 * sysdeps/unix/bsd/seekdir.c: Likewise.
23209 * sysdeps/unix/bsd/setegid.c: Likewise.
23210 * sysdeps/unix/bsd/seteuid.c: Likewise.
23211 * sysdeps/unix/bsd/setgid.c: Likewise.
23212 * sysdeps/unix/bsd/setrgid.c: Likewise.
23213 * sysdeps/unix/bsd/setruid.c: Likewise.
23214 * sysdeps/unix/bsd/setsid.c: Likewise.
23215 * sysdeps/unix/bsd/setuid.c: Likewise.
23216 * sysdeps/unix/bsd/sigaction.c: Likewise.
23217 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23218 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23219 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23220 * sysdeps/unix/bsd/telldir.c: Likewise.
23221 * sysdeps/unix/bsd/times.c: Likewise.
23222 * sysdeps/unix/bsd/usleep.c: Likewise.
23224 * misc/Makefile (install-lib): Remove libbsd-compat.a.
23225 ($(objpfx)libbsd-compat.a): Remove rule.
23227 * include/features.h (__FAVOR_BSD): Do not define.
23228 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23229 features conflicting with POSIX.
23230 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23231 (_BSD_SOURCE): Remove description of not being a subset of other
23232 feature test macros.
23233 * manual/job.texi (getpgrp): Do not document BSD version.
23234 (getpgid): Do not document by reference to BSD getpgrp.
23235 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23236 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23237 * signal/signal.h [__FAVOR_BSD]: Likewise.
23238 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23239 instead of making contents conditional on [__FAVOR_BSD].
23240 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23242 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23246 2013-12-17 Joseph Myers <joseph@codesourcery.com>
23249 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23250 values below 2**-450, not 2**-500.
23251 * math/auto-libm-test-in: Don't allow spurious underflow from
23253 * math/auto-libm-test-out: Regenerated.
23257 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23258 values of ha and hb and sort them after adjusting subnormal
23260 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23262 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23263 values of ea and eb and sort them after adjusting subnormal
23265 * math/auto-libm-test-in: Do not expect some hypot tests of
23266 subnormals to fail. Add more hypot tests.
23267 * math/auto-libm-test-out: Regenerated.
23269 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23272 * sysdeps/sh/s_fma.c: New file.
23273 * sysdeps/sh/s_fmaf.c: New file.
23274 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
23276 * sysdeps/sh/Implies: Add sh/soft-fp.
23278 2013-12-16 Roland McGrath <roland@hack.frob.com>
23280 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
23281 level of indirection to members `objname', `errstring', `malloced'.
23282 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23283 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
23284 it as the __longjmp argument (just pass 1 instead).
23285 (_dl_catch_error): Initialize C with argument pointers and address of
23286 volatile local ERRCODE rather than copying values out of C at return.
23288 2013-12-16 Joseph Myers <joseph@codesourcery.com>
23290 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23291 * math/auto-libm-test-out: Regenerated.
23292 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23293 (hypot_test_data): Likewise.
23294 (pow_test_data): Likewise.
23295 (pow_tonearest_test_data): Likewise.
23296 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23298 (func_calc_desc): Add mpfr_ff_f union field.
23299 (FUNC_mpfr_ff_f): New macro.
23300 (test_functions): Add atan2, hypot and pow.
23301 (special_fill_min): New function.
23302 (special_fill_minus_min): Likewise.
23303 (special_fill_min_subnorm): Likewise.
23304 (special_fill_minus_min_subnorm): Likewise.
23305 (special_real_inputs): Add min, -min, min_subnorm and
23307 (calc_generic_results): Handle mpfr_ff_f.
23308 * sysdeps/i386/fpu/libm-test-ulps: Update.
23309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23311 2013-12-16 Will Newton <will.newton@linaro.org>
23313 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23314 (Aligned Memory Blocks): Add documentation for aligned_alloc
23315 and suggest it as an alternative to posix_memalign.
23316 (Hooks for Malloc): Document __memalign_hook is also called
23317 for aligned_alloc. (Summary of Malloc): Add summary for
23318 aligned alloc. Document __memalign_hook is also called
23321 2013-12-16 Will Newton <will.newton@linaro.org>
23323 * manual/memory.texi (Malloc Examples): Clarify default
23324 alignment documentation. Suggest posix_memalign rather
23325 than memalign or valloc.
23326 (Aligned Memory Blocks): Remove suggestion to use memalign
23327 or valloc. Remove obsolete comment about BSD.
23328 Document memalign errno values and mark the function obsolete.
23329 Document posix_memalign returned error codes. Mark valloc
23330 as obsolete. (Hooks for Malloc): __memalign_hook is also
23331 called for posix_memalign and valloc.
23332 (Summary of Malloc): Add posix_memalign to function summary.
23333 __memalign_hook is also called for posix_memalign and valloc.
23335 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23337 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23341 (sloww): Use mynumber union. Expand ternary operator into
23342 if-else statements.
23343 (cslow): use mynumber union.
23345 2013-12-16 Allan McRae <allan@archlinux.org>
23347 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23348 * configure: Regenerated.
23350 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23353 * configure.ac: Added --enable-maintainer-mode. Check for
23354 autoconf when enabled.
23355 * configure: Regenerated.
23357 * nscd/nscd.service: New file.
23358 * nscd/nscd.tmpfiles: New file.
23360 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
23363 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23364 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23365 * sysdeps/x86_64/multiarch/strstr.c: ... here.
23366 (strstr): Add __strstr_sse2_unaligned ifunc.
23367 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23368 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23369 (strcasestr): Remove __strcasestr_sse42 ifunc.
23370 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23372 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23374 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23376 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23377 * sysdeps/sh/bits/fenv.h: ... here.
23378 * sysdeps/sh/sh4/fpu/bits: Remove directory.
23380 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23382 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23385 hypotf multiarch implementations.
23386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23388 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23389 multiarch hypot for PPC64.
23390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23392 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23393 multiarch hypotf for PPC64.
23395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23396 modff multiarch implementations.
23397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23400 multiarch modf for PPC64.
23401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23404 multiarch modff for PPC64.
23406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23407 and logl multiarch implementations.
23408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23411 multiarch logb for PPC64.
23412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23415 multiarch logb for PPC64.
23416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23419 multiarch logb for PPC64.
23421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23422 isinff multiarch implementation.
23423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23427 multiarch isinf for PPC64.
23428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23431 multiarch isinff for PPC64.
23433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23434 finitef multiarch implementation.
23435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23439 multiarch finite for PPC64.
23440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23443 multiarch finitef for PPC64.
23445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23446 lrint multiarch implementation.
23447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23451 multiarch llrint for PPC64.
23452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23453 multiarch lrint for PPC64.
23455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23456 copysignf multiarch implementation.
23457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23462 multiarch copysign for PPC64.
23463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23464 multiarch copysignf for PPC64.
23466 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23467 multiarch implementation.
23468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23476 multiarch llround for PPC64.
23477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23478 multiarch trunc for PPC64.
23479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23480 multiarch truncf for PPC64.
23482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23483 multiarch implementation.
23484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23492 multiarch llround for PPC64.
23493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23494 multiarch round for PPC64.
23495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23496 multiarch roundf for PPC64.
23498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23499 multiarch implementation.
23500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23508 multiarch llround for PPC64.
23509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23510 multiarch floor for PPC64.
23511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23512 multiarch floorf for PPC64.
23514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23515 multiarch implementation.
23516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23524 multiarch llround for PPC64.
23525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23526 multiarch ceil for PPC64.
23527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23528 multiarch ceilf for PPC64.
23530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23531 multiarch implementation.
23532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23539 multiarch llround for PPC64.
23540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23541 multiarch lround for PPC64.
23543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23544 multiarch implementation.
23545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23552 multiarch isnan for PPC64.
23553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23554 multiarch isnanf for PPC64.
23556 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23557 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23558 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23559 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23560 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23563 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23564 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23569 multiarch implementations.
23570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23571 (__libc_ifunc_impl_list): Likewise.
23572 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23573 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23574 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23575 multiarch stpcpy for PPC64.
23577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23578 multiarch implementations.
23579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23580 (__libc_ifunc_impl_list): Likewise.
23581 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23582 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23583 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23584 multiarch strcpy for PPC64.
23586 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23587 redefine function name.
23588 (_wordcopy_fwd_dest_aligned): Likewise.
23589 (_wordcopy_bwd_aligned): Likewise.
23590 (_wordcopy_bwd_dest_aligned): Likewise.
23591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23592 multiarch implementations.
23593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23594 (__libc_ifunc_impl_list): Likewise.
23595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23599 multiarch wcscpy for PPC64.
23601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23602 multiarch implementations.
23603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23604 (__libc_ifunc_impl_list): Likewise.
23605 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23606 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23608 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23609 multiarch wcscpy for PPC64.
23611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23612 multiarch implementations.
23613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23614 (__libc_ifunc_impl_list): Likewise.
23615 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23616 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23618 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23619 multiarch wcsrchr for PPC64.
23621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23622 multiarch implementations.
23623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23624 (__libc_ifunc_impl_list): Likewise.
23625 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23626 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23627 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23628 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23629 multiarch wcschr for PPC64.
23631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23632 multiarch implementations.
23633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23634 (__libc_ifunc_impl_list): Likewise.
23635 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23636 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23637 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23638 multiarch strchrnul for PPC64.
23640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23643 (__libc_ifunc_impl_list): Likewise.
23644 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23645 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23646 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23647 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23653 (__libc_ifunc_impl_list): Likewise.
23654 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23656 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23657 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23661 multiarch implementations.
23662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23663 (__libc_ifunc_impl_list): Likewise.
23664 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23665 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23666 strncasecmp for PPC64.
23667 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23668 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23669 multiarch strncasecmp_l for PPC64.
23671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23672 multiarch implementations.
23673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23674 (__libc_ifunc_impl_list): Likewise.
23675 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23676 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23677 multiarch strcasecmp for PPC64.
23678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23680 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23681 multiarch strcasecmp_l for PPC64.
23683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23686 (__libc_ifunc_impl_list): Likewise.
23687 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23688 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23689 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23695 (__libc_ifunc_impl_list): Likewise.
23696 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23697 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23698 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23704 (__libc_ifunc_impl_list): Likewise.
23705 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23706 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23707 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23708 rawmemrchr for PPC64.
23710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23713 (__libc_ifunc_impl_list): Likewise.
23714 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23715 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23716 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23722 (__libc_ifunc_impl_list): Likewise.
23723 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23724 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23725 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23731 (__libc_ifunc_impl_list): Likewise.
23732 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23733 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23734 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23737 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23738 avoid cretion of __bzero symbol.
23739 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23741 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23743 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23746 multiarch implementations.
23747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23748 (__libc_ifunc_impl_list): Likewise.
23749 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23750 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23751 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23752 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23754 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23755 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23756 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23757 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23758 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23760 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23762 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23766 (__libc_ifunc_impl_list): Likewise.
23767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23769 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23770 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23774 multiarch for POWER/PPC64.
23775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23776 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23783 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23786 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23787 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23788 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23789 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23790 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23791 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23792 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23793 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23794 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23795 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23796 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23797 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23798 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23799 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23800 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23809 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23811 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23813 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23815 * benchtests/Makefile (bench): Add exp2 and log2.
23816 (LDLIBS-bench-exp2): Add -lm.
23817 (LDLIBS-bench-log2): Likewise.
23818 * benchtests/exp2-inputs: New inputs file.
23819 * benchtests/log2-inputs: New inputs file.
23820 * benchtests/log-inputs: Add new inputs.
23821 * benchtests/tan-inputs: Likewise.
23823 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23825 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23827 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23828 (csloww2): ... from here.
23830 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23831 instead of structures.
23832 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23833 (POLYNOMIAL): Likewise.
23834 (TAYLOR_SLOW): Likewise.
23840 (sloww1); Likewise.
23841 (sloww2): Likewise.
23842 (bsloww1): Likewise.
23843 (bsloww2): Likewise.
23844 (cslow2): Likewise.
23845 (csloww): Likewise.
23846 (csloww1): Likewise.
23847 (csloww2): Likewise.
23849 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23851 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23852 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23853 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23854 * malloc/hooks.c (realloc_check): Likewise.
23856 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23857 * malloc/arena.c: Remove PER_THREAD conditional.
23858 [!PER_THREAD]: Remove code.
23859 (ptmalloc_unlock_all2): Likewise.
23860 (ptmalloc_init): Likewise.
23861 (_int_new_arena): Likewise.
23862 (arena_get2): Likewise.
23863 * malloc/hooks.c (__malloc_get_state): Likewise.
23864 (__malloc_set_state): Likewise.
23865 * malloc/malloc.c: Likewise.
23866 (struct malloc_state): Likewise.
23867 (struct malloc_par): Likewise.
23868 (__libc_realloc): Likewise.
23869 (__libc_mallopt): Likewise.
23871 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23873 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23875 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23877 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23878 macro to a function. Check for zero perturb_byte.
23879 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23881 * malloc/malloc.c: (force_reg): Remove.
23882 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23883 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23884 force_reg by atomic_forced_read.
23885 * malloc/arena.c (ptmalloc_init): Likewise.
23886 * malloc/hooks.c (top_check): Likewise.
23888 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23892 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23896 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23898 * math/auto-libm-test-in: Add tests of lgamma.
23899 * math/auto-libm-test-out: Regenerated.
23900 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23901 (M_LOG_2_SQRT_PIl): Likewise.
23902 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23903 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23905 (func_calc_desc): Add mpfr_f_f1 union field.
23906 (ARGS1): New macro.
23914 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23915 (test_functions): Add lgamma.
23916 (calc_generic_results): Handle mpfr_f_f1.
23917 * sysdeps/i386/fpu/libm-test-ulps: Update.
23918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23922 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23923 __mpn_add_n for PowerPC64/POWER7.
23924 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23925 __mpn_sub_n for PowerPC64/POWER7.
23927 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23928 __mpn_addmul_1 for PowerPC64.
23929 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23930 __mpn_submul_1 for PowerPC64.
23931 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23933 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23936 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23939 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23941 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23943 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23945 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23946 add multiarch folders.
23947 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23948 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23949 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23950 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23951 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23952 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23953 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23954 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23955 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23956 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23957 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23966 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23972 multiarch __ieee754_hypot for PowerPC32.
23973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23978 multiarch __ieee754_hypotf for PowerPC32.
23980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23981 long_double_symbol only if __logbl is defined.
23982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23983 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23985 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23986 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23987 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23988 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23989 path for implementation.
23990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23993 logb, and logbl multiarch implementations for PowerPC32.
23994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23999 multiarch logb for PowerPC32.
24000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24005 multiarch logbf for PowerPC32.
24006 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24010 multiarch logbl implementation for PowerPC32.
24012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24013 and modff multiarch implementations.
24014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24019 multiarch modf for PowerPC32.
24020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24025 multiarch modff for PowerPC32.
24027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24028 and lrintf multiarch implementations.
24029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24034 multiarch lrint for PowerPC32.
24035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24036 file: multiarch lrintf for PowerPC32.
24038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24039 and lroundf multiarch implementations.
24040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24047 multiarch lround for PowerPC32.
24048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24049 file: multiarch lroundf for PowerPC32.
24051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24052 copysign and copysignf multiarch implementations.
24053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24058 file: multiarch copysign for PowerPC32.
24059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24060 file: multiarch copysignf for PowerPC32.
24062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24063 and truncf multiarch implementations.
24064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24069 multiarch trunc for PowerPC32.
24070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24075 multiarch truncf for PowerPC32.
24077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24078 and roundf multiarch implementations.
24079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24084 multiarch round for PowerPC32.
24085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24090 multiarch roundf for PowerPC32.
24092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24093 and floorf multiarch implementations.
24094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24099 multiarch floor for PowerPC32.
24100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24105 multiarch floorf for PowerPC32.
24107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24108 and ceilf multiarch implementations.
24109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24114 multiarch ceil for PowerPC32.
24115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24120 multiarch ceilf for PowerPC32.
24122 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24124 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24125 FINITEF is defined.
24126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24127 and finitef multiarch implementations.
24128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24133 multiarch finite for PowerPC32.
24134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24137 file: multiarch finitef for PowerPC32.
24139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24140 and isinff multiarch implementations.
24141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24146 multiarch isinf for PowerPC32.
24147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24150 multiarch isinff for PowerPC32.
24152 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24153 alias when __isnan is defined.
24154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24155 and isnanf multiarch implementations.
24156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24165 multiarch isnan for PowerPC32.
24166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24171 multiarch isnanf for PowerPC32.
24173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24174 and sqrtf multiarch implementations.
24175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24180 multiarch sqrt for PowerPC32.
24181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24186 multiarch sqrtf for PowerPC32.
24188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24189 and llroundf multiarch implementations.
24190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24197 file: multiarch llround for PowerPC32.
24198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24199 file: multiarch llroundf for PowerPC32.
24201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24202 multiarch PowerPC32 fpu implementations.
24203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24208 multiarch llrint for PowerPC32.
24209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24220 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24222 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24224 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24225 multiarch wordcopy for PPC32.
24226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24229 (__libc_ifunc_impl_list): Likewise.
24230 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24231 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24233 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24234 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24235 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24237 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24240 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24245 multiarch wcscpy for PPC32.
24246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24249 (__libc_ifunc_impl_list): Likewise.
24250 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24251 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24252 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24253 sysdeps/powerpc/power6/wcscpy.c.
24255 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24263 multiarch wcsrchr for PPC32.
24264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24267 (__libc_ifunc_impl_list): Likewise.
24268 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24269 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24270 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24271 sysdeps/powerpc/power6/wcsrchr.c.
24273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24275 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24279 multiarch wcschr for PPc32.
24280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24283 (__libc_ifunc_impl_list): Likewise.
24284 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24285 * sysdeps/powerpc/power6/wcschr.c: ... to here.
24286 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24287 sysdeps/powerpc/power6/wcschr.c.
24289 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24290 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24292 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24293 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24294 file: multiarch strchr for PPC32.
24295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24298 (__libc_ifunc_impl_list): Likewise.
24300 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24302 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24307 multiarch strchrnul for PPC32.
24308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24311 (__libc_ifunc_impl_list): Likewise.
24313 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24316 multiarch strncasecmp for PPC32.
24317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24319 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24320 multiarch strncasecmp_l for PPC32.
24321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24322 strncasecmp multiarch objects.
24323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24324 (__libc_ifunc_impl_list): Likewise.
24326 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24328 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24329 multiarch strncasecmp for PPC32.
24330 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24332 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24333 multiarch strcasecmp_l for PPC32.
24334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24337 (__libc_ifunc_impl_list): Likewise.
24339 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24341 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24343 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24344 multiarch strncmp for PPC32.
24345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24348 (__libc_ifunc_impl_list): Likewise.
24350 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24351 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24353 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24354 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24358 (__libc_ifunc_impl_list): Likewise.
24360 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24362 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24364 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24368 (__libc_ifunc_impl_list): Likewise.
24370 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24372 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24374 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24375 multiarch rawmemchr for PPC32.
24376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24379 (__libc_ifunc_impl_list): Likewise.
24381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24383 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24385 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24386 file: memrchr multiarch for PPC32.
24387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24390 (__libc_ifunc_impl_list): Likewise.
24392 * string/memchr.c (__memchr): Using macro to redefine symbol name.
24393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24395 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24397 multiarch memchr for PPC32.
24398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24401 (__libc_ifunc_impl_list): Likewise.
24403 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24406 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24409 file: multiarch mempcpy for PPC32.
24410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24413 (__libc_ifunc_impl_list): Likewise.
24415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24419 multiarch bzero for PPC32.
24420 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24424 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24425 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24426 file: multiarch memset for PPC32.
24427 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24429 memset multiarch objects.
24430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24431 (__libc_ifunc_impl_list): Likewise.
24433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24438 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24442 (__libc_ifunc_impl_list): Likewise.
24444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24453 multiarch memcpy for PPC32.
24454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24457 (__libc_ifunc_impl_list): Likewise.
24459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24460 support multiarch for POWER/PPC32.
24461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24463 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24465 Implies file to make multiarch folder appers before the fpu and
24466 default folder for power4 configuration.
24468 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24470 * scripts/bench.pl: Append volatile keyword to type.
24472 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24474 * sysdeps/sh/sotruss-lib.c: New file.
24475 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24477 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24481 2013-12-05 Joseph Myers <joseph@codesourcery.com>
24484 * math/w_tgamma.c: Include <errno.h>.
24485 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
24486 * math/w_tgammaf.c: Include <errno.h>.
24487 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
24488 * math/w_tgammal.c: Include <errno.h>.
24489 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
24490 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24491 underflow. Add more tgamma tests.
24492 * math/auto-libm-test-out: Regenerated.
24493 * sysdeps/i386/fpu/libm-test-ulps: Update.
24494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24496 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24497 sin, sinh, tan, tanh, tgamma, y0 and y1.
24498 * math/auto-libm-test-out: Regenerated.
24499 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24500 (TEST_COND_x86): Likewise.
24501 (M_E2l): Remove macro.
24503 (M_2_SQRT_PIl): Likewise.
24504 (M_SQRT_PIl): Likewise.
24505 (M_1_DIV_El): Likewise.
24506 (log_test_data): Use AUTO_TESTS_f_f.
24507 (log10_test_data): Likewise.
24508 (log1p_test_data): Likewise.
24509 (log2_test_data): Likewise.
24510 (sin_test_data): Likewise.
24511 (sin_tonearest_test_data): Likewise.
24512 (sin_towardzero_test_data): Likewise.
24513 (sin_downward_test_data): Likewise.
24514 (sin_upward_test_data): Likewise.
24515 (sinh_test_data): Likewise.
24516 (sinh_tonearest_test_data): Likewise.
24517 (sinh_towardzero_test_data): Likewise.
24518 (sinh_downward_test_data): Likewise.
24519 (sinh_upward_test_data): Likewise.
24520 (tan_test_data): Likewise.
24521 (tan_tonearest_test_data): Likewise.
24522 (tan_towardzero_test_data): Likewise.
24523 (tan_downward_test_data): Likewise.
24524 (tan_upward_test_data): Likewise.
24525 (tanh_test_data): Likewise.
24526 (tgamma_test_data): Likewise.
24527 (y0_test_data): Likewise.
24528 (y1_test_data): Likewise.
24529 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24530 (special_real_inputs): Add pi/4.
24531 * sysdeps/i386/fpu/libm-test-ulps: Update.
24532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24536 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24537 "longjmp_target" static probes.
24538 (__longjmp): Rename to __longjmp_symbol.
24539 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24540 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24541 on which longjmp to generate.
24542 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24545 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24546 (__sigjmp_save): Rename to __sigjmp_save_symbol.
24547 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24548 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24549 and __sigjmp_save_symbol based on which sigsetjmp to generated.
24550 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24552 __longjmp_symbol based on which __longjmp to generate.
24553 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24555 (setjmp): Rename to setjmp_symbol.
24556 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24557 (_setjmp): Rename to _setjmp_symbol.
24558 (__sigsetjmp): Rename to __sigsetjmp_symbol.
24559 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24560 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24561 which setjmp to generate.
24562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24563 "longjmp_target" static probes.
24565 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24567 * benchtests/README: Add note about output arguments.
24568 * benchtests/bench-sincos.c: Remove file.
24569 * benchtests/sincos-inputs: New file.
24570 * scripts/bench.pl: Identify output arguments and define
24571 static variables for them.
24573 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24576 * Makefile (INSTALL): Add install-plain.texi as the primary
24578 * manual/install-plain.texi: New file.
24579 * manual/install.texi: Include node directive only for
24580 non-plaintext output.
24582 2013-12-04 Joseph Myers <joseph@codesourcery.com>
24584 * stdlib/longlong.h: Update from GCC.
24588 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24589 * math/w_j0f.c (y0f): Likewise.
24590 * math/w_j0l.c (__y0l): Likewise.
24591 * math/w_j1.c (y1): Likewise.
24592 * math/w_j1f.c (y1f): Likewise.
24593 * math/w_j1l.c (__y1l): Likewise
24594 * math/w_jn.c (yn): Likewise.
24595 * math/w_jnf.c (ynf): Likewise.
24596 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24597 Bessel function pole errors in _POSIX_ mode. Use NAN as return
24598 value for Bessel function domain errors outside _SVID_ mode.
24599 Adjust sign of return value for yn (negative integer, 0).
24600 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24601 by zero in return for negative x and set sign appropriately for
24603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24604 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24605 * math/libm-test.inc (y0_test_data): Add more tests and adjust
24606 expectations in error cases.
24607 (y1_test_data): Likewise.
24608 (yn_test_data): Likewise.
24609 * sysdeps/i386/fpu/libm-test-ulps: Update.
24610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24612 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24614 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24615 "64" to "64-v1". Add "64-v2".
24616 (abi-64-options): Rename to ...
24617 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24618 (abi-64-condition): Rename to ...
24619 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24620 (abi-64-ld-soname): Rename to ...
24621 (abi-64-v1-ld-soname): ... this.
24622 (abi-64-v2-options): Define.
24623 (abi-64-v2-condition): Likewise.
24624 (abi-64-v2-ld-soname): Likewise.
24625 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24626 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24631 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24632 Alan Modra <amodra@gmail.com>
24634 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24635 New versions for use with the ELFv2 ABI.
24636 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24637 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24639 (struct La_ppc64v2_retval): Likewise.
24640 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24641 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24642 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24643 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24644 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24645 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24646 Do not save or restore CR.
24647 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24648 (_dl_profile_resolve): Do no save or restore CR. Support extended
24649 return values for ELFv2 ABI. Fix location of FPR return registers.
24650 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24651 updated values for _CALL_ELF == 2.
24652 (La_regs, La_retval, int_retval): Likewise.
24654 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24656 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24657 (FRAME_MIN_SIZE_PARM): Likewise.
24658 (FRAME_BACKCHAIN): Likewise.
24659 (FRAME_CR_SAVE): Likewise.
24660 (FRAME_LR_SAVE): Likewise.
24661 (FRAME_TOC_SAVE): Likewise.
24662 (FRAME_PARM_SAVE): Likewise.
24663 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24664 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24665 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24666 (call_mcount_parm_offset): New macro.
24667 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24668 (PROF): Use symbolic stack frame offsets.
24669 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24671 Redefine in terms of FRAME_MIN_SIZE.
24672 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24673 (_dl_profile_resolve): Likewise. Update comment.
24674 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24675 symbols stack frame offsets.
24676 (__sigsetjmp): Likewise.
24677 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24678 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24679 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24680 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24683 (FRAME_BACKCHAIN): Remove.
24684 (FRAME_CR_SAVE): Likewise.
24685 (FRAME_LR_SAVE): Likewise.
24686 (FRAME_COMPILER_DW): Likewise.
24687 (FRAME_LINKER_DW): Likewise.
24688 (FRAME_TOC_SAVE): Likewise.
24689 (FRAME_PARM_SAVE): Likewise.
24690 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24691 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24692 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24694 (CHECK_SP): Use symbolic stack frame offsets.
24695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24696 zone" instead of caller's parameter save area for temp storage.
24697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24698 Likewise. Also, use symbolic stack frame offsets.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24700 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24701 our own stack frame instead of the caller's.
24702 (__socket): Use symbolic stack frame offsets.
24704 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24705 Alan Modra <amodra@gmail.com>
24707 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24709 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24710 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24711 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24713 (elf_machine_fixup_plt): Call it.
24714 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24716 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24717 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24718 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24719 r2 before calling target.
24721 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24722 Alan Modra <amodra@gmail.com>
24724 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24725 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24726 versions of macros to support ELFv2 ABI.
24727 (LOCALENTRY): New macro.
24728 (ENTRY, EALIGN): Use it.
24729 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24730 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24731 fall through into ENTRY entry point.
24732 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24733 Only define if _CALL_ELF != 2.
24735 (elf_machine_matches_host): Verify ABI version matches.
24736 (RTLD_START): Use LOCALENTRY.
24737 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24738 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24739 (PLT_ENTRY_WORDS): New macro.
24740 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24741 (elf_machine_runtime_setup): Support ELFv2 ABI.
24742 (elf_machine_fixup_plt): Likewise.
24743 (elf_machine_plt_conflict): Likewise.
24744 (resolve_ifunc): Likewise.
24745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24746 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24749 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24751 (makecontext): Support ELFv2 ABI.
24752 * elf/elf.h (EF_PPC64_ABI): Define.
24754 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24756 * sysdeps/powerpc/powerpc64/sysdep.h
24757 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24758 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24759 (ENTRY) [ASSEMBLER]: ... but instead here ...
24760 (EALIGN) [ASSEMBLER]: ... and here.
24761 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24762 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24763 (ENTRY_2) [!ASSEMBLER]: Use it.
24764 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24765 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24766 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24767 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24768 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24770 Use PPC64_LOAD_FUNCPTR.
24772 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24774 2013-12-04 Alan Modra <amodra@gmail.com>
24776 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24777 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24778 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24779 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24782 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24783 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24784 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24785 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24786 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24788 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24791 (__makecontext): Fix incorrect CFI when backtracing out of
24792 context created via makecontext.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24794 (__setcontext): Fix incorrect CFI during switch to new context.
24795 (__novec_setcontext): Likewise.
24797 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24800 * time/strptime_l.c (__strptime_internal): Allow modifiers
24802 * time/tst-strptime.c (day_tests): Add testcase.
24804 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24806 * scripts/bench.pl: Skip over blank lines.
24808 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24811 * manual/time.texi (Calendar Time): Clarify what timezone functions
24814 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24818 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24820 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24822 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24823 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24824 * debug/memset_chk.c (__memset_chk): Likewise.
24825 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24826 * debug/strncpy_chk.c: Likewise.
24828 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24832 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24833 (__ieee754_exp): For possibly underflowing results, check size of
24834 result and force underflow exception if required.
24835 * math/auto-libm-test-in: Add more tests of exp.
24836 * math/auto-libm-test-out: Regenerated.
24837 * sysdeps/i386/fpu/libm-test-ulps: Update.
24838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24841 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24842 * math/w_exp2f.c (__exp2f): Likewise.
24843 * math/w_exp2l.c (__exp2l): Likewise.
24844 * math/auto-libm-test-in: Do not allow missing errno on exp2
24846 * math/auto-libm-test-out: Regenerated.
24848 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24851 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24852 handle filename validation.
24853 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24856 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24859 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24860 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24861 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24863 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24864 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24865 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24867 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24868 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24869 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24870 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24871 Add more erfc tests.
24872 * math/auto-libm-test-out: Regenerated.
24873 * sysdeps/i386/fpu/libm-test-ulps: Update.
24874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24876 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24877 exp2, expm1, j0 and j1.
24878 * math/auto-libm-test-out: Regenerated.
24879 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24880 (erfc_test_data): Likewise.
24881 (exp_test_data): Likewise.
24882 (exp_tonearest_test_data): Likewise.
24883 (exp_towardzero_test_data): Likewise.
24884 (exp_downward_test_data): Likewise.
24885 (exp_upward_test_data): Likewise.
24886 (exp10_test_data): Likewise.
24887 (exp2_test_data): Likewise.
24888 (expm1_test_data): Likewise.
24889 (j0_test_data): Likewise.
24890 (j1_test_data): Likewise.
24891 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24892 (input_flag_type): Add flag_xfail_rounding.
24893 (input_flags): Add xfail-rounding.
24894 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24895 (output_for_one_input_case): Handle flag_xfail_rounding.
24896 * sysdeps/i386/fpu/libm-test-ulps: Update.
24897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24899 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24902 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24905 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24908 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24909 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24910 (STAP_PROBE0): New macro.
24911 (STAP_PROBE1): Likewise.
24912 (STAP_PROBE2): Likewise.
24913 (STAP_PROBE3): Likewise.
24914 (STAP_PROBE4): Likewise.
24916 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24918 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24920 2013-12-02 Steve Ellcey <sellcey@mips.com>
24922 * benchtests/Makefile (bench): Add sqrt.
24923 (LDLIBS-bench-sqrt): New.
24924 * benchtests/sqrt-input: New.
24926 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24928 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24929 (GAIH_EAI): Likewise.
24930 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24931 (gaih_inet): Likewise.
24932 (getaddrinfo): Don't use GAIH_EAI.
24934 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24935 (struct gaih): Remove definition.
24937 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24939 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24940 Use HERRNOP directly.
24942 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24946 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24948 * math/gen-auto-libm-tests.c (test_functions): Add more
24949 single-argument functions.
24950 (special_fill_pi_2): New function.
24951 (special_fill_minus_pi_2): Likewise.
24952 (special_fill_pi_6): Likewise.
24953 (special_fill_minus_pi_6): Likewise.
24954 (special_fill_pi_3): Likewise.
24955 (special_fill_2pi_3): Likewise.
24956 (special_fill_e): Likewise.
24957 (special_fill_1_e): Likewise.
24958 (special_fill_e_minus_1): Likewise.
24959 (special_real_inputs): Add more special inputs.
24960 (output_for_one_input_case): Do not require ERANGE on underflow to
24961 zero if round-to-nearest result does not underflow to zero, unless
24962 exact results required.
24963 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24964 atan, atanh, cbrt, cos and cosh.
24965 * math/auto-libm-test-out: Regenerated.
24966 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24967 (acos_tonearest_test_data): Likewise.
24968 (acos_towardzero_test_data): Likewise.
24969 (acos_downward_test_data): Likewise.
24970 (acos_upward_test_data): Likewise.
24971 (acosh_test_data): Likewise.
24972 (asin_test_data): Likewise.
24973 (asin_tonearest_test_data): Likewise.
24974 (asin_towardzero_test_data): Likewise.
24975 (asin_upward_test_data): Likewise.
24976 (asinh_test_data): Likewise.
24977 (atan_test_data): Likewise.
24978 (atanh_test_data): Likewise.
24979 (cbrt_test_data): Likewise.
24980 (cos_test_data): Likewise.
24981 (cos_tonearest_test_data): Likewise.
24982 (cos_towardzero_test_data): Likewise.
24983 (cos_downward_test_data): Likewise.
24984 (cos_upward_test_data): Likewise.
24985 (cosh_test_data): Likewise.
24986 (cosh_tonearest_test_data): Likewise.
24987 (cosh_towardzero_test_data): Likewise.
24988 (cosh_downward_test_data): Likewise.
24989 (cosh_upward_test_data): Likewise.
24990 * sysdeps/i386/fpu/libm-test-ulps: Update.
24991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24993 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24996 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24997 * math/w_exp10f.c (__exp10f): Likewise.
24998 * math/w_exp10l.c (__exp10l): Likewise.
24999 * math/libm-test.inc (exp10_test_data): Add more tests and expect
25000 errno settings in existing tests.
25003 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25004 precision control set to double precision.
25005 * sysdeps/i386/fpu/w_sqrt.c: New file.
25006 * math/auto-libm-test-in: Add more tests.
25007 * math/auto-libm-test-out: Update.
25009 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25010 (sqrt_test_tonearest): New function.
25011 (sqrt_towardzero_test_data): New variable.
25012 (sqrt_test_towardzero): New function.
25013 (sqrt_downward_test_data): New variable.
25014 (sqrt_test_downward): New function.
25015 (sqrt_upward_test_data): New variable.
25016 (sqrt_test_upward): New function.
25017 (main): Call the new functions.
25019 * math/gen-auto-libm-tests.c: New file.
25020 * math/auto-libm-test-in: Likewise.
25021 * math/auto-libm-test-out: New generated file.
25022 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25024 (%beautify): Add generated representations of zero.
25025 (top level): Set $auto_input and call parse_auto_input.
25026 (beautify): Remove trailing "f" from hex float constants.
25027 (parse_args): Handle XFAIL_TEST.
25028 (convert_condition): New function.
25029 (or_value): Likewise.
25030 (or_cond_value): Likewise.
25031 (generate_testfile): Handle AUTO_TESTS_* lines.
25032 (parse_auto_input): New function.
25033 * math/libm-test.inc (XFAIL_TEST): New macro.
25034 (ERRNO_UNCHANGED): Update value.
25035 (ERRNO_EDOM): Likewise.
25036 (ERRNO_ERANGE): Likewise.
25037 (IGNORE_RESULT): Likewise.
25038 (TEST_COND_flt_32): New macro.
25039 (TEST_COND_dbl_64): Likewise.
25040 (TEST_COND_ldbl_96_intel): Likewise.
25041 (TEST_COND_ldbl_96_m68k): Likewise.
25042 (TEST_COND_ldbl_128): Likewise.
25043 (TEST_COND_ldbl_128ibm): Likewise.
25044 (TEST_COND_long32): Likewise.
25045 (TEST_COND_long64): Likewise.
25046 (TEST_COND_before_rounding): Likewise.
25047 (TEST_COND_after_rounding): Likewise.
25048 (enable_test): Handle XFAIL_TEST flag.
25049 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25050 with finite results.
25051 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25052 auto-libm-test-out.
25054 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25055 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25058 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25059 __tls_get_addr_internal instead of __tls_get_offset in order to
25060 avoid GOT pointer dependency. Make rtld export
25061 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25062 __tls_get_addr since we are a __tls_get_offset platform.
25063 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25064 GOT pointer being set up before.
25065 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25067 2013-11-28 Joseph Myers <joseph@codesourcery.com>
25069 * manual/math.texi (Errors in Math Functions): Document accuracy
25073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25074 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25076 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25080 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25081 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25083 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25084 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25085 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25086 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25088 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25090 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25091 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25092 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25093 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25094 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25096 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25098 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25100 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25101 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25102 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25103 atomic-feupdateenv and flt-rounds.
25104 * sysdeps/powerpc/nofpu/Versions (libc): Add
25105 __atomic_feholdexcept, __atomic_feclearexcept,
25106 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25107 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25108 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25109 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25110 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25115 * manual/arith.texi (FP Exceptions): Document that exceptions may
25116 not be raised when matherr is used.
25117 (Math Error Reporting): Document overflow in directed rounding
25118 modes. Document that errno may not be set when finite values are
25119 returned on overflow. Document intent to set errno on underflow
25120 only for underflow to zero.
25123 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25124 round-to-nearest then adjust result for other rounding modes.
25125 * include/fenv.h (fegetround): Use libm_hidden_proto.
25126 * math/fegetround.c (fegetround): Use libm_hidden_def.
25127 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25128 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25129 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25130 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25132 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25133 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25134 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25135 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25137 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25140 * nss/Versions (libnss_files): Add
25141 _nss_files_gethostbyname3_r.
25142 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25144 (HOST_DB_LOOKUP): Remove macro.
25145 (_nss_files_gethostbyname_r): Implement function without the
25146 HOST_DB_LOOKUP macro.
25147 (_nss_files_gethostbyname2_r): Likewise.
25149 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
25151 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25153 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
25155 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25156 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25159 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25161 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25162 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25163 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25164 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25165 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25166 __fe_nomask_env_priv and attribute_hidden.
25167 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25168 (libc_feupdateenv_test_ppc): Likewise.
25169 (libc_feresetround_ppc): Likewise.
25170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25171 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25172 compat_symbol macro.
25173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25174 (__fe_nomask_env): Likewise.
25175 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25177 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25179 * string/Makefile: Remove ifunc tests.
25180 * string/test-string.h: Define TEST_IFUNC.
25181 * string/test-bcopy-ifunc.c: Remove.
25182 * string/test-bzero-ifunc.c: Likewise.
25183 * string/test-memccpy-ifunc.c: Likewise.
25184 * string/test-memchr-ifunc.c: Likewise.
25185 * string/test-memcmp-ifunc.c: Likewise.
25186 * string/test-memcpy-ifunc.c: Likewise.
25187 * string/test-memmem-ifunc.c: Likewise.
25188 * string/test-memmove-ifunc.c: Likewise.
25189 * string/test-mempcpy-ifunc.c: Likewise.
25190 * string/test-memrchr-ifunc.c: Likewise.
25191 * string/test-memset-ifunc.c: Likewise.
25192 * string/test-rawmemchr-ifunc.c: Likewise.
25193 * string/test-stpcpy-ifunc.c: Likewise.
25194 * string/test-stpncpy-ifunc.c: Likewise.
25195 * string/test-strcasecmp-ifunc.c: Likewise.
25196 * string/test-strcasestr-ifunc.c: Likewise.
25197 * string/test-strcat-ifunc.c: Likewise.
25198 * string/test-strchr-ifunc.c: Likewise.
25199 * string/test-strchrnul-ifunc.c: Likewise.
25200 * string/test-strcmp-ifunc.c: Likewise.
25201 * string/test-strcpy-ifunc.c: Likewise.
25202 * string/test-strcspn-ifunc.c: Likewise.
25203 * string/test-strlen-ifunc.c: Likewise.
25204 * string/test-strncasecmp-ifunc.c: Likewise.
25205 * string/test-strncat-ifunc.c: Likewise.
25206 * string/test-strncmp-ifunc.c: Likewise.
25207 * string/test-strncpy-ifunc.c: Likewise.
25208 * string/test-strnlen-ifunc.c: Likewise.
25209 * string/test-strpbrk-ifunc.c: Likewise.
25210 * string/test-strrchr-ifunc.c: Likewise.
25211 * string/test-strspn-ifunc.c: Likewise.
25212 * string/test-strstr-ifunc.c: Likewise.
25214 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25216 * benchtests/Makefile: Remove ifunc tests.
25217 * benchtests/bench-string.h: Define TEST_IFUNC.
25218 * benchtests/bench-bcopy-ifunc.c: Remove.
25219 * benchtests/bench-bzero-ifunc.c: Likewise.
25220 * benchtests/bench-memccpy-ifunc.c: Likewise.
25221 * benchtests/bench-memchr-ifunc.c: Likewise.
25222 * benchtests/bench-memcmp-ifunc.c: Likewise.
25223 * benchtests/bench-memcpy-ifunc.c: Likewise.
25224 * benchtests/bench-memmem-ifunc.c: Likewise.
25225 * benchtests/bench-memmove-ifunc.c: Likewise.
25226 * benchtests/bench-mempcpy-ifunc.c: Likewise.
25227 * benchtests/bench-memrchr-ifunc.c: Likewise.
25228 * benchtests/bench-memset-ifunc.c: Likewise.
25229 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25230 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25231 * benchtests/bench-stpcpy-ifunc.c: Likewise.
25232 * benchtests/bench-stpncpy-ifunc.c: Likewise.
25233 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25234 * benchtests/bench-strcasestr-ifunc.c: Likewise.
25235 * benchtests/bench-strcat-ifunc.c: Likewise.
25236 * benchtests/bench-strchr-ifunc.c: Likewise.
25237 * benchtests/bench-strchrnul-ifunc.c: Likewise.
25238 * benchtests/bench-strcmp-ifunc.c: Likewise.
25239 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25240 * benchtests/bench-strcpy-ifunc.c: Likewise.
25241 * benchtests/bench-strcspn-ifunc.c: Likewise.
25242 * benchtests/bench-strlen-ifunc.c: Likewise.
25243 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25244 * benchtests/bench-strncat-ifunc.c: Likewise.
25245 * benchtests/bench-strncmp-ifunc.c: Likewise.
25246 * benchtests/bench-strncpy-ifunc.c: Likewise.
25247 * benchtests/bench-strnlen-ifunc.c: Likewise.
25248 * benchtests/bench-strpbrk-ifunc.c: Likewise.
25249 * benchtests/bench-strrchr-ifunc.c: Likewise.
25250 * benchtests/bench-strsep-ifunc.c: Likewise.
25251 * benchtests/bench-strspn-ifunc.c: Likewise.
25252 * benchtests/bench-strstr-ifunc.c: Likewise.
25254 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25256 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25258 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
25260 * resolv/netdb.h: Use __glibc_reserved instead __unused.
25261 * rt/aio.h: Likewise.
25262 * sysdeps/gnu/bits/utmp.h: Likewise.
25263 * sysdeps/gnu/bits/utmpx.h: Likewise.
25264 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25265 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25266 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25267 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25268 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25269 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25270 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25271 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25272 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25273 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25274 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25275 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25276 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25278 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25279 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25280 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25281 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25282 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25283 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25284 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25285 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25286 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25287 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25288 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25291 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25293 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25294 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25295 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25296 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25297 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25298 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25299 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25300 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25301 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25302 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25303 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25304 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25305 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25307 2013-11-25 Carlos O'Donell <carlos@redhat.com>
25310 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25311 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25313 2013-11-25 Joseph Myers <joseph@codesourcery.com>
25315 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25316 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25319 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25322 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25323 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25324 (__fesetround): Remove define.
25325 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25326 rounding and exceptions handling.
25327 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25328 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25329 (__fe_nomask_env): Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25331 __fegetround instead of fegetround.
25332 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25335 2013-11-21 Roland McGrath <roland@hack.frob.com>
25337 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25340 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25342 2013-11-21 Meador Inge <meadori@codesourcery.com>
25345 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25346 (encrypt_r): Likewise.
25347 * malloc/obstack.h (obstack_free): Likewise.
25348 * posix/unistd.h (encrypt): Likewise.
25350 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
25352 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25353 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25354 DL_CALL_DT_FINI() that call the functions directly.
25355 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25356 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25357 * elf/dl-fini.c: Likewise.
25359 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
25361 * malloc/hooks.c (memalign_check): Add alignment rounding.
25362 * malloc/malloc.c (_mid_memalign): New function.
25363 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25364 Implement by calling _mid_memalign.
25365 * manual/probes.texi (Memory Allocation Probes): Remove
25366 memory_valloc_retry and memory_pvalloc_retry.
25368 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25370 * locale/programs/locarchive.c (open_archive): Add const
25371 qualifier to ARCHIVEFNAME and copy default fname to
25375 * libio/tst-widetext.input: Rename Oriya to Odia.
25376 * locale/iso-639.def: Likewise.
25378 * manual/probes.texi (Mathematical Function Probes): Add
25379 documentation for sin, cos, asin and acos probes.
25380 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25381 (__sin32): Add slowasin probe.
25382 (__cos32): Add slowacos probe.
25383 (__mpsin): Add slowsin probe.
25384 (__mpcos): Add slowcos probe.
25386 2013-11-19 Joseph Myers <joseph@codesourcery.com>
25389 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25390 thread-local __sim_exceptions_thread and global
25391 __sim_exceptions_global.
25392 (__sim_disabled_exceptions): Change to thread-local
25393 __sim_disabled_exceptions_thread and global
25394 __sim_disabled_exceptions_global.
25395 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25396 and global __sim_round_mode_global.
25397 (__simulate_exceptions): Use thread-local floating-point state and
25398 set global state from it as needed.
25399 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25400 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25401 __sim_round_mode_thread.
25402 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25403 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25404 and global __sim_exceptions_global.
25405 (__sim_disabled_exceptions): Change to thread-local
25406 __sim_disabled_exceptions_thread and global
25407 __sim_disabled_exceptions_global.
25408 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25409 and global __sim_round_mode_global.
25410 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25411 (SIM_SET_GLOBAL): Likewise.
25412 * sysdeps/powerpc/soft-fp/sfp-machine.h
25413 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25414 __sim_round_mode_thread.
25415 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25416 __sim_disabled_exceptions_thread.
25417 (__sim_exceptions): Change to __sim_exceptions_thread.
25418 (__sim_disabled_exceptions): Change to
25419 __sim_disabled_exceptions_thread.
25420 (__sim_round_mode): Change to __sim_round_mode_thread.
25421 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25422 thread-local floating-point state and set global state from it as
25424 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25425 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25426 (__sim_disabled_exceptions): Remove extern declaration.
25427 (feenableexcept): Use thread-local floating-point state and set
25428 global state from it as needed.
25429 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25430 extern declaration.
25431 (__sim_disabled_exceptions): Likewise.
25432 (__sim_round_mode): Likewise.
25433 (__fegetenv): Use thread-local floating-point state.
25434 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25435 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25436 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25437 floating-point state and set global state from it as needed.
25438 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25439 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25440 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25442 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25443 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25445 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25446 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25447 Use __sim_round_mode_thread.
25448 * math/test-fenv-tls.c: New file.
25449 * math/Makefile (tests): Add test-fenv-tls.
25450 ($(objpfx)test-fenv-tls): Depend on
25451 $(common-objpfx)nptl/libpthread.so.
25453 2013-11-19 Andreas Schwab <schwab@suse.de>
25455 * locale/programs/locale.c (show_info): Decode wordarray elements.
25456 * locale/categories.def (LC_MONETARY): Add element for
25457 _NL_MONETARY_CRNCYSTR.
25458 * locale/C-monetary.c (conversion_rate): New variable.
25459 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25462 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
25464 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25465 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25467 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
25469 * elf/Makefile (tst-auxv): New test.
25470 * elf/tst-auxv.c: New
25471 * elf/rtld.c (dl_main): Adjust AT_EXECFN
25473 2013-11-18 Joseph Myers <joseph@codesourcery.com>
25475 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25476 (hidden_proto): Caller changed.
25477 (hidden_tls_proto): New macro.
25478 (libc_hidden_tls_proto): Likewise.
25479 (rtld_hidden_tls_proto): Likewise.
25480 (libm_hidden_tls_proto): Likewise.
25481 (libresolv_hidden_tls_proto): Likewise.
25482 (librt_hidden_tls_proto): Likewise.
25483 (libdl_hidden_tls_proto): Likewise.
25484 (libnss_files_hidden_tls_proto): Likewise.
25485 (libnsl_hidden_tls_proto): Likewise.
25486 (libnss_nisplus_hidden_tls_proto): Likewise.
25487 (libutil_hidden_tls_proto): Likewise.
25489 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
25492 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25493 (decompose_rpath): Defer expansion to fillin_rpath.
25494 (_dl_init_paths): Pass linkmap to fillin_rpath.
25496 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25498 * benchtests/Makefile: Add strsep.
25499 * benchtests/bench-strsep.c: New file: strsep benchtest.
25500 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25502 2013-11-18 Andreas Schwab <schwab@suse.de>
25504 * locale/programs/locale.c (show_info) [case byte]: Check for
25505 '\377' instead of '\177'.
25506 * locale/C-monetary.c (not_available): Always use "\377".
25507 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25508 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
25509 detect unavailable sign_posn locale elements.
25510 * locale/localeconv.c (__localeconv): For grouping and
25511 mon_grouping handle "\177" and "\377" like no grouping.
25512 (INT_ELEM): New macro. Use it to set all numeric members.
25513 * locale/programs/ld-monetary.c (monetary_read)
25514 <tok_mon_grouping>: Normalize single -1 to the empty string.
25515 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25518 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25521 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25522 when we match (nil).
25523 * stdio-common/tst-sscanf.c (struct test): Add testcase.
25525 2013-11-16 Joseph Myers <joseph@codesourcery.com>
25527 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25528 (NO_TEST_INLINE): Update value.
25529 (ERRNO_UNCHANGED): Likewise.
25530 (ERRNO_EDOM): Likewise.
25531 (ERRNO_ERANGE): Likewise.
25532 (IGNORE_RESULT): Likewise.
25533 (check_float_internal): Check signs of NaN results if
25534 TEST_NAN_SIGN used.
25535 (check_complex): Pass TEST_NAN_SIGN flag through to second
25536 check_float_internal call.
25537 (copysign_test_data): Add tests with quiet NaNs as second
25538 argument. Use TEST_NAN_SIGN.
25539 (fabs_test_data): Add test of negative quiet NaN argument. Use
25541 (signbit_test_data): Add tests of quiet NaN argument.
25542 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25544 * math/gen-libm-test.pl (show_exceptions): Take extra argument
25546 (parse_args): Handle function results specified as IGNORE.
25547 * math/libm-test.inc (IGNORE_RESULT): New macro.
25548 (check_float_internal): Do not check numerical result if flag
25550 (check_complex): Pass through IGNORE_RESULT to second
25551 check_float_internal call.
25552 (check_int): Do not check numerical result if flag IGNORE_RESULT
25554 (check_long): Likewise.
25555 (check_bool): Likewise.
25556 (check_longlong): Likewise.
25557 (lrint_test_data): Add tests of infinite and NaN arguments.
25558 (lrint_tonearest_test_data): Likewise.
25559 (lrint_towardzero_test_data): Likewise.
25560 (lrint_downward_test_data): Likewise.
25561 (lrint_upward_test_data): Likewise.
25562 (llrint_test_data): Likewise.
25563 (llrint_tonearest_test_data): Likewise.
25564 (llrint_towardzero_test_data): Likewise.
25565 (llrint_downward_test_data): Likewise.
25566 (llrint_upward_test_data): Likewise.
25567 (lround_test_data): Likewise.
25568 (llround_test_data): Likewise.
25570 * math/libm-test.inc (NO_TEST_INLINE): New macro.
25571 (ERRNO_UNCHANGED): Update value.
25572 (ERRNO_EDOM): Likewise.
25573 (ERRNO_ERANGE): Likewise.
25574 (NO_TEST_INLINE_FLOAT): New macro.
25575 (NO_TEST_INLINE_DOUBLE): Likewise.
25576 (enable_test): New function.
25577 (RUN_TEST_f_f): Check enable_test before running test.
25578 (RUN_TEST_2_f): Likewise.
25579 (RUN_TEST_fff_f): Likewise.
25580 (RUN_TEST_c_f): Likewise.
25581 (RUN_TEST_f_f1): Likewise.
25582 (RUN_TEST_fF_f1): Likewise.
25583 (RUN_TEST_fI_f1): Likewise.
25584 (RUN_TEST_ffI_f1): Likewise.
25585 (RUN_TEST_c_c): Likewise.
25586 (RUN_TEST_cc_c): Likewise.
25587 (RUN_TEST_f_i): Likewise.
25588 (RUN_TEST_f_i_tg): Likewise.
25589 (RUN_TEST_ff_i_tg): Likewise.
25590 (RUN_TEST_f_b): Likewise.
25591 (RUN_TEST_f_b_tg): Likewise.
25592 (RUN_TEST_f_l): Likewise.
25593 (RUN_TEST_f_L): Likewise.
25594 (RUN_TEST_fFF_11): Likewise.
25595 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25597 (cosh_test_data): Likewise.
25598 (exp_test_data): Likewise.
25599 (expm1_test_data): Likewise.
25600 (hypot_test_data): Likewise.
25601 (pow_test_data): Likewise.
25602 (sinh_test_data): Likewise.
25603 (tanh_test_data): Likewise.
25604 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25607 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25608 tests with quiet NaN input and output.
25609 (acosh_test_data): Likewise.
25610 (asin_test_data): Likewise.
25611 (asinh_test_data): Likewise.
25612 (atan_test_data): Likewise.
25613 (atanh_test_data): Likewise.
25614 (atan2_test_data): Likewise.
25615 (cbrt_test_data): Likewise.
25616 (cos_test_data): Likewise.
25617 (cosh_test_data): Likewise.
25618 (erf_test_data): Likewise.
25619 (erfc_test_data): Likewise.
25620 (exp_test_data): Likewise.
25621 (exp10_test_data): Likewise.
25622 (exp2_test_data): Likewise.
25623 (expm1_test_data): Likewise.
25624 (hypot_test_data): Likewise.
25625 (j0_test_data): Likewise.
25626 (j1_test_data): Likewise.
25627 (jn_test_data): Likewise.
25628 (lgamma_test_data): Likewise.
25629 (log_test_data): Likewise.
25630 (log10_test_data): Likewise.
25631 (log1p_test_data): Likewise.
25632 (log2_test_data): Likewise.
25633 (pow_test_data): Likewise.
25634 (scalb_test_data): Likewise.
25635 (sin_test_data): Likewise.
25636 (sincos_test_data): Likewise.
25637 (sinh_test_data): Likewise.
25638 (tan_test_data): Likewise.
25639 (tanh_test_data): Likewise.
25640 (tgamma_test_data): Likewise.
25641 (y0_test_data): Likewise.
25642 (y1_test_data): Likewise.
25643 (yn_test_data): Likewise.
25646 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25647 argument being NaN and avoid computations with second argument in
25649 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25650 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25651 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25653 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25655 * locale/iso-639.def: Add Chitwani Tharu (the).
25657 2013-11-14 Andreas Schwab <schwab@suse.de>
25659 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25660 word instead of empty string.
25662 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25665 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25667 (__fe_nomask_env): Likewise.
25669 2013-11-13 Steve Ellcey <sellcey@mips.com>
25671 * benchtests/bench-timing.h: Include time.h.
25673 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25676 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25678 * sysdeps/unix/sysv/linux/configure: Regenerated.
25680 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25683 * stdlib/strtod_l.c (round_and_return): Do not consider
25684 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25685 exponent one less than half the least subnormal exponent.
25686 * stdlib/test-strtod-round-data: Add more tests.
25687 * stdlib/tst-strtod-round.c (tests): Regenerated.
25689 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25692 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25693 (__fe_mask_env): Likewise.
25694 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25695 libm_hidden_proto and add function prototype.
25696 (__fe_mask_env): Add function prototype.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25698 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25700 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25702 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25704 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25706 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25707 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25709 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25711 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25712 of htab_find_slot().
25714 2013-11-11 David S. Miller <davem@davemloft.net>
25717 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25718 symbol in the non-vis3 case in static builds.
25719 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25720 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25721 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25722 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25724 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25727 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25730 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25732 * benchtests/Makefile: Add bench-strtod.
25733 * benchtests/bench-strtod.c: New file: strtod benchtest
25735 2013-11-11 Andreas Schwab <schwab@suse.de>
25738 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25739 terminating NUL in key length.
25741 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25743 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25744 Add artificial ODP entry for vDSO symbol for PPC64.
25745 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25746 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25748 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25751 * nss/getent.c (services_keys): Recognize services starting with digit.
25753 2013-11-06 David S. Miller <davem@davemloft.net>
25756 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25757 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25759 2013-11-06 Will Newton <will.newton@linaro.org>
25761 * manual/memory.texi (Malloc Examples): Remove register
25762 keyword from examples.
25764 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25766 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25768 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25771 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25772 depending on [__GCC_IEC_559 > 0].
25773 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25774 depending on [__GCC_IEC_559_COMPLEX > 0].
25776 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25778 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25781 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25783 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25785 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25788 * malloc/malloc (malloc_info): Do not handle first bin as
25791 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25793 * locale/iso-639.def: Add Central Nahuatl (nhn).
25795 2013-11-01 Bruno Haible <bruno@clisp.org>
25798 * manual/math.texi (BSD Random): Specify range upper bound as
25801 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25803 * locale/iso-639.def: Add Meadow Mari (mhr).
25805 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25807 [BZ #14752], [BZ #15763]
25808 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25810 * rt/tst_shm.c: Add test for escaping directory.
25812 2013-10-31 Andreas Schwab <schwab@suse.de>
25815 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25816 followed by 'x' as part of digit sequence.
25817 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25819 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25822 * configure.ac: allow GNU Make 4.0 and greater.
25823 * configure: Regenerated.
25825 2013-10-30 Will Newton <will.newton@linaro.org>
25828 * malloc/hooks.c (memalign_check): Limit alignment to the
25829 maximum representable power of two.
25830 * malloc/malloc.c (__libc_memalign): Likewise.
25831 * malloc/tst-memalign.c (do_test): Add test for very
25832 large alignment values.
25833 * malloc/tst-posix_memalign.c (do_test): Likewise.
25835 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25838 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25839 (munmap_chunk): Likewise.
25840 (mremap_chunk): Likewise.
25842 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25845 * stdlib/div.c (div): Remove obsolete code.
25846 * stdlib/ldiv.c (ldiv): Likewise.
25847 * stdlib/lldiv.c (lldiv): Likewise.
25849 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25852 * nss/nss_files/files-XXX.c (get_contents_ret): New
25854 (get_contents): New function.
25855 (internal_getent): Use it. Expand size of LINEBUFLEN.
25857 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25859 * configure.in: Moved to ...
25860 * configure.ac: ... here. Change reference to configure.in
25862 * sysdeps/arm/preconfigure.ac: ... here.
25863 configure.in to configure.ac.
25864 * sysdeps/gnu/configure.in: Moved to ...
25865 * sysdeps/gnu/configure.ac: ... here.
25866 * sysdeps/i386/configure.in: Moved to ...
25867 * sysdeps/i386/configure.ac: ... here.
25868 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25869 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25870 * sysdeps/mach/configure.in: Moved to ...
25871 * sysdeps/mach/configure.ac: ... here.
25872 * sysdeps/mach/hurd/configure.in: Moved to ...
25873 * sysdeps/mach/hurd/configure.ac: ... here.
25874 * sysdeps/powerpc/configure.in: Moved to ...
25875 * sysdeps/powerpc/configure.ac: ... here.
25876 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25877 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25878 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25879 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25880 * sysdeps/s390/s390-32/configure.in: Moved to ...
25881 * sysdeps/s390/s390-32/configure.ac: ... here.
25882 * sysdeps/s390/s390-64/configure.in: Moved to ...
25883 * sysdeps/s390/s390-64/configure.ac: ... here.
25884 * sysdeps/sh/configure.in: Moved to ...
25885 * sysdeps/sh/configure.ac: ... here.
25886 * sysdeps/sparc/configure.in: Moved to ...
25887 * sysdeps/sparc/configure.ac: ... here.
25888 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25889 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25890 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25891 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25892 * sysdeps/x86_64/configure.in: Moved to ...
25893 * sysdeps/x86_64/configure.ac: ... here.
25894 * sysdeps/x86_64/preconfigure.in: Moved to ...
25895 * sysdeps/x86_64/preconfigure.ac: ... here.
25896 * aclocal.m4: Change reference to configure.in to configure.ac.
25897 * config.h.in: Likewise.
25898 * manual/install.texi: Likewise.
25899 * manual/maint.texi: Likewise.
25900 * Makefile: Likewise.
25901 * malloc/Makefile: Likewise.
25902 * nscd/Makefile: Likewise.
25903 * Makeconfig: Change reference to configure.in and
25904 preconfigure.in to configure.ac and preconfigure.ac
25906 * INSTALL: Regenerated.
25907 * configure: Likewise.
25908 * sysdeps/gnu/configure: Likewise.
25909 * sysdeps/i386/configure: Likewise.
25910 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25911 * sysdeps/mach/configure: Likewise.
25912 * sysdeps/mach/hurd/configure: Likewise.
25913 * sysdeps/powerpc/configure: Likewise.
25914 * sysdeps/powerpc/powerpc32/configure: Likewise.
25915 * sysdeps/powerpc/powerpc64/configure: Likewise.
25916 * sysdeps/s390/s390-32/configure: Likewise.
25917 * sysdeps/s390/s390-64/configure: Likewise.
25918 * sysdeps/sh/configure: Likewise.
25919 * sysdeps/sparc/configure: Likewise.
25920 * sysdeps/unix/sysv/linux/configure: Likewise.
25921 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25922 * sysdeps/x86_64/configure: Likewise.
25923 * sysdeps/x86_64/preconfigure: Likewise.
25925 2013-10-29 Andreas Schwab <schwab@suse.de>
25927 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25929 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25931 * benchtests/pow-inputs: Add new inputs.
25933 * benchtests/exp-inputs: Add new inputs.
25935 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25936 conditional check for return value.
25937 (__cos32): Likewise.
25939 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25941 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25942 to provide a boost for large inputs with word alignment.
25943 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25944 implementation based on optimized PPC64 strcpy.
25945 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25946 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25947 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25948 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25950 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25953 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25955 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25958 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25959 * time/tst-strptime.c (day_tests): Add testcase.
25961 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25964 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25966 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25969 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25970 MAP_FAILED on error.
25972 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25975 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25976 heap for large requests.
25978 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25981 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25982 result if the result has no associated interface.
25983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25984 interface for all 127.X.Y.Z addresses.
25986 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25988 * locale/iso-639.def: Add Ligurian (lij)
25990 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25993 * sunrpc/rpc_main.c: Document rpcgen -5.
25995 2013-10-19 Michael Stahl <mstahl@redhat.com>
25997 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25999 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26002 * posix/glob.c: Match only directories when trailing slash is present.
26003 * posix/tst-gnuglob.c (my_opendir): Do not open files.
26004 (main): Add testcase.
26006 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
26009 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26011 2013-10-18 Carlos O'Donell <carlos@redhat.com>
26013 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26014 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26015 AUTH_DES and cindex for FIPS 140-2.
26016 (DES Encryption): Add cindex FIPS 46-3.
26018 * locale/locarchive.h (struct locarhandle): Add fname.
26019 * locale/programs/localedef.c (main): Pass ARGV[remaining]
26020 if an optional argument was specified to --list-archive,
26022 * locale/programs/locarchive.c (show_archive_content): Take new
26023 argument fname and pass it via ah.fname to open_archive.
26024 * locale/programs/localedef.h: Update decl.
26025 (open_archive): If AH->fname is non-null, open that file
26026 rather than the default file name, and don't ignore ENOENT.
26027 (create_archive): Set AH.fname to NULL.
26028 (delete_locales_from_archive): Likewise.
26029 (add_locales_to_archive): Likewise.
26030 * locale/programs/locfile.c (write_all_categories): Likewise.
26032 2013-10-18 Joseph Myers <joseph@codesourcery.com>
26033 Aldy Hernandez <aldyh@redhat.com>
26035 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26036 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26037 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26038 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26039 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26040 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26042 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26043 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26044 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26045 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26046 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26047 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26048 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26049 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26051 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26053 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26055 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26057 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26058 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26060 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26061 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26062 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26063 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26065 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26066 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26067 * sysdeps/powerpc/preconfigure: Likewise.
26068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26070 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26071 Replace contents of file by #include of <fenv_libc.h>.
26072 * sysdeps/powerpc/soft-fp/sfp-machine.h
26073 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26075 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26088 Allow copysignl PLT reference to be missing.
26090 2013-10-18 Richard Sandiford <richard@codesourcery.com>
26091 Joseph Myers <joseph@codesourcery.com
26094 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26096 (add_to_tablewc): Assert sequence of wide characters is nonempty.
26098 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26100 * elf/tst-tls-dlinfo.c: Don't include tls.h.
26101 * elf/tst-tls1.c: Likewise.
26102 * elf/tst-tls10.h: Likewise.
26103 * elf/tst-tls14.c: Likewise.
26104 * elf/tst-tls2.c: Likewise.
26105 * elf/tst-tls3.c: Likewise.
26106 * elf/tst-tls4.c: Likewise.
26107 * elf/tst-tls5.c: Likewise.
26108 * elf/tst-tls6.c: Likewise.
26109 * elf/tst-tls7.c: Likewise.
26110 * elf/tst-tls8.c: Likewise.
26111 * elf/tst-tls9.c: Likewise.
26112 * elf/tst-tlsmod1.c: Likewise.
26113 * elf/tst-tlsmod13.c: Likewise.
26114 * elf/tst-tlsmod13a.c: Likewise.
26115 * elf/tst-tlsmod14a.c: Likewise.
26116 * elf/tst-tlsmod16a.c: Likewise.
26117 * elf/tst-tlsmod16b.c: Likewise.
26118 * elf/tst-tlsmod2.c: Likewise.
26119 * elf/tst-tlsmod3.c: Likewise.
26120 * elf/tst-tlsmod4.c: Likewise.
26121 * elf/tst-tlsmod5.c: Likewise.
26122 * elf/tst-tlsmod6.c: Likewise.
26124 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
26127 * malloc/malloc.c: remove checks for statistics.
26129 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26132 * inet/inet_net.c (inet_network): Detect additional invalid strings.
26133 * inet/tst-network.c: Add testcase.
26135 2013-10-17 Andreas Schwab <schwab@suse.de>
26138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26139 to determine canonical name.
26141 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
26143 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26144 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26156 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26167 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26168 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26169 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26170 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26171 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26172 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26173 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26174 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26175 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26176 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26177 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26178 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26179 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26180 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26181 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26182 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26183 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26184 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26185 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26187 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26188 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26189 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26190 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26191 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26192 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26193 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26194 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26202 2013-10-17 Joseph Myers <joseph@codesourcery.com>
26205 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26206 make result into a quiet NaN.
26208 2013-10-16 Joseph Myers <joseph@codesourcery.com>
26210 * soft-fp/adddf3.c: Fix horizontal whitespace.
26211 * soft-fp/addsf3.c: Likewise.
26212 * soft-fp/addtf3.c: Likewise.
26213 * soft-fp/divdf3.c: Likewise.
26214 * soft-fp/divsf3.c: Likewise.
26215 * soft-fp/divtf3.c: Likewise.
26216 * soft-fp/double.h: Likewise.
26217 * soft-fp/eqdf2.c: Likewise.
26218 * soft-fp/eqsf2.c: Likewise.
26219 * soft-fp/eqtf2.c: Likewise.
26220 * soft-fp/extenddftf2.c: Likewise.
26221 * soft-fp/extended.h: Likewise.
26222 * soft-fp/extendsfdf2.c: Likewise.
26223 * soft-fp/extendsftf2.c: Likewise.
26224 * soft-fp/extendxftf2.c: Likewise.
26225 * soft-fp/fixdfdi.c: Likewise.
26226 * soft-fp/fixdfsi.c: Likewise.
26227 * soft-fp/fixdfti.c: Likewise.
26228 * soft-fp/fixsfdi.c: Likewise.
26229 * soft-fp/fixsfsi.c: Likewise.
26230 * soft-fp/fixsfti.c: Likewise.
26231 * soft-fp/fixtfdi.c: Likewise.
26232 * soft-fp/fixtfsi.c: Likewise.
26233 * soft-fp/fixtfti.c: Likewise.
26234 * soft-fp/fixunsdfdi.c: Likewise.
26235 * soft-fp/fixunsdfsi.c: Likewise.
26236 * soft-fp/fixunsdfti.c: Likewise.
26237 * soft-fp/fixunssfdi.c: Likewise.
26238 * soft-fp/fixunssfsi.c: Likewise.
26239 * soft-fp/fixunssfti.c: Likewise.
26240 * soft-fp/fixunstfdi.c: Likewise.
26241 * soft-fp/fixunstfsi.c: Likewise.
26242 * soft-fp/fixunstfti.c: Likewise.
26243 * soft-fp/floatdidf.c: Likewise.
26244 * soft-fp/floatdisf.c: Likewise.
26245 * soft-fp/floatditf.c: Likewise.
26246 * soft-fp/floatsidf.c: Likewise.
26247 * soft-fp/floatsisf.c: Likewise.
26248 * soft-fp/floatsitf.c: Likewise.
26249 * soft-fp/floattidf.c: Likewise.
26250 * soft-fp/floattisf.c: Likewise.
26251 * soft-fp/floattitf.c: Likewise.
26252 * soft-fp/floatundidf.c: Likewise.
26253 * soft-fp/floatundisf.c: Likewise.
26254 * soft-fp/floatunditf.c: Likewise.
26255 * soft-fp/floatunsidf.c: Likewise.
26256 * soft-fp/floatunsisf.c: Likewise.
26257 * soft-fp/floatunsitf.c: Likewise.
26258 * soft-fp/floatuntidf.c: Likewise.
26259 * soft-fp/floatuntisf.c: Likewise.
26260 * soft-fp/floatuntitf.c: Likewise.
26261 * soft-fp/fmadf4.c: Likewise.
26262 * soft-fp/fmasf4.c: Likewise.
26263 * soft-fp/fmatf4.c: Likewise.
26264 * soft-fp/gedf2.c: Likewise.
26265 * soft-fp/gesf2.c: Likewise.
26266 * soft-fp/getf2.c: Likewise.
26267 * soft-fp/ledf2.c: Likewise.
26268 * soft-fp/lesf2.c: Likewise.
26269 * soft-fp/letf2.c: Likewise.
26270 * soft-fp/muldf3.c: Likewise.
26271 * soft-fp/mulsf3.c: Likewise.
26272 * soft-fp/multf3.c: Likewise.
26273 * soft-fp/negdf2.c: Likewise.
26274 * soft-fp/negsf2.c: Likewise.
26275 * soft-fp/negtf2.c: Likewise.
26276 * soft-fp/op-1.h: Likewise.
26277 * soft-fp/op-2.h: Likewise.
26278 * soft-fp/op-4.h: Likewise.
26279 * soft-fp/op-8.h: Likewise.
26280 * soft-fp/op-common.h: Likewise.
26281 * soft-fp/quad.h: Likewise.
26282 * soft-fp/single.h: Likewise.
26283 * soft-fp/soft-fp.h: Likewise.
26284 * soft-fp/sqrtdf2.c: Likewise.
26285 * soft-fp/sqrtsf2.c: Likewise.
26286 * soft-fp/sqrttf2.c: Likewise.
26287 * soft-fp/subdf3.c: Likewise.
26288 * soft-fp/subsf3.c: Likewise.
26289 * soft-fp/subtf3.c: Likewise.
26290 * soft-fp/truncdfsf2.c: Likewise.
26291 * soft-fp/trunctfdf2.c: Likewise.
26292 * soft-fp/trunctfsf2.c: Likewise.
26293 * soft-fp/trunctfxf2.c: Likewise.
26294 * soft-fp/unorddf2.c: Likewise.
26295 * soft-fp/unordsf2.c: Likewise.
26296 * soft-fp/unordtf2.c: Likewise.
26298 2013-10-15 Joseph Myers <joseph@codesourcery.com>
26300 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26301 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26303 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
26305 * elf/dl-libc.c: Clear initfini list after freeing.
26307 2013-10-14 Joseph Myers <joseph@codesourcery.com>
26309 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26310 * soft-fp/addsf3.c: Likewise.
26311 * soft-fp/addtf3.c: Likewise.
26312 * soft-fp/divdf3.c: Likewise.
26313 * soft-fp/divsf3.c: Likewise.
26314 * soft-fp/divtf3.c: Likewise.
26315 * soft-fp/double.h: Likewise.
26316 * soft-fp/eqdf2.c: Likewise.
26317 * soft-fp/eqsf2.c: Likewise.
26318 * soft-fp/eqtf2.c: Likewise.
26319 * soft-fp/extenddftf2.c: Likewise.
26320 * soft-fp/extended.h: Likewise.
26321 * soft-fp/extendsfdf2.c: Likewise.
26322 * soft-fp/extendsftf2.c: Likewise.
26323 * soft-fp/extendxftf2.c: Likewise.
26324 * soft-fp/fixdfdi.c: Likewise.
26325 * soft-fp/fixdfsi.c: Likewise.
26326 * soft-fp/fixdfti.c: Likewise.
26327 * soft-fp/fixsfdi.c: Likewise.
26328 * soft-fp/fixsfsi.c: Likewise.
26329 * soft-fp/fixsfti.c: Likewise.
26330 * soft-fp/fixtfdi.c: Likewise.
26331 * soft-fp/fixtfsi.c: Likewise.
26332 * soft-fp/fixtfti.c: Likewise.
26333 * soft-fp/fixunsdfdi.c: Likewise.
26334 * soft-fp/fixunsdfsi.c: Likewise.
26335 * soft-fp/fixunsdfti.c: Likewise.
26336 * soft-fp/fixunssfdi.c: Likewise.
26337 * soft-fp/fixunssfsi.c: Likewise.
26338 * soft-fp/fixunssfti.c: Likewise.
26339 * soft-fp/fixunstfdi.c: Likewise.
26340 * soft-fp/fixunstfsi.c: Likewise.
26341 * soft-fp/fixunstfti.c: Likewise.
26342 * soft-fp/floatdidf.c: Likewise.
26343 * soft-fp/floatdisf.c: Likewise.
26344 * soft-fp/floatditf.c: Likewise.
26345 * soft-fp/floatsidf.c: Likewise.
26346 * soft-fp/floatsisf.c: Likewise.
26347 * soft-fp/floatsitf.c: Likewise.
26348 * soft-fp/floattidf.c: Likewise.
26349 * soft-fp/floattisf.c: Likewise.
26350 * soft-fp/floattitf.c: Likewise.
26351 * soft-fp/floatundidf.c: Likewise.
26352 * soft-fp/floatundisf.c: Likewise.
26353 * soft-fp/floatunsidf.c: Likewise.
26354 * soft-fp/floatunsisf.c: Likewise.
26355 * soft-fp/floatuntidf.c: Likewise.
26356 * soft-fp/floatuntisf.c: Likewise.
26357 * soft-fp/floatuntitf.c: Likewise.
26358 * soft-fp/fmadf4.c: Likewise.
26359 * soft-fp/fmasf4.c: Likewise.
26360 * soft-fp/fmatf4.c: Likewise.
26361 * soft-fp/gedf2.c: Likewise.
26362 * soft-fp/gesf2.c: Likewise.
26363 * soft-fp/getf2.c: Likewise.
26364 * soft-fp/ledf2.c: Likewise.
26365 * soft-fp/lesf2.c: Likewise.
26366 * soft-fp/letf2.c: Likewise.
26367 * soft-fp/muldf3.c: Likewise.
26368 * soft-fp/mulsf3.c: Likewise.
26369 * soft-fp/multf3.c: Likewise.
26370 * soft-fp/negdf2.c: Likewise.
26371 * soft-fp/negsf2.c: Likewise.
26372 * soft-fp/negtf2.c: Likewise.
26373 * soft-fp/op-1.h: Likewise.
26374 * soft-fp/op-2.h: Likewise.
26375 * soft-fp/op-4.h: Likewise.
26376 * soft-fp/op-8.h: Likewise.
26377 * soft-fp/op-common.h: Likewise.
26378 * soft-fp/quad.h: Likewise.
26379 * soft-fp/single.h: Likewise.
26380 * soft-fp/soft-fp.h: Likewise.
26381 * soft-fp/sqrtdf2.c: Likewise.
26382 * soft-fp/sqrtsf2.c: Likewise.
26383 * soft-fp/sqrttf2.c: Likewise.
26384 * soft-fp/subdf3.c: Likewise.
26385 * soft-fp/subsf3.c: Likewise.
26386 * soft-fp/subtf3.c: Likewise.
26387 * soft-fp/truncdfsf2.c: Likewise.
26388 * soft-fp/trunctfdf2.c: Likewise.
26389 * soft-fp/trunctfsf2.c: Likewise.
26390 * soft-fp/trunctfxf2.c: Likewise.
26391 * soft-fp/unorddf2.c: Likewise.
26392 * soft-fp/unordsf2.c: Likewise.
26393 * soft-fp/unordtf2.c: Likewise.
26395 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
26398 * misc/error.c (error_tail): Fix possible buffer overflow.
26400 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
26403 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26406 2013-10-14 P. J. McDermott <pj@pehjota.net>
26409 * elf/ldd.bash.in (try_trace): New function. Delete previous code
26410 testing pipefail option.
26412 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26414 * soft-fp/double.h: Indent preprocessor directives inside #if.
26415 * soft-fp/extended.h: Likewise.
26416 * soft-fp/op-2.h: Likewise.
26417 * soft-fp/op-4.h: Likewise.
26418 * soft-fp/op-common.h: Likewise.
26419 * soft-fp/quad.h: Likewise.
26420 * soft-fp/single.h: Likewise.
26421 * soft-fp/soft-fp.h: Likewise.
26423 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
26425 * iconv/iconv_prog.c: Fix typos.
26426 * stdio-common/psiginfo-data.h: Likewise.
26428 2013-10-12 Reuben Thomas <rrt@sc3d.org>
26431 * locale/setlocale.c: Fix typo.
26433 2013-10-12 Joseph Myers <joseph@codesourcery.com>
26436 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26437 signaling NaN arguments.
26438 * soft-fp/unordsf2.c (__unordsf2): Likewise.
26439 * soft-fp/unordtf2.c (__unordtf2): Likewise.
26442 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26443 unordered operands.
26444 * soft-fp/gesf2.c (__gesf2): Likewise.
26445 * soft-fp/getf2.c (__getf2): Likewise.
26446 * soft-fp/ledf2.c (__ledf2): Likewise.
26447 * soft-fp/lesf2.c (__lesf2): Likewise.
26448 * soft-fp/letf2.c (__letf2): Likewise.
26450 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26451 * soft-fp/eqsf2.c (__eqsf2): Likewise.
26452 * soft-fp/eqtf2.c (__eqtf2): Likewise.
26453 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26454 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26455 * soft-fp/fixdfti.c (__fixdfti): Likewise.
26456 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26457 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26458 * soft-fp/fixsfti.c (__fixsfti): Likewise.
26459 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26460 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26461 * soft-fp/fixtfti.c (__fixtfti): Likewise.
26462 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26463 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26464 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26465 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26466 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26467 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26468 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26469 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26470 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26471 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26472 * soft-fp/floatdisf.c (__floatdisf): Likewise.
26473 * soft-fp/floatsisf.c (__floatsisf): Likewise.
26474 * soft-fp/floattidf.c (__floattidf): Likewise.
26475 * soft-fp/floattisf.c (__floattisf): Likewise.
26476 * soft-fp/floattitf.c (__floattitf): Likewise.
26477 * soft-fp/floatundidf.c (__floatundidf): Likewise.
26478 * soft-fp/floatundisf.c (__floatundisf): Likewise.
26479 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26480 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26481 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26482 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26483 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26484 * soft-fp/gesf2.c (__gesf2): Likewise.
26485 * soft-fp/getf2.c (__getf2): Likewise.
26486 * soft-fp/ledf2.c (__ledf2): Likewise.
26487 * soft-fp/lesf2.c (__lesf2): Likewise.
26488 * soft-fp/letf2.c (__letf2): Likewise.
26490 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26491 Undefine and redefine.
26492 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26493 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26494 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26495 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26496 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26497 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26498 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26499 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26500 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26501 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26502 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26503 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26504 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26505 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26506 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26509 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26510 without decrementing exponent if mantissa >= that for the
26511 denominator, not >.
26512 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26513 denominator, not >. Decrement exponent in < case instead of
26514 incrementing in >= case.
26515 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26516 without decrementing exponent if mantissa >= that for the
26517 denominator, not >.
26519 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26520 computing saturated result for unsigned overflow.
26522 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26523 Jeff Law <law@redhat.com>
26525 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26526 (atan2Mp): Add systemtap probe marker.
26527 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26528 (__ieee754_log): Add systemtap probe marker.
26529 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26530 (atanMp): Add systemtap probe marker.
26531 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26532 (tanMp): Add systemtap probe marker.
26533 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26534 (__slowexp): Add systemtap probe marker.
26535 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26536 (__slowpow): Add systemtap probe marker.
26537 * manual/probes.texi: Document probes.
26539 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
26542 * libio/fileops.c (_IO_new_file_write): Return count of bytes
26544 (_IO_new_file_xsputn): Don't return EOF if nothing has been
26546 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26547 written to buffer but not flushed.
26548 * libio/iofwrite_u.c: Likewise.
26549 * libio/iopadn.c: Return bytes returned even if EOF was
26551 * libio/iowpadn.c: Likewise.
26552 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26553 if _IO_padn does not write the whole buffer.
26554 [!COMPILE_WPRINTF] (PAD): Likewise.
26556 2013-10-10 David S. Miller <davem@davemloft.net>
26558 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26561 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26563 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
26564 instead of FSF address.
26565 * soft-fp/fixdfti.c: Likewise.
26566 * soft-fp/fixsfti.c: Likewise.
26567 * soft-fp/fixtfti.c: Likewise.
26568 * soft-fp/fixunsdfti.c: Likewise.
26569 * soft-fp/fixunssfti.c: Likewise.
26570 * soft-fp/fixunstfti.c: Likewise.
26571 * soft-fp/floattidf.c: Likewise.
26572 * soft-fp/floattisf.c: Likewise.
26573 * soft-fp/floattitf.c: Likewise.
26574 * soft-fp/floatuntidf.c: Likewise.
26575 * soft-fp/floatuntisf.c: Likewise.
26576 * soft-fp/floatuntitf.c: Likewise.
26577 * soft-fp/trunctfxf2.c: Likewise.
26579 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
26580 * soft-fp/fixdfti.c: Likewise.
26581 * soft-fp/fixsfti.c: Likewise.
26582 * soft-fp/fixtfti.c: Likewise.
26583 * soft-fp/fixunsdfti.c: Likewise.
26584 * soft-fp/fixunssfti.c: Likewise.
26585 * soft-fp/fixunstfti.c: Likewise.
26586 * soft-fp/floattidf.c: Likewise.
26587 * soft-fp/floattisf.c: Likewise.
26588 * soft-fp/floattitf.c: Likewise.
26589 * soft-fp/floatuntidf.c: Likewise.
26590 * soft-fp/floatuntisf.c: Likewise.
26591 * soft-fp/floatuntitf.c: Likewise.
26592 * soft-fp/trunctfxf2.c: Likewise.
26594 2013-10-10 David S. Miller <davem@davemloft.net>
26596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26598 2013-10-10 Joseph Myers <joseph@codsourcery.com>
26600 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26601 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26602 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26609 for NaNs before doing comparisons on argument.
26610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26613 2013-10-10 Will Newton <will.newton@linaro.org>
26615 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26616 passed to _int_memalign does not overflow.
26618 2013-10-10 Torvald Riegel <triegel@redhat.com>
26620 * scripts/bench.pl: Add include-sources directive.
26621 * benchtests/README: Update documentation.
26623 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26625 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26626 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26627 instead of FP_INIT_ROUNDMODE.
26628 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26629 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26632 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26633 copy class of input value.
26634 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26635 not handle exceptions.
26636 * soft-fp/negsf2.c (__negsf2): Likewise.
26637 * soft-fp/negtf2.c (__negtf2): Likewise.
26638 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26640 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26642 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26643 semicolon. From Linux kernel.
26645 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26647 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26649 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26652 * manual/socket.texi: Added statement about buffer
26653 for gethostbyname2_r.
26655 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26657 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26658 Use .p2align directive instead, throughout.
26659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26660 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26661 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26662 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26664 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26665 * sysdeps/x86_64/strchr.S: Likewise.
26666 * sysdeps/x86_64/strrchr.S: Likewise.
26668 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26670 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26672 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26674 * sysdeps/generic/math_private.h (__mpsin1): Remove
26676 (__mpcos1): Likewise.
26677 (__mpsin): New argument __range_reduce.
26678 (__mpcos): Likewise.
26679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26680 (slow): Use __mpsin and __mpcos.
26684 (sloww1): Likewise.
26685 (sloww2): Likewise.
26686 (bsloww): Likewise.
26687 (bsloww1): Likewise.
26688 (bsloww2): Likewise.
26689 (cslow2): Likewise.
26690 (csloww): Likewise.
26691 (csloww1): Likewise.
26692 (csloww2): Likewise.
26693 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26694 range_reduce. Merge in __mpsin1.
26695 (__mpcos): Likewise.
26696 (__mpsin1): Remove.
26697 (__mpcos1): Likewise.
26699 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26701 * locale/loadlocale.c (_nl_intern_locale_data): Use
26703 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26704 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26705 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26706 obstack data is appropriately aligned.
26707 (obstack_int32_grow_fast): Likewise.
26708 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26709 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26710 (add_locale_uint32_array): Likewise.
26712 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26714 * benchtests/Makefile: Remove ARGLIST and RET variables.
26715 ($(objpfx)bench-%.c): Pass only function name to the script.
26716 * benchtests/README: Update documentation.
26717 * benchtests/acos-inputs: Add new directives.
26718 * benchtests/acosh-inputs: Likewise.
26719 * benchtests/asin-inputs: Likewise.
26720 * benchtests/asinh-inputs: Likewise.
26721 * benchtests/atan-inputs: Likewise.
26722 * benchtests/atanh-inputs: Likewise.
26723 * benchtests/cos-inputs: Likewise.
26724 * benchtests/cosh-inputs: Likewise.
26725 * benchtests/exp-inputs: Likewise.
26726 * benchtests/log-inputs: Likewise.
26727 * benchtests/pow-inputs: Likewise.
26728 * benchtests/rint-inputs: Likewise.
26729 * benchtests/sin-inputs: Likewise.
26730 * benchtests/sinh-inputs: Likewise.
26731 * benchtests/tan-inputs: Likewise.
26732 * benchtests/tanh-inputs: Likewise.
26733 * scripts/bench.pl: Add support for new directives.
26735 2013-10-07 Alan Modra <amodra@gmail.com>
26737 * README: Fix careless merge.
26739 2013-10-05 Alan Modra <amodra@gmail.com>
26741 * NEWS: Mention powerpc64le support and bugs fixed.
26742 * README: Both big-endian and little-endian powerpc64 supported.
26744 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26746 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26747 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26748 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26749 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26751 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26753 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26756 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26758 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26759 Move -mhard-float appending from
26760 ports/sysdeps/powerpc/powerpc32/Makefile.
26761 [$(with-fp) = yes] (ASFLAGS): Likewise.
26762 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26763 * sysdeps/powerpc/nofpu: Move directory from
26764 ports/sysdeps/powerpc/nofpu.
26765 * sysdeps/powerpc/soft-fp: Move directory from
26766 ports/sysdeps/powerpc/soft-fp.
26767 * sysdeps/powerpc/powerpc32/405: Move directory from
26768 ports/sysdeps/powerpc/powerpc32/405.
26769 * sysdeps/powerpc/powerpc32/440: Move directory from
26770 ports/sysdeps/powerpc/powerpc32/440.
26771 * sysdeps/powerpc/powerpc32/464: Move directory from
26772 ports/sysdeps/powerpc/powerpc32/464.
26773 * sysdeps/powerpc/powerpc32/476: Move directory from
26774 ports/sysdeps/powerpc/powerpc32/476.
26775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26776 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26778 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26780 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26782 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26785 * README: Update for powerpc-*-linux-gnu software floating point
26788 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26789 case to powerpc/powerpc32*.
26790 * sysdeps/unix/sysv/linux/configure: Regenerated.
26792 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26793 (_FPU_MASK_OM): Define as 0x04.
26794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26802 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26805 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26808 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26809 and setcontext_e500.
26811 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26813 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26815 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26817 * manual/threads.texi (Default Thread Attributes): Fix typo.
26819 2013-10-04 Will Newton <will.newton@linaro.org>
26821 * malloc/Makefile: Add tst-memalign.
26822 * malloc/tst-memalign.c: New file.
26824 * malloc/tst-posix_memalign.c: Add comments.
26825 (do_test): Add comments and call free on all potentially
26826 allocated pointers. Add space after cast.
26828 * malloc/tst-pvalloc.c: Add comments.
26829 (do_test): Add comments and call free on all potentially
26830 allocated pointers. Remove duplicate check for NULL pointer.
26831 Add space after cast.
26833 * malloc/tst-valloc.c: Add comments.
26834 (do_test): Add comments and call free on all potentially
26835 allocated pointers. Remove duplicate check for NULL pointer.
26836 Add space after cast.
26838 2013-10-04 Alan Modra <amodra@gmail.com>
26840 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26841 Use stdint types in rather than __attribute__((mode())).
26842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26844 2013-10-04 Alan Modra <amodra@gmail.com>
26846 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26847 Correct handling of unaligned relocs for little-endian.
26848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26850 2013-10-04 Alan Modra <amodra@gmail.com>
26852 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26853 * configure: Regenerate.
26854 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26855 * shlib-versions: Likewise.
26857 2013-10-04 Alan Modra <amodra@gmail.com>
26859 * string/tester.c (test_memrchr): Increment reported test cycle.
26861 2013-10-04 Alan Modra <amodra@gmail.com>
26863 * string/test-memcpy.c (do_one_test): When reporting errors, print
26864 string address and don't overrun end of string.
26866 2013-10-04 Alan Modra <amodra@gmail.com>
26868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26869 insrdi. Make better use of reg selection to speed exit slightly.
26870 Schedule entry path a little better. Remove useless "are we done"
26871 checks on entry to main loop. Handle wrapping around zero address.
26872 Correct main loop count. Handle single left-over word from main
26873 loop inline rather than by using loop_small. Remove extra word
26874 case in loop_small caused by wrong loop count. Add little-endian
26876 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26877 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26879 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26880 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26881 support. Avoid rlwimi.
26882 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26884 2013-10-04 Alan Modra <amodra@gmail.com>
26886 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26887 insrdi. Formatting.
26888 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26889 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26890 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26891 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26892 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26893 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26895 2013-10-04 Alan Modra <amodra@gmail.com>
26897 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26899 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26900 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26901 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26902 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26903 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26905 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26906 use of regs. Use power7 mtocrf. Tidy function tails.
26908 2013-10-04 Alan Modra <amodra@gmail.com>
26910 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26911 Formatting. Consistently use rXXX register defines or rN defines.
26912 Use early exit labels that avoid restoring unused non-volatile regs.
26913 Make cr field use more consistent with rWORDn compares. Rename
26914 regs used as shift registers for unaligned loop, using rN defines
26915 for short lifetime/multiple use regs.
26916 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26917 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26918 addi 1,1,64 to pop stack frame. Simplify return value code.
26919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26921 2013-10-04 Alan Modra <amodra@gmail.com>
26923 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26924 support. Correct typos, formatting. Optimize tail. Use insrdi
26925 rather than rlwimi.
26926 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26927 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26928 little-endian support. Correct typos.
26929 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26930 rather than rlwimi.
26931 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26932 in loop and entry code to keep "and." results.
26933 (strchr): Add little-endian support. Comment. Move cntlzd
26935 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26937 2013-10-04 Alan Modra <amodra@gmail.com>
26939 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26940 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26941 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26942 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26944 2013-10-04 Alan Modra <amodra@gmail.com>
26946 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26947 (rTMP): Define as r11.
26948 (strcmp): Add little-endian support. Optimise tail.
26949 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26950 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26951 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26952 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26954 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26955 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26957 2013-10-04 Alan Modra <amodra@gmail.com>
26959 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26960 little-endian support. Remove unnecessary "are we done" tests.
26961 Handle "s" wrapping around zero and extremely large "size".
26962 Correct main loop count. Handle single left-over word from main
26963 loop inline rather than by using small_loop. Correct comments.
26964 Delete "zero" tail, use "end_max" instead.
26965 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26967 2013-10-04 Alan Modra <amodra@gmail.com>
26969 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26970 support. Don't branch over align.
26971 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26972 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26973 support. Rearrange tmp reg use to suit. Comment.
26974 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26976 2013-10-04 Alan Modra <amodra@gmail.com>
26978 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26980 2013-10-04 Alan Modra <amodra@gmail.com>
26982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26983 conditional form of branch and link when obtaining pc.
26984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26986 2013-10-04 Alan Modra <amodra@gmail.com>
26988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26993 2013-10-04 Alan Modra <amodra@gmail.com>
26995 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26996 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26997 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26998 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26999 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27000 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27001 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27002 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27003 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27004 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27006 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27007 Alistair Popple <alistair@ozlabs.au.ibm.com>
27008 Alan Modra <amodra@gmail.com>
27011 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27012 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27013 _dl_hwcap access for little-endian.
27014 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
27015 destroy vmx regs when saving unaligned.
27016 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27017 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
27018 destroy vmx regs when saving unaligned.
27020 2013-10-04 Alan Modra <amodra@gmail.com>
27022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27023 Don't use a union to pack hi/low value.
27025 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27027 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27029 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27030 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27031 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27032 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27033 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27035 2013-10-04 Alan Modra <amodra@gmail.com>
27037 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27038 constants to usual value for .cst8 section, and remove redundant
27040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27041 constant for 0x1p52. Load little-endian words of double from
27042 correct stack offsets.
27044 2013-10-04 Alan Modra <amodra@gmail.com>
27046 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27047 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27048 words of double from correct stack offsets.
27049 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27050 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27051 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27054 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27055 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27056 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27057 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27058 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27060 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27061 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27062 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27063 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27064 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27065 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27067 2013-10-04 Alan Modra <amodra@gmail.com>
27069 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27070 64-bit int/double union.
27071 (_FPU_SETCW): Likewise.
27072 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27073 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27075 2013-10-04 Alan Modra <amodra@gmail.com>
27077 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27078 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27080 2013-10-04 Alan Modra <amodra@gmail.com>
27082 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27083 use vector int constants.
27084 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27086 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27088 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27089 array with long long.
27090 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27091 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27092 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27093 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27094 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27095 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27096 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27097 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27098 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27099 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27100 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27101 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27102 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27104 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
27106 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27107 (__signbit): Likewise. Correct for little-endian.
27108 (__signbitl): Call __signbit.
27109 (lrint): Correct for little-endian.
27110 (lrintf): Call lrint.
27112 2013-10-04 Alan Modra <amodra@gmail.com>
27114 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27115 union 32-bit int array member with 64-bit int array.
27116 (t515, tm256): Double rather than long double.
27117 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27119 2013-10-04 Alan Modra <amodra@gmail.com>
27121 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27123 (IEEE854_LONG_DOUBLE_BIAS): Delete.
27124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27125 version of math_ldbl.h.
27127 2013-10-04 Alan Modra <amodra@gmail.com>
27129 [BZ #15734], [BZ #15735]
27130 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27131 all uses of ieee875 long double macros and unions. Simplify test
27132 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
27133 ldbl_extract_mantissa value for ix,iy exponents. Properly
27134 normalize after ldbl_extract_mantissa, and don't add hidden bit
27135 already handled. Don't treat low word of ieee854 mantissa like
27136 low word of IBM long double and mask off bit when testing for
27138 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27139 all uses of ieee875 long double macros and unions. Simplify tests
27140 for 0.0L and inf. Correct double adjustment of k. Delete dead code
27141 adjusting ha,hb. Simplify code setting kld. Delete two600 and
27142 two1022, instead use their values. Recognise that tests for large
27143 "a" and small "b" are mutually exclusive. Rename vars. Comment.
27144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27145 Rewrite all uses of ieee875 long double macros and unions. Simplify
27146 test for 0.0L and nan. Correct negation.
27147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27148 ieee875 long double macros and unions. Correct output for large
27149 magnitude x. Correct absolute value calculation.
27150 (__erfcl): Likewise.
27151 * math/libm-test.inc: Add tests for errors discovered in IBM long
27152 double versions of fmodl, remainderl, erfl and erfcl.
27154 2013-10-04 Alan Modra <amodra@gmail.com>
27156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27157 all uses of ieee854 long double macros and unions. Simplify tests
27158 for long doubles that are fully specified by the high double.
27159 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27161 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27162 Remove dead code too.
27163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27164 (__ieee754_ynl): Likewise.
27165 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27166 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27168 Remove dead code too.
27169 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27170 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27171 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27172 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27174 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27176 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27177 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27178 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27179 Comment on variable precision.
27180 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27181 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27183 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27184 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27185 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27186 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27187 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27189 2013-10-04 Alan Modra <amodra@gmail.com>
27191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27193 all uses of ieee854 long double macros and unions.
27194 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27196 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27199 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27201 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27202 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27203 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27204 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27205 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27206 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27207 Simplify sign and nan test too.
27208 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27210 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27211 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27213 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27217 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27218 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27219 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27220 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27221 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27223 2013-10-04 Alan Modra <amodra@gmail.com>
27225 * stdio-common/printf_size.c (__printf_size): Don't use
27226 union ieee854_long_double in fpnum union.
27227 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
27228 signbit macro to retrieve sign from long double.
27229 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27230 retrieve sign from long double.
27231 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27232 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27235 * math/test-misc.c (main): Don't use union ieee854_long_double.
27237 2013-10-04 Alan Modra <amodra@gmail.com>
27240 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27241 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27242 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27243 calculation. Remove unnecessary test for denormal exponent.
27244 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27245 Correct handling of denormals. Avoid undefined shift behaviour.
27246 Correct normalisation of low mantissa when low double is denormal.
27247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27248 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
27249 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27250 Correct normalisation of low mantissa. Test for overflow of high
27251 mantissa and normalise.
27252 (ldbl_nearbyint): Use more readable constant for two52.
27253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27254 (__mpn_construct_long_double): Fix test for overflow of high
27255 mantissa and correct normalisation. Avoid undefined shift.
27257 2013-10-04 Alan Modra <amodra@gmail.com>
27259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27260 (union ibm_extended_long_double): Define as an array of ieee754_double.
27261 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27262 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27263 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27264 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27268 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27273 2013-10-03 Joseph Myers <joseph@codesourcery.com>
27275 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27276 page size instead of calling getpagesize.
27278 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27279 (LOCFILE_ALIGN_MASK): Likewise.
27280 (LOCFILE_ALIGN_UP): Likewise.
27281 (LOCFILE_ALIGNED_P): Likewise.
27282 * locale/programs/ld-collate.c (collate_output): Use the new
27283 macros instead of __alignof__ (int32_t).
27284 * locale/weight.h (findidx): Likewise.
27286 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
27289 * manual/string.texi: Fix strncat and wcsncat.
27291 2013-10-03 Brooks Moses <bmoses@google.com>
27294 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27295 * Makerules: ...here, and adjust associated comments.
27297 2013-10-02 Will Newton <will.newton@linaro.org>
27299 * malloc/Makefile: Add tst-pvalloc.
27300 * malloc/tst-pvalloc.c: New file.
27302 2013-10-02 Will Newton <will.newton@linaro.org>
27304 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27305 improve test coverage.
27307 2013-10-02 Will Newton <will.newton@linaro.org>
27309 * malloc/Makefile: Add tst-posix_memalign.
27310 * malloc/tst-posix_memalign.c: New file.
27312 2013-10-01 Eric Blake <eblake@redhat.com>
27314 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27315 Use __THROWNL rather than __THROW on static functions.
27317 2013-09-30 Petr Machata <pmachata@redhat.com>
27319 * elf/elf.h (R_AARCH64_ABS16): New macro.
27320 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27321 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27322 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27323 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27324 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27325 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27326 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27327 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27328 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27329 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27330 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27331 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27332 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27333 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27334 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27335 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27336 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27337 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27338 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27339 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27340 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27341 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27342 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27343 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27344 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27345 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27346 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27347 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27348 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27349 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27350 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27351 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27352 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27353 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27354 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27355 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27356 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27357 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27358 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27359 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27360 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27361 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27362 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27363 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27364 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27365 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27366 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27367 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27368 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27369 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27370 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27371 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27372 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27373 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27374 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27375 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27376 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27377 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27378 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27379 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27380 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27381 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27382 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27383 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27384 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27385 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27386 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27387 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27388 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27389 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27390 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27391 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27392 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27393 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27394 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27395 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27396 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27397 (R_AARCH64_TLSDESC_LDR): Likewise.
27398 (R_AARCH64_TLSDESC_ADD): Likewise.
27399 (R_AARCH64_TLSDESC_CALL): Likewise.
27401 2013-09-30 Andreas Schwab <schwab@suse.de>
27404 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27405 the nss database lookup.
27406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27409 2013-09-28 Mike Frysinger <vapier@gentoo.org>
27411 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27413 2013-09-28 P. J. McDermott <pj@pehjota.net>
27415 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27416 ${Bash-specific parameter/pattern/string} parameter expansion.
27417 * sysdeps/unix/make-syscalls.sh: Likewise.
27419 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27421 * sysdeps/sh/stackguard-macros.h: New file.
27423 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
27425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27427 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27428 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27429 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27430 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27432 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27434 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27435 Fix thread ID register.
27437 2013-09-25 Joseph Myers <joseph@codesourcery.com>
27439 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27440 [POSIX || UNIX98]: Require rather than permitting all symbols from
27442 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27443 element of struct sched_param.
27444 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27445 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27446 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27447 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27450 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
27452 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27453 argument calculation.
27455 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27457 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27459 [POSIX] (pthread_attr_t): Do not require type.
27460 [POSIX] (pthread_cond_t): Likewise.
27461 [POSIX] (pthread_condattr_t): Likewise.
27462 [POSIX] (pthread_key_t): Likewise.
27463 [POSIX] (pthread_mutex_t): Likewise.
27464 [POSIX] (pthread_mutexattr_t): Likewise.
27465 [POSIX] (pthread_once_t): Likewise.
27466 [POSIX] (pthread_t): Likewise.
27467 [POSIX-based standards] (pthread_atfork): Expect function.
27469 2013-09-24 Joseph Myers <joseph@codesourcery.com>
27470 Richard Sandiford <richard@codesourcery.com>
27472 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27473 (swap_endianness_p): New extern variable.
27474 (set_big_endian): New inline function.
27475 (maybe_swap_uint32): Likewise.
27476 (maybe_swap_uint32_array): Likewise.
27477 (maybe_swap_uint32_obstack): Likewise.
27478 * locale/programs/locfile.c: Include <stdbool.h>.
27479 (swap_endianness_p): New variable.
27480 (add_locale_uint32): Call maybe_swap_uint32.
27481 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27482 (write_locale_data): Call maybe_swap_uint32_array.
27483 * locale/programs/ld-collate.c (obstack_int32_grow): Call
27485 (obstack_int32_grow_fast): Likewise.
27486 (output_weightwc): Call maybe_swap_uint32_obstack.
27487 (collate_output): Likewise.
27488 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27489 (OPT_LITTLE_ENDIAN): Likewise.
27490 (options): Add --little-endian and --big-endian options.
27491 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27492 * locale/programs/locarchive.c: Include "locfile.h".
27496 (create_archive): Use the new macros to access fields of
27497 structures directly mapped from or written to locale archives.
27498 (oldlocrecentcmp): Likewise.
27499 (enlarge_archive): Likewise.
27500 (insert_name): Likewise.
27501 (add_alias): Likewise.
27502 (add_locale): Likewise.
27503 (delete_locales_from_archive): Likewise.
27504 (show_archive_content): Likewise.
27505 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
27508 2013-09-24 Roland McGrath <roland@hack.frob.com>
27510 * manual/freemanuals.texi: Updated from (newly) canonical copy at
27511 http://www.gnu.org/doc/freemanuals.texi.
27512 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27514 2013-09-24 Will Newton <will.newton@linaro.org>
27516 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27519 2013-09-23 Joseph Myers <joseph@codesourcery.com>
27521 * locale/hashval.h (compute_hashval): Interpret bytes of key as
27524 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
27526 * manual/threads.texi (POSIX Threads): Fix a typo.
27528 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27531 * string/tst-strcoll-overflow.c: New test case.
27532 * string/Makefile (xtests): Add tst-strcoll-overflow.
27533 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27534 cache if string sizes may cause integer overflow.
27537 * string/strcoll_l.c (coll_seq): New members rule, idx,
27538 save_idx and back_us.
27539 (get_next_seq_nocache): New function.
27540 (do_compare_nocache): New function.
27541 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27544 2013-09-23 Carlos O'Donell <carlos@redhat.com>
27547 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27548 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27549 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27552 * elf/Makefile (tests): Add tst-ptrguard1.
27553 (tests-static): Add tst-ptrguard1-static.
27554 (tst-ptrguard1-ARGS): Define.
27555 (tst-ptrguard1-static-ARGS): Define.
27556 * elf/tst-ptrguard1.c: New file.
27557 * elf/tst-ptrguard1-static.c: New file.
27558 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27559 * sysdeps/i386/stackguard-macros.h: Likewise.
27560 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27561 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27562 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27563 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27564 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27565 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27567 2013-09-23 Hector Marco <hecmargi@upv.es>
27568 Ismael Ripoll <iripoll@disca.upv.es>
27569 Carlos O'Donell <carlos@redhat.com>
27572 * sysdeps/generic/stackguard-macros.h: Define
27573 __pointer_chk_guard_local and POINTER_CHK_GUARD.
27574 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27575 Define __pointer_chk_guard_local.
27576 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27577 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27579 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
27582 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27584 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
27586 * include/string.h (__ffs): Declare as hidden.
27587 * string/ffs.c (__ffs): Define as hidden.
27588 * sysdeps/i386/ffs.c (__ffs): Likewise.
27589 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27590 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27591 * sysdeps/s390/ffs.c (__ffs): Likewise.
27592 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27594 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
27596 * NEWS: Mention malloc probes.
27598 * malloc/arena.c (new_heap): New memory_heap_new probe.
27599 (grow_heap): New memory_heap_more probe.
27600 (shrink_heap): New memory_heap_less probe.
27601 (heap_trim): New memory_heap_free probe.
27602 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27603 (systrim): New memory_sbrk_less probe.
27604 * manual/probes.texi: Document them.
27606 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27607 * manual/probes.texi: Document it.
27609 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27610 (__libc_realloc): Add memory_realloc_retry probe.
27611 (__libc_memalign): Add memory_memalign_retry probe.
27612 (__libc_valloc): Add memory_valloc_retry probe.
27613 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27614 (__libc_calloc): Add memory_calloc_retry probe.
27615 * manual/probes.texi: Document them.
27617 * malloc/arena.c (get_free_list): Add probe
27618 memory_arena_reuse_free_list.
27619 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27620 and memory_arena_reuse.
27621 (arena_get2) [!PER_THREAD]: Likewise.
27622 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27623 memory_arena_reuse_realloc.
27624 * manual/probes.texi: Document them.
27626 * malloc/malloc.c (__libc_free): Add
27627 memory_mallopt_free_dyn_thresholds probe.
27628 (__libc_mallopt): Add multiple memory_mallopt probes.
27629 * manual/probes.texi: Document them.
27631 * malloc/malloc.c: Include stap-probe.h.
27632 (__libc_mallopt): Add memory_mallopt probe.
27633 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27634 * manual/probes.texi: New.
27635 * manual/Makefile (chapters): Add probes.
27636 * manual/threads.texi: Set next node.
27638 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27640 [BZ #15963, #13985]
27641 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27642 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27643 Add `Chinese' to `nan' entry name.
27645 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27647 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27648 (POLYNOMIAL): Likewise.
27649 (TAYLOR_SINCOS): Likewise.
27650 (TAYLOR_SLOW): Likewise.
27651 (__sin): Use TAYLOR_SINCOS.
27653 (slow): Use TAYLOR_SLOW.
27655 (bsloww): Likewise.
27656 (csloww): Likewise.
27658 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27660 * stdlib/strtod_l.c: Fix buffer overrun.
27662 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27664 * benchtests/Makefile (bench): Add sincos.
27665 * benchtests/bench-sincos.c: New file.
27667 * math/libm-test.inc (cos_test_data): New test inputs.
27668 (sin_test_data): Likewise.
27670 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27676 (sloww1): Likewise.
27677 (sloww2): Likewise.
27678 (bsloww1): Likewise.
27679 (bsloww2): Likewise.
27680 (cslow2): Likewise.
27681 (csloww1): Likewise.
27682 (csloww2): Likewise.
27684 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27693 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27695 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27696 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27697 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27698 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27699 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27700 * elf/cache.c (print_entry): Handle the new cache flags.
27702 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27703 Aldy Hernandez <aldyh@redhat.com>
27705 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27706 Change condition to [_SOFT_FLOAT].
27707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27719 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27722 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27725 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27727 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27728 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27729 (__longjmp): Use LOAD_GP to load saved GPRs.
27730 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27731 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27732 (__sigsetjmp): Use SAVE_GP to save GPRs.
27734 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27735 Do not append -msoft-float.
27736 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27738 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27740 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27742 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27745 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27746 (_FPU_GETCW): Use initial "__" on variable and field names but not
27747 on macro parameter name.
27748 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27749 parentheses around reference to macro parameter.
27751 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27753 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27755 (ctype_startup): Use uint32_t in cast and sizeof for
27758 2013-09-11 Jia Liu <proljc@gmail.com>
27760 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27762 [__FreeBSD__]: Likewise.
27764 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27767 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27768 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27769 (strchr): Remove __strchr_sse42 ifunc selection.
27770 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27771 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27773 2013-09-11 Will Newton <will.newton@linaro.org>
27775 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27776 parameter to RES. Remove hardcoded 1000 value.
27777 * benchtests/bench-skeleton.c (main): Pass RES parameter
27778 to TIMING_INIT and multiply result by 1000.
27780 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27784 2013-09-11 Andreas Schwab <schwab@suse.de>
27786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27788 (O_TMPFILE) [__USE_GNU]: Define.
27789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27792 2013-09-11 Will Newton <will.newton@linaro.org>
27795 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27798 2013-09-11 Will Newton <will.newton@linaro.org>
27801 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27804 2013-09-11 Will Newton <will.newton@linaro.org>
27807 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27810 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27812 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27816 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27818 2013-09-10 Allan McRae <allan@archlinux.org>
27821 * manual/arith.texi (Parsing of Floats): Clarify
27825 * manual/install.texi (Running make install): Mention
27827 * INSTALL: Regenerated.
27829 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27831 * csu/init-first.c (_init): Remove the !SHARED condition around
27832 FPU control word initialization.
27833 * elf/dl-support.c (_dl_fpu_control): New variable.
27834 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27835 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27836 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27837 * math/test-fpucw-static.c: New file.
27838 * math/test-fpucw-ieee.c: New file.
27839 * math/test-fpucw-ieee-static.c: New file.
27840 * math/Makefile (tests): Add `test-fpucw-ieee' and
27842 (tests-static): New variable.
27843 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27845 [($(build-shared),yes)]
27846 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27848 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27851 2013-09-09 Allan McRae <allan@archlinux.org>
27854 * manual/string.texi (Collation Functions): Fix typo in
27856 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27859 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27862 * libio/memstream.c (open_memstream): Fix memory leak.
27863 * libio/wmemstream.c (open_wmemstream): Likewise.
27866 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27868 2013-09-09 Will Newton <will.newton@linaro.org>
27870 * malloc/Makefile: Add tst-realloc to tests.
27871 * malloc/tst-realloc.c: New file.
27873 2013-09-09 Allan McRae <allan@archlinux.org>
27876 * COPYING: Update from GNU website to fix FSF address.
27877 * COPYING.LIB: Likewise.
27879 2013-09-06 David S. Miller <davem@davemloft.net>
27881 * po/zh_TW.po: Update Chinese (traditional) translation from
27882 translation project.
27884 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27885 Joseph Myers <joseph@codesourcery.com>
27887 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27889 (obstack_chunk_alloc): New macro.
27890 (obstack_chunk_free): Likewise.
27891 (record_offset): New function.
27892 (init_locale_data): Likewise.
27893 (align_locale_data): Likewise.
27894 (add_locale_empty): Likewise.
27895 (add_locale_raw_data): Likewise.
27896 (add_locale_raw_obstack): Likewise.
27897 (add_locale_string): Likewise.
27898 (add_locale_wstring): Likewise.
27899 (add_locale_uint32): Likewise.
27900 (add_locale_uint32_array): Likewise.
27901 (add_locale_char): Likewise.
27902 (start_locale_structure): Likewise.
27903 (end_locale_structure): Likewise.
27904 (start_locale_prelude): Likewise.
27905 (end_locale_prelude): Likewise.
27906 (write_locale_data): Take locale_file structure rather than an
27908 * locale/programs/locfile.h: Include "obstack.h".
27909 (struct locale_file): Change to store locale file contents instead
27911 (init_locale_data): New prototype.
27912 (align_locale_data): Likewise.
27913 (add_locale_empty): Likewise.
27914 (add_locale_raw_data): Likewise.
27915 (add_locale_raw_obstack): Likewise.
27916 (add_locale_string): Likewise.
27917 (add_locale_wstring): Likewise.
27918 (add_locale_uint32): Likewise.
27919 (add_locale_uint32_array): Likewise.
27920 (add_locale_char): Likewise.
27921 (start_locale_structure): Likewise.
27922 (end_locale_structure): Likewise.
27923 (start_locale_prelude): Likewise.
27924 (end_locale_prelude): Likewise.
27925 (write_locale_data): Update prototype.
27926 * locale/programs/3level.h (struct TABLE): Remove result field.
27927 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27928 Use new locale_file interface.
27929 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27930 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27931 * locale/programs/ld-address.c (address_output): Use new
27932 locale_file interface.
27933 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27935 (collate_finish): Don't call collseq_table_finalize.
27936 (collate_output): Use new locale_file interface.
27937 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27939 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27940 (TABLE): Move defines earlier in file.
27941 (ELEMENT): Likewise.
27942 (DEFAULT): Likewise.
27943 (wctrans_table_add): Move macro and inline function earlier in
27945 (struct wctype_table): Move type earlier in file.
27946 (add_locale_wctype_table): New static prototype.
27947 (struct locale_ctype_t): Use logical types instead of struct iovec
27948 pointers for members.
27949 (ctype_output): Use new locale_file interface.
27950 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27951 new locale_file interface.
27952 (allocate_arrays): Update for use of new locale_file interface.
27953 * locale/programs/ld-identification.c (identification_output): Use
27954 new locale_file interface.
27955 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27956 * locale/programs/ld-messages.c (messages_output): Likewise.
27957 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27958 * locale/programs/ld-name.c (name_output): Likewise.
27959 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27960 * locale/programs/ld-paper.c (paper_output): Likewise.
27961 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27962 * locale/programs/ld-time.c (time_output): Likewise.
27964 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27966 * benchtests/Makefile: Add memrchr benchmark.
27967 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27968 benchmark as memrchr.
27969 * benchtests/bench-memrchr-ifunc.c: New file.
27970 * benchtests/bench-memrchr.c: New file.
27972 2013-09-06 Will Newton <will.newton@linaro.org>
27974 * benchtests/Makefile (string-bench): Add memcpy.
27976 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27977 Cong Wang <amwang@redhat.com>
27980 * sysdeps/unix/sysv/linux/bits/in.h
27981 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27982 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27983 before __USE_KERNEL_IPV6_DEFS uses.
27984 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27986 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27987 sockaddr_in6, or ipv6_mreq.
27989 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27991 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27992 memory access for final bytes in some large inputs.
27993 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27995 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27997 * string/test-memrchr.c: New file.
27998 * string/test-memrchr-ifunc.c: New file.
27999 * string/Makefile: Add new memrchr testcase.
28001 2013-09-05 Mike Frysinger <vapier@gentoo.org>
28003 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28004 fanotify_init returns EPERM.
28006 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28008 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28010 (top level): Treat second token from macro or constant entries for
28011 allowed headers as allowed.
28012 * include/complex.h: Condition internal declarations on
28014 * include/fenv.h: Condition include of <stdbool.h> and internal
28015 declarations on [!_ISOMAC].
28017 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
28020 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28022 2013-09-04 Joseph Myers <joseph@codesourcery.com>
28024 * configure.in (--enable-versioning): Remove configure option.
28025 (libc_cv_asm_symver_directive): Remove configure test.
28026 (libc_cv_ld_version_script_option): Likewise.
28027 (VERSIONING): Remove variable and AC_SUBST.
28028 (DO_VERSIONING): Remove AC_DEFINE.
28029 * configure: Regenerated.
28030 * config.h.in (DO_VERSIONING): Remove macro.
28031 * Makerules [$(versioning) = yes]: Change conditionals to
28032 [$(build-shared) = yes].
28033 * config.make.in (versioning): Remove variable.
28034 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28035 [$(build-shared) = yes].
28036 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28037 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28038 * elf/Makefile [$(versioning) = yes]: Change conditionals to
28039 [$(build-shared) = yes].
28040 * extra-lib.mk [$(versioning) = yes]: Likewise.
28041 * hurd/Makefile [$(versioning) = yes]: Likewise.
28042 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28044 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28046 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28047 [SHARED && !NO_HIDDEN].
28048 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28050 [SHARED && DO_VERSIONING]: Likewise..
28051 * libio/Makefile [$(versioning) = yes]: Change conditionals to
28052 [$(build-shared) = yes].
28053 * manual/install.texi (--disable-versioning): Remove
28055 * INSTALL: Regenerated.
28056 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28058 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28059 [$(build-shared) = yes].
28060 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28061 * sysdeps/i386/i686/multiarch/strstr-c.c
28062 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28063 [SHARED && !NO_HIDDEN].
28064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28065 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28066 * sysdeps/powerpc/powerpc32/dl-machine.c
28067 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28068 * sysdeps/powerpc/powerpc32/sysdep.h
28069 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28070 to [SHARED && PIC && !NO_HIDDEN].
28071 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28072 conditional to [SHARED].
28074 2013-09-04 Will Newton <will.newton@linaro.org>
28076 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28077 * benchtests/bench-string.h: Include bench-timing.h instead
28078 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28079 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28080 call to HP_TIMING_DIFF_INIT.
28081 * benchtests/bench-memccpy.c: Use bench-timing.h macros
28082 instead of hp-timing.h macros.
28083 * benchtests/bench-memchr.c: Likewise.
28084 * benchtests/bench-memcmp.c: Likewise.
28085 * benchtests/bench-memcpy.c: Likewise.
28086 * benchtests/bench-memmem.c: Likewise.
28087 * benchtests/bench-memmove.c: Likewise.
28088 * benchtests/bench-memset.c: Likewise.
28089 * benchtests/bench-rawmemchr.c: Likewise.
28090 * benchtests/bench-strcasecmp.c: Likewise.
28091 * benchtests/bench-strcasestr.c: Likewise.
28092 * benchtests/bench-strcat.c: Likewise.
28093 * benchtests/bench-strchr.c: Likewise.
28094 * benchtests/bench-strcmp.c: Likewise.
28095 * benchtests/bench-strcpy.c: Likewise.
28096 * benchtests/bench-strcpy_chk.c: Likewise.
28097 * benchtests/bench-strlen.c: Likewise.
28098 * benchtests/bench-strncasecmp.c: Likewise.
28099 * benchtests/bench-strncat.c: Likewise.
28100 * benchtests/bench-strncmp.c: Likewise.
28101 * benchtests/bench-strncpy.c: Likewise.
28102 * benchtests/bench-strnlen.c: Likewise.
28103 * benchtests/bench-strpbrk.c: Likewise.
28104 * benchtests/bench-strrchr.c: Likewise.
28105 * benchtests/bench-strspn.c: Likewise.
28106 * benchtests/bench-strstr.c: Likewise.
28108 2013-09-04 Will Newton <will.newton@linaro.org>
28110 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28112 2013-09-03 Joseph Myers <joseph@codesourcery.com>
28115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28116 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28117 * math/libm-test.inc (lgamma_test_data): Add more tests.
28118 * sysdeps/i386/fpu/libm-test-ulps: Update.
28119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
28123 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28127 Add strcmp-sse2-unaligned
28128 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28130 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28132 * Versions.def (libc): Add GLIBC_2.19.
28134 2013-09-02 Mike Frysinger <vapier@gentoo.org>
28136 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28137 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28139 2013-09-02 Joseph Myers <joseph@codesourcery.com>
28142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28143 intermediate calculations in recurrence.
28144 (__ieee754_ynf): Likewise.
28145 * math/libm-test.inc (jn_test_data): Do not allow spurious
28146 underflow exception. Add more tests.
28147 (yn_test_data): Add more tests.
28148 * sysdeps/i386/fpu/libm-test-ulps: Update.
28149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28151 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
28153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28155 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28157 * csu/init-first.c: Fix then/than typos.
28158 * locale/programs/ld-collate.c: Likewise.
28159 * locale/programs/linereader.h: Likewise.
28160 * manual/charset.texi: Likewise.
28161 * manual/filesys.texi: Likewise.
28162 * manual/stdio.texi: Likewise.
28163 * manual/string.texi: Likewise.
28164 * stdlib/fmtmsg.c: Likewise.
28165 * sysdeps/i386/stpncpy.S: Likewise.
28166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28167 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28168 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28169 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28171 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28173 * elf/dl-open.c: Fix typos.
28174 * iconvdata/gbbig5.c: Likewise.
28175 * iconvdata/iso-2022-jp.c: Likewise.
28176 * iconv/gconv_int.h: Likewise.
28177 * iconv/loop.c: Likewise.
28178 * nis/rpcsvc/nis.h: Likewise.
28179 * resolv/ns_name.c: Likewise.
28180 * stdio-common/vfscanf.c: Likewise.
28181 * streams/stropts.h: Likewise.
28182 * sunrpc/rpc_thread.c: Likewise.
28183 * sysdeps/i386/strpbrk.S: Likewise.
28184 * sysdeps/ieee754/k_standard.c: Likewise.
28185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28187 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28188 * sysdeps/mach/hurd/profil.c: Likewise.
28189 * sysdeps/s390/dl-procinfo.h: Likewise.
28190 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28191 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28192 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28193 * sysdeps/x86_64/dl-trampoline.S: Likewise.
28194 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28196 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
28198 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28201 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28203 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28204 aix specific files.
28205 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28207 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28208 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28209 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28210 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28211 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28212 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28214 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28215 Roland McGrath <roland@hack.frob.com>
28217 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28218 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28220 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
28222 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28223 __executable_start symbol instead of _start.
28225 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
28227 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28228 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28230 * sysdeps/gnu/ldsodefs.h: ... this new file.
28232 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28233 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28234 instead of ELFOSABI_LINUX.
28236 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28237 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28238 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28239 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28241 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28242 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28243 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28245 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28246 (ibm_extended_long_double): Add ieee_nan member.
28247 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28248 (do_test): New function.
28250 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28252 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28253 functions, renamed from truncdfsf_test, trunctfsf_test,
28255 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28257 (do_test): Run all these.
28259 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
28261 * argp/argp-help.c: Fix typos.
28262 * argp/argp-parse.c: Likewise.
28263 * debug/backtracesyms.c: Likewise.
28264 * elf/elf.h: Likewise.
28265 * malloc/malloc.c: Likewise.
28266 * nis/nis_print.c: Likewise.
28267 * resolv/res_comp.c: Likewise.
28268 * stdlib/stdlib.h: Likewise.
28269 * sunrpc/clnt_tcp.c: Likewise.
28270 * sunrpc/clnt_udp.c: Likewise.
28271 * sunrpc/clnt_unix.c: Likewise.
28272 * sysdeps/unix/bsd/ptsname.c: Likewise.
28273 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28283 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28285 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28288 2013-08-27 Mike Frysinger <vapier@gentoo.org>
28291 * dlfcn/Makefile (tests): Add bug-dl-leaf.
28292 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28293 ($(objpfx)bug-dl-leaf): New rule.
28294 ($(objpfx)bug-dl-leaf.so): Likewise.
28295 ($(objpfx)bug-dl-leaf.out): Likewise.
28296 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28297 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28298 * dlfcn/bug-dl-leaf.c: New test.
28299 * dlfcn/bug-dl-leaf-lib.c: Likewise.
28300 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28301 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28302 (dlclose): Likewise.
28303 (dlmopen): Likewise.
28305 2013-08-27 Roland McGrath <roland@hack.frob.com>
28307 * include/netdb.h [!_ISOMAC]:
28308 Don't include <tls.h>.
28309 (h_errno, __libc_h_errno): Move declaration and macros out of
28312 * include/resolv.h [_RESOLV_H_]:
28313 Don't include <tls.h>.
28314 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28315 * resolv/res_libc.c: Don't include <tls.h>.
28316 (_res): Use __attribute__ ((nocommon)) in place of
28317 __attribute__ ((section (".bss"))).
28319 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28320 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28322 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28324 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28325 only under [SIOCGIFCONF && SIOCGIFNETMASK].
28327 * resolv/res_mkquery.c: Include <sys/time.h>.
28329 * inet/ifreq.c: Moved to ...
28330 * sysdeps/unix/ifreq.c: ... here.
28331 * inet/ifreq.c: New file, true stub version.
28333 * socket/sa_len.c: New file.
28334 * socket/Makefile (aux): Add it.
28335 * sysdeps/unix/sysv/linux/Makefile
28336 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28337 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28338 and #include <socket/sa_len.c>.
28339 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28340 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28342 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28343 * bits/socket.h: ... here.
28345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28346 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28347 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28349 2013-08-27 Andreas Schwab <schwab@suse.de>
28352 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28353 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28354 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28355 * string/test-strcasecmp.c (test_main): Run tests in several
28357 * string/test-strncasecmp.c (test_main): Likewise.
28359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28360 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28361 to __strcasecmp_nonascii and __strncasecmp_nonascii.
28362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28363 (__strncasecmp_ssse3) [PIC]: Likewise.
28365 2013-08-26 Roland McGrath <roland@hack.frob.com>
28367 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28369 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28370 instead of explicitly declaring xdecrypt.
28371 * nis/nss_nis/nis-publickey.c: Likewise.
28373 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28376 * nscd/aicache.c: Include res_hconf.h.
28377 (addhstaiX): Initialize res_hconf.
28379 2013-08-26 Andreas Schwab <schwab@suse.de>
28381 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28382 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28384 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28386 * nscd/aicache.c (addhstaiX): Fix indentation.
28388 2013-08-25 Mike Frysinger <vapier@gentoo.org>
28390 * configure.ac: Quote $build_pt_chown test.
28391 * configure: Regenerated.
28393 2013-08-23 Joseph Myers <joseph@codesourcery.com>
28396 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28397 * math/s_cexpf.c (__cexpf): Likewise.
28398 * math/s_cexpl.c (__cexpl): Likewise.
28399 * math/libm-test.inc (cexp_test_data): Correct expected return
28400 value for NaN + i0. Add another test.
28402 2013-08-22 David S. Miller <davem@davemloft.net>
28404 * po/ca.po: Update Catalan translation from translation project.
28405 * po/uk.po: Add Ukrainian translations from translation project.
28407 2013-08-21 Joseph Myers <joseph@codesourcery.com>
28410 * math/s_fdim.c (__fdim): Check for infinite arguments if result
28411 is infinite, not alongside NaN test.
28412 * math/s_fdimf.c (__fdimf): Likewise.
28413 * math/s_fdiml.c (__fdiml): Likewise.
28414 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
28415 errno is unchanged.
28417 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
28419 * argp/argp-help.c: Fix typos.
28420 * crypt/speeds.c: Likewise.
28421 * csu/check_fds.c: Likewise.
28422 * elf/dl-load.c: Likewise.
28423 * elf/dl-open.c: Likewise.
28424 * elf/reldep3.c: Likewise.
28425 * elf/reldep.c: Likewise.
28426 * elf/sprof.c: Likewise.
28427 * iconv/iconv_charmap.c: Likewise.
28428 * iconv/skeleton.c: Likewise.
28429 * iconv/strtab.c: Likewise.
28430 * io/lockf64.c: Likewise.
28431 * libio/libioP.h: Likewise.
28432 * resolv/gai_notify.c: Likewise.
28433 * resolv/ns_name.c: Likewise.
28434 * resolv/ns_samedomain.c: Likewise.
28435 * resolv/res_send.c: Likewise.
28436 * stdlib/random.c: Likewise.
28437 * sunrpc/rpc/xdr.h: Likewise.
28438 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28440 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28441 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28446 * sysdeps/mach/hurd/check_fds.c: Likewise.
28447 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28451 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28452 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28453 * sysdeps/pthread/aio_notify.c: Likewise.
28454 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28455 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28456 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28458 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28460 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28462 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28463 version if bit_Slow_SSE4_2 is set.
28464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28467 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28470 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28471 trampoline stack frame information.
28472 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28473 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28474 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28475 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28476 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28477 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28478 (_libc_vdso_platform_setup): Initialize the signal trampolines.
28479 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28481 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28482 interrupting a syscall and set with option SA_SIGINFO.
28484 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28487 * math/s_cproj.c (__cproj): Only return an infinity if one part of
28488 argument is infinite.
28489 * math/s_cprojf.c (__cprojf): Likewise.
28490 * math/s_cprojl.c (__cprojl): Likewise.
28491 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28492 * math/libm-test.inc (cproj_test_data): Add more tests.
28494 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28496 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28497 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28498 size. Use __ffs to determine corresponding shift.
28500 2013-08-20 Joseph Myers <joseph@codesourcery.com>
28501 Roland McGrath <roland@hack.frob.com>
28503 * Makefile (INSTALL): Remove trailing blank lines from output of
28506 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28508 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28509 Align 32 bit compat elf_greg to 8 bytes.
28511 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
28513 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28515 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28517 * string/strcoll_l.c (coll_seq): New structure.
28518 (get_next_seq_cached): New function.
28519 (get_next_seq): New function.
28520 (do_compare): New function.
28521 (STRCOLL): Use GNU style definition. Simplify implementation
28522 by using get_next_seq, get_next_seq_cached and do_compare.
28524 2013-08-16 Florian Weimer <fweimer@redhat.com>
28528 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28530 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28532 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28533 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28534 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
28536 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28537 GETDENTS_64BIT_ALIGNED.
28538 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28539 * manual/filesys.texi (Reading/Closing Directory): Document
28540 ENAMETOOLONG return value of readdir_r. Recommend readdir more
28542 * manual/conf.texi (Limits for Files): Add portability note to
28543 NAME_MAX, PATH_MAX.
28544 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28546 2013-08-13 Andreas Schwab <schwab@suse.de>
28549 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28551 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28552 LDBL_MAX_EXP >= 16384]: Add tests for it.
28554 2013-08-12 David S. Miller <davem@davemloft.net>
28556 * version.h (RELEASE): Set to "development".
28557 (VERSION): Set to "2.18.90".
28558 * NEWS: Add 2.19 section.
28560 2013-08-03 David S. Miller <davem@davemloft.net>
28562 * po/ko.po: Update Korean translation from translation project.
28564 2013-08-01 David S. Miller <davem@davemloft.net>
28566 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
28567 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28570 2013-07-30 David S. Miller <davem@davemloft.net>
28572 * po/fr.po: Update French translation from translation project.
28574 2013-07-28 David S. Miller <davem@davemloft.net>
28576 * po/cs.po: Update Czech translation from translation project.
28578 * po/sv.po: Update Swedish translation from translation project.
28580 2013-07-27 David S. Miller <davem@davemloft.net>
28582 * po/eo.po: Update Esperanto translation from translation project.
28584 * po/vi.po: Update Vietnamese translation from translation project.
28586 * po/de.po: Update German translation from translation project.
28588 2013-07-26 David S. Miller <davem@davemloft.net>
28590 * po/bg.po: Update Bulgarian translation from translation project.
28592 * po/nl.po: Update Dutch translation from translation project.
28593 * po/pl.po: Update Polish translation from translation project.
28594 * po/ru.po: Update Russian translation from translation project.
28596 2013-07-24 David S. Miller <davem@davemloft.net>
28598 * po/libc.pot: Update.
28600 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28602 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28603 variable page size.
28604 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28605 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28606 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28608 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28610 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28612 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28613 Andreas Schwab <schwab@suse.de>
28614 Roland McGrath <roland@hack.frob.com>
28615 Joseph Myers <joseph@codesourcery.com>
28616 Carlos O'Donell <carlos@redhat.com>
28619 * config.h.in: Define HAVE_PT_CHOWN.
28620 * config.make.in (build-pt-chown): New variable.
28621 * configure.in (--enable-pt_chown): New configure option.
28622 * configure: Regenerate.
28623 * login/Makefile: Include Makeconfig. Build pt_chown only if
28624 build-pt-chown is enabled.
28625 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28626 pt_chown to fix pty ownership.
28627 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28629 * manual/install.texi (Configuring and compiling): Mention
28630 --enable-pt_chown. Add @findex for grantpt.
28631 * INSTALL: Regenerate.
28633 2013-07-20 David S. Miller <davem@davemloft.net>
28635 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28636 difference between 32-bit and 64-bit.
28638 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28641 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28642 Avoid system header dependency with -ffreestanding.
28643 ($(objpfx)bits/syscall%d): Likewise.
28645 2013-07-13 David S. Miller <davem@davemloft.net>
28647 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28648 underflows from atanl/atan2l due to bug 15319.
28649 (casinh_test_data): Likewise.
28651 2013-07-07 David S. Miller <davem@davemloft.net>
28653 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28655 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28657 * sysdeps/i386/fpu/libm-test-ulps: Update.
28658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28660 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28662 * configure.in (--enable-lock-elision): Fix message text.
28663 * INSTALL: Regenerate.
28664 * configure: Regenerate.
28666 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28670 2013-07-03 Andreas Jaeger <aj@suse.de>
28672 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28674 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28675 (ptrace_peeksiginfo_args): Add.
28676 (__ptrace_peeksiginfo_flags): Add.
28677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28681 2013-07-03 Allan McRae <allan@archlinux.org>
28683 * sysdeps/i386/fpu/libm-test-ulps: Update.
28685 2013-07-02 David S. Miller <davem@davemloft.net>
28687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28689 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28693 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28695 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28698 2013-07-02 Andi Kleen <ak@linux.intel.com>
28700 * config.h.in (ENABLE_LOCK_ELISION): Add.
28701 * configure.in (--enable-lock-elision): Add option.
28702 * manual/install.texi: Document --enable lock elision.
28703 * configure: Regenerate
28704 * INSTALL: Regenerate.
28706 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28708 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28709 SSE4.2 strcasecmp for libc.a.
28710 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28712 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28715 * soft-fp/op-common.h (_FP_FMA): New macro.
28716 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28717 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28718 (_FP_MUL_MEAT_1_imm): ... here.
28719 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28720 (_FP_MUL_MEAT_1_wide): ... here.
28721 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28722 (_FP_MUL_MEAT_1_hard): ... here.
28723 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28724 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28725 (_FP_MUL_MEAT_2_wide): ... here.
28726 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28727 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28728 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28729 (_FP_MUL_MEAT_2_gmp): ... here.
28730 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28731 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28732 (_FP_MUL_MEAT_4_wide): ... here.
28733 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28734 (_FP_MUL_MEAT_4_gmp): ... here.
28735 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28736 (_FP_WFRACBITS_DW_S): Likewise.
28737 (_FP_WFRACXBITS_DW_S): Likewise.
28738 (_FP_HIGHBIT_DW_S): Likewise.
28739 (FP_FMA_S): Likewise.
28740 (_FP_FRAC_HIGH_DW_S): Likewise.
28741 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28742 (_FP_WFRACBITS_DW_D): Likewise.
28743 (_FP_WFRACXBITS_DW_D): Likewise.
28744 (_FP_HIGHBIT_DW_D): Likewise.
28745 (FP_FMA_D): Likewise.
28746 (_FP_FRAC_HIGH_DW_D): Likewise.
28747 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28748 (_FP_WFRACBITS_DW_E): Likewise.
28749 (_FP_WFRACXBITS_DW_E): Likewise.
28750 (_FP_HIGHBIT_DW_E): Likewise.
28751 (FP_FMA_E): Likewise.
28752 (_FP_FRAC_HIGH_DW_E): Likewise.
28753 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28754 (_FP_WFRACBITS_DW_Q): Likewise.
28755 (_FP_WFRACXBITS_DW_Q): Likewise.
28756 (_FP_HIGHBIT_DW_Q): Likewise.
28757 (FP_FMA_Q): Likewise.
28758 (_FP_FRAC_HIGH_DW_Q): Likewise.
28759 * soft-fp/fmasf4.c: New file.
28760 * soft-fp/fmadf4.c: Likewise.
28761 * soft-fp/fmatf4.c: Likewise.
28763 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28766 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28770 (index_Slow_SSE4_2): Likewise.
28771 (index_Prefer_PMINUB_for_stringop): Likewise.
28772 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28773 bit_Slow_SSE4_2 is set.
28774 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28777 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28779 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28780 rtld_global._dl_hwcap2.
28781 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28783 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28784 POWER8 feature descriptions defined in _dl_hwcap2.
28785 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28786 string handling for POWER8 feature bits.
28787 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28788 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28789 _dl_powerpc_cap_flags.
28790 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28791 * sysdeps/powerpc/rtld-global-offsets.sym
28792 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28793 _dl_hwcap2 in the rtld_global_ro structure.
28795 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28797 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28798 hardware capabilities in support of AT_HWCAP2.
28799 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28800 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28802 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28803 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28804 explicitly the unknown a_type display mechanism is used.
28805 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28806 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28808 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28809 to macro prototype for AT_HWCAP2 support.
28810 * sysdeps/i386/dl-procinfo.h: Likewise.
28811 * sysdeps/s390/dl-procinfo.h: Likewise.
28812 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28813 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28814 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28815 return -1 for unknown a_type display fallback.
28816 * sysdeps/sparc/dl-procinfo.h: Likewise.
28817 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28818 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28820 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28822 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28823 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28825 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28828 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28829 mprotect making __stack_prot writable.
28831 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28832 Joseph Myers <joseph@codesourcery.com>
28834 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28835 as being properly aligned.
28837 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28839 * dlfcn/modstatic5.c: New file.
28840 * dlfcn/tststatic5.c: New file.
28841 * dlfcn/Makefile (tests): Add tststatic5.
28842 (tests-static): Likewise.
28843 (modules-names): Add modstatic5.
28844 (tststatic5-ENV): New variable.
28845 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28848 * elf/dl-support.c (_dl_main_map): New variable.
28849 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28850 (_dl_nns, _dl_load_adds): Set to 1.
28851 (_dl_initial_searchlist): Refer to _dl_main_map.
28852 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28853 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28854 call to _dl_get_origin.
28855 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28857 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28858 * dlfcn/modstatic3.c: New file.
28859 * dlfcn/tststatic3.c: New file.
28860 * dlfcn/tststatic4.c: New file.
28861 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28862 (tests-static): Likewise.
28863 (modules-names): Add modstatic3.
28864 (tststatic3-ENV, tststatic4-ENV): New variables.
28865 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28866 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28868 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28870 * configure.in (CC): Require GCC version 4.4 or later.
28871 * configure: Regenerated.
28872 * manual/install.texi (Tools for Compilation): Update GCC version
28874 * INSTALL: Regenerated.
28876 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28879 * string/test-memcmp.c (check2): New.
28880 (main): Call check2.
28882 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28884 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28887 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28889 (dl_open_worker) [!SHARED]: ... here.
28891 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28893 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28895 2013-06-25 Richard Henderson <rth@redhat.com>
28897 * locale/programs/locarchive.c: Include <libc-internal.h>
28899 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28901 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28902 trailing whitespace removed.
28904 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28907 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28908 * locale/programs/locarchive.c: Include libc-mmap.h.
28909 (prepare_address_space): Take two new outputs (the mmap base and len).
28910 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28912 (create_archive): Declare new mmap base and len values for
28913 prepare_address_space, and store the result in ah.
28914 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28915 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28916 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28917 Declare new mmap base and len values for
28918 prepare_address_space, and store the result in new_ah.
28919 (open_archive): Declare new mmap base and len values for
28920 prepare_address_space, and store the result in ah.
28921 (close_archive): If ah->mmap_base is not NULL, use that and
28922 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28923 * sysdeps/generic/libc-mmap.h: New file.
28925 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28927 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28928 (ALIGN_UP): Likewise.
28929 (PTR_ALIGN_DOWN): Likewise.
28930 (PTR_ALIGN_UP): Likewise.
28932 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28934 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28935 entry mapped to PPC_PLATFORM_POWER8.
28936 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28938 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28939 (_dl_string_platform): Add case for exporting platform position for
28941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28942 search path to sysdeps/powerpc/powerpc32/power8 directory.
28943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28944 search path to sysdeps/powerpc/powerpc64/power8 directory.
28945 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28946 power7 directories.
28947 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28948 power7 directories.
28950 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28952 * INSTALL: Regenerate.
28954 * nscd/connections.c (nscd_init): Fix comment.
28956 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28958 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28961 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28962 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28964 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28966 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28968 (DL_DST_REQ_STATIC): Remove macro.
28970 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28973 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28974 with a shift of 0 bits.
28976 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28978 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28981 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28984 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28986 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28988 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28989 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28990 accepts -fno-tree-loop-distribute-patterns.
28991 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28992 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28994 * string/memset.c (memset): Likewise.
28995 * string/test-memmove.c (simple_memmove): Disable loop transformation
28997 * string/test-memset.c (simple_memset): Likewise.
28998 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28999 * benchtests/bench-memset.c (simple_memset): Likewise.
29000 * configure: Regenerated.
29002 2013-06-20 Joseph Myers <joseph@codesourcery.com>
29004 * math/test-misc.c (main): Ignore fesetround failure when failures
29005 of subsequent rounding tests would be ignored.
29008 * math/fedisblxcpt.c (fedisableexcept): Return 0.
29009 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29010 * math/fegetenv.c (__fegetenv): Return 0.
29011 * math/fegetexcept.c (fegetexcept): Return 0.
29012 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29014 * math/feholdexcpt.c (feholdexcept): Return 0.
29015 * math/fesetenv.c (__fesetenv): Return 0.
29016 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29017 argument FE_TONEAREST.
29018 * math/feupdateenv.c (__feupdateenv): Return 0.
29019 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29021 2013-06-18 Roland McGrath <roland@hack.frob.com>
29023 * elf/rtld-Rules (rtld-compile-command.S): New variable.
29024 (rtld-compile-command.s, rtld-compile-command.c): New variables.
29025 ($(objpfx)rtld-%.os rules): Use them.
29027 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29029 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29032 2013-06-17 Roland McGrath <roland@hack.frob.com>
29034 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29035 length of target pattern, then descending length of dependency pattern.
29036 * configure.in (AWK): Require gawk 3.1.2 or newer.
29037 * manual/install.texi (Tools for Compilation): Say that we do.
29038 * configure: Regenerated.
29040 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29041 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29042 * scripts/sysd-rules.awk: ... this new script.
29043 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29044 than a glob-style pattern.
29046 2013-06-17 Joseph Myers <joseph@codesourcery.com>
29048 * math/test-misc.c (main): Do not treat incorrectly rounded
29049 conversions as failure unless ROUNDING_TESTS passes.
29051 2013-06-15 Joseph Myers <joseph@codesourcery.com>
29054 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29055 restore exception state around main square root computation, then
29056 check for inexactness explicitly.
29058 * math/libm-test.inc (fma_test_data): Add another test.
29060 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29062 * manual/threads.texi (Non-POSIX Extensions): New document
29063 node. Document pthread_getattr_default_np and
29064 pthread_setattr_default_np.
29066 * Versions.def (libpthread): Add GLIBC_2.18.
29067 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29076 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29087 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29090 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29092 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29093 H.J. Lu <hjl.tools@gmail.com>
29096 * sysdeps/x86_64/rtld-memset.c: Remove file.
29097 * sysdeps/x86_64/rtld-memset.S: New file.
29099 2013-06-14 Joseph Myers <joseph@codesourcery.com>
29101 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29102 (test_in_one_mode): Take arguments for whether the rounding mode
29103 is supported for each floating-point type.
29104 (do_test): Pass new arguments to test_in_one_mode using
29107 2013-06-13 Roland McGrath <roland@hack.frob.com>
29109 * posix/tst-waitid.c (do_test): Distinguish different instances of
29110 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
29111 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29112 before entering the kernel for waitpid.
29114 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29116 * NEWS: Fix note on clock function precision. Text by Roland
29119 2013-06-13 Roland McGrath <roland@hack.frob.com>
29121 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29122 it into place only when and if the sanity check passes.
29124 2013-06-13 Joseph Myers <joseph@codesourcery.com>
29126 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29127 output for whether conversion result is exact. Take argument
29128 indicating whether type is IBM long double.
29129 (round_for_all): Change need_exact field to ibm_ld.
29130 * stdlib/tst-strtod-round.c (struct exactness): New type.
29131 (struct test): Change bool ld_ok field to struct exactness exact.
29132 (TEST): Update all definitions for change to field.
29133 (tests): Regenerate array contents.
29134 (test_in_one_mode): Take pointer to new field instead of old ld_ok
29135 field value. Check for IBM long double here.
29136 (do_test): Update calls to test_in_one_mode.
29138 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29141 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29142 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29144 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29147 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29148 generated by the compiler on loop optimizations.
29149 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29150 general definitions.
29152 2013-06-12 Joseph Myers <joseph@codesourcery.com>
29154 * math/bug-nextafter.c: Include <math-tests.h>.
29155 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29157 * math/bug-nexttoward.c: Include <math-tests.h>.
29158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29160 * math/test-misc.c: Include <math-tests.h>.
29161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
29164 2013-06-12 Andreas Jaeger <aj@suse.de>
29166 * po/ia.po: Update Interlingua translation from translation
29169 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29171 * include/fenv.h: Include stdbool.h.
29172 (struct rm_ctx): New structure.
29173 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29175 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29176 (SET_RESTORE_ROUNDF): Likewise.
29177 (SET_RESTORE_ROUNDL): Likewise.
29178 (SET_RESTORE_ROUND_NOEX): Likewise.
29179 (SET_RESTORE_ROUND_NOEXF): Likewise.
29180 (SET_RESTORE_ROUND_NOEXL): Likewise.
29181 (SET_RESTORE_ROUND_53BIT): Likewise.
29182 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29183 (libc_feresetround_noexf_ctx): Likewise.
29184 (libc_feresetround_noexl_ctx): Likewise.
29185 (libc_feholdsetround_53bit_ctx): Likewise.
29186 (libc_feresetround_53bit_ctx): Likewise.
29187 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29188 (libc_feholdexcept_setround_sse_ctx): New function.
29189 (libc_fesetenv_sse_ctx): Likewise.
29190 (libc_feupdateenv_sse_ctx): Likewise.
29191 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29192 (libc_feholdexcept_setround_387_ctx): Likewise.
29193 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29194 (libc_feholdsetround_387_prec_ctx): Likewise.
29195 (libc_feholdsetround_387_ctx): Likewise.
29196 (libc_feholdsetround_387_53bit_ctx): Likewise.
29197 (libc_feholdsetround_sse_ctx): Likewise.
29198 (libc_feresetround_sse_ctx): Likewise.
29199 (libc_feresetround_387_ctx): Likewise.
29200 (libc_feupdateenv_387_ctx): Likewise.
29201 (libc_feholdexcept_setroundf_ctx): Define macro.
29202 (libc_fesetenvf_ctx): Likewise.
29203 (libc_feupdateenvf_ctx): Likewise.
29204 (libc_feholdsetroundf_ctx): Likewise.
29205 (libc_feresetroundf_ctx): Likewise.
29206 (libc_feholdexcept_setround_ctx): Likewise.
29207 (libc_fesetenv_ctx): Likewise.
29208 (libc_feupdateenv_ctx): Likewise.
29209 (libc_feholdsetround_ctx): Likewise.
29210 (libc_feresetround_ctx): Likewise.
29211 (libc_feholdexcept_setroundl_ctx): Likewise.
29212 (libc_feupdateenvl_ctx): Likewise.
29213 (libc_feholdsetroundl_ctx): Likewise.
29214 (libc_feresetroundl_ctx): Likewise.
29215 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29216 (libc_feresetround_53bit_ctx): Likewise.
29218 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29220 * locale/iso-639.def: Convert to UTF-8.
29222 2013-06-11 Joseph Myers <joseph@codesourcery.com>
29224 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29225 (EXCEPTION_TESTS_double): Likewise.
29226 (EXCEPTION_TESTS_long_double): Likewise.
29227 (EXCEPTION_TESTS): Likewise.
29228 * math/libm-test.inc (test_exceptions): Only test exceptions if
29229 EXCEPTION_TESTS (FLOAT).
29231 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29233 * benchtests/Makefile (string-bench): Add strcpy_chk and
29235 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29236 * benchtests/bench-stpcpy_chk.c: New file.
29237 * benchtests/bench-strcpy_chk-ifunc.c: New file.
29238 * benchtests/bench-strcpy_chk.c: New file.
29239 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29241 (do_test): Likewise.
29243 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29245 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29246 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29247 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29248 with tabs where appropriate.
29249 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29251 [PPC_PLATFORM_PPC440]: Likewise.
29252 [PPC_PLATFORM_PPC464]: Likewise.
29253 [PPC_PLATFORM_PPC476]: Likewise.
29254 (_dl_string_platform): Add support for detecting ppc405, ppc440,
29255 ppc464, and ppc476 platform strings merging from ports/
29258 2013-06-11 Andreas Schwab <schwab@suse.de>
29261 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29262 (from_ucs4_idx): Regenerate.
29263 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29264 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29265 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29266 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29267 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29268 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29269 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29270 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29271 from FROM_LOOP and TO_LOOP specific macros.
29272 (BODY): Handle combining characters.
29273 * iconvdata/BIG5HKSCS.irreversible: Update.
29274 * iconvdata/BIG5HKSCS.precomposed: New file.
29275 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29277 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29279 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29281 * include/sys/time.h: Fix indentation and add copyright header.
29283 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29284 (do_test): Likewise.
29285 * string/test-memchr.c (do_one_test): Likewise.
29286 (do_test): Likewise.
29287 * string/test-memcmp.c (do_one_test): Likewise.
29288 (do_test): Likewise.
29289 * string/test-memcpy.c (do_one_test): Likewise.
29290 (do_test): Likewise.
29291 * string/test-memmem.c (do_one_test): Likewise.
29292 (do_test): Likewise.
29293 (do_random_tests): Likewise.
29294 * string/test-memmove.c (do_one_test): Likewise.
29295 (do_test): Likewise.
29296 * string/test-memset.c (do_one_test): Likewise.
29297 (do_test): Likewise.
29298 * string/test-rawmemchr.c (do_one_test): Likewise.
29299 (do_test): Likewise.
29300 * string/test-strcasecmp.c (do_one_test): Likewise.
29301 (do_test): Likewise.
29302 * string/test-strcasestr.c (do_one_test): Likewise.
29303 (do_test): Likewise.
29304 * string/test-strcat.c (do_one_test): Likewise.
29305 (do_test): Likewise.
29306 * string/test-strchr.c (do_one_test): Likewise.
29307 (do_test): Likewise.
29308 * string/test-strcmp.c (do_one_test): Likewise.
29309 (do_test): Likewise.
29310 * string/test-strcpy.c (do_one_test): Likewise.
29311 (do_test): Likewise.
29312 * string/test-string.h: Likewise.
29313 (test_init): Likewise.
29314 * string/test-strlen.c (do_one_test): Likewise.
29315 (do_test): Likewise.
29316 * string/test-strncasecmp.c (do_one_test): Likewise.
29317 (do_test): Likewise.
29318 * string/test-strncat.c (do_one_test): Likewise.
29319 (do_test): Likewise.
29320 * string/test-strncmp.c (do_one_test): Likewise.
29321 (do_test_limit): Likewise.
29322 (do_test): Likewise.
29323 * string/test-strncpy.c (do_one_test): Likewise.
29324 (do_test): Likewise.
29325 * string/test-strnlen.c (do_one_test): Likewise.
29326 (do_test): Likewise.
29327 * string/test-strpbrk.c (do_one_test): Likewise.
29328 (do_test): Likewise.
29329 * string/test-strrchr.c (do_one_test): Likewise.
29330 (do_test): Likewise.
29331 * string/test-strspn.c (do_one_test): Likewise.
29332 (do_test): Likewise.
29333 * string/test-strstr.c (do_one_test): Likewise.
29334 (do_test): Likewise.
29336 * benchtests/Makefile (string-bench): Add string benchmarks.
29337 * benchtests/bench-bcopy-ifunc.c: New file.
29338 * benchtests/bench-bcopy.c: New file.
29339 * benchtests/bench-bzero-ifunc.c: New file.
29340 * benchtests/bench-bzero.c: New file.
29341 * benchtests/bench-memccpy-ifunc.c: New file.
29342 * benchtests/bench-memccpy.c: New file.
29343 * benchtests/bench-memchr-ifunc.c: New file.
29344 * benchtests/bench-memchr.c: New file.
29345 * benchtests/bench-memcmp-ifunc.c: New file.
29346 * benchtests/bench-memcmp.c: New file.
29347 * benchtests/bench-memmem-ifunc.c: New file.
29348 * benchtests/bench-memmem.c: New file.
29349 * benchtests/bench-memmove-ifunc.c: New file.
29350 * benchtests/bench-memmove.c: New file.
29351 * benchtests/bench-mempcpy-ifunc.c: New file.
29352 * benchtests/bench-mempcpy.c: New file.
29353 * benchtests/bench-memset-ifunc.c: New file.
29354 * benchtests/bench-memset.c: New file.
29355 * benchtests/bench-rawmemchr-ifunc.c: New file.
29356 * benchtests/bench-rawmemchr.c: New file.
29357 * benchtests/bench-stpcpy-ifunc.c: New file.
29358 * benchtests/bench-stpcpy.c: New file.
29359 * benchtests/bench-stpncpy-ifunc.c: New file.
29360 * benchtests/bench-stpncpy.c: New file.
29361 * benchtests/bench-strcasecmp-ifunc.c: New file.
29362 * benchtests/bench-strcasecmp.c: New file.
29363 * benchtests/bench-strcasestr-ifunc.c: New file.
29364 * benchtests/bench-strcasestr.c: New file.
29365 * benchtests/bench-strcat-ifunc.c: New file.
29366 * benchtests/bench-strcat.c: New file.
29367 * benchtests/bench-strchr-ifunc.c: New file.
29368 * benchtests/bench-strchr.c: New file.
29369 * benchtests/bench-strchrnul-ifunc.c: New file.
29370 * benchtests/bench-strchrnul.c: New file.
29371 * benchtests/bench-strcmp-ifunc.c: New file.
29372 * benchtests/bench-strcmp.c: New file.
29373 * benchtests/bench-strcpy-ifunc.c: New file.
29374 * benchtests/bench-strcpy.c: New file.
29375 * benchtests/bench-strcspn-ifunc.c: New file.
29376 * benchtests/bench-strcspn.c: New file.
29377 * benchtests/bench-strlen-ifunc.c: New file.
29378 * benchtests/bench-strlen.c: New file.
29379 * benchtests/bench-strncasecmp-ifunc.c: New file.
29380 * benchtests/bench-strncasecmp.c: New file.
29381 * benchtests/bench-strncat-ifunc.c: New file.
29382 * benchtests/bench-strncat.c: New file.
29383 * benchtests/bench-strncmp-ifunc.c: New file.
29384 * benchtests/bench-strncmp.c: New file.
29385 * benchtests/bench-strncpy-ifunc.c: New file.
29386 * benchtests/bench-strncpy.c: New file.
29387 * benchtests/bench-strnlen-ifunc.c: New file.
29388 * benchtests/bench-strnlen.c: New file.
29389 * benchtests/bench-strpbrk-ifunc.c: New file.
29390 * benchtests/bench-strpbrk.c: New file.
29391 * benchtests/bench-strrchr-ifunc.c: New file.
29392 * benchtests/bench-strrchr.c: New file.
29393 * benchtests/bench-strspn-ifunc.c: New file.
29394 * benchtests/bench-strspn.c: New file.
29395 * benchtests/bench-strstr-ifunc.c: New file.
29396 * benchtests/bench-strstr.c: New file.
29398 * benchtests/Makefile: Disable parallel execution of targets.
29399 (string-bench): Add memcpy.
29400 (benchset): New variable to store a list of benchmark sets.
29401 (bench-func): Renamed from bench.
29402 (bench-set): New target.
29403 (bench): Depend on bench-func and bench-set.
29404 * benchtests/README: Add section on benchmark sets.
29405 * benchtests/bench-memcpy-ifunc.c: New file.
29406 * benchtests/bench-memcpy.c: New file.
29407 * benchtests/bench-string.h: New file.
29409 2013-06-11 Andreas Schwab <schwab@suse.de>
29412 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29413 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29414 values in the triple.
29415 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29416 terminator in the group key.
29418 2013-06-11 Andreas Jaeger <aj@suse.de>
29420 * po/zh_TW.po: Update Chinese (traditional) translation from
29421 translation project.
29423 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29425 * include/time.h (__clock_gettime): Add libc_hidden_proto.
29426 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29427 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
29428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29429 (clock_getcpuclockid): Likewise.
29430 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29431 Add weak_alias and libc_hidden_def.
29432 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29433 * rt/clock_gettime.c (clock_gettime): Rename to
29434 __clock_gettime. Add weak_alias and libc_hidden_def.
29435 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29436 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29437 __clock_nanosleep. Add weak_alias and libc_hidden_def.
29438 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29439 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29441 * rt/clock_settime.c (clock_settime): Rename to
29442 __clock_settime. Add weak_alias and libc_hidden_def.
29443 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29445 2013-06-10 Joseph Myers <joseph@codesourcery.com>
29447 * mach/err_boot.sub: Remove trailing whitespace.
29448 * mach/err_ipc.sub: Likewise.
29449 * mach/err_mach.sub: Likewise.
29451 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29452 (ROUNDING_TESTS_double): Likewise.
29453 (ROUNDING_TESTS_long_double): Likewise.
29454 (ROUNDING_TESTS): Likewise.
29455 * math/libm-test.inc: Include <math-tests.h>.
29456 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29457 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29458 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29459 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29461 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29463 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29466 2013-06-08 Joseph Myers <joseph@codesourcery.com>
29468 * sysdeps/gnu/errlist.awk: Do not generate space at end of
29469 otherwise empty TRANS lines.
29470 * sysdeps/gnu/errlist.c: Regenerated.
29472 * catgets/gencat.c (error_print): Use (void) in function
29474 * crypt/crypt_util.c (__init_des): Likewise.
29475 * crypt/speeds.c (Stop): Likewise.
29477 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29478 * inet/ruserpass.c (token): Likewise.
29479 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29480 * intl/localealias.c (extend_alias_table): Likewise.
29481 * intl/plural-exp.c (init_germanic_plural): Likewise.
29482 * libio/fcloseall.c (__fcloseall): Likewise.
29483 * libio/genops.c (_IO_flush_all): Likewise.
29484 (_IO_flush_all_linebuffered): Likewise.
29485 (_IO_cleanup): Likewise.
29486 (_IO_iter_begin): Likewise.
29487 (_IO_iter_end): Likewise.
29488 (_IO_list_lock): Likewise.
29489 (_IO_list_unlock): Likewise.
29490 (_IO_list_resetlock): Likewise.
29491 * libio/getchar.c (getchar): Likewise.
29492 * libio/getchar_u.c (getchar_unlocked): Likewise.
29493 * libio/getwchar.c (getwchar): Likewise.
29494 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29495 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29496 * login/getpt.c (__getpt): Likewise.
29497 * login/tst-utmp.c (main): Likewise.
29498 * malloc/hooks.c (__malloc_check_init): Likewise.
29499 * malloc/malloc.c (__malloc_stats): Likewise.
29500 * malloc/mtrace.c (tr_break): Likewise.
29501 (mtrace): Likewise.
29502 (muntrace): Likewise.
29503 * misc/fstab.c (endfsent): Likewise.
29504 * misc/getclktck.c (__getclktck): Likewise.
29505 * misc/getdtsz.c (__getdtablesize): Likewise.
29506 * misc/gethostid.c (gethostid): Likewise.
29507 * misc/getpagesize.c (__getpagesize): Likewise.
29508 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29509 (__get_nprocs): Likewise.
29510 (__get_phys_pages): Likewise.
29511 (__get_avphys_pages): Likewise.
29512 * misc/getttyent.c (getttyent): Likewise.
29513 (setttyent): Likewise.
29514 (endttyent): Likewise.
29515 * misc/getusershell.c (getusershell): Likewise.
29516 (endusershell): Likewise.
29517 (setusershell): Likewise.
29518 (initshells): Likewise.
29519 * misc/hsearch.c (__hdestroy): Likewise.
29520 * misc/sync.c (sync): Likewise.
29521 * misc/syslog.c (closelog_internal): Likewise.
29522 (closelog): Likewise.
29523 * misc/ttyslot.c (ttyslot): Likewise.
29524 * misc/vhangup.c (vhangup): Likewise.
29525 * posix/fork.c (__fork): Likewise.
29526 * posix/getegid.c (__getegid): Likewise.
29527 * posix/geteuid.c (__geteuid): Likewise.
29528 * posix/getgid.c (__getgid): Likewise.
29529 * posix/getpid.c (__getpid): Likewise.
29530 * posix/getppid.c (__getppid): Likewise.
29531 * posix/getuid.c (__getuid): Likewise.
29532 * posix/pause.c (pause): Likewise.
29533 * posix/setpgrp.c (setpgrp): Likewise.
29534 * posix/setsid.c (__setsid): Likewise.
29535 * posix/test-vfork.c (noop): Likewise.
29536 * resolv/gethnamaddr.c (_endhtent): Likewise.
29537 (_gethtent): Likewise.
29538 (ht_endhostent): Likewise.
29539 (gethostent): Likewise.
29540 (dns_service): Likewise.
29541 * stdlib/drand48.c (drand48): Likewise.
29542 * stdlib/lrand48.c (lrand48): Likewise.
29543 * stdlib/mrand48.c (mrand48): Likewise.
29544 * stdlib/rand.c (rand): Likewise.
29545 * stdlib/random.c (__random): Likewise.
29546 * stdlib/setenv.c (clearenv): Likewise.
29547 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29548 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29549 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29550 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29551 (__get_nprocs): Likewise.
29552 (__get_phys_pages): Likewise.
29553 (__get_avphys_pages): Likewise.
29554 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29555 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29556 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29557 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29558 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29559 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29560 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29561 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29562 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29563 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29564 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29565 * sysdeps/mach/hurd/sync.c (sync): Likewise.
29566 * sysdeps/posix/clock.c (clock): Likewise.
29567 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29568 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29569 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29570 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29571 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29573 (__get_nprocs_conf): Likewise.
29574 (__get_phys_pages): Likewise.
29575 (__get_avphys_pages): Likewise.
29576 * time/clock.c (clock): Likewise.
29577 * time/tzset.c (__tzname_max): Likewise.
29579 2013-06-07 Joseph Myers <joseph@codesourcery.com>
29581 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29582 (__bswap_32): Do not use "register".
29583 * crypt/crypt.c (_ufc_doit_r): Likewise.
29584 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29585 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29586 * gmon/gmon.c (__monstartup): Likewise.
29587 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29588 * hurd/hurdmalloc.c (more_memory): Likewise.
29589 (malloc): Likewise.
29591 (realloc): Likewise.
29592 (malloc_fork_prepare): Likewise.
29593 (malloc_fork_parent): Likewise.
29594 (malloc_fork_child): Likewise.
29595 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29596 (_svcauth_des): Likewise.
29597 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29598 * inet/inet_net.c (inet_network): Likewise.
29599 * inet/inet_netof.c (inet_netof): Likewise.
29600 * inet/rcmd.c (__validuser2_sa): Likewise.
29601 * io/fts.c (fts_open): Likewise.
29602 (fts_load): Likewise.
29603 (fts_close): Likewise.
29604 (fts_read): Likewise.
29605 (fts_children): Likewise.
29606 (fts_build): Likewise.
29607 (fts_stat): Likewise.
29608 (fts_sort): Likewise.
29609 (fts_alloc): Likewise.
29610 (fts_lfree): Likewise.
29611 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29612 (_IO_file_xsgetn): Likewise.
29613 (_IO_file_xsgetn_mmap): Likewise.
29614 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29615 (_IO_cookie_write): Likewise.
29616 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29617 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29618 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29619 * malloc/obstack.c (_obstack_begin): Likewise.
29620 (_obstack_begin_1): Likewise.
29621 (_obstack_newchunk): Likewise.
29622 (_obstack_allocated_p): Likewise.
29623 (obstack_free): Likewise.
29624 (_obstack_memory_used): Likewise.
29625 * misc/getttyent.c (getttynam): Likewise.
29626 (getttyent): Likewise.
29629 * misc/getusershell.c (initshells): Likewise.
29630 * misc/syslog.c (__vsyslog_chk): Likewise.
29631 * misc/ttyslot.c (ttyslot): Likewise.
29632 * nis/nis_hash.c (__nis_hash): Likewise.
29633 * posix/fnmatch_loop.c (FCT): Likewise.
29634 * posix/getconf.c (print_all): Likewise.
29636 * posix/getopt.c (exchange): Likewise.
29637 * posix/glob.c (globfree): Likewise.
29638 (prefix_array): Likewise.
29639 (__glob_pattern_type): Likewise.
29640 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29641 (NS_GET32): Likewise.
29642 (NS_PUT16): Likewise.
29643 (NS_PUT32): Likewise.
29644 * resolv/gethnamaddr.c (getanswer): Likewise.
29645 (gethostbyname2): Likewise.
29646 (gethostbyaddr): Likewise.
29647 (_gethtent): Likewise.
29648 (_gethtbyname2): Likewise.
29649 (_gethtbyaddr): Likewise.
29650 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29651 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29652 * resolv/res_init.c (__res_vinit): Likewise.
29653 (net_mask): Likewise.
29654 * resolv/res_mkquery.c (outchar): Likewise.
29656 * stdio-common/printf_fp.c (outchar): Likewise.
29658 * stdio-common/printf_fphex.c (outchar): Likewise.
29660 * stdio-common/printf_size.c (outchar): Likewise.
29662 * stdio-common/test_rdwr.c (main): Likewise.
29663 * stdio-common/tfformat.c (matches): Likewise.
29664 * stdio-common/vfprintf.c (outchar): Likewise.
29665 (printf_unknown): Likewise.
29666 (buffered_vfprintf): Likewise.
29667 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29668 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29669 (ReadFile): Likewise.
29670 * stdlib/qsort.c (SWAP): Likewise.
29671 (_quicksort): Likewise.
29672 * stdlib/setenv.c (__add_to_environ): Likewise.
29673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29674 * stdlib/strtol_l.c (__strtol_l): Likewise.
29675 * stdlib/tst-strtod.c (main): Likewise.
29676 * stdlib/tst-strtol.c (main): Likewise.
29677 * stdlib/tst-strtoll.c (main): Likewise.
29678 * string/bits/string2.h (__strcmp_cc): Likewise.
29679 (__strcmp_cg): Likewise.
29680 (__strcspn_c1): Likewise.
29681 (__strcspn_c2): Likewise.
29682 (__strcspn_c3): Likewise.
29683 (__strspn_c1): Likewise.
29684 (__strspn_c2): Likewise.
29685 (__strspn_c3): Likewise.
29686 (__strsep_1c): Likewise.
29687 (__strsep_2c): Likewise.
29688 (__strsep_3c): Likewise.
29689 * string/memccpy.c (__memccpy): Likewise.
29690 * string/stpcpy.c (__stpcpy): Likewise.
29691 * string/strcmp.c (strcmp): Likewise.
29692 * string/strrchr.c (strrchr): Likewise.
29693 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29695 * sysdeps/mach/hurd/getcwd.c
29696 (_hurd_canonicalize_directory_name_internal): Likewise.
29697 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29698 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29699 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29700 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29701 Likewise, in both definitions.
29702 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29704 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29705 64] (__bswap_64): Likewise.
29706 * time/test_time.c (main): Likewise.
29707 * time/tzfile.c (__tzfile_read): Likewise.
29708 (__tzfile_compute): Likewise.
29709 * time/tzset.c (__tzset_parse_tz): Likewise.
29710 (tzset_internal): Likewise.
29711 (compute_change): Likewise.
29712 * wcsmbs/wcscat.c (__wcscat): Likewise.
29713 * wcsmbs/wcschr.c (wcschr): Likewise.
29714 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29715 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29716 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29717 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29718 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29719 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29720 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29721 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29722 * wcsmbs/wmemset.c (wmemset): Likewise.
29724 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29726 * scripts/config.guess: Update to version 2013-05-16.
29727 * scripts/config.sub: Update to version 2013-04-24.
29728 * scripts/install-sh: Update to version 2011-11-20.07.
29729 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29730 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29732 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29734 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29735 * elf/sln.c: Likewise.
29736 * hurd/hurd/ioctl.h: Likewise.
29737 * hurd/hurdmalloc.c: Likewise.
29738 * hurd/xattr.c: Likewise.
29739 * include/shlib-compat.h: Likewise.
29740 * inet/ruserpass.c: Likewise.
29741 * libio/iofgets_u.c: Likewise.
29742 * libio/iofgetws_u.c: Likewise.
29743 * locale/programs/ld-identification.c: Likewise.
29744 * locale/programs/ld-time.c: Likewise.
29745 * mach/msg-destroy.c: Likewise.
29746 * nss/nss_files/files-netgrp.c: Likewise.
29747 * resolv/res_data.c: Likewise.
29748 * soft-fp/op-1.h: Likewise.
29749 * soft-fp/op-2.h: Likewise.
29750 * soft-fp/op-4.h: Likewise.
29751 * soft-fp/op-common.h: Likewise.
29752 * stdio-common/printf_fphex.c: Likewise.
29753 * stdlib/strtod_l.c: Likewise.
29754 * sunrpc/rpc/clnt.h: Likewise.
29755 * sysdeps/generic/framestate.c: Likewise.
29756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29757 * sysdeps/i386/bsd-setjmp.S: Likewise.
29758 * sysdeps/i386/__longjmp.S: Likewise.
29759 * sysdeps/i386/setjmp.S: Likewise.
29760 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29761 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29762 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29769 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29770 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29773 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29774 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29778 * sysdeps/ieee754/support.c: Likewise.
29779 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29780 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29781 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29782 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29783 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29784 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29785 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29786 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29787 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29788 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29789 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29790 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29791 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29793 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29794 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29798 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29800 * posix/transbug.c: Remove executable mode.
29802 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29804 * crypt/speeds.c: Remove trailing whitespace.
29805 * dlfcn/default.c: Likewise.
29806 * elf/ifuncdep2.c: Likewise.
29807 * elf/ifuncmain1.c: Likewise.
29808 * elf/ifuncmain1vis.c: Likewise.
29809 * elf/testobj.h: Likewise.
29810 * elf/tst-stackguard1.c: Likewise.
29811 * gmon/sys/gmon.h: Likewise.
29812 * hurd/hurdmsg.c: Likewise.
29813 * hurd/new-fd.c: Likewise.
29814 * hurd/ports-get.c: Likewise.
29815 * iconvdata/ibm1008_420.c: Likewise.
29816 * inet/tst-getni1.c: Likewise.
29817 * inet/tst-getni2.c: Likewise.
29818 * libio/ioungetc.c: Likewise.
29819 * libio/wfiledoalloc.c: Likewise.
29820 * manual/libm-err-tab.pl: Likewise.
29821 * math/w_dremf.c: Likewise.
29822 * misc/ftruncate.c: Likewise.
29823 * posix/bug-glob2.c: Likewise.
29824 * posix/tst-pcre.c: Likewise.
29825 * posix/wait4.c: Likewise.
29826 * resolv/README: Likewise.
29827 * resolv/res_debug.h: Likewise.
29828 * resolv/tst-inet_ntop.c: Likewise.
29829 * setjmp/bug269-setjmp.c: Likewise.
29830 * soft-fp/extended.h: Likewise.
29831 * soft-fp/op-1.h: Likewise.
29832 * soft-fp/op-2.h: Likewise.
29833 * soft-fp/op-4.h: Likewise.
29834 * soft-fp/op-8.h: Likewise.
29835 * soft-fp/testit.c: Likewise.
29836 * stdio-common/bug16.c: Likewise.
29837 * stdlib/random.c: Likewise.
29838 * sunrpc/rpcsvc/rquota.x: Likewise.
29839 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29840 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29842 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29843 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29844 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29846 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29847 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29848 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29849 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29851 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29855 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29857 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29860 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29866 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29867 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29868 * sysdeps/ieee754/s_lib_version.c: Likewise.
29869 * sysdeps/mach/hurd/check_fds.c: Likewise.
29870 * sysdeps/mach/hurd/getsockname.c: Likewise.
29871 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29872 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29873 * sysdeps/powerpc/bits/link.h: Likewise.
29874 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29875 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29876 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29877 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29878 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29879 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29880 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29881 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29882 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29883 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29884 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29886 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29887 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29888 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29889 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29890 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29892 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29895 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29897 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29898 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29900 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29905 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29908 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29909 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29910 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29911 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29912 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29913 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29914 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29915 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29916 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29917 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29918 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29919 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29920 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29921 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29922 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29923 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29927 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29928 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29929 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29930 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29931 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29932 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29935 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29936 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29937 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29938 * sysdeps/powerpc/sysdep.h: Likewise.
29939 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29940 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29941 * sysdeps/sh/dl-trampoline.S: Likewise.
29942 * sysdeps/sh/memset.S: Likewise.
29943 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29944 * sysdeps/sh/strlen.S: Likewise.
29945 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29946 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29947 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29948 * sysdeps/sparc/sparc32/rem.S: Likewise.
29949 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29950 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29951 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29952 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29953 * sysdeps/sparc/sparc32/urem.S: Likewise.
29954 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29955 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29956 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29957 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29958 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29959 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29960 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29961 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29962 * sysdeps/unix/bsd/times.c: Likewise.
29963 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29964 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29968 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29969 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29970 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29971 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29972 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29973 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29974 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29975 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29977 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29978 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29979 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29980 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29981 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29982 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29983 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29984 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29985 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29986 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29987 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29988 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29989 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29991 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29992 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29993 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29994 * sysdeps/x86_64/strcspn.S: Likewise.
29996 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29998 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29999 generated file. Regenerate properly from gen-translit.pl.
30000 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
30001 locale/C-translit.h.
30003 2013-06-05 Andreas Schwab <schwab@suse.de>
30006 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30007 week as 6 instead of -1.
30008 * time/tst-strptime.c (day_tests): Add test case.
30010 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30012 * sysdeps/generic/math_private.h
30013 (libc_feholdexcept_setround_53bit): Replace with
30014 libc_feholdsetround_53bit.
30015 (libc_feupdateenv_53bit): Replace with
30016 libc_feresetround_53bit.
30017 (SET_RESTORE_ROUND_53BIT): Adjust.
30019 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30021 * string/test-strchrnul.c: Add copyright header.
30023 * posix/tst-getaddrinfo4.c: Increase test timeout.
30025 2013-06-03 Carlos O'Donell <carlos@redhat.com>
30028 * math/libm-test.inc (MAX_EXP): Remove
30030 (ulp): Use MIN_EXP - MANT_DIG.
30031 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30033 2013-05-31 Carlos O'Donell <carlos@redhat.com>
30035 * po/be.po: Revert last change.
30036 * po/zh_CN.po: Likewise.
30037 * po/header.pot: Likewise.
30039 2013-05-31 Joseph Myers <joseph@codesourcery.com>
30041 * Makefile ($(common-objpfx)linkobj/libc.so): Define
30042 link-libc-deps to empty as target-specific variable.
30043 * Makerules (link-libc-args): New variable.
30044 (libc-for-link): Likewise.
30045 (link-libc-deps): Likewise.
30046 (lib%.so): Depend on $(link-libc-deps). Link with
30048 (build-module): Link with $(link-libc-args).
30049 (build-module-asneeded): Likewise.
30050 (build-module-helper-objlist): Filter out $(link-libc-deps) from
30052 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30053 target-specific variable.
30054 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30055 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30056 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30058 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30060 ($(objpfx)libpcprofile.so): Likewise.
30061 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30063 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30064 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30065 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30067 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30068 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30069 * login/Makefile ($(objpfx)libutil.so): Likewise.
30070 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30071 * math/Makefile ($(objpfx)libm.so): Likewise.
30072 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30073 $(objpfx)libnsl.so): Define libc-for-link as target-specific
30074 variable instead of depending directly on libc.
30075 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30076 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30078 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30080 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30081 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30082 ($(objpfx)libanl.so): Likewise.
30083 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30085 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30087 * sysdeps/i386/fpu/Makefile: Remove file.
30088 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30089 ($(objpfx)libm.so): Remove dependency on ld.so.
30091 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
30094 * nis/yp_xdr.c (XDRMAXNAME): Define.
30095 (XDRMAXRECORD): Define.
30096 (xdr_domainname): Use XDRMAXNAME.
30097 (xdr_mapname): Likewise.
30098 (xdr_peername): Likewise.
30099 (xdr_keydat): Use XDRMAXRECORD.
30100 (xdr_valdat): Likewise.
30102 2013-05-30 Jeff Law <law@redhat.com>
30105 * manual/errno.texi (ESTALE): Update to account for more than
30106 just NFS file systems.
30107 * sysdeps/gnu/errlist.c: Regenerated.
30109 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30112 * elf/Makefile (tests): Add tst-null-argv.
30113 (modules-names): Add tst-null-argv-lib.
30114 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30115 (tst-null-argv-ENV): Set environment for tst-null-argv.
30116 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30117 (RTLD_PROGNAME): New macro.
30118 * elf/tst-null-argv.c: New test case.
30119 * elf/tst-null-argv-lib.c: Library for test case.
30120 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30121 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30122 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30123 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30124 * elf/dl-init.c (call_init): Likewise.
30125 (_dl_init): Likewise.
30126 * elf/dl-load.c (print_search_path): Likewise.
30127 (_dl_map_object): Likewise.
30128 * elf/dl-lookup.c (do_lookup_x): Likewise.
30129 (add_dependency): Likewise.
30130 (_dl_lookup_symbol_x): Likewise.
30131 (_dl_debug_bindings): Likewise.
30132 * elf/dl-open.c (_dl_show_scope): Likewise.
30133 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30134 * elf/dl-version.c (match_symbol): Likewise.
30135 (_dl_check_map_versions): Likewise.
30136 * elf/rtld.c (dl_main): Likewise.
30137 (print_unresolved): Use RTLD_PROGNAME.
30138 (print_missing_version): Likewise.
30139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30140 (elf_machine_rela): Likewise.
30141 * sysdeps/powerpc/powerpc32/dl-machine.c
30142 (__process_machine_rela): Likewise.
30143 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30147 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30149 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30150 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30152 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30156 2013-05-28 Carlos O'Donell <carlos@redhat.com>
30158 * po/be.po: Add descriptive title.
30159 * po/zh_CN.po: Likewise.
30160 * po/header.pot: Likewise.
30162 2013-05-28 Mike Frysinger <vapier@gentoo.org>
30164 * locale/programs/locarchive.c (create_archive): Inlucde fname in
30166 (enlarge_archive): Likewise.
30168 2013-05-28 Ben North <ben@redfrontdoor.org>
30170 * manual/arith.texi (frexp): It is the magnitude of the return
30171 value which lies in [0.5, 1), not the return value itself.
30173 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30177 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
30179 * stdio-common/bug26.c (main): Correct fscanf template.
30181 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30182 declare _dl_skip_args.
30184 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30187 * manual/platform.texi: Add missing @end deftypefun.
30189 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30192 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30193 bit of mantissa of 2^16382.
30194 * math/libm-test.inc (hypot_test_data): Add more tests.
30196 * math/libm-test.inc: Add drem and pow10 to list of tested
30198 (pow10_test): New function.
30199 (drem_test): Likewise.
30200 (drem_test_tonearest): Likewise.
30201 (drem_test_towardzero): Likewise.
30202 (drem_test_downward): Likewise.
30203 (drem_test_upward): Likewise.
30204 (main): Call the new functions.
30206 * math/libm-test.inc (finite_test_data): Remove.
30207 (finite_test): Run tests from isfinite_test_data.
30208 (gamma_test_data): Remove.
30209 (gamma_test): Run tests from lgamma_test_data.
30210 * sysdeps/i386/fpu/libm-test-ulps: Update.
30211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30213 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30215 * manual/platform.texi: Add PowerPC PPR function set documentation.
30216 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30219 2013-05-24 Carlos O'Donell <carlos@redhat.com>
30221 * math/libm-test.inc (MAX_EXP): Define.
30223 (ulp): New function.
30224 (check_float_internal): Use ULPDIFF.
30225 (cpow_test): Disable failing test.
30226 (check_ulp): Test ulp() implemetnation.
30227 (main): Call check_ulp before starting tests.
30229 2013-05-24 Joseph Myers <joseph@codesourcery.com>
30231 * math/gen-libm-test.pl (generate_testfile): Do not handle
30232 START_DATA and END_DATA.
30233 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30235 (acos_tonearest_test_data): Likewise.
30236 (acos_towardzero_test_data): Likewise.
30237 (acos_downward_test_data): Likewise.
30238 (acos_upward_test_data): Likewise.
30239 (acosh_test_data): Likewise.
30240 (asin_test_data): Likewise.
30241 (asin_tonearest_test_data): Likewise.
30242 (asin_towardzero_test_data): Likewise.
30243 (asin_downward_test_data): Likewise.
30244 (asin_upward_test_data): Likewise.
30245 (asinh_test_data): Likewise.
30246 (atan_test_data): Likewise.
30247 (atanh_test_data): Likewise.
30248 (atan2_test_data): Likewise.
30249 (cabs_test_data): Likewise.
30250 (cacos_test_data): Likewise.
30251 (cacosh_test_data): Likewise.
30252 (carg_test_data): Likewise.
30253 (casin_test_data): Likewise.
30254 (casinh_test_data): Likewise.
30255 (catan_test_data): Likewise.
30256 (catanh_test_data): Likewise.
30257 (cbrt_test_data): Likewise.
30258 (ccos_test_data): Likewise.
30259 (ccosh_test_data): Likewise.
30260 (ceil_test_data): Likewise.
30261 (cexp_test_data): Likewise.
30262 (cimag_test_data): Likewise.
30263 (clog_test_data): Likewise.
30264 (clog10_test_data): Likewise.
30265 (conj_test_data): Likewise.
30266 (copysign_test_data): Likewise.
30267 (cos_test_data): Likewise.
30268 (cos_tonearest_test_data): Likewise.
30269 (cos_towardzero_test_data): Likewise.
30270 (cos_downward_test_data): Likewise.
30271 (cos_upward_test_data): Likewise.
30272 (cosh_test_data): Likewise.
30273 (cosh_tonearest_test_data): Likewise.
30274 (cosh_towardzero_test_data): Likewise.
30275 (cosh_downward_test_data): Likewise.
30276 (cosh_upward_test_data): Likewise.
30277 (cpow_test_data): Likewise.
30278 (cproj_test_data): Likewise.
30279 (creal_test_data): Likewise.
30280 (csin_test_data): Likewise.
30281 (csinh_test_data): Likewise.
30282 (csqrt_test_data): Likewise.
30283 (ctan_test_data): Likewise.
30284 (ctan_tonearest_test_data): Likewise.
30285 (ctan_towardzero_test_data): Likewise.
30286 (ctan_downward_test_data): Likewise.
30287 (ctan_upward_test_data): Likewise.
30288 (ctanh_test_data): Likewise.
30289 (ctanh_tonearest_test_data): Likewise.
30290 (ctanh_towardzero_test_data): Likewise.
30291 (ctanh_downward_test_data): Likewise.
30292 (ctanh_upward_test_data): Likewise.
30293 (erf_test_data): Likewise.
30294 (erfc_test_data): Likewise.
30295 (exp_test_data): Likewise.
30296 (exp_tonearest_test_data): Likewise.
30297 (exp_towardzero_test_data): Likewise.
30298 (exp_downward_test_data): Likewise.
30299 (exp_upward_test_data): Likewise.
30300 (exp10_test_data): Likewise.
30301 (exp2_test_data): Likewise.
30302 (expm1_test_data): Likewise.
30303 (fabs_test_data): Likewise.
30304 (fdim_test_data): Likewise.
30305 (finite_test_data): Likewise.
30306 (floor_test_data): Likewise.
30307 (fma_test_data): Likewise.
30308 (fma_towardzero_test_data): Likewise.
30309 (fma_downward_test_data): Likewise.
30310 (fma_upward_test_data): Likewise.
30311 (fmax_test_data): Likewise.
30312 (fmin_test_data): Likewise.
30313 (fmod_test_data): Likewise.
30314 (fpclassify_test_data): Likewise.
30315 (frexp_test_data): Likewise.
30316 (gamma_test_data): Likewise.
30317 (hypot_test_data): Likewise.
30318 (ilogb_test_data): Likewise.
30319 (isfinite_test_data): Likewise.
30320 (isgreater_test_data): Likewise.
30321 (isgreaterequal_test_data): Likewise.
30322 (isinf_test_data): Likewise.
30323 (isless_test_data): Likewise.
30324 (islessequal_test_data): Likewise.
30325 (islessgreater_test_data): Likewise.
30326 (isnan_test_data): Likewise.
30327 (isnormal_test_data): Likewise.
30328 (issignaling_test_data): Likewise.
30329 (isunordered_test_data): Likewise.
30330 (j0_test_data): Likewise.
30331 (j1_test_data): Likewise.
30332 (jn_test_data): Likewise.
30333 (ldexp_test_data): Likewise.
30334 (lgamma_test_data): Likewise.
30335 (lrint_test_data): Likewise.
30336 (lrint_tonearest_test_data): Likewise.
30337 (lrint_towardzero_test_data): Likewise.
30338 (lrint_downward_test_data): Likewise.
30339 (lrint_upward_test_data): Likewise.
30340 (llrint_test_data): Likewise.
30341 (llrint_tonearest_test_data): Likewise.
30342 (llrint_towardzero_test_data): Likewise.
30343 (llrint_downward_test_data): Likewise.
30344 (llrint_upward_test_data): Likewise.
30345 (log_test_data): Likewise.
30346 (log10_test_data): Likewise.
30347 (log1p_test_data): Likewise.
30348 (log2_test_data): Likewise.
30349 (logb_test_data): Likewise.
30350 (logb_downward_test_data): Likewise.
30351 (lround_test_data): Likewise.
30352 (llround_test_data): Likewise.
30353 (modf_test_data): Likewise.
30354 (nearbyint_test_data): Likewise.
30355 (nextafter_test_data): Likewise.
30356 (nexttoward_test_data): Likewise.
30357 (pow_test_data): Likewise.
30358 (pow_tonearest_test_data): Likewise.
30359 (pow_towardzero_test_data): Likewise.
30360 (pow_downward_test_data): Likewise.
30361 (pow_upward_test_data): Likewise.
30362 (remainder_test_data): Likewise.
30363 (remainder_tonearest_test_data): Likewise.
30364 (remainder_towardzero_test_data): Likewise.
30365 (remainder_downward_test_data): Likewise.
30366 (remainder_upward_test_data): Likewise.
30367 (remquo_test_data): Likewise.
30368 (rint_test_data): Likewise.
30369 (rint_tonearest_test_data): Likewise.
30370 (rint_towardzero_test_data): Likewise.
30371 (rint_downward_test_data): Likewise.
30372 (rint_upward_test_data): Likewise.
30373 (round_test_data): Likewise.
30374 (scalb_test_data): Likewise.
30375 (scalbn_test_data): Likewise.
30376 (scalbln_test_data): Likewise.
30377 (signbit_test_data): Likewise.
30378 (sin_test_data): Likewise.
30379 (sin_tonearest_test_data): Likewise.
30380 (sin_towardzero_test_data): Likewise.
30381 (sin_downward_test_data): Likewise.
30382 (sin_upward_test_data): Likewise.
30383 (sincos_test_data): Likewise.
30384 (sinh_test_data): Likewise.
30385 (sinh_tonearest_test_data): Likewise.
30386 (sinh_towardzero_test_data): Likewise.
30387 (sinh_downward_test_data): Likewise.
30388 (sinh_upward_test_data): Likewise.
30389 (sqrt_test_data): Likewise.
30390 (tan_test_data): Likewise.
30391 (tan_tonearest_test_data): Likewise.
30392 (tan_towardzero_test_data): Likewise.
30393 (tan_downward_test_data): Likewise.
30394 (tan_upward_test_data): Likewise.
30395 (tanh_test_data): Likewise.
30396 (tgamma_test_data): Likewise.
30397 (trunc_test_data): Likewise.
30398 (y0_test_data): Likewise.
30399 (y1_test_data): Likewise.
30400 (yn_test_data): Likewise.
30401 (significand_test_data): Likewise.
30403 * math/gen-libm-test.pl (@functions): Remove variable.
30404 (generate_testfile): Don't handle START and END lines.
30405 * math/libm-test.inc (START): New macro.
30407 (END_COMPLEX): Likewise.
30408 (acos_test): Use END macro without arguments.
30409 (acos_test_tonearest): Likewise.
30410 (acos_test_towardzero): Likewise.
30411 (acos_test_downward): Likewise.
30412 (acos_test_upward): Likewise.
30413 (acosh_test): Likewise.
30414 (asin_test): Likewise.
30415 (asin_test_tonearest): Likewise.
30416 (asin_test_towardzero): Likewise.
30417 (asin_test_downward): Likewise.
30418 (asin_test_upward): Likewise.
30419 (asinh_test): Likewise.
30420 (atan_test): Likewise.
30421 (atanh_test): Likewise.
30422 (atan2_test): Likewise.
30423 (cabs_test): Likewise.
30424 (cacos_test): Use END_COMPLEX macro without arguments.
30425 (cacosh_test): Likewise.
30426 (carg_test): Use END macro without arguments.
30427 (casin_test): Use END_COMPLEX macro without arguments.
30428 (casinh_test): Likewise.
30429 (catan_test): Likewise.
30430 (catanh_test): Likewise.
30431 (cbrt_test): Use END macro without arguments.
30432 (ccos_test): Use END_COMPLEX macro without arguments.
30433 (ccosh_test): Likewise.
30434 (ceil_test): Use END macro without arguments.
30435 (cexp_test): Use END_COMPLEX macro without arguments.
30436 (cimag_test): Use END macro without arguments.
30437 (clog_test): Use END_COMPLEX macro without arguments.
30438 (clog10_test): Likewise.
30439 (conj_test): Likewise.
30440 (copysign_test): Use END macro without arguments.
30441 (cos_test): Likewise.
30442 (cos_test_tonearest): Likewise.
30443 (cos_test_towardzero): Likewise.
30444 (cos_test_downward): Likewise.
30445 (cos_test_upward): Likewise.
30446 (cosh_test): Likewise.
30447 (cosh_test_tonearest): Likewise.
30448 (cosh_test_towardzero): Likewise.
30449 (cosh_test_downward): Likewise.
30450 (cosh_test_upward): Likewise.
30451 (cpow_test): Use END_COMPLEX macro without arguments.
30452 (cproj_test): Likewise.
30453 (creal_test): Use END macro without arguments.
30454 (csin_test): Use END_COMPLEX macro without arguments.
30455 (csinh_test): Likewise.
30456 (csqrt_test): Likewise.
30457 (ctan_test): Likewise.
30458 (ctan_test_tonearest): Likewise.
30459 (ctan_test_towardzero): Likewise.
30460 (ctan_test_downward): Likewise.
30461 (ctan_test_upward): Likewise.
30462 (ctanh_test): Likewise.
30463 (ctanh_test_tonearest): Likewise.
30464 (ctanh_test_towardzero): Likewise.
30465 (ctanh_test_downward): Likewise.
30466 (ctanh_test_upward): Likewise.
30467 (erf_test): Use END macro without arguments.
30468 (erfc_test): Likewise.
30469 (exp_test): Likewise.
30470 (exp_test_tonearest): Likewise.
30471 (exp_test_towardzero): Likewise.
30472 (exp_test_downward): Likewise.
30473 (exp_test_upward): Likewise.
30474 (exp10_test): Likewise.
30475 (exp2_test): Likewise.
30476 (expm1_test): Likewise.
30477 (fabs_test): Likewise.
30478 (fdim_test): Likewise.
30479 (finite_test): Likewise.
30480 (floor_test): Likewise.
30481 (fma_test): Likewise.
30482 (fma_test_towardzero): Likewise.
30483 (fma_test_downward): Likewise.
30484 (fma_test_upward): Likewise.
30485 (fmax_test): Likewise.
30486 (fmin_test): Likewise.
30487 (fmod_test): Likewise.
30488 (fpclassify_test): Likewise.
30489 (frexp_test): Likewise.
30490 (gamma_test): Likewise.
30491 (hypot_test): Likewise.
30492 (ilogb_test): Likewise.
30493 (isfinite_test): Likewise.
30494 (isgreater_test): Likewise.
30495 (isgreaterequal_test): Likewise.
30496 (isinf_test): Likewise.
30497 (isless_test): Likewise.
30498 (islessequal_test): Likewise.
30499 (islessgreater_test): Likewise.
30500 (isnan_test): Likewise.
30501 (isnormal_test): Likewise.
30502 (issignaling_test): Likewise.
30503 (isunordered_test): Likewise.
30504 (j0_test): Likewise.
30505 (j1_test): Likewise.
30506 (jn_test): Likewise.
30507 (ldexp_test): Likewise.
30508 (lgamma_test): Likewise.
30509 (lrint_test): Likewise.
30510 (lrint_test_tonearest): Likewise.
30511 (lrint_test_towardzero): Likewise.
30512 (lrint_test_downward): Likewise.
30513 (lrint_test_upward): Likewise.
30514 (llrint_test): Likewise.
30515 (llrint_test_tonearest): Likewise.
30516 (llrint_test_towardzero): Likewise.
30517 (llrint_test_downward): Likewise.
30518 (llrint_test_upward): Likewise.
30519 (log_test): Likewise.
30520 (log10_test): Likewise.
30521 (log1p_test): Likewise.
30522 (log2_test): Likewise.
30523 (logb_test): Likewise.
30524 (logb_test_downward): Likewise.
30525 (lround_test): Likewise.
30526 (llround_test): Likewise.
30527 (modf_test): Likewise.
30528 (nearbyint_test): Likewise.
30529 (nextafter_test): Likewise.
30530 (nexttoward_test): Likewise.
30531 (pow_test): Likewise.
30532 (pow_test_tonearest): Likewise.
30533 (pow_test_towardzero): Likewise.
30534 (pow_test_downward): Likewise.
30535 (pow_test_upward): Likewise.
30536 (remainder_test): Likewise.
30537 (remainder_test_tonearest): Likewise.
30538 (remainder_test_towardzero): Likewise.
30539 (remainder_test_downward): Likewise.
30540 (remainder_test_upward): Likewise.
30541 (remquo_test): Likewise.
30542 (rint_test): Likewise.
30543 (rint_test_tonearest): Likewise.
30544 (rint_test_towardzero): Likewise.
30545 (rint_test_downward): Likewise.
30546 (rint_test_upward): Likewise.
30547 (round_test): Likewise.
30548 (scalb_test): Likewise.
30549 (scalbn_test): Likewise.
30550 (scalbln_test): Likewise.
30551 (signbit_test): Likewise.
30552 (sin_test): Likewise.
30553 (sin_test_tonearest): Likewise.
30554 (sin_test_towardzero): Likewise.
30555 (sin_test_downward): Likewise.
30556 (sin_test_upward): Likewise.
30557 (sincos_test): Likewise.
30558 (sinh_test): Likewise.
30559 (sinh_test_tonearest): Likewise.
30560 (sinh_test_towardzero): Likewise.
30561 (sinh_test_downward): Likewise.
30562 (sinh_test_upward): Likewise.
30563 (sqrt_test): Likewise.
30564 (tan_test): Likewise.
30565 (tan_test_tonearest): Likewise.
30566 (tan_test_towardzero): Likewise.
30567 (tan_test_downward): Likewise.
30568 (tan_test_upward): Likewise.
30569 (tanh_test): Likewise.
30570 (tgamma_test): Likewise.
30571 (trunc_test): Likewise.
30572 (y0_test): Likewise.
30573 (y1_test): Likewise.
30574 (yn_test): Likewise.
30575 (significand_test): Likewise.
30577 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
30580 * libio/genops.c (_IO_no_init): Initialize wide struct info.
30582 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
30585 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30586 __ppc_mdoio and __ppc_mdoom.
30587 * manual/platform.texi: Document new functions __ppc_yield,
30588 __ppc_mdoio and __ppc_mdoom.
30590 2013-05-22 Carlos O'Donell <carlos@redhat.com>
30592 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30593 (main): Mention "tls" pseudo-hwcap is legacy.
30594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30596 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30598 * math/gen-libm-test.pl (parse_args): Output only string of
30599 arguments as text for test name, not full call or descriptions of
30600 tests for extra outputs.
30601 (generate_testfile): Do not pass function name to parse_args.
30602 Generate this_func variable from START.
30603 * math/libm-test.inc (struct test_f_f_data): Rename test_name
30605 (struct test_ff_f_data): Likewise.
30606 (test_ff_f_data_nexttoward): Likewise.
30607 (struct test_fi_f_data): Likewise.
30608 (struct test_fl_f_data): Likewise.
30609 (struct test_if_f_data): Likewise.
30610 (struct test_fff_f_data): Likewise.
30611 (struct test_c_f_data): Likewise.
30612 (struct test_f_f1_data): Likewise. Remove field extra_name.
30613 (struct test_fF_f1_data): Likewise.
30614 (struct test_ffI_f1_data): Likewise.
30615 (struct test_c_c_data): Rename test_name field to arg_str.
30616 (struct test_cc_c_data): Likewise.
30617 (struct test_f_i_data): Likewise.
30618 (struct test_ff_i_data): Likewise.
30619 (struct test_f_l_data): Likewise.
30620 (struct test_f_L_data): Likewise.
30621 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30623 (COMMON_TEST_SETUP): New macro.
30624 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30625 (COMMON_TEST_CLEANUP): Likewise.
30626 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30627 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30629 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30630 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30632 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30633 (RUN_TEST_fff_f): Take argument string. Call new setup and
30635 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30636 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30638 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30639 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30641 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30642 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30644 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30645 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30647 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30648 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30650 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30651 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30653 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30654 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30656 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30657 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30659 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30660 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30662 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30663 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30665 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30666 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30668 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30669 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30671 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30672 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30674 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30675 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30677 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30678 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30680 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30682 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30684 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30685 to _sifields.sigfault.
30686 (si_addr_lsb): Define new macro.
30687 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30688 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30689 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30691 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30694 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30696 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30698 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30699 loading the domain.
30701 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30703 * math/gen-libm-test.pl (parse_args): Do not include expected
30704 result in test name.
30705 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30707 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30708 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30709 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30712 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30714 * benchtests/Makefile: Sort function entries.
30716 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30717 tanh, asinh, acosh, atanh.
30718 * benchtests/acos-inputs: New file.
30719 * benchtests/acosh-inputs: New file.
30720 * benchtests/asin-inputs: New file.
30721 * benchtests/asinh-inputs: New file.
30722 * benchtests/atanh-inputs: New file.
30723 * benchtests/cosh-inputs: New file.
30724 * benchtests/log-inputs: New file.
30725 * benchtests/sinh-inputs: New file.
30726 * benchtests/tanh-inputs: New file.
30728 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30731 * posix/tst-getaddrinfo4.c: New test.
30732 * posix/Makefile (tests): Add it.
30734 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30737 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30738 when no services were used.
30739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30740 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30742 2013-05-21 Andreas Schwab <schwab@suse.de>
30745 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30746 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30748 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30749 redundant variable declarations and reallocation of buffer when
30750 parsing as IPv6 address. Always set NSS status when called from
30751 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30752 buffer too small. Correct computation of needed size.
30753 * nss/Makefile (tests): Add test-digits-dots.
30754 * nss/test-digits-dots.c: New test.
30756 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30758 * benchtests/Makefile: Remove instructions for adding
30760 * benchtests/README: New file to explain how to execute and
30761 enhance the benchmark tests.
30763 2013-05-21 Andreas Schwab <schwab@suse.de>
30766 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30767 * setjmp/tst-sigsetjmp.c: New test.
30769 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30771 * sysdeps/x86_64/memset.S (memset): New implementation.
30772 (__bzero): Likewise.
30773 (__memset_tail): New function.
30775 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30777 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30778 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30779 __memcpy_sse2_unaligned ifunc selection.
30780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30781 Add memcpy-sse2-unaligned.S.
30782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30783 Add: __memcpy_sse2_unaligned.
30785 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30788 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30789 math_force_eval before restoring floating-point envrionment.
30790 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30795 (__nearbyintl): Use math_force_eval before restoring
30796 floating-point environment.
30797 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30799 * math/gen-libm-test.pl (special_functions): Remove.
30800 (parse_args): Don't handle TEST_extra. Handle functions with no
30802 * math/libm-test.inc (struct test_sincos_data): Replace with
30803 struct test_fFF_11_data.
30804 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30805 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30806 (sincos_test_data): Change element type to struct
30807 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30808 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30809 RUN_TEST_LOOP_sincos.
30810 * math/README.libm-test: Don't mention special handling of
30811 individual functions.
30812 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30813 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30814 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30815 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30816 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30819 * math/gen-libm-test.pl (get_variable): Remove function.
30820 (parse_args): Don't show pointer parameters to call in test
30821 names. Use "extra output N" in test names for extra outputs
30822 rather than naming variables.
30824 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30827 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30828 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30829 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30831 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30833 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30836 * math/gen-libm-test.pl (@tests): Remove variable.
30837 ($count): Likewise.
30838 (new_test): Remove function.
30839 (show_exceptions): New function.
30840 (special_functions): Use show_exceptions instead of new_test.
30841 (parse_args): Likewise.
30842 (generate_testfile): Pass only function name in generated call to
30843 print_max_error or print_complex_max_error.
30844 (get_ulps): Do not handle complex tests specially.
30845 (output_test): Rename to ...
30846 (get_all_ulps_for_test): ... this. Return a string rather than
30847 printing to a file. Require ulps to be present.
30848 (output_ulps): Generate arrays rather than #defines.
30849 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30850 (struct ulp_data): New type.
30851 (BUILD_COMPLEX_ULP): Remove macro.
30852 (compare_ulp_data): New function.
30853 (find_ulps): Likewise.
30854 (find_test_ulps): Likewise.
30855 (find_function_ulps): Likewise.
30856 (find_complex_function_ulps): Likewise.
30857 (print_max_error): Determine allowed ulps using
30858 find_function_ulps.
30859 (print_complex_max_error): Determine allowed ulps using
30860 find_complex_function_ulps.
30861 (check_float_internal): Determine max ulps using find_test_ulps.
30862 (check_float): Do not take max_ulp parameter. Update call to
30863 check_float_internal.
30864 (check_complex): Likewise.
30865 (check_int): Do not take max_ulp parameter.
30866 (check_long): Likewise.
30867 (check_bool): Likewise.
30868 (check_longlong): Likewise.
30869 (struct test_f_f_data): Remove max_ulp field.
30870 (struct test_ff_f_data): Likewise.
30871 (struct test_ff_f_data_nexttoward): Likewise.
30872 (struct test_fi_f_data): Likewise.
30873 (struct test_fl_f_data): Likewise.
30874 (struct test_if_f_data): Likewise.
30875 (struct test_fff_f_data): Likewise.
30876 (struct test_c_f_data): Likewise.
30877 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30878 (struct test_fF_f1_data): Likewise.
30879 (struct test_ffI_f1_data): Likewise.
30880 (struct test_c_c_data): Remove max_ulp field.
30881 (struct test_cc_c_data): Likewise.
30882 (struct test_f_i_data): Likewise.
30883 (struct test_ff_i_data): Likewise.
30884 (struct test_f_l_data): Likewise.
30885 (struct test_f_L_data): Likewise.
30886 (struct test_sincos_data): Likewise.
30887 (RUN_TEST_f_f): Do not handle ulps.
30888 (RUN_TEST_LOOP_f_f): Likewise.
30889 (RUN_TEST_2_f): Likewise.
30890 (RUN_TEST_LOOP_2_f): Likewise.
30891 (RUN_TEST_fff_f): Likewise.
30892 (RUN_TEST_LOOP_fff_f): Likewise.
30893 (RUN_TEST_c_f): Likewise.
30894 (RUN_TEST_LOOP_c_f): Likewise.
30895 (RUN_TEST_f_f1): Likewise.
30896 (RUN_TEST_LOOP_f_f1): Likewise.
30897 (RUN_TEST_fF_f1): Likewise.
30898 (RUN_TEST_LOOP_fF_f1): Likewise.
30899 (RUN_TEST_fI_f1): Likewise.
30900 (RUN_TEST_LOOP_fI_f1): Likewise.
30901 (RUN_TEST_ffI_f1): Likewise.
30902 (RUN_TEST_LOOP_ffI_f1): Likewise.
30903 (RUN_TEST_c_c): Likewise.
30904 (RUN_TEST_LOOP_c_c): Likewise.
30905 (RUN_TEST_cc_c): Likewise.
30906 (RUN_TEST_LOOP_cc_c): Likewise.
30907 (RUN_TEST_f_i): Likewise.
30908 (RUN_TEST_LOOP_f_i): Likewise.
30909 (RUN_TEST_f_i_tg): Likewise.
30910 (RUN_TEST_LOOP_f_i_tg): Likewise.
30911 (RUN_TEST_ff_i_tg): Likewise.
30912 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30913 (RUN_TEST_f_b): Likewise.
30914 (RUN_TEST_LOOP_f_b): Likewise.
30915 (RUN_TEST_f_b_tg): Likewise.
30916 (RUN_TEST_LOOP_f_b_tg): Likewise.
30917 (RUN_TEST_f_l): Likewise.
30918 (RUN_TEST_LOOP_f_l): Likewise.
30919 (RUN_TEST_f_L): Likewise.
30920 (RUN_TEST_LOOP_f_L): Likewise.
30921 (RUN_TEST_sincos): Likewise.
30922 (RUN_TEST_LOOP_sincos): Likewise.
30924 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30928 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30929 main case of finite arguments, set rounding mode to FE_TONEAREST
30930 and discard exceptions.
30931 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30933 (remainder_tonearest_test_data): New variable.
30934 (remainder_test_tonearest): New function.
30935 (remainder_towardzero_test_data): New variable.
30936 (remainder_test_towardzero): New function.
30937 (remainder_downward_test_data): New variable.
30938 (remainder_test_downward): New function.
30939 (remainder_upward_test_data): New variable.
30940 (remainder_test_upward): New function.
30941 (main): Call the new test functions.
30943 * math/libm-test.inc (struct test_f_f1_data): Remove field
30945 (struct test_fF_f1_data): Likewise.
30946 (struct test_ffI_f1_data): Likewise.
30947 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30948 based on value of EXTRA_EXPECTED.
30949 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30950 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30951 EXTRA_VAR based on value of EXTRA_EXPECTED.
30952 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30953 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30954 EXTRA_VAR based on value of EXTRA_EXPECTED.
30955 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30956 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30957 EXTRA_VAR based on value of EXTRA_EXPECTED.
30958 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30959 * math/gen-libm-test.pl (parse_args): Don't output initializers
30960 for extra output values.
30962 * math/libm-test.inc (check_int): Expect result to be exactly
30963 equal to expected value and do not handle ulps.
30964 (check_long): Likewise.
30965 (check_longlong): Likewise.
30967 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30969 (cimag_test_data): Likewise.
30970 (conj_test_data): Likewise.
30971 (copysign_test_data): Likewise.
30972 (cproj_test_data): Likewise.
30973 (creal_test_data): Likewise.
30974 (fabs_test_data): Likewise.
30975 (fdim_test_data): Likewise.
30976 (finite_test_data): Likewise.
30977 (floor_test_data): Likewise.
30978 (fmax_test_data): Likewise.
30979 (fmin_test_data): Likewise.
30980 (fmod_test_data): Likewise.
30981 (fpclassify_test_data): Likewise.
30982 (frexp_test_data): Likewise.
30983 (ilogb_test_data): Likewise.
30984 (isfinite_test_data): Likewise.
30985 (isgreater_test_data): Likewise.
30986 (isgreaterequal_test_data): Likewise.
30987 (isinf_test_data): Likewise.
30988 (isless_test_data): Likewise.
30989 (islessequal_test_data): Likewise.
30990 (islessgreater_test_data): Likewise.
30991 (isnan_test_data): Likewise.
30992 (isnormal_test_data): Likewise.
30993 (issignaling_test_data): Likewise.
30994 (isunordered_test_data): Likewise.
30995 (ldexp_test_data): Likewise.
30996 (lrint_test_data): Likewise.
30997 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30998 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30999 (lrint_tonearest_test_data): Test for "inexact" exceptions.
31000 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31001 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31002 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31004 (lrint_towardzero_test_data): Test for "inexact" exceptions.
31005 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31006 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31007 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31009 (lrint_downward_test_data): Test for "inexact" exceptions.
31010 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31011 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31012 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31014 (lrint_upward_test_data): Test for "inexact" exceptions.
31015 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31017 (llrint_test_data): Test for "inexact" exceptions.
31018 (llrint_test_data) [TEST_FLOAT]: Disable one test.
31019 (llrint_tonearest_test_data): Test for "inexact" exceptions.
31020 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31021 (llrint_towardzero_test_data): Test for "inexact" exceptions.
31022 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31023 (llrint_downward_test_data): Test for "inexact" exceptions.
31024 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31025 (llrint_upward_test_data): Test for "inexact" exceptions.
31026 (logb_test_data): Likewise.
31027 (logb_downward_test_data): Likewise.
31028 (nextafter_test_data): Likewise.
31029 (nexttoward_test_data): Likewise.
31030 (remainder_test_data): Likewise.
31031 (remquo_test_data): Likewise.
31032 (scalbn_test_data): Likewise.
31033 (scalbln_test_data): Likewise.
31034 (signbit_test_data): Likewise.
31035 (sqrt_test_data): Likewise.
31036 (significand_test_data): Likewise.
31038 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31041 * benchtests/bench-modf.c (struct args): Mark arg0 as
31043 * scripts/bench.pl: Mark members of struct args as volatile.
31045 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31048 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31049 negative infinity on POWER6 or lower.
31050 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31052 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
31055 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31056 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31057 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31058 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31059 (_FP_SETQNAN): New macro.
31060 (_FP_SETQNAN_SEMIRAW): Likewise.
31061 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31062 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31063 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31064 (FP_EXTEND): Use _FP_FRAC_SNANP.
31065 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31066 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31068 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31070 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31073 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31075 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31076 with DIVIDE_BY_ZERO_EXCEPTION.
31077 (gamma_test_data): Likewise.
31078 (lgamma_test_data): Likewise.
31079 (log_test_data): Likewise.
31080 (log10_test_data): Likewise.
31081 (log2_test_data): Likewise.
31082 (tgamma_test_data): Likewise.
31084 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31085 (acos_test_tonearest): Likewise.
31086 (acos_test_towardzero): Likewise.
31087 (acos_test_downward): Likewise.
31088 (acos_test_upward): Likewise.
31089 (acosh_test): Likewise.
31090 (asin_test): Likewise.
31091 (asin_test_tonearest): Likewise.
31092 (asin_test_towardzero): Likewise.
31093 (asin_test_downward): Likewise.
31094 (asin_test_upward): Likewise.
31095 (asinh_test): Likewise.
31096 (atan_test): Likewise.
31097 (atanh_test): Likewise.
31098 (atan2_test): Likewise.
31099 (cabs_test): Likewise.
31100 (cacos_test): Likewise.
31101 (cacosh_test): Likewise.
31102 (casin_test): Likewise.
31103 (casinh_test): Likewise.
31104 (catan_test): Likewise.
31105 (catanh_test): Likewise.
31106 (cbrt_test): Likewise.
31107 (ccos_test): Likewise.
31108 (ccosh_test): Likewise.
31109 (cexp_test): Likewise.
31110 (clog_test): Likewise.
31111 (clog10_test): Likewise.
31112 (cos_test): Likewise.
31113 (cos_test_tonearest): Likewise.
31114 (cos_test_towardzero): Likewise.
31115 (cos_test_downward): Likewise.
31116 (cos_test_upward): Likewise.
31117 (cosh_test): Likewise.
31118 (cosh_test_tonearest): Likewise.
31119 (cosh_test_towardzero): Likewise.
31120 (cosh_test_downward): Likewise.
31121 (cosh_test_upward): Likewise.
31122 (cpow_test): Likewise.
31123 (csin_test): Likewise.
31124 (csinh_test): Likewise.
31125 (csqrt_test): Likewise.
31126 (ctan_test): Likewise.
31127 (ctan_test_tonearest): Likewise.
31128 (ctan_test_towardzero): Likewise.
31129 (ctan_test_downward): Likewise.
31130 (ctan_test_upward): Likewise.
31131 (ctanh_test): Likewise.
31132 (ctanh_test_tonearest): Likewise.
31133 (ctanh_test_towardzero): Likewise.
31134 (ctanh_test_downward): Likewise.
31135 (ctanh_test_upward): Likewise.
31136 (erf_test): Likewise.
31137 (erfc_test): Likewise.
31138 (exp_test): Likewise.
31139 (exp_test_tonearest): Likewise.
31140 (exp_test_towardzero): Likewise.
31141 (exp_test_downward): Likewise.
31142 (exp_test_upward): Likewise.
31143 (exp10_test): Likewise.
31144 (exp2_test): Likewise.
31145 (expm1_test): Likewise.
31146 (fmod_test): Likewise.
31147 (gamma_test): Likewise.
31148 (hypot_test): Likewise.
31149 (j0_test): Likewise.
31150 (j1_test): Likewise.
31151 (jn_test): Likewise.
31152 (lgamma_test): Likewise.
31153 (log_test): Likewise.
31154 (log10_test): Likewise.
31155 (log1p_test): Likewise.
31156 (log2_test): Likewise.
31157 (logb_test_downward): Likewise.
31158 (pow_test): Likewise.
31159 (pow_test_tonearest): Likewise.
31160 (pow_test_towardzero): Likewise.
31161 (pow_test_downward): Likewise.
31162 (pow_test_upward): Likewise.
31163 (remainder_test): Likewise.
31164 (remquo_test): Likewise.
31165 (sin_test): Likewise.
31166 (sin_test_tonearest): Likewise.
31167 (sin_test_towardzero): Likewise.
31168 (sin_test_downward): Likewise.
31169 (sin_test_upward): Likewise.
31170 (sincos_test): Likewise.
31171 (sinh_test): Likewise.
31172 (sinh_test_tonearest): Likewise.
31173 (sinh_test_towardzero): Likewise.
31174 (sinh_test_downward): Likewise.
31175 (sinh_test_upward): Likewise.
31176 (sqrt_test): Likewise.
31177 (tan_test): Likewise.
31178 (tan_test_tonearest): Likewise.
31179 (tan_test_towardzero): Likewise.
31180 (tan_test_downward): Likewise.
31181 (tan_test_upward): Likewise.
31182 (tanh_test): Likewise.
31183 (tgamma_test): Likewise.
31184 (y0_test): Likewise.
31185 (y1_test): Likewise.
31186 (yn_test): Likewise.
31188 * math/gen-libm-test.pl (adjust_arg): Remove function.
31189 (special_function): Remove argument $in_func. Only handle
31190 generating output for tables of tests, not inside functions.
31191 (parse_args): Likewise.
31192 (generate_testfile): Remove variable $in_func. Update call to
31194 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31195 (MINUS_ZERO_INIT): Rename macro to minus_zero.
31196 (PLUS_INFTY_INIT): Rename macro to plus_infty.
31197 (MINUS_INFTY_INIT): Rename macro to minus_infty.
31198 (QNAN_VALUE_INIT): Rename macro to qnan_value.
31199 (MAX_VALUE_INIT): Rename macro to max_value.
31200 (MIN_VALUE_INIT): Rename macro to min_value.
31201 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31202 (plus_zero): Remove variable.
31203 (minus_zero): Likewise.
31204 (plus_infty): Likewise.
31205 (minus_infty): Likewise.
31206 (qnan_value): Likewise.
31207 (max_value): Likewise.
31208 (min_value): Likewise.
31209 (min_subnorm_value): Likewise.
31211 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31213 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31214 uint64_t or uint32_t usage.
31215 * crypt/sha256-block.c: Likewise.
31216 * crypt/sha256-crypt.c: Likewise.
31217 * crypt/sha256.c: Likewise.
31218 * crypt/sha512-block.c: Likewise.
31219 * crypt/sha512-crypt.c: Likewise.
31220 * crypt/sha512.c: Likewise.
31221 * debug/backtrace-tst.c: Likewise.
31222 * debug/pcprofiledump.c: Likewise.
31223 * elf/cache.c: Likewise.
31224 * elf/dl-cache.c: Likewise.
31225 * elf/dl-misc.c: Likewise.
31226 * elf/dl-profile.c: Likewise.
31227 * elf/dl-support.c: Likewise.
31228 * elf/ldconfig.c: Likewise.
31229 * elf/sprof.c: Likewise.
31230 * iconv/dummy-repertoire.c: Likewise.
31231 * iconv/iconv_charmap.c: Likewise.
31232 * iconv/skeleton.c: Likewise.
31233 * iconvdata/8bit-generic.c: Likewise.
31234 * iconvdata/cp737.h: Likewise.
31235 * iconvdata/cp775.h: Likewise.
31236 * iconvdata/ibm1008.h: Likewise.
31237 * iconvdata/ibm1025.h: Likewise.
31238 * iconvdata/ibm1046.h: Likewise.
31239 * iconvdata/ibm1097.h: Likewise.
31240 * iconvdata/ibm1112.h: Likewise.
31241 * iconvdata/ibm1122.h: Likewise.
31242 * iconvdata/ibm1123.h: Likewise.
31243 * iconvdata/ibm1124.h: Likewise.
31244 * iconvdata/ibm1129.h: Likewise.
31245 * iconvdata/ibm1130.h: Likewise.
31246 * iconvdata/ibm1132.h: Likewise.
31247 * iconvdata/ibm1133.h: Likewise.
31248 * iconvdata/ibm1137.h: Likewise.
31249 * iconvdata/ibm1140.h: Likewise.
31250 * iconvdata/ibm1141.h: Likewise.
31251 * iconvdata/ibm1142.h: Likewise.
31252 * iconvdata/ibm1143.h: Likewise.
31253 * iconvdata/ibm1144.h: Likewise.
31254 * iconvdata/ibm1145.h: Likewise.
31255 * iconvdata/ibm1146.h: Likewise.
31256 * iconvdata/ibm1147.h: Likewise.
31257 * iconvdata/ibm1148.h: Likewise.
31258 * iconvdata/ibm1149.h: Likewise.
31259 * iconvdata/ibm1153.h: Likewise.
31260 * iconvdata/ibm1154.h: Likewise.
31261 * iconvdata/ibm1155.h: Likewise.
31262 * iconvdata/ibm1156.h: Likewise.
31263 * iconvdata/ibm1157.h: Likewise.
31264 * iconvdata/ibm1158.h: Likewise.
31265 * iconvdata/ibm1160.h: Likewise.
31266 * iconvdata/ibm1161.h: Likewise.
31267 * iconvdata/ibm1162.h: Likewise.
31268 * iconvdata/ibm1163.h: Likewise.
31269 * iconvdata/ibm1164.h: Likewise.
31270 * iconvdata/ibm1166.h: Likewise.
31271 * iconvdata/ibm1167.h: Likewise.
31272 * iconvdata/ibm12712.h: Likewise.
31273 * iconvdata/ibm1390.h: Likewise.
31274 * iconvdata/ibm1399.h: Likewise.
31275 * iconvdata/ibm16804.h: Likewise.
31276 * iconvdata/ibm4517.h: Likewise.
31277 * iconvdata/ibm4899.h: Likewise.
31278 * iconvdata/ibm4909.h: Likewise.
31279 * iconvdata/ibm4971.h: Likewise.
31280 * iconvdata/ibm5347.h: Likewise.
31281 * iconvdata/ibm803.h: Likewise.
31282 * iconvdata/ibm856.h: Likewise.
31283 * iconvdata/ibm901.h: Likewise.
31284 * iconvdata/ibm902.h: Likewise.
31285 * iconvdata/ibm9030.h: Likewise.
31286 * iconvdata/ibm9066.h: Likewise.
31287 * iconvdata/ibm921.h: Likewise.
31288 * iconvdata/ibm922.h: Likewise.
31289 * iconvdata/ibm9448.h: Likewise.
31290 * iconvdata/isiri-3342.h: Likewise.
31291 * iconvdata/jis0201.h: Likewise.
31292 * include/link.h: Likewise.
31293 * include/netdb.h: Likewise.
31294 * inet/check_native.c: Likewise.
31295 * inet/check_pf.c: Likewise.
31296 * inet/getipv4sourcefilter.c: Likewise.
31297 * inet/getnameinfo.c: Likewise.
31298 * inet/getsourcefilter.c: Likewise.
31299 * inet/htonl.c: Likewise.
31300 * inet/setipv4sourcefilter.c: Likewise.
31301 * inet/setsourcefilter.c: Likewise.
31302 * inet/test-inet6_opt.c: Likewise.
31303 * inet/tst-network.c: Likewise.
31304 * locale/C-collate.c: Likewise.
31305 * locale/C-ctype.c: Likewise.
31306 * locale/C-time.c: Likewise.
31307 * locale/C-translit.h: Likewise.
31308 * locale/loadarchive.c: Likewise.
31309 * locale/programs/3level.h: Likewise.
31310 * locale/programs/charmap.c: Likewise.
31311 * locale/programs/charmap.h: Likewise.
31312 * locale/programs/ld-address.c: Likewise.
31313 * locale/programs/ld-collate.c: Likewise.
31314 * locale/programs/ld-ctype.c: Likewise.
31315 * locale/programs/ld-identification.c: Likewise.
31316 * locale/programs/ld-measurement.c: Likewise.
31317 * locale/programs/ld-messages.c: Likewise.
31318 * locale/programs/ld-monetary.c: Likewise.
31319 * locale/programs/ld-name.c: Likewise.
31320 * locale/programs/ld-numeric.c: Likewise.
31321 * locale/programs/ld-paper.c: Likewise.
31322 * locale/programs/ld-telephone.c: Likewise.
31323 * locale/programs/ld-time.c: Likewise.
31324 * locale/programs/linereader.c: Likewise.
31325 * locale/programs/locale.c: Likewise.
31326 * locale/programs/locarchive.c: Likewise.
31327 * locale/programs/locfile.h: Likewise.
31328 * locale/programs/repertoire.c: Likewise.
31329 * locale/programs/simple-hash.c: Likewise.
31330 * locale/programs/simple-hash.h: Likewise.
31331 * malloc/memusage.c: Likewise.
31332 * malloc/memusagestat.c: Likewise.
31333 * nis/nis_defaults.c: Likewise.
31334 * nis/nis_hash.c: Likewise.
31335 * nis/nis_print.c: Likewise.
31336 * nis/nis_xdr.c: Likewise.
31337 * nscd/connections.c: Likewise.
31338 * nscd/hstcache.c: Likewise.
31339 * nscd/nscd_gethst_r.c: Likewise.
31340 * nscd/nscd_getserv_r.c: Likewise.
31341 * nscd/nscd_helper.c: Likewise.
31342 * nscd/servicescache.c: Likewise.
31343 * nss/makedb.c: Likewise.
31344 * nss/nss_db/db-XXX.c: Likewise.
31345 * nss/nss_db/db-initgroups.c: Likewise.
31346 * nss/nss_db/db-netgrp.c: Likewise.
31347 * nss/nss_files/files-network.c: Likewise.
31348 * nss/nss_files/files-parse.c: Likewise.
31349 * posix/bug-regex5.c: Likewise.
31350 * posix/fnmatch_loop.c: Likewise.
31351 * posix/regcomp.c: Likewise.
31352 * posix/regexec.c: Likewise.
31353 * posix/tst-rfc3484-2.c: Likewise.
31354 * posix/tst-rfc3484-3.c: Likewise.
31355 * posix/tst-rfc3484.c: Likewise.
31356 * resolv/nss_dns/dns-canon.c: Likewise.
31357 * resolv/nss_dns/dns-network.c: Likewise.
31358 * resolv/res_init.c: Likewise.
31359 * resolv/res_mkquery.c: Likewise.
31360 * resolv/tst-aton.c: Likewise.
31361 * stdlib/cxa_atexit.c: Likewise.
31362 * stdlib/cxa_finalize.c: Likewise.
31363 * stdlib/gen-fpioconst.c: Likewise.
31364 * stdlib/strtol_l.c: Likewise.
31365 * string/tst-endian.c: Likewise.
31366 * sunrpc/auth_des.c: Likewise.
31367 * sunrpc/clnt_udp.c: Likewise.
31368 * sunrpc/rtime.c: Likewise.
31369 * sunrpc/svcauth_des.c: Likewise.
31370 * sunrpc/xdr.c: Likewise.
31371 * sunrpc/xdr_intXX_t.c: Likewise.
31372 * sunrpc/xdr_rec.c: Likewise.
31373 * sysdeps/generic/ldconfig.h: Likewise.
31374 * sysdeps/generic/ldsodefs.h: Likewise.
31375 * sysdeps/generic/memusage.h: Likewise.
31376 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31377 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31378 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31379 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31381 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31384 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31386 * sysdeps/posix/getaddrinfo.c: Likewise.
31387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31389 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31391 * sysdeps/powerpc/test-gettimebase.c: Likewise.
31392 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31393 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31394 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31395 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31396 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31397 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31398 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31399 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31400 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31401 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31402 * sysdeps/x86_64/dl-tls.h: Likewise.
31403 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31404 * time/alt_digit.c: Likewise.
31405 * time/era.c: Likewise.
31406 * wcsmbs/tst-c16c32-1.c: Likewise.
31408 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31410 * math/libm-test.inc (struct test_sincos_data): New type.
31411 (RUN_TEST_LOOP_sincos): New macro.
31412 (sincos_test_data): New variable.
31413 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31415 2013-05-16 Richard Henderson <rth@redhat.com>
31417 * math/atest-exp2.c (LIMB64): New macro.
31418 (CONSTSZ): New macro.
31419 (mp_exp1, mp_exp_m1, mp_log2): New variables.
31421 (print_mpn_fp): ... to function scope.
31422 (read_mpn_hex): Remove.
31423 (get_log2): Remove.
31424 (exp2_mpn): Use mp_log2.
31425 (main): Use mp_exp1.
31427 2013-05-16 Joseph Myers <joseph@codesourcery.com>
31429 * math/libm-test.inc: Remove comment about not testing "inexact"
31431 (INEXACT_EXCEPTION): New macro.
31432 (NO_INEXACT_EXCEPTION): Likewise.
31433 (INVALID_EXCEPTION_OK): Update value.
31434 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31435 (OVERFLOW_EXCEPTION_OK): Likewise.
31436 (UNDERFLOW_EXCEPTION_OK): Likewise.
31437 (IGNORE_ZERO_INF_SIGN): Likewise.
31438 (ERRNO_UNCHANGED): Likewise.
31439 (ERRNO_EDOM): Likewise.
31440 (ERRNO_ERANGE): Likewise.
31441 (test_exceptions): Handle testing "inexact" exceptions.
31442 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31443 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31444 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31445 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31447 (rint_towardzero_test_data): Likewise.
31448 (rint_downward_test_data): Likewise.
31449 (rint_upward_test_data): Likewise.
31451 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31452 with OVERFLOW_EXCEPTION.
31453 (exp10_test_data): Likewise.
31454 (exp2_test_data): Likewise.
31455 (expm1_test_data): Likewise.
31456 (lgamma_test_data): Likewise.
31457 (pow_test_data): Likewise.
31458 (tgamma_test_data): Likewise.
31459 (yn_test_data): Remove duplicate test of overflow.
31461 * math/libm-test.inc (struct test_cc_c_data): New type.
31462 (RUN_TEST_LOOP_cc_c): New macro.
31463 (cpow_test_data): New variable.
31464 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31466 * math/libm-test.inc (struct test_f_L_data): New type.
31467 (RUN_TEST_LOOP_f_L): New macro.
31468 (llrint_test_data): New variable.
31469 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31470 (llrint_tonearest_test_data): New variable.
31471 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31472 (llrint_towardzero_test_data): New variable.
31473 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31474 (llrint_downward_test_data): New variable.
31475 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31476 (llrint_upward_test_data): New variable.
31477 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31478 (llround_test_data): New variable.
31479 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31481 2013-05-13 Peter Collingbourne <pcc@google.com>
31483 * math/atest-exp2.c (get_log2): Remove const attribute.
31485 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31487 * math/libm-test.inc (struct test_f_l_data): New type.
31488 (RUN_TEST_LOOP_f_l): New macro.
31489 (lrint_test_data): New variable.
31490 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31491 (lrint_tonearest_test_data): New variable.
31492 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31493 (lrint_towardzero_test_data): New variable.
31494 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31495 (lrint_downward_test_data): New variable.
31496 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31497 (lrint_upward_test_data): New variable.
31498 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31499 (lround_test_data): New variable.
31500 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31502 2013-05-15 Peter Collingbourne <pcc@google.com>
31504 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31505 (EXTRACT_WORDS64) Use where appropriate.
31506 (INSERT_WORDS64) Likewise.
31508 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31509 constraints with x constraints.
31510 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31512 * malloc/obstack.c (_obstack_compat): Add initializer.
31514 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
31516 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31517 si_trapno and add si_addr_lsb to _sifields.sigfault.
31518 (si_trapno): Remove macro.
31519 (si_addr_lsb): Define new macro.
31520 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31522 2013-05-15 Joseph Myers <joseph@codesourcery.com>
31524 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31525 instead of TEST_f_l.
31526 (llrint_test_tonearest): Likewise.
31527 (llrint_test_towardzero): Likewise.
31528 (llrint_test_downward): Likewise.
31529 (llrint_test_upward): Likewise.
31530 (llround_test): Likewise.
31532 * math/libm-test.inc (struct test_f_i_data): Add comment.
31533 (RUN_TEST_LOOP_f_b): New macro.
31534 (RUN_TEST_LOOP_f_b_tg): Likewise.
31535 (finite_test_data): New variable.
31536 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31537 (isfinite_test_data): New variable.
31538 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31539 (isinf_test_data): New variable.
31540 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31541 (isnan_test_data): New variable.
31542 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31543 (isnormal_test_data): New variable.
31544 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31545 (issignaling_test_data): New variable.
31546 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31547 (signbit_test_data): New variable.
31548 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31550 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31551 with INVALID_EXCEPTION.
31552 (acosh_test_data): Likewise.
31553 (asin_test_data): Likewise.
31554 (atanh_test_data): Likewise.
31555 (fmod_test_data): Likewise.
31556 (log_test_data): Likewise.
31557 (log10_test_data): Likewise.
31558 (log2_test_data): Likewise.
31559 (pow_test_data): Likewise.
31560 (sqrt_test_data): Likewise.
31561 (y0_test_data): Likewise.
31562 (y1_test_data): Likewise.
31563 (yn_test_data): Likewise.
31565 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31568 * math/libm-test.inc (struct test_ff_i_data): New type.
31569 (RUN_TEST_LOOP_ff_i_tg): New macro.
31570 (isgreater_test_data): New variable.
31571 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31572 (isgreaterequal_test_data): New variable.
31573 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31574 (isless_test_data): New variable.
31575 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31576 (islessequal_test_data): New variable.
31577 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31578 (islessgreater_test_data): New variable.
31579 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31580 (isunordered_test_data): New variable.
31581 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31583 2013-05-14 David S. Miller <davem@davemloft.net>
31585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31587 2013-05-14 Joseph Myers <joseph@codesourcery.com>
31589 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31591 * math/libm-test.inc (struct test_fF_f1_data): Change type of
31593 (struct test_f_i_data): Change type of max_ulp to int.
31595 * math/libm-test.inc (test_ffI_f1_data): New type.
31596 (RUN_TEST_LOOP_ffI_f1): New macro.
31597 (remquo_test_data): New variable.
31598 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31600 * setjmp/tst-setjmp-fp.c: New file.
31601 * setjmp/Makefile (tests): Add tst-setjmp-fp.
31602 (link-libm): New variable.
31603 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31605 * math/libm-test.inc (struct test_f_i_data): New type.
31606 (RUN_TEST_LOOP_f_i): New macro.
31607 (RUN_TEST_LOOP_f_i_tg): Likewise.
31608 (fpclassify_test_data): New variable.
31609 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31610 (ilogb_test_data): New variable.
31611 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31613 * math/libm-test.inc (scalbln_test): Correct function name in END
31616 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31617 (RUN_TEST_LOOP_fI_f1): New macro.
31618 (frexp_test_data): New variable.
31619 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31621 * math/libm-test.inc (struct test_fF_f1_data): New type.
31622 (RUN_TEST_LOOP_fF_f1): New macro.
31623 (modf_test_data): New variable.
31624 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31626 * math/libm-test.inc (struct test_f_f1_data): New type.
31627 (RUN_TEST_LOOP_f_f1): New macro.
31628 (gamma_test_data): New variable.
31629 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31630 (lgamma_test_data): New variable.
31631 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31633 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31636 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31637 (main): Comment "tls" pseudo-hwcap.
31639 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31641 * math/libm-test.inc (struct test_fl_f_data): New type.
31642 (RUN_TEST_LOOP_fl_f): New variable.
31643 (scalbln_test_data): New variable.
31644 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31646 * math/libm-test.inc (struct test_fi_f_data): New type.
31647 (RUN_TEST_LOOP_fi_f): New macro.
31648 (ldexp_test_data): New variable.
31649 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31650 (scalbn_test_data): New variable.
31651 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31653 * math/libm-test.inc (struct test_c_f_data): New type.
31654 (RUN_TEST_LOOP_c_f): New macro.
31655 (cabs_test_data): New variable.
31656 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31657 (carg_test_data): New variable.
31658 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31659 (cimag_test_data): New variable.
31660 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31661 (creal_test_data): New variable.
31662 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31664 * math/libm-test.inc (struct test_if_f_data): New type.
31665 (RUN_TEST_LOOP_if_f): New macro.
31666 (jn_test_data): New variable.
31667 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31668 (yn_test_data): New variable.
31669 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31671 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31673 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31675 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31676 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31678 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31680 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31681 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31682 (bench-deps): Add bench-timing.h.
31683 * benchtests-bench-skeleton.c: Include bench-timing.h.
31684 (main): Use TIMING_* macros instead of clock_gettime.
31685 * benchtests/bench-timing.h: New file.
31688 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31689 Renamed from _LIB_VERSION.
31690 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31692 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31694 * math/libm-test.inc (struct test_fff_f_data): New type.
31695 (RUN_TEST_LOOP_fff_f): New macro.
31696 (fma_test_data): New variable.
31697 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31698 (fma_towardzero_test_data): New variable.
31699 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31700 (fma_downward_test_data): New variable.
31701 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31702 (fma_upward_test_data): New variable.
31703 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31705 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31706 (struct test_c_c_data): New type.
31707 (RUN_TEST_LOOP_c_c): New macro.
31708 (cacos_test_data): New variable.
31709 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31710 (cacosh_test_data): New variable.
31711 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31712 (casin_test_data): New variable.
31713 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31714 (casinh_test_data): New variable.
31715 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31716 (catan_test_data): New variable.
31717 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31718 (catanh_test_data): New variable.
31719 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31720 (ccos_test_data): New variable.
31721 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31722 (ccosh_test_data): New variable.
31723 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31724 (cexp_test_data): New variable.
31725 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31726 (clog_test_data): New variable.
31727 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31728 (clog10_test_data): New variable.
31729 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31730 (conj_test_data): New variable.
31731 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31732 (cproj_test_data): New variable.
31733 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31734 (csin_test_data): New variable.
31735 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31736 (csinh_test_data): New variable.
31737 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31738 (csqrt_test_data): New variable.
31739 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31740 (ctan_test_data): New variable.
31741 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31742 (ctan_tonearest_test_data): New variable.
31743 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31744 (ctan_towardzero_test_data): New variable.
31745 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31746 (ctan_downward_test_data): New variable.
31747 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31748 (ctan_upward_test_data): New variable.
31749 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31750 (ctanh_test_data): New variable.
31751 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31752 (ctanh_tonearest_test_data): New variable.
31753 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31754 (ctanh_towardzero_test_data): New variable.
31755 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31756 (ctanh_downward_test_data): New variable.
31757 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31758 (ctanh_upward_test_data): New variable.
31759 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31760 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31763 * math/libm-test.inc (struct test_ff_f_data): New type.
31764 (struct test_ff_f_data_nexttoward): Likewise.
31765 (RUN_TEST_LOOP_2_f): New macro.
31766 (RUN_TEST_LOOP_ff_f): Likewise.
31767 (atan2_test_data): New variable.
31768 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31769 (copysign_test_data): New variable.
31770 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31771 (fdim_test_data): New variable.
31772 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31773 (fmax_test_data): New variable.
31774 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31775 (fmin_test_data): New variable.
31776 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31777 (fmod_test_data): New variable.
31778 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31779 (hypot_test_data): New variable.
31780 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31781 (nextafter_test_data): New variable.
31782 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31783 (nexttoward_test_data): New variable.
31784 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31785 (pow_test_data): New variable.
31786 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31787 (pow_tonearest_test_data): New variable.
31788 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31789 (pow_towardzero_test_data): New variable.
31790 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31791 (pow_downward_test_data): New variable.
31792 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31793 (pow_upward_test_data): New variable.
31794 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31795 (remainder_test_data): New variable.
31796 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31797 (scalb_test_data): New variable.
31798 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31799 * sysdeps/i386/fpu/libm-test-ulps: Update.
31801 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31803 * math/libm-test.inc (fma_test): Use max_value instead of local
31805 (nextafter_test): Likewise.
31807 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31808 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31809 (acos_downward_test_data): New variable.
31810 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31811 (acos_upward_test_data): New variable.
31812 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31813 (acosh_test_data): New variable.
31814 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31815 (asin_test_data): New variable.
31816 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31817 (asin_tonearest_test_data): New variable.
31818 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31819 (asin_towardzero_test_data): New variable.
31820 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31821 (asin_downward_test_data): New variable.
31822 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31823 (asin_upward_test_data): New variable.
31824 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31825 (asinh_test_data): New variable.
31826 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31827 (atan_test_data): New variable.
31828 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31829 (atanh_test_data): New variable.
31830 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31831 (cbrt_test_data): New variable.
31832 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31833 (ceil_test_data): New variable.
31834 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31835 (cos_test_data): New variable.
31836 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31837 (cos_tonearest_test_data): New variable.
31838 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31839 (cos_towardzero_test_data): New variable.
31840 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31841 (cos_downward_test_data): New variable.
31842 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31843 (cos_upward_test_data): New variable.
31844 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31845 (cosh_test_data): New variable.
31846 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31847 (cosh_tonearest_test_data): New variable.
31848 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31849 (cosh_towardzero_test_data): New variable.
31850 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31851 (cosh_downward_test_data): New variable.
31852 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31853 (cosh_upward_test_data): New variable.
31854 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31855 (erf_test_data): New variable.
31856 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31857 (erfc_test_data): New variable.
31858 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31859 (exp_test_data): New variable.
31860 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31861 (exp_tonearest_test_data): New variable.
31862 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31863 (exp_towardzero_test_data): New variable.
31864 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31865 (exp_downward_test_data): New variable.
31866 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31867 (exp_upward_test_data): New variable.
31868 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31869 (exp10_test_data): New variable.
31870 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31871 (exp2_test_data): New variable.
31872 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31873 (expm1_test_data): New variable.
31874 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31875 (fabs_test_data): New variable.
31876 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31877 (floor_test_data): New variable.
31878 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31879 (j0_test_data): New variable.
31880 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31881 (j1_test_data): New variable.
31882 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31883 (log_test_data): New variable.
31884 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31885 (log10_test_data): New variable.
31886 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31887 (log1p_test_data): New variable.
31888 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31889 (log2_test_data): New variable.
31890 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31891 (logb_test_data): New variable.
31892 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31893 (logb_downward_test_data): New variable.
31894 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31895 (nearbyint_test_data): New variable.
31896 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31897 (rint_test_data): New variable.
31898 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31899 (rint_tonearest_test_data): New variable.
31900 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31901 (rint_towardzero_test_data): New variable.
31902 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31903 (rint_downward_test_data): New variable.
31904 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31905 (rint_upward_test_data): New variable.
31906 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31907 (round_test_data): New variable.
31908 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31909 (sin_test_data): New variable.
31910 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31911 (sin_tonearest_test_data): New variable.
31912 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31913 (sin_towardzero_test_data): New variable.
31914 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31915 (sin_downward_test_data): New variable.
31916 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31917 (sin_upward_test_data): New variable.
31918 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31919 (sinh_test_data): New variable.
31920 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31921 (sinh_tonearest_test_data): New variable.
31922 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31923 (sinh_towardzero_test_data): New variable.
31924 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31925 (sinh_downward_test_data): New variable.
31926 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31927 (sinh_upward_test_data): New variable.
31928 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31929 (sqrt_test_data): New variable.
31930 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31931 (tan_test_data): New variable.
31932 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31933 (tan_tonearest_test_data): New variable.
31934 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31935 (tan_towardzero_test_data): New variable.
31936 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31937 (tan_downward_test_data): New variable.
31938 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31939 (tan_upward_test_data): New variable.
31940 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31941 (tanh_test_data): New variable.
31942 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31943 (tgamma_test_data): New variable.
31944 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31945 (trunc_test_data): New variable.
31946 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31947 (y0_test_data): New variable.
31948 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31949 (y1_test_data): New variable.
31950 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31951 (significand_test_data): New variable.
31952 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31954 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31957 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31959 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31961 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31963 2013-05-10 Andreas Jaeger <aj@suse.de>
31966 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31967 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31969 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31971 * math/gen-libm-test.pl (adjust_arg): New function.
31972 (special_functions): Handle generating output in both functions
31974 (parse_args): Likewise.
31975 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31976 $in_func argument to parse_args.
31977 * math/libm-test.inc (struct test_f_f_data): New type.
31978 (IF_ROUND_INIT_): New macro.
31979 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31980 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31981 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31982 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31983 (ROUND_RESTORE_): Likewise.
31984 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31985 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31986 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31987 (ROUND_RESTORE_FE_UPWARD): Likewise.
31988 (RUN_TEST_LOOP_f_f): New macro.
31989 (acos_test_data): New variable.
31990 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31991 (acos_tonearest_test_data): New variable.
31992 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31994 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31996 * benchtests/bench-skeleton.c (startup): Fix coding style.
31998 2013-05-10 Joseph Myers <joseph@codesourcery.com>
32001 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32002 negative infinity argument.
32003 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32004 negative infinity argument.
32005 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32006 negative infinity argument.
32007 * math/libm-test.inc (tgamma_test): Expect errno to be set for
32010 2013-05-10 Florian Weimer <fweimer@redhat.com>
32012 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32013 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32014 * iconv/iconv_prog.c (main): Likewise.
32015 * locale/programs/charmap-dir.c (charmap_readdir)
32016 (fopen_uncompressed): Likewise.
32017 * locale/programs/locfile.c (siblings_uncached)
32018 (write_locale_data): Use lstat64 instead of lstat.
32019 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32022 2013-05-10 Andreas Jaeger <aj@suse.de>
32025 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32027 Include <locale.h>.
32029 2013-05-09 Carlos O'Donell <carlos@redhat.com>
32031 * elf/dl-close.c (_dl_close_worker): Add comments.
32033 2013-05-09 Joseph Myers <joseph@codesourcery.com>
32036 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32038 (__ieee754_rem_pio2l): Update comments.
32041 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32043 (__ieee754_rem_pio2l): Update comments.
32045 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32046 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32048 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32051 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32052 (M_PI_34_LOG10El): Likewise.
32053 (M_PI2_LOG10El): Likewise.
32054 (M_PI4_LOG10El): Likewise.
32055 (M_PI_LOG10El): Likewise.
32057 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32061 2013-05-08 Joseph Myers <joseph@codesourcery.com>
32063 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32064 (MINUS_ZERO_INIT): Likewise.
32065 (PLUS_INFTY_INIT): Likewise.
32066 (MINUS_INFTY_INIT): Likewise.
32067 (QNAN_VALUE_INIT): Likewise.
32068 (MAX_VALUE_INIT): Likewise.
32069 (MIN_VALUE_INIT): Likewise.
32070 (MIN_SUBNORM_VALUE_INIT): Likewise.
32071 (plus_zero): Initialize with PLUS_ZERO_INIT.
32072 (minus_zero): Initialize with MINUS_ZERO_INIT.
32073 (plus_infty): Initialize with PLUS_INFTY_INIT.
32074 (minus_infty): Initialize with MINUS_INFTY_INIT.
32075 (qnan_value): Initialize with QNAN_VALUE_INIT.
32076 (max_value): Initialize with MAX_VALUE_INIT.
32077 (min_value): Initialize with MIN_VALUE_INIT.
32078 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32080 * math/libm-test.inc (RUN_TEST_if_f): New macro.
32081 (jn_test): Use TEST_if_f instead of TEST_ff_f.
32082 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32083 (yn_test): Use TEST_if_f instead of TEST_ff_f.
32085 * math/libm-test.inc (RUN_TEST_f_f): New macro.
32086 (RUN_TEST_2_f): Likewise.
32087 (RUN_TEST_ff_f): Likewise.
32088 (RUN_TEST_fi_f): Likewise.
32089 (RUN_TEST_fl_f): Likewise.
32090 (RUN_TEST_fff_f): Likewise.
32091 (RUN_TEST_c_f): Likewise.
32092 (RUN_TEST_f_f1): Likewise.
32093 (RUN_TEST_fF_f1): Likewise.
32094 (RUN_TEST_fI_f1): Likewise.
32095 (RUN_TEST_ffI_f1): Likewise.
32096 (RUN_TEST_c_c): Likewise.
32097 (RUN_TEST_cc_c): Likewise.
32098 (RUN_TEST_f_i): Likewise.
32099 (RUN_TEST_f_i_tg): Likewise.
32100 (RUN_TEST_ff_i_tg): Likewise.
32101 (RUN_TEST_f_b): Likewise.
32102 (RUN_TEST_f_b_tg): Likewise.
32103 (RUN_TEST_f_l): Likewise.
32104 (RUN_TEST_f_L): Likewise.
32105 (RUN_TEST_sincos): Likewise.
32106 * math/gen-libm-test.pl (new_test): Take new argument to indicate
32107 whether to show exceptions. Do not include ");\n" in return
32109 (special_functions): Output call to RUN_TEST_sincos instead of
32110 check_float calls. Update calls to new_test.
32111 (parse_args): Output call to single RUN_TEST_* macro instead of
32112 check_* calls and other assignments. Update calls to new_test.
32118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32119 input to result for tgamma overflow.
32120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32121 (gamma_coeff): New variable.
32122 (NCOEFF): New macro.
32123 (gamma_positive): New function.
32124 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32125 underflow here. Use gamma_positive instead of exp (lgamma) for
32127 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32128 (gamma_coeff): New variable.
32129 (NCOEFF): New macro.
32130 (gammaf_positive): New function.
32131 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32132 underflow here. Use gamma_positive instead of exp (lgamma) for
32134 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32135 (gamma_coeff): New variable.
32136 (NCOEFF): New macro.
32137 (gammal_positive): New function.
32138 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32139 underflow here. Use gamma_positive instead of exp (lgamma) for
32141 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32142 (gamma_coeff): New variable.
32143 (NCOEFF): New macro.
32144 (gammal_positive): New function.
32145 (__ieee754_gammal_r): Handle positive infinity, overflow and
32146 underflow here. Handle NaN the same as positive infinity. Remove
32147 check x < 0xffffffff for negative integers. Use gamma_positive
32148 instead of exp (lgamma) for other arguments.
32149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32150 (gamma_coeff): New variable.
32151 (NCOEFF): New macro.
32152 (gammal_positive): New function.
32153 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32154 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32155 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32156 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32157 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32158 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32159 * sysdeps/generic/math_private.h (__gamma_productf): New
32161 (__gamma_product): Likewise.
32162 (__gamma_productl): Likewise.
32163 * math/Makefile (libm-calls): Add gamma_product.
32164 * math/libm-test.inc (tgamma_test): Add more tests.
32165 * sysdeps/i386/fpu/libm-test-ulps: Update.
32166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32168 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
32170 * benchtests/bench-skeleton.c (main): Preheat CPU.
32172 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
32174 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32176 2013-05-07 Roland McGrath <roland@hack.frob.com>
32178 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32179 and _dl_skip_args_internal.
32181 2013-05-07 Carlos O'Donell <carlos@redhat.com>
32183 * manual/message.texi (Message Translation): Talk about users.
32184 Message to key mapping impacts design.
32186 2013-05-06 Roland McGrath <roland@hack.frob.com>
32188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32190 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32192 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32193 * sysdeps/wordsize-64/glob64.c: ... here.
32195 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32196 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32199 * debug/getlogin_r_chk.c: Moved to ...
32200 * login/getlogin_r_chk.c: ... here.
32201 * debug/Makefile (routines): Move getlogin_r_chk to ...
32202 * login/Makefile (routines): ... here.
32203 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32204 * login/Versions (libc: GLIBC_2.4): ... here.
32206 * io/poll.c (__poll): Renamed from poll.
32207 Add libc_hidden_def.
32208 (poll): Define as weak alias.
32210 * debug/ptsname_r_chk.c: Moved to ...
32211 * login/ptsname_r_chk.c: ... here.
32212 * debug/Makefile (routines): Move ptsname_r_chk to ...
32213 * login/Makefile (routines): ... here.
32214 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32215 * login/Versions (libc: GLIBC_2.4): ... here.
32217 * posix/getlogin.c: Moved to ...
32218 * login/getlogin.c: ... here.
32219 * posix/getlogin_r.c: Moved to ...
32220 * login/getlogin_r.c: ... here.
32221 * posix/getlogin_r.c: Moved to ...
32222 * login/getlogin_r.c: ... here.
32223 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32224 * login/Makefile (routines): ... here.
32225 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32226 * login/Versions (libc: GLIBC_2.0): ... here.
32228 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32229 (setrlimit): Define as weak alias.
32231 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32232 Call __ names for open, ftruncate, and close.
32233 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32234 (truncate): Define as weak alias.
32236 2013-05-06 Joseph Myers <joseph@codesourcery.com>
32238 * math/gen-libm-test.pl (parse_args): Initialize x before each
32239 test of frexp, modf and remquo.
32241 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32242 test signgam value.
32244 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32248 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32250 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32252 2013-05-06 Roland McGrath <roland@hack.frob.com>
32254 * elf/dl-writev.h: New file.
32255 * elf/dl-misc.c: Include it.
32256 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32257 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32259 2013-05-04 Joseph Myers <joseph@codesourcery.com>
32261 * math/libm-test.inc (noXFails): Remove variable.
32262 (noXPasses): Likewise.
32263 (BUILD_COMPLEX_INT): Remove macro.
32264 (print_screen): Remove xfail argument.
32265 (print_screen_max_error): Likewise.
32266 (update_stats): Likewise.
32267 (print_max_error): Likewise. Update calls to other affected
32269 (print_complex_max_error): Likewise.
32270 (test_single_exception): Update calls to print_screen.
32271 (test_single_errno): Likewise.
32272 (check_float_internal): Remove xfail argument. Update calls to
32273 other affected functions.
32274 (check_float): Likewise.
32275 (check_complex): Likewise.
32276 (check_int): Likewise.
32277 (check_long): Likewise.
32278 (check_bool): Likewise.
32279 (check_longlong): Likewise.
32280 (main): Don't print noXFails and noXPasses.
32281 * math/gen-libm-test.pl (top level): Don't mention expected
32282 failure handling in comment.
32283 (new_test): Don't handle expected failures.
32284 (parse_args): Don't mention expected failure handling in comment.
32285 (generate_testfile): Don't handle expected failures.
32286 (parse_ulps): Likewise.
32287 (print_ulps_file): Likewise.
32288 (get_failure): Remove function.
32289 (output_test): Don't handle expected failures.
32290 * make/README.libm-test: Don't mention expected failure handling.
32292 * math/libm-test.inc (plus_zero): Make const. Add initializer.
32293 (minus_zero): Likewise.
32294 (plus_infty): Likewise.
32295 (minus_infty): Likewise.
32296 (qnan_value): Likewise.
32297 (max_value): Likewise.
32298 (min_value): Likewise.
32299 (min_subnorm_value): Likewise.
32300 (initialize): Do not initialize those variables dynamically.
32302 2013-05-03 Roland McGrath <roland@hack.frob.com>
32304 * io/open.c (__open_2): Moved to ...
32305 * io/open_2.c: ... this new file.
32306 * io/open64.c (__open64_2): Moved to ...
32307 * io/open64_2.c: ... this new file.
32308 * io/openat.c (__openat_2): Moved to ...
32309 * io/openat_2.c: ... this new file.
32310 * io/openat64.c (__openat64_2): Moved to ...
32311 * io/openat64_2.c: ... this new file.
32312 * io/Makefile (routines): Add them.
32313 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32314 * sysdeps/unix/sysv/linux/open_2.c: File removed.
32315 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32316 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32317 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32318 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32319 (__openat64): Add hidden_ver.
32320 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32321 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32323 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32324 Separately conditionalize setting of GLRO(dl_sysinfo) so
32325 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32326 as well, but the actual setting is only under [NEED_DL_SYSINFO].
32328 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32333 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32334 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32335 (_libc_vdso_platform_setup): Add __vdso_time initialization.
32336 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32337 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32339 2013-05-03 Joseph Myers <joseph@codesourcery.com>
32341 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32342 test signgam value.
32344 * math/libm-test.inc (hypot_test): Do not use
32345 IGNORE_ZERO_INF_SIGN.
32347 2013-05-03 Andreas Jaeger <aj@suse.de>
32349 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32351 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32352 (PF_MAX): Adjust for VSOCK change.
32354 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32358 2013-05-02 Carlos O'Donell <carlos@redhat.com>
32361 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32362 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32363 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32365 2013-05-02 David S. Miller <davem@davemloft.net>
32367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32369 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
32371 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32373 2013-05-01 Roland McGrath <roland@hack.frob.com>
32375 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32377 2013-05-01 Richard Smith <richard@metafoo.co.uk>
32380 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32381 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32382 Use __attribute__ ((__gnu_inline__)).
32383 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32384 Don't use __attribute__ ((__gnu_inline__)).
32386 2013-05-01 Joseph Myers <joseph@codesourcery.com>
32389 * math/s_catan.c (__catan): Handle small real or imaginary part of
32390 input specially to avoid spurious underflow.
32391 * math/s_catanf.c (__catanf): Likewise.
32392 * math/s_catanh.c (__catanh): Likewise.
32393 * math/s_catanhf.c (__catanhf): Likewise.
32394 * math/s_catanhl.c (__catanhl): Likewise.
32395 * math/s_catanl.c (__catanl): Likewise.
32396 * math/libm-test.inc (catan_test): Add more tests.
32397 (catanh_test): Likewise.
32398 * sysdeps/i386/fpu/libm-test-ulps: Update.
32399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32401 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32405 2013-04-30 Joseph Myers <joseph@codesourcery.com>
32408 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32409 accurately for denominator in atan2.
32410 * math/s_catanf.c (__catanf): Likewise.
32411 * math/s_catanh.c (__catanh): Likewise.
32412 * math/s_catanhf.c (__catanhf): Likewise.
32413 * math/s_catanhl.c (__catanhl): Likewise.
32414 * math/s_catanl.c (__catanl): Likewise.
32415 * math/libm-test.inc (catan_test): Add more tests.
32416 (catanh_test): Likewise.
32417 * sysdeps/i386/fpu/libm-test-ulps: Update.
32418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32420 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32422 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32424 * benchtests/Makefile (bench): Remove slow benchmarks.
32425 * benchtests/atan-inputs: Add slow benchmark inputs.
32426 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32427 (BENCH_FUNC): Accept variant offset.
32429 * benchtests/bench-skeleton.c (main): Run benchmark for each
32431 * benchtests/cos-inputs: Add slow benchmark inputs.
32432 * benchtests/exp-inputs: Likewise.
32433 * benchtests/pow-inputs: Likewise.
32434 * benchtests/sin-inputs: Likewise.
32435 * benchtests/slowatan-inputs: Remove.
32436 * benchtests/slowatan.c: Remove.
32437 * benchtests/slowcos-inputs: Remove.
32438 * benchtests/slowcos.c: Remove.
32439 * benchtests/slowexp-inputs: Remove.
32440 * benchtests/slowexp.c: Remove.
32441 * benchtests/slowpow-inputs: Remove.
32442 * benchtests/slowpow.c: Remove.
32443 * benchtests/slowsin-inputs: Remove.
32444 * benchtests/slowsin.c: Remove.
32445 * benchtests/slowtan-inputs: Remove.
32446 * benchtests/slowtan.c: Remove.
32447 * benchtests/tan-inputs: Add slow benchmark inputs.
32448 * scripts/bench.pl: Parse comments and directives.
32450 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
32452 ($(objpfx)bench-%.c): Remove *-ITER.
32453 * benchtests/bench-modf.c: Remove definition of ITER.
32454 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32455 (main): Loop for DURATION seconds instead of fixed number of
32457 * scripts/bench.pl: Don't expect iterations in parameters.
32459 2013-04-29 Roland McGrath <roland@hack.frob.com>
32461 * io/fchdir.c (__fchdir): Renamed from fchdir.
32462 (fchdir): Define as weak alias.
32464 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32466 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32467 (ERRNO_EDOM): Likewise.
32468 (ERRNO_ERANGE): Likewise.
32469 (noErrnoTests): New variable.
32470 (init_max_error): Set errno to 0.
32471 (test_single_errno): New function.
32472 (test_errno): Likewise.
32473 (check_float_internal): Call test_errno. Set errno to 0.
32474 (check_complex): Refer to errno tests in comment.
32475 (check_int): Call test_errno. Set errno to 0.
32476 (check_long): Likewise.
32477 (check_bool): Likewise.
32478 (check_longlong): Likewise.
32479 (cos_test): Use ERRNO_* flags for errno tests instead of
32481 (expm1_test): Likewise.
32482 (fmod_test): Likewise.
32483 (ilogb_test): Likewise.
32484 (lgamma_test): Likewise.
32485 (pow_test): Likewise.
32486 (remainder_test): Likewise.
32487 (sin_test): Likewise.
32488 (tan_test): Likewise.
32489 (yn_test): Likewise.
32490 (initialize): Set errno to 0.
32491 (main): Print number of errno tests.
32492 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32494 2013-04-29 Andreas Jaeger <aj@suse.de>
32497 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32501 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32502 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32506 * stdlib/random.c (__initstate): Return NULL if
32510 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32511 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32514 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32518 2013-04-29 Joseph Myers <joseph@codesourcery.com>
32520 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32521 of individual tests.
32522 (casin_test): Likewise.
32523 (casinh_test): Likewise.
32525 2013-04-27 Joseph Myers <joseph@codesourcery.com>
32528 * math/s_catan.c (__catan): Handle arguments with large real or
32529 imaginary part separately without squaring.
32530 * math/s_catanf.c (__catanf): Likewise.
32531 * math/s_catanh.c (__catanh): Likewise.
32532 * math/s_catanhf.c (__catanhf): Likewise.
32533 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32535 (__catanhl): Handle arguments with large real or imaginary part
32536 separately without squaring.
32537 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32539 (__catanl): Handle arguments with large real or imaginary part
32540 separately without squaring.
32541 * math/libm-test.inc (catan_test): Add more tests.
32542 (catanh_test): Likewise.
32543 * sysdeps/i386/fpu/libm-test-ulps: Update.
32544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546 2013-04-27 Andreas Jaeger <aj@suse.de>
32549 * stdlib/stdlib.h: Update guards for qecvt.
32550 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32553 2013-04-27 Allan McRae <allan@archlinux.org>
32555 * sysdeps/i386/fpu/libm-test-ulps: Update.
32557 2013-04-26 Joseph Myers <joseph@codesourcery.com>
32560 * math/s_catan.c: Include <float.h>.
32561 (__catan): Ensure underflow exception occurs for underflowed
32563 * math/s_catanf.c: Include <float.h>.
32564 (__catanf): Ensure underflow exception occurs for underflowed
32566 * math/s_catanh.c: Include <float.h>.
32567 (__catanh): Ensure underflow exception occurs for underflowed
32569 * math/s_catanhf.c: Include <float.h>.
32570 (__catanhf): Ensure underflow exception occurs for underflowed
32572 * math/s_catanhl.c: Include <float.h>.
32573 (__catanhl): Ensure underflow exception occurs for underflowed
32575 * math/s_catanl.c: Include <float.h>.
32576 (__catanl): Ensure underflow exception occurs for underflowed
32578 * math/libm-test.inc (catan_test): Add more tests.
32579 (catanh_test): Likewise.
32582 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32583 underflowed result.
32584 * math/s_ccoshf.c (__ccoshf): Likewise.
32585 * math/s_ccoshl.c (__ccoshl): Likewise.
32586 * math/s_csin.c (__csin): Likewise.
32587 * math/s_csinf.c (__csinf): Likewise.
32588 * math/s_csinh.c (__csinh): Likewise.
32589 * math/s_csinhf.c (__csinhf): Likewise.
32590 * math/s_csinhl.c (__csinhl): Likewise.
32591 * math/s_csinl.c (__csinl): Likewise.
32592 * math/libm-test.inc (ccos_test): Add more tests.
32593 (ccosh_test): Likewise.
32594 (csin_test): Likewise.
32595 (csinh_test): Likewise.
32597 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32599 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32600 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32601 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32602 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32603 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32604 powerpc/power5+/fpu folders.
32605 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32608 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32612 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32614 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32615 additions to variable.
32616 [$(config-machine) = x86_64] (modules-names): Likewise.
32617 ($(objpfx)tst-audit3): Remove dependency.
32618 ($(objpfx)tst-audit3.out): Likewise.
32619 ($(objpfx)tst-audit4): Likewise.
32620 ($(objpfx)tst-audit4.out): Likewise.
32621 ($(objpfx)tst-audit5): Likewise.
32622 ($(objpfx)tst-audit5.out): Likewise.
32623 ($(objpfx)tst-audit6): Likewise.
32624 ($(objpfx)tst-audit6.out): Likewise.
32625 ($(objpfx)tst-audit7): Likewise.
32626 ($(objpfx)tst-audit7.out): Likewise.
32627 (tst-audit3-ENV): Remove variable.
32628 (tst-audit4-ENV): Likewise.
32629 (tst-audit5-ENV): Likewise.
32630 (tst-audit6-ENV): Likewise.
32631 (tst-audit7-ENV): Likewise.
32632 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32633 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32634 addition to variable.
32635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32637 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32640 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32641 tst-audit3, tst-audit4 and tst-audit5.
32642 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32643 tst-audit6 and tst-audit7.
32644 [$(subdir) = elf] (modules-names): Add audit modules for those
32646 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32647 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32648 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32649 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32650 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32651 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32652 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32653 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32654 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32655 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32656 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32657 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32658 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32659 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32660 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32661 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32663 [$(subdir) = elf && $(config-cflags-avx) = yes]
32664 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32665 [$(subdir) = elf && $(config-cflags-avx) = yes]
32666 (CFLAGS-tst-auditmod4a.c): Likewise.
32667 [$(subdir) = elf && $(config-cflags-avx) = yes]
32668 (CFLAGS-tst-auditmod4b.c): Likewise.
32669 [$(subdir) = elf && $(config-cflags-avx) = yes]
32670 (CFLAGS-tst-auditmod6b.c): Likewise.
32671 [$(subdir) = elf && $(config-cflags-avx) = yes]
32672 (CFLAGS-tst-auditmod6c.c): Likewise.
32673 [$(subdir) = elf && $(config-cflags-avx) = yes]
32674 (CFLAGS-tst-auditmod7b.c): Likewise.
32675 * elf/tst-audit3.c: Move to ...
32676 * sysdeps/x86_64/tst-audit3.c: ... here.
32677 * elf/tst-audit4.c: Move to ...
32678 * sysdeps/x86_64/tst-audit4.c: ... here.
32679 * elf/tst-audit5.c: Move to ...
32680 * sysdeps/x86_64/tst-audit5.c: ... here.
32681 * elf/tst-audit6.c: Move to ...
32682 * sysdeps/x86_64/tst-audit6.c: ... here.
32683 * elf/tst-audit7.c: Move to ...
32684 * sysdeps/x86_64/tst-audit7.c: ... here.
32685 * elf/tst-auditmod3a.c: Move to ...
32686 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32687 * elf/tst-auditmod3b.c: Move to ...
32688 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32689 * elf/tst-auditmod4a.c: Move to ...
32690 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32691 * elf/tst-auditmod4b.c: Move to ...
32692 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32693 * elf/tst-auditmod5a.c: Move to ...
32694 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32695 * elf/tst-auditmod5b.c: Move to ...
32696 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32697 * elf/tst-auditmod6a.c: Move to ...
32698 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32699 * elf/tst-auditmod6b.c: Move to ...
32700 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32701 * elf/tst-auditmod6c.c: Move to ...
32702 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32703 * elf/tst-auditmod7a.c: Move to ...
32704 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32705 * elf/tst-auditmod7b.c: Move to ...
32706 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32708 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32711 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32712 define unconditionally.
32713 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32714 define unconditionally.
32715 (INT8_C, INT16_C, etc.): Likewise.
32717 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32719 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32720 __ehdr_start with hidden visibility.
32722 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32724 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32726 * math/libm-test.inc (cos_test): Use accurate hex constants.
32727 (sincost_test): Likewise.
32729 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32731 * math/libm-test.inc (catan_test): Add more tests.
32732 (catanh_test): Likewise.
32734 * math/s_catanf.c (__catanf): Use suffixed floating-point
32736 * math/s_catanhf.c (__catanhf): Likewise.
32737 * math/s_catanhl.c (__catanhl): Likewise.
32738 * math/s_catanl.c (__catanl): Likewise.
32741 * math/s_catan.c (__catan): Calculate imaginary part of result
32742 with log1p not log unless computing log of number close to 0.
32743 * math/s_catanf.c (__catanf): Likewise.
32744 * math/s_catanl.c (__catanl): Likewise.
32745 * math/s_catanh.c (__catanh): Calculate real part of result with
32746 log1p not log unless computing log of number close to 0.
32747 * math/s_catanhf.c (__catanhf): Likewise.
32748 * math/s_catanhl.c (__catanhl): Likewise.
32749 * math/libm-test.inc (catan_test): Add more tests.
32750 (catanh_test): Likewise.
32751 * sysdeps/i386/fpu/libm-test-ulps: Update.
32752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32754 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32756 * benchtests/Makefile: Mention files in which fast and slow
32757 paths of math functions are implemented.
32759 2013-04-23 Roland McGrath <roland@hack.frob.com>
32761 * sysdeps/posix/timespec_get.c: New file.
32763 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32765 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32767 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32769 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32770 powerpc/power5/fpu folders.
32771 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32772 * benchtests/Makefile: Add modf testcase.
32773 * benchtests/bench-modf.c: New file: Benchmark test for mo
32775 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32778 * time/Makefile (tests): Add tst-strptime-whitespace.
32779 * time/strptime_l.c (get_number): Use ISSPACE.
32780 (__strptime_internal): Likewise.
32781 * time/tst-strptime-whitespace.c: New test case.
32783 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32785 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32787 (_nss_files_init): Set it here.
32789 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32792 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32795 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32797 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32799 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32804 2013-04-21 David S. Miller <davem@davemloft.net>
32806 * po/ru.po: Update Russion translation from translation project.
32808 2013-04-17 Adam Conrad <adconrad@0c3.net>
32810 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32813 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32815 * configure.in: Remove i386 configure warning. Remove i386 case.
32816 * configure: Regenerate.
32817 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32818 Add example to error message.
32819 * sysdeps/i386/configure: Regenerate.
32821 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32823 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32825 * benchtests/cos-inputs: New file.
32826 * benchtests/slowcos-inputs: New file.
32827 * benchtests/slowcos.c: New file.
32828 * benchtests/slowtan-inputs: New file.
32829 * benchtests/slowtan.c: New file.
32830 * benchtests/tan-inputs: New file.
32832 2013-04-16 Roland McGrath <roland@hack.frob.com>
32834 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32837 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32839 * benchtests/Makefile: Include cppflags-iterator.mk to add
32840 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32842 * Makefile.in (bench-clean): New target.
32843 * benchtests/Makefile (bench-clean): Likewise.
32845 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32847 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32849 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32851 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32853 2013-04-15 Andreas Schwab <schwab@suse.de>
32855 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32857 * nscd/pwdcache.c (cache_addpw): Likewise.
32858 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32861 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32863 * benchtests/Makefile (bench): Write all output to
32864 bench-out.tmp together.
32866 2013-04-15 Andreas Schwab <schwab@suse.de>
32868 * nscd/nscd.c (main): Don't fork again after closing files.
32870 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32872 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32874 * benchtests/Rules (bench-deps): Collect dependencies into a
32875 single variable. Add Makefile to dependencies.
32876 ($(objpfx)bench-%.c): Depend on bench-deps.
32878 2013-04-12 Roland McGrath <roland@hack.frob.com>
32879 Xavier Roche <roche+kml2@exalead.com>
32882 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32883 just that it's a file descriptor.
32884 * manual/llio.texi (Synchronizing AIO Operations): Update description
32885 for EBADF error from aio_fsync.
32887 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32889 * Rules (bench): Move target definition...
32890 * benchtests/Makefile: ... here.
32892 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32894 * math/libm-test.inc (cos_test): Fix PI/2 test.
32895 (sincos_test): Likewise.
32896 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32897 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32899 2013-04-11 Andreas Schwab <schwab@suse.de>
32902 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32903 accept exponent character only when digits were seen.
32904 * stdio-common/Makefile (tests): Add bug26.
32905 * stdio-common/bug26.c: New file.
32908 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32911 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32913 * Makeconfig (rtld-prefix): Define built linker prefix.
32914 * Rules (run-bench): Use it.
32915 * math/Makefile (run-regen-ulps): Likewise.
32917 * Rules (bench): Remove eval.
32919 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32920 Roland McGrath <roland@hack.frob.com>
32921 Ondrej Bilka <neleai@seznam.cz>
32924 * time/getdate.c: Include ctype.h and alloca.h.
32925 (__getdate_r): Trim leading and trailing spaces of input.
32926 * time/tst-getdate.c (tests): Add tests with leading and
32929 2013-04-08 Roland McGrath <roland@hack.frob.com>
32932 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32933 when computing value.
32935 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32937 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32938 Use testrun.sh to run libm tests.
32941 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32943 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32946 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32948 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32950 * Makefile.in (regen-ulps): New target.
32951 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32952 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32953 [ifneq (no,$(PERL)] (regen-ulps): New target.
32954 [ifeq (no,$(PERL)] (regen-ulps): New target.
32955 * math/libm-test.inc (ulps_file_name): Define.
32956 (output_dir): New variable.
32957 (options): Add "output-dir" option.
32958 (parse_opt): Handle 'o' case.
32959 (main): If output_dir is non-NULL use it as a prefix
32961 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32963 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32965 [BZ #10060, #10062]
32966 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32967 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32968 fail configure if __sync_val_compare_and_swap is not inlined.
32969 * sysdeps/i386/configure: Regenerate.
32970 * configure.in: Build for i686 when configured for i386.
32971 * configure: Regenerate.
32972 * README: Remove i386 reference.
32974 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32976 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32979 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32981 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32982 (lmsnanval): New variables.
32983 (F): Add conversion tests.
32984 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32985 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32987 * stdio-common/tstdiomisc.c (F): Properly collect individual
32990 [BZ #14686, #15336]
32991 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32992 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32993 Instead, use input NaN values or generate a qNaN by arithmetic
32994 operation. Also fix bugs to comply with the standard.
32995 * math/libm-test.inc (remainder_test): Add more tests.
32997 [BZ #15335, #15342]
32998 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33000 input NaN values or generate a qNaN by arithmetic operation.
33002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33005 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33008 2013-04-03 Joseph Myers <joseph@codesourcery.com>
33011 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33012 underflowed result.
33013 * math/s_cexpf.c (__cexpf): Likewise.
33014 * math/s_cexpl.c (__cexpl): Likewise.
33015 * math/libm-test.inc (cexp_test): Add more tests.
33017 2013-04-03 Andreas Schwab <schwab@suse.de>
33020 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33021 order arrays from heap if bigger than alloca cutoff.
33023 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
33025 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33026 (SNAN_TESTS_double): Refer to GCC PR56831.
33027 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33030 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33032 * Rules (bench): Move bench.out after the run is complete.
33034 * Rules (bench): Echo currently running benchmark.
33036 * benchtests/Makefile (bench): Add atan and slowatan.
33037 * benchtests/atan-inputs: New file.
33038 * benchtests/slowatan-inputs: New file.
33039 * benchtests/slowatan.c: New file.
33041 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33046 * sysdeps/unix/sysv/linux/kernel-features.h
33047 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33048 __ASSUME_XFS_RESTRICTED_CHOWN.
33049 * sysdeps/unix/sysv/linux/pathconf.c
33050 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33051 Save and restore errno.
33053 2013-04-02 Joseph Myers <joseph@codesourcery.com>
33056 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33057 arguments using __kernel_casinh.
33058 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33059 arguments using __kernel_casinhf.
33060 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33061 arguments using __kernel_casinhl.
33062 * math/libm-test.inc (cacosh_test): Add more tests.
33063 * sysdeps/i386/fpu/libm-test-ulps: Update.
33064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33066 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33068 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33071 * bench/Makefile (bench): Add sin and slowsin.
33072 * benchtests/sin-inputs: New file.
33073 * benchtests/slowsin-inputs: New file.
33074 * benchtests/slowsin.c: New file.
33076 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33077 (bench): Add slowexp and slowpow.
33078 (exp-ITER): Increase iterations.
33079 (pow-ITER): Likewise.
33080 * benchtests/exp-inputs: Change input.
33081 * benchtests/pow-inputs: Likewise.
33082 * benchtests/slowexp-inputs: New file.
33083 * benchtests/slowexp.c: New file.
33084 * benchtests/slowpow-inputs: New file.
33085 * benchtests/slowpow.c: New file.
33087 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33089 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33091 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33092 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33093 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33094 * benchtests/Makefile: Add rint benchtest.
33095 * benchtests/rint-inputs: Input for rint benchtest.
33097 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
33099 * Versions.def (libm): Add GLIBC_2.18.
33100 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33101 hidden libm prototypes.
33102 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33103 * math/Makefile (libm-calls): Add s_issignaling.
33104 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33105 __issignalingf, __issignalingl. Adjust all libm.abilist files.
33106 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33108 * math/math.h [__USE_GNU] (issignaling): New macro.
33109 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33110 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33111 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33112 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33115 * manual/arith.texi (issignaling): New section.
33116 * manual/libm-err-tab.pl (@all_functions): Update comment.
33117 * math/gen-libm-test.pl (parse_args): Apply special handling for
33119 * math/libm-test.inc (print_float, issignaling_test): New
33121 (check_float_internal): Add issignaling checks.
33122 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33123 default definition.
33124 * sysdeps/powerpc/math-tests.h: New file.
33125 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33127 * math/test-snan.c (TEST_FUNC): Likewise.
33129 2013-03-30 David S. Miller <davem@davemloft.net>
33131 * po/de.po: Update from translation team.
33133 2013-03-30 Joseph Myers <joseph@codesourcery.com>
33136 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33137 imaginary part less than 1.0 and real part less than 0.5
33139 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33140 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33141 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33142 (cacos_test): Add more tests.
33143 (casin_test): Likewise.
33144 (casinh_test): Likewise.
33145 * sysdeps/i386/fpu/libm-test-ulps: Update.
33146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33148 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33150 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33151 ONE with its value.
33153 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33154 (__pow_mp): Replace ONE and MONE with their values.
33155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33157 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33158 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33159 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33162 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33164 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33165 (__pow_mp): Replace ZERO and MZERO with their values.
33166 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33167 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33168 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33170 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33171 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33174 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33176 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33178 2013-03-28 Roland McGrath <roland@hack.frob.com>
33180 * include/stdlib.h [!SHARED] (__call_tls_dtors):
33181 Declare with __attribute__ ((weak)).
33182 * stdlib/exit.c (__libc_atexit) [!SHARED]:
33183 Call __call_tls_dtors only if it's not NULL.
33185 2013-03-28 Roland McGrath <roland@hack.frob.com>
33187 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33188 didn't do it already, then set _dl_phdr and _dl_phnum based on the
33189 magic __ehdr_start linker symbol if it's defined.
33190 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33191 them up here if it was already done.
33193 * elf/dl-support.c (_dl_phdr): Make pointer to const.
33194 (_dl_aux_init): Use const in cast when setting it.
33195 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33196 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33197 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33199 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33201 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33202 * csu/libc-tls.c: Nor here.
33203 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33205 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33206 (__libc_message): Never call vsyslog.
33208 2013-03-28 Alan Modra <amodra@gmail.com>
33210 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33212 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33215 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33218 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33222 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33225 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33226 Don't add gid passed as argument.
33228 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33230 2013-03-27 Joseph Myers <joseph@codesourcery.com>
33233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33234 imaginary part between 1.0 and 1.5 and real part less than 0.5
33236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33238 * math/libm-test.inc (cacos_test): Add more tests.
33239 (casin_test): Likewise.
33240 (casinh_test): Likewise.
33241 * sysdeps/i386/fpu/libm-test-ulps: Update.
33242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33244 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33246 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33249 (denorm): Likewise.
33250 (__dbl_mp): Likewise.
33251 (add_magnitudes): Likewise.
33252 (sub_magnitudes): Likewise.
33260 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33262 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33263 (__dubcos): Likewise.
33264 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33265 (__ieee754_acos): Likewise.
33266 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33267 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33268 (__exp1): Likewise.
33269 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33272 (my_log2): Likewise.
33273 (checkint): Likewise.
33274 * sysdeps/ieee754/dbl-64/e_remainder.c
33275 (__ieee754_remainder): Likewise.
33276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33278 (bsloww): Likewise.
33279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33281 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33282 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33283 MANTISSA_STORE_T to store computations on mantissa. Use
33284 macros for rounding and division.
33285 (denorm): Likewise.
33286 (__dbl_mp): Likewise.
33287 (add_magnitudes): Likewise.
33288 (sub_magnitudes): Likewise.
33291 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33292 powers of two in terms of TWOPOW macro.
33293 (mp_no): Make type of mantissa as MANTISSA_T.
33294 [!RADIXI]: Define RADIXI.
33295 [!TWO52]: Define TWO52.
33296 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33298 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33300 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33301 llroundl symbol when building for PPC32.
33303 2013-03-24 Mark H Weaver <mhw@netris.org>
33305 * manual/arith.texi (Normalization Functions): Fix prototypes for
33306 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33308 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33312 high value to check if expl overflow.
33313 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33314 to check for underflow and overflow.
33315 * math/libm-test.inc: Add exp test.
33317 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
33320 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33323 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33325 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33328 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
33330 * math/gen-libm-test.pl (parse_args, special_functions): Properly
33331 wrap blocks consisting of several statements.
33333 * sysdeps/generic/math-tests.h: New file.
33334 * sysdeps/i386/fpu/math-tests.h: Likewise.
33335 * math/test-snan.c: Include it.
33336 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33338 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33341 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33342 (__ieee754_j0l): Do not improve calculations using cos of twice
33343 input for inputs above LDBL_MAX / 2.0L.
33344 (__ieee754_y0l): Likewise.
33345 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33346 (__ieee754_j1l): Do not improve calculations using cos of twice
33347 input for inputs above LDBL_MAX / 2.0L.
33348 (__ieee754_y1l): Likewise.
33349 * math/libm-test.inc (j0_test): Add another test.
33350 (j1_test): Likewise.
33351 (y0_test): Likewise.
33352 (y1_test): Likewise.
33353 * sysdeps/i386/fpu/libm-test-ulps: Update.
33355 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33357 * Rules ($(objpfx)bench-%.c): Include code from a C source
33360 2013-03-21 Joseph Myers <joseph@codesourcery.com>
33363 * math/k_casinh.c (__kernel_casinh): Handle arguments with
33364 imaginary part 1.0 and real part less than 0.5 specially.
33365 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33366 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33367 * math/libm-test.inc (cacos_test): Add more tests.
33368 (casin_test): Likewise.
33369 (casinh_test): Likewise.
33370 * sysdeps/i386/fpu/libm-test-ulps: Update.
33371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33373 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33375 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33376 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33378 2013-03-20 Joseph Myers <joseph@codesourcery.com>
33380 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33381 * config.make.in (config-cflags-sse4): Remove variable.
33382 (config-cflags-avx): Likewise.
33383 (config-cflags-sse2avx): Likewise.
33384 (config-cflags-novzeroupper): Likewise.
33385 (config-asflags-i686): Likewise.
33386 (have-mfma4): Likewise.
33387 (have-as-vis3): Likewise.
33389 * configure.in (MIG): Do not AC_SUBST.
33390 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33391 (libc_cv_cc_sse4): Do not AC_SUBST.
33392 (libc_cv_cc_avx): Likewise.
33393 (libc_cv_cc_sse2avx): Likewise.
33394 (libc_cv_cc_novzeroupper): Likewise.
33395 (libc_cv_cc_fma4): Likewise.
33396 (libc_cv_as_i686): Likewise.
33397 (libc_cv_sparc_as_vis3): Likewise.
33398 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33400 (config-asflags-i686): Likewise.
33401 (config-cflags-avx): Likewise.
33402 (config-cflags-sse2avx): Likewise.
33403 (have-mfma4): Likewise.
33404 (config-cflags-novzeroupper): Likewise.
33405 * sysdeps/mach/configure.in (MIG): Likewise.
33406 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33407 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33409 (config-cflags-avx): Likewise.
33410 (config-cflags-sse2avx): Likewise.
33411 (have-mfma4): Likewise.
33412 (config-cflags-novzeroupper): Likewise.
33413 * configure: Regenerated.
33414 * sysdeps/i386/configure: Likewise.
33415 * sysdeps/mach/configure: Likewise.
33416 * sysdeps/sparc/configure: Likewise.
33417 * sysdeps/x86_64/configure: Likewise.
33419 2013-03-20 Roland McGrath <roland@hack.frob.com>
33422 * locale/programs/localedef.c (options): Put N_ translation marker
33423 on argument names, not just descriptions.
33425 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33427 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33429 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
33432 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33434 2013-03-19 Roland McGrath <roland@hack.frob.com>
33436 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33437 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33438 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33439 [!BEFORE_ABORT] (before_abort): New function.
33440 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33441 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33442 (writev_for_fatal): New function.
33443 (WRITEV_FOR_FATAL): New macro; call that.
33444 (backtrace_and_maps): New function.
33445 (BEFORE_ABORT): New macro; call that.
33446 (struct str_list): Type removed.
33447 (__libc_message, __libc_fatal): Functions removed.
33448 Include <sysdeps/posix/libc_fatal.c> instead.
33450 2013-03-19 Joseph Myers <joseph@codesourcery.com>
33452 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33454 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33457 2013-03-19 Andreas Schwab <schwab@suse.de>
33459 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33460 * sysdeps/gnu/configure: Regenerate.
33462 * configure.in: Substitute libc_cv_rtlddir.
33463 * configure: Regenerate.
33464 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33465 * Makeconfig (rtlddir, inst_rtlddir): New variables.
33466 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33467 * elf/Makefile (install-others, CFLAGS-interp.c)
33468 (ldso_install, common-ldd-rewrite): Likewise.
33469 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33470 $(inst_slibdir)/$(rtld-installed-name).
33471 * scripts/rellns-sh: Add -p option.
33472 * Makerules (make-shlib-link): Use rellns-sh to get relative name
33475 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33477 * manual/nptl.texi: Renamed to ...
33478 * manual/threads.texi: ... this.
33479 * manual/Makefile (chapters): Update.
33481 2013-03-18 Roland McGrath <roland@hack.frob.com>
33484 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33485 on argument names, not just descriptions.
33486 * malloc/memusagestat.c (options): Likewise.
33487 * nss/getent.c (options): Likewise.
33489 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
33492 * iconv/iconv_prog.c (options): Put N_ translation marker
33493 on argument names, not just descriptions.
33494 * iconv/iconvconfig.c (options): Likewise.
33496 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
33498 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33499 implementation which is faster on all x86_64 architectures.
33500 Tested on AMD, Intel Nehalem, SNB, IVB.
33501 * sysdeps/x86_64/strnlen.S: Likewise.
33503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33504 Remove all multiarch strlen and strnlen versions.
33505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33506 Remove strlen and strnlen related parts.
33508 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33509 Inline strlen part.
33510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33512 * sysdeps/x86_64/multiarch/strlen.S: Remove.
33513 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33514 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33515 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33516 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33517 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33519 2013-03-17 Carlos O'Donell <carlos@redhat.com>
33521 * manual/memory.texi (Malloc Tunable Parameters):
33522 Sort parameters alphabetically. Add comments for missing entries.
33524 2013-03-17 David S. Miller <davem@davemloft.net>
33526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33528 2013-03-16 Joseph Myers <joseph@codesourcery.com>
33531 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33532 for arguments at most half maximum finite value.
33533 * math/libm-test.inc (j0_test): Add more tests.
33534 (j1_test): Likewise.
33535 (y0_test): Likewise.
33536 (y1_test): Likewise.
33537 * sysdeps/i386/fpu/libm-test-ulps: Update.
33538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33541 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33542 1 / x and functions P and Q for arguments above 0x1p256L.
33543 (__ieee754_y0l): Likewise.
33544 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33545 (__ieee754_y1l): Likewise.
33546 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33547 (j1_test): Likewise.
33548 (y0_test): Likewise.
33549 (y1_test): Likewise.
33551 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
33553 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33556 2013-03-15 Roland McGrath <roland@hack.frob.com>
33558 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33559 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33560 zero since it's initialized to EXEC_PAGESIZE.
33562 * sysdeps/unix/sysv/linux/ldsodefs.h
33563 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33564 * sysdeps/generic/ldsodefs.h: ... here.
33566 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
33568 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33570 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33572 * math/test-snan.c: Renamed from
33573 sysdeps/powerpc/fpu/test-powerpc-snan.c.
33574 * math/Makefile (tests): Add test-snan.
33575 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33578 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33579 SUFFIX. Initialize qNaN_var with __builtin_nan family of
33581 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
33582 __builtin_nan family of functions.
33583 * math/libm-test.inc (initialize): Initialize qnan_value with
33584 __builtin_nan family of functions.
33585 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33587 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33589 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
33590 storage class. Initialize qNaN_var and sNaN_var with
33591 __builtin_nan and __builtin_nans families of functions,
33594 * math/libm-test.inc (acosh_test): Also test with qNaN input.
33595 (sqrt_test): Remove duplicate test with qNaN input.
33596 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33597 (round_test, signbit_test, significand_test): Note missing +/-Inf
33598 as well as qNaN tests.
33600 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33601 qNaN_var. Fix a few strings, too.
33602 * math/libm-test.inc (nan_value): Rename to qnan_value.
33603 * math/gen-libm-test.pl (%beautify): Adjust to that.
33604 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33605 * math/test-misc.c (main): Likewise.
33606 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33607 to __qnan_bytes, and __qnan_union, respectively.
33608 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33610 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33611 and lqnanval, respectively.
33612 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33613 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33614 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33615 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33617 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33618 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33621 * math/test-misc.c (main): Fix copy'n'pastos.
33622 * misc/tst-efgcvt.c (special): Likewise.
33624 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33625 Remove declarations.
33627 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33629 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33630 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33631 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33632 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33634 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33636 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33637 macro to return vdso values correctly in IFUNC implementations.
33638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33639 Optimization by using IFUNC.
33641 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33642 Richard Henderson <rth@redhat.com>
33643 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33645 * Makefile.in (bench): New target.
33646 * NEWS: Mention the benchmark framework.
33647 * Rules (bench): Likewise.
33648 (binaries-bench): Generate binaries for functions to
33650 * benchtests/Makefile: New makefile for benchmark tests.
33651 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33653 * benchtests/exp-inputs: New input file for EXP function.
33654 * benchtests/pow-inputs: New input file for POW function.
33655 * scripts/bench.pl: New script to generate source files for
33656 benchmark programs.
33658 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33660 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33661 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33662 computations on mantissa. Use macros for rounding and
33664 (denorm): Likewise.
33665 (__dbl_mp): Likewise.
33666 (add_magnitudes): Likewise.
33667 (sub_magnitudes): Likewise.
33670 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33671 powers of two in terms of TWOPOW macro.
33672 (mp_no): Make type of mantissa as MANTISSA_T.
33673 [!RADIXI]: Define RADIXI.
33674 [!TWO52]: Define TWO52.
33675 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33677 * manual/nptl.texi (cindex): Modify threads to pthreads.
33679 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33681 * sysdeps/x86_64/preconfigure: Regenerated.
33683 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33686 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33688 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33689 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33691 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33692 * math/libm-test.inc (j0_test): Do not allow one spurious
33693 underflow exception.
33694 (y1_test): Likewise.
33696 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33698 * manual/Makefile (chapters): Add nptl.
33699 * manual/debug.texi (Debugging Support): Add link to Threads
33701 * manual/nptl.texi: New file.
33703 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33705 2013-03-14 Petr Baudis <pasky@ucw.cz>
33707 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33708 for non-NULL pointer before the memory validity test. Pointed
33709 out by Holger Brunck <holger.brunck@keymile.com>.
33711 2013-03-13 Andreas Schwab <schwab@suse.de>
33713 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33716 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33718 * timezone/zic.c: Update from tzcode 2013b.
33720 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33722 * manual/install.texi (Configuring and compiling):
33723 Mention i686 and i586.
33724 * INSTALL: Regenerate.
33726 2013-03-12 Roland McGrath <roland@hack.frob.com>
33728 * sysdeps/init_array/elf-init.c: New file.
33730 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33731 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33733 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33734 __gmon_start__ as global, but as static with a .preinit_array pointer.
33735 * sysdeps/init_array/gmon-start.c: New file. Use that.
33736 * sysdeps/init_array/crti.S: New file, empty except for comments.
33737 * sysdeps/init_array/crtn.S: Likewise.
33739 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33741 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33744 Remove Prefer_SSE_for_memop.
33745 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33746 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33747 HAS_PREFER_SSE_FOR_MEMOP.
33748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33751 Remove bzero, memset ifunc support.
33752 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33753 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33754 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33755 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33757 2013-03-11 Andreas Schwab <schwab@suse.de>
33760 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33763 (GLIBC_2.16): Remove pthread_atfork.
33765 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33767 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33768 (ptestcases.h): Likewise.
33770 2013-03-08 Roland McGrath <roland@hack.frob.com>
33772 * Makeconfig ($(common-objpfx)config.status): Depend on
33773 sysdeps/*/preconfigure{,.in} too.
33775 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33777 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33778 (__free_hook): Use void * instead of __malloc_ptr_t.
33779 (__malloc_hook): Likewise.
33780 (__realloc_hook): Likewise.
33781 (__memalign_hook): Likewise.
33782 (__after_morecore_hook): Likewise.
33783 * malloc/arena.c (save_malloc_hook): Likewise.
33784 (save_free_hook): Likewise.
33785 * malloc/hooks.c (malloc_hook_ini): Likewise.
33786 (realloc_hook_ini): Likewise.
33787 (memalign_hook_ini): Likewise.
33788 * malloc/malloc.c (malloc_hook_ini): Likewise.
33789 (realloc_hook_ini): Likewise.
33790 (memalign_hook_ini): Likewise.
33791 (__free_hook): Likewise.
33792 (__malloc_hook): Likewise.
33793 (__realloc_hook): Likewise.
33794 (__memalign_hook): Likewise.
33795 (__libc_malloc): Likewise.
33796 (__libc_free): Likewise.
33797 (__libc_realloc): Likewise.
33798 (__libc_memalign): Likewise.
33799 (__libc_valloc): Likewise.
33800 (__libc_pvalloc): Likewise.
33801 (__libc_calloc): Likewise.
33802 (__posix_memalign): Likewise.
33803 * malloc/morecore.c (__sbrk): Likewise.
33804 (__default_morecore): Likewise.
33806 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33808 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33809 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33810 __malloc_ptrdiff_t.
33812 * malloc/malloc.h (__malloc_size_t): Remove macro.
33813 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33815 (old_memalign_hook): Likewise.
33816 (old_realloc_hook): Likewise.
33817 (struct hdr): Likewise.
33819 (mallochook): Likewise.
33820 (memalignhook): Likewise.
33821 (reallochook): Likewise.
33822 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33823 (tr_old_realloc_hook): Likewise.
33824 (tr_old_memalign_hook): Likewise.
33825 (tr_mallochook): Likewise.
33826 (tr_reallochook): Likewise.
33827 (tr_memalignhook): Likewise.
33829 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33832 default_ldbl_pack and using as default implementation.
33833 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33835 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33836 redundant definition.
33837 (ldbl_insert_mantissa): Likewise.
33838 (ldbl_canonicalize): Likewise.
33839 (ldbl_nearbyint): Likewise.
33840 (ldbl_pack): Rename to ldbl_pack_ppc.
33841 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33842 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33843 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33845 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33848 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33849 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33850 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33853 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33854 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33856 2013-03-07 Andreas Jaeger <aj@suse.de>
33858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33861 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33863 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33864 Include mpa.h and declare __MPEXP.
33865 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33867 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33868 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33869 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33870 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33873 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33874 (__slowpow): Use long double EXPL and LOGL functions to
33876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33877 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33878 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33880 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33884 intermediate variable to calculate exponent.
33886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33890 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33891 [!NO__SQR]: Define __sqr.
33892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33893 and NO__SQR. Remove all code except __mul and __sqr. Include
33894 sysdeps/ieee754/dbl-64/mpa.c.
33895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33898 * posix/Makefile (tests): Add tst-pathconf.
33899 * posix/tst-pathconf.c: New test case.
33900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33902 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33904 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33906 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33908 2013-03-06 Andreas Jaeger <aj@suse.de>
33910 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33911 definition via __MAP_ANONYMOUS.
33913 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33914 it's not part of Linux headers.
33916 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33917 (MAP_HUGE_MASK): Define.
33919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33921 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33925 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33932 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33933 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33934 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33935 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33936 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33937 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33939 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33943 Handle f2fs and efivarfs.
33945 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33948 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33949 (EFIVARFS_MAGIC): Add.
33950 (F2FS_LINK_MAX): Add.
33952 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33954 * stdio-common/vfprintf.c: Replace __builtin_expect with
33957 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33960 * sysdeps/generic/bp-sym.h: Remove file.
33961 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33963 <bp-sym.h> and <bp-asm.h>.
33964 (__longjmp): Don't use BP_SYM.
33965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33967 (memcpy): Don't use BP_SYM.
33968 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33969 <bp-sym.h> and <bp-asm.h>.
33970 (memcpy): Don't use BP_SYM.
33971 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33973 (memcpy): Don't use BP_SYM.
33974 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33976 (memset): Don't use BP_SYM.
33977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33979 (__bzero): Don't use BP_SYM.
33980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33982 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33983 <bp-sym.h> and <bp-asm.h>.
33984 (memcmp): Don't use BP_SYM. Remove comment about bounded
33986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33987 <bp-sym.h> and <bp-asm.h>.
33988 (memcpy): Don't use BP_SYM.
33989 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33990 <bp-sym.h> and <bp-asm.h>.
33991 (memset): Don't use BP_SYM.
33992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33994 (__bzero): Don't use BP_SYM.
33995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33997 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33998 <bp-sym.h> and <bp-asm.h>.
33999 (strncmp): Don't use BP_SYM. Remove comment about bounded
34001 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34002 <bp-sym.h> and <bp-asm.h>.
34003 (memcpy): Don't use BP_SYM.
34004 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34005 <bp-sym.h> and <bp-asm.h>.
34006 (memset): Don't use BP_SYM.
34007 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34008 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34009 (__bzero): Don't use BP_SYM.
34010 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34011 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34013 <bp-sym.h> and <bp-asm.h>.
34014 (__memchr): Don't use BP_SYM.
34015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34016 <bp-sym.h> and <bp-asm.h>.
34017 (memcmp): Don't use BP_SYM. Remove comment about bounded
34019 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34020 <bp-sym.h> and <bp-asm.h>.
34021 (memcpy): Don't use BP_SYM.
34022 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34023 <bp-sym.h> and <bp-asm.h>.
34024 (__mempcpy): Don't use BP_SYM.
34025 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34026 <bp-sym.h> and <bp-asm.h>.
34027 (__memrchr): Don't use BP_SYM.
34028 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34029 <bp-sym.h> and <bp-asm.h>.
34030 (memset): Don't use BP_SYM.
34031 (__bzero): Likewise.
34032 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34033 <bp-sym.h> and <bp-asm.h>.
34034 (__rawmemchr): Don't use BP_SYM.
34035 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34036 <bp-sym.h> and <bp-asm.h>.
34037 (__STRCMP): Don't use BP_SYM.
34038 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34039 <bp-sym.h> and <bp-asm.h>.
34040 (strchr): Don't use BP_SYM.
34041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34042 <bp-sym.h> and <bp-asm.h>.
34043 (__strchrnul): Don't use BP_SYM.
34044 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34045 <bp-sym.h> and <bp-asm.h>.
34046 (strlen): Don't use BP_SYM.
34047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34048 <bp-sym.h> and <bp-asm.h>.
34049 (strncmp): Don't use BP_SYM. Remove comment about bounded
34051 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34052 <bp-sym.h> and <bp-asm.h>.
34053 (__strnlen): Don't use BP_SYM.
34054 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34055 <bp-sym.h> and <bp-asm.h>.
34056 (__GI__setjmp): Don't use BP_SYM.
34057 (_setjmp): Likewise.
34058 (__sigsetjmp): Likewise.
34059 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34060 (L(start_addresses)): Don't use BP_SYM.
34061 (_start): Likewise.
34062 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34064 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34065 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34066 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34067 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34068 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34070 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34071 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
34072 about bounded pointers.
34073 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34074 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34075 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34077 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34078 about bounded pointers. Remove GKM FIXME comments.
34079 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34080 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34082 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34083 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
34084 Remove GKM FIXME comments.
34085 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34086 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34087 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34089 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
34090 about bounded pointers. Remove GKM FIXME comment.
34091 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34093 (strncmp): Don't use BP_SYM. Remove comment about bounded
34095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34096 <bp-sym.h> and <bp-asm.h>.
34097 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34099 <bp-sym.h> and <bp-asm.h>.
34100 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34103 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34105 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34108 2013-03-05 David S. Miller <davem@davemloft.net>
34110 * po/es.po: Update from translation team.
34112 2013-03-05 Andreas Jaeger <aj@suse.de>
34114 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34115 <bits/mman-linux.h>.
34116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34119 <bits/mman-linux.h> to end of file.
34120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34122 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34123 <bits/mman-linux.h> to end of file.
34124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34127 <bits/mman-linux.h> to end of file.
34129 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34130 (MCL_CURRENT, MCL_FUTURE): Define here.
34132 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34139 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34141 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34142 fourth parameter needed for rt_sigprocmask syscall.
34143 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34144 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34146 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34147 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34148 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34150 2013-03-04 Joseph Myers <joseph@codesourcery.com>
34153 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34154 comment about bounded pointers.
34155 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34156 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34158 2013-03-04 Andreas Jaeger <aj@suse.de>
34160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34161 common definitions.
34163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34164 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34165 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34170 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34173 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34174 __ieee754_sqrl instead of __sqrl.
34176 2013-03-01 Joseph Myers <joseph@codesourcery.com>
34178 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34179 * sysdeps/powerpc/fpu_control.h: ... here.
34180 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34181 * sysdeps/powerpc/bits/fenvinline.h: ... here.
34182 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34183 * sysdeps/powerpc/bits/mathinline.h: ... here.
34185 2013-03-01 Roland McGrath <roland@hack.frob.com>
34187 * elf/dl-hwcaps.c (_dl_important_hwcaps):
34188 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34189 to just [NEED_DL_SYSINFO_DSO].
34190 * elf/dl-support.c: Likewise.
34191 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34192 * elf/rtld.c (dl_main): Likewise.
34193 * elf/setup-vdso.h (setup_vdso): Likewise.
34194 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34195 * sysdeps/unix/sysv/linux/dl-sysdep.c
34196 (_dl_discover_osversion): Likewise.
34198 2013-03-01 Carlos O'Donell <carlos@redhat.com>
34200 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34201 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34203 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
34205 * NEWS: Mention libm performance improvements and non-x86 PI
34208 * csu/libc-start.c (__pthread_initialize_minimal): Change
34209 function arguments.
34210 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34212 2013-02-28 Joseph Myers <joseph@codesourcery.com>
34215 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34216 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34217 <bp-sym.h> and <bp-asm.h>.
34218 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34219 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34221 (memcpy): Don't use BP_SYM.
34222 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34224 (__mpn_add_n): Don't use BP_SYM.
34225 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34226 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34228 (__mpn_addmul_1): Don't use BP_SYM.
34229 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34230 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34232 (_setjmp): Don't use BP_SYM.
34233 (__novmx_setjmp): Likewise.
34234 (__GI__setjmp): Likewise.
34235 (__vmx_setjmp): Likewise.
34236 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34238 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34239 (__bzero): Don't use BP_SYM.
34240 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34241 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34242 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34243 <bp-sym.h> and <bp-asm.h>.
34244 (memcpy): Don't use BP_SYM.
34245 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34246 <bp-sym.h> and <bp-asm.h>.
34247 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34248 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34249 <bp-sym.h> and <bp-asm.h>.
34250 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34251 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34253 (__mpn_lshift): Don't use BP_SYM.
34254 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34255 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34257 (memset): Don't use BP_SYM.
34258 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34259 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34260 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34262 (__mpn_mul_1): Don't use BP_SYM.
34263 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34264 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34265 <bp-sym.h> and <bp-asm.h>.
34266 (memcmp): Don't use BP_SYM.
34267 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34268 <bp-sym.h> and <bp-asm.h>.
34269 (memcpy): Don't use BP_SYM.
34270 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34271 <bp-sym.h> and <bp-asm.h>.
34272 (memset): Don't use BP_SYM.
34273 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34274 <bp-sym.h> and <bp-asm.h>.
34275 (strncmp): Don't use BP_SYM.
34276 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34277 <bp-sym.h> and <bp-asm.h>.
34278 (memcpy): Don't use BP_SYM.
34279 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34280 <bp-sym.h> and <bp-asm.h>.
34281 (memset): Don't use BP_SYM.
34282 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34283 <bp-sym.h> and <bp-asm.h>.
34284 (__memchr): Don't use BP_SYM.
34285 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34286 <bp-sym.h> and <bp-asm.h>.
34287 (memcmp): Don't use BP_SYM.
34288 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34289 <bp-sym.h> and <bp-asm.h>.
34290 (memcpy): Don't use BP_SYM.
34291 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34292 <bp-sym.h> and <bp-asm.h>.
34293 (__mempcpy): Don't use BP_SYM.
34294 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34295 <bp-sym.h> and <bp-asm.h>.
34296 (__memrchr): Don't use BP_SYM.
34297 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34298 <bp-sym.h> and <bp-asm.h>.
34299 (memset): Don't use BP_SYM.
34300 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34301 <bp-sym.h> and <bp-asm.h>.
34302 (__rawmemchr): Don't use BP_SYM.
34303 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34304 <bp-sym.h> and <bp-asm.h>.
34305 (__STRCMP): Don't use BP_SYM.
34306 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34307 <bp-sym.h> and <bp-asm.h>.
34308 (strchr): Don't use BP_SYM.
34309 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34310 <bp-sym.h> and <bp-asm.h>.
34311 (__strchrnul): Don't use BP_SYM.
34312 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34313 <bp-sym.h> and <bp-asm.h>.
34314 (strlen): Don't use BP_SYM.
34315 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34316 <bp-sym.h> and <bp-asm.h>.
34317 (strncmp): Don't use BP_SYM.
34318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34319 <bp-sym.h> and <bp-asm.h>.
34320 (__strnlen): Don't use BP_SYM.
34321 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34323 (__mpn_rshift): Don't use BP_SYM.
34324 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34325 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34326 <bp-sym.h> and <bp-asm.h>.
34327 (__sigsetjmp): Don't use BP_SYM.
34328 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34329 (L(start_addresses)): Don't use BP_SYM.
34330 (_start): Likewise.
34331 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34333 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34334 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34335 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34336 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34338 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34339 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34340 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34341 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34343 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34345 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34346 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34348 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
34350 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34351 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34352 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34354 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
34356 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34358 (strncmp): Don't use BP_SYM,
34359 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34361 (__mpn_sub_n): Don't use BP_SYM.
34362 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34363 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34365 (__mpn_submul_1): Don't use BP_SYM.
34366 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34368 <bp-sym.h> and <bp-asm.h>.
34369 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34371 <bp-sym.h> and <bp-asm.h>.
34372 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
34375 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34378 Use ZK to minimize writes to Z.
34379 (sub_magnitudes): Simplify code a bit.
34380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34381 Use ZK to minimize writes to Z.
34382 (sub_magnitudes): Simplify code a bit.
34384 2013-02-27 Roland McGrath <roland@hack.frob.com>
34386 * csu/gmon-start.c: Add special exception to license text.
34388 2013-02-27 Richard Henderson <rth@redhat.com>
34390 * scripts/config.guess: Update from config.git.
34391 * scripts/config.sub: Likewise.
34393 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34397 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34399 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34401 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34403 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34405 2013-02-26 Roland McGrath <roland@hack.frob.com>
34407 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34408 [$(build-shared = yes].
34410 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34412 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34413 (__mul): Reduce iterations for calculating mantissa.
34415 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34417 (__mpranred): Likewise.
34420 * malloc/memusagestat.c (main): Draw graphs for heap and stack
34421 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34423 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
34425 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34426 Define __attribute__.
34428 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34430 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34432 * posix/regex_internal.h (__attribute): Remove.
34433 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34434 (re_string_context_at): Likewise.
34435 (bitset_not): Use __attribute__ and mark function as possibly
34437 (bitset_merge): Likewise.
34438 (bitset_mask): Likewise.
34439 (re_string_char_size_at): Likewise.
34440 (re_string_wchar_at): Likewise.
34441 (re_string_elem_size_at): Likewise.
34443 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34445 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34453 (denorm): Likewise.
34454 (__dbl_mp): Likewise.
34455 (add_magnitudes): Likewise.
34456 (sub_magnitudes): Likewise.
34460 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34463 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34466 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34470 up changes with default code.
34471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34474 2013-02-24 Allan McRae <allan@archlinux.org>
34476 * manual/socket.texi (The Internet Namespace): Order menu items
34477 to match that in the file.
34479 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34480 node listing of the info page menu.
34482 2013-02-21 Joseph Myers <joseph@codesourcery.com>
34485 * sysdeps/i386/bp-asm.h: Remove file.
34486 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34487 (PARMS): Do not use macros from bp-asm.h.
34491 (__mpn_add_n): Do not use BP_SYM
34492 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34494 (PARMS): Do not use macros from bp-asm.h.
34497 (__mpn_addmul_1): Do not use BP_SYM
34498 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34500 (PARMS): Do not use macros from bp-asm.h.
34501 (SIGMSK): Likewise.
34502 (_setjmp): Likewise. Do not use BP_SYM.
34503 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34505 (PARMS): Do not use macros from bp-asm.h.
34506 (SIGMSK): Likewise.
34507 (setjmp): Likewise. Do not use BP_SYM.
34508 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34510 (PARMS): Do not use macros from bp-asm.h.
34511 (__frexp): Do not use BP_SYM.
34513 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34515 (PARMS): Do not use macros from bp-asm.h.
34516 (__frexpf): Do not use BP_SYM.
34517 (frexpf): Likewise.
34518 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34520 (PARMS): Do not use macros from bp-asm.h.
34521 (__frexpl): Do not use BP_SYM.
34522 (frexpl): Likewise.
34523 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34525 (PARMS): Do not use macros from bp-asm.h.
34526 (__remquo): Do not use BP_SYM.
34527 (remquo): Likewise.
34528 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34530 (PARMS): Do not use macros from bp-asm.h.
34531 (__remquof): Do not use BP_SYM.
34532 (remquof): Likewise.
34533 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34535 (PARMS): Do not use macros from bp-asm.h.
34536 (__remquol): Do not use BP_SYM.
34537 (remquol): Likewise.
34538 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34540 (PARMS): Do not use macros from bp-asm.h.
34543 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
34544 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34546 (PARMS): Do not use macros from bp-asm.h.
34547 (strlen): Do not use BP_SYM.
34548 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34550 (PARMS): Do not use macros from bp-asm.h.
34554 (__mpn_add_n): Do not use BP_SYM.
34555 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34557 (PARMS): Do not use macros from bp-asm.h.
34560 (__mpn_addmul_1): Do not use BP_SYM.
34561 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34564 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34566 (PARMS): Do not use macros from bp-asm.h.
34569 (__mpn_lshift): Do not use BP_SYM.
34570 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34572 (PARMS): Do not use macros from bp-asm.h.
34576 (memcpy): Likewise. Do not use BP_SYM.
34577 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34578 libc_hidden_def and weak_alias.
34579 (mempcpy): Do not use BP_SYM in weak_alias.
34580 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34582 (PARMS): Do not use macros from bp-asm.h.
34585 [!BZERO_P] (CHR): Likewise.
34586 (memset): Likewise. Do not use BP_SYM.
34587 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34589 (PARMS): Do not use macros from bp-asm.h.
34592 (__mpn_mul_1): Do not use BP_SYM.
34593 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34595 (PARMS): Do not use macros from bp-asm.h.
34598 (__mpn_rshift): Do not use BP_SYM.
34599 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34601 (PARMS): Do not use macros from bp-asm.h.
34604 (strchr): Likewise. Do not use BP_SYM.
34605 (index): Do not use BP_SYM in weak_alias.
34606 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34608 (PARMS): Do not use macros from bp-asm.h.
34611 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34612 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34614 (PARMS): Do not use macros from bp-asm.h.
34615 (strlen): Do not use BP_SYM.
34616 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34618 (PARMS): Do not use macros from bp-asm.h.
34622 (__mpn_sub_n): Do not use BP_SYM.
34623 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34625 (PARMS): Do not use macros from bp-asm.h.
34628 (__mpn_submul_1): Do not use BP_SYM.
34629 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34631 (PARMS): Do not use macros from bp-asm.h.
34635 (__mpn_add_n): Do not use BP_SYM.
34636 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34639 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34641 (PARMS): Do not use macros from bp-asm.h.
34644 (memcmp): Do not use BP_SYM.
34645 (bcmp): Do not use BP_SYM in weak_alias.
34646 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34648 (PARMS): Do not use macros from bp-asm.h.
34652 (memcpy): Likewise. Do not use BP_SYM.
34653 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34655 (PARMS): Do not use macros from bp-asm.h.
34659 (memmove): Likewise. Do not use BP_SYM.
34660 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34662 (PARMS): Do not use macros from bp-asm.h.
34666 (__mempcpy): Likewise. Do not use BP_SYM.
34667 (mempcpy): Do not use BP_SYM in weak_alias.
34668 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34670 (PARMS): Do not use macros from bp-asm.h.
34673 [!BZERO_P] (CHR): Likewise.
34674 (memset): Likewise. Do not use BP_SYM.
34675 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34677 (PARMS): Do not use macros from bp-asm.h.
34679 (strcmp): Do not use BP_SYM.
34680 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34682 (PARMS): Do not use macros from bp-asm.h.
34685 [USE_AS_STRTOK_R] (SAVE): Likewise.
34686 (FUNCTION): Likewise. Do not use BP_SYM.
34687 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34689 (strtok_r): Likewise.
34690 (__GI___strtok_r): Likewise.
34691 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34692 (PARMS): Do not use macros from bp-asm.h.
34695 (__mpn_lshift): Do not use BP_SYM.
34696 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34697 (PARMS): Do not use macros from bp-asm.h.
34700 (__memchr): Do not use BP_SYM.
34701 (memchr): Do not use BP_SYM in weak_alias.
34702 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34703 (PARMS): Do not use macros from bp-asm.h.
34706 (memcmp): Do not use BP_SYM.
34707 (bcmp): Do not use BP_SYM in weak_alias.
34708 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34709 (PARMS): Do not use macros from bp-asm.h.
34712 (__mpn_mul_1): Do not use BP_SYM.
34713 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34715 (PARMS): Do not use macros from bp-asm.h.
34718 (__rawmemchr): Do not use BP_SYM.
34719 (rawmemchr): Do not use BP_SYM in weak_alias.
34720 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34721 (PARMS): Do not use macros from bp-asm.h.
34724 (__mpn_rshift): Do not use BP_SYM.
34725 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34726 (PARMS): Do not use macros from bp-asm.h.
34727 (SIGMSK): Likewise.
34728 (__sigsetjmp): Likewise. Do not use BP_SYM.
34729 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34730 (_start): Do not use BP_SYM.
34731 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34732 (PARMS): Do not use macros from bp-asm.h.
34735 (__stpcpy): Likewise. Do not use BP_SYM.
34736 (stpcpy): Do not use BP_SYM in weak_alias.
34737 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34739 (PARMS): Do not use macros from bp-asm.h.
34743 (__stpncpy): Likewise. Do not use BP_SYM.
34744 (stpncpy): Do not use BP_SYM in weak_alias.
34745 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34746 (PARMS): Do not use macros from bp-asm.h.
34749 (strchr): Likewise. Do not use BP_SYM.
34750 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34752 (PARMS): Do not use macros from bp-asm.h.
34755 (__strchrnul): Likewise. Do not use BP_SYM.
34756 (strchrnul): Do not use BP_SYM in weak_alias.
34757 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34759 (PARMS): Do not use macros from bp-asm.h.
34761 (strcspn): Do not use BP_SYM.
34762 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34764 (PARMS): Do not use macros from bp-asm.h.
34767 (strpbrk): Likewise. Do not use BP_SYM.
34768 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34770 (PARMS): Do not use macros from bp-asm.h.
34773 (strrchr): Likewise. Do not use BP_SYM.
34774 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34775 (PARMS): Do not use macros from bp-asm.h.
34777 (strspn): Do not use BP_SYM.
34778 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34779 (PARMS): Do not use macros from bp-asm.h.
34783 (FUNCTION): Likewise. Do not use BP_SYM.
34784 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34786 (strtok_r): Likewise.
34787 (__GI___strtok_r): Likewise.
34788 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34789 (PARMS): Do not use macros from bp-asm.h.
34793 (__mpn_sub_n): Do not use BP_SYM.
34794 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34796 (PARMS): Do not use macros from bp-asm.h.
34799 (__mpn_submul_1): Do not use BP_SYM.
34800 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34802 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34804 (PARMS): Do not use macros from bp-asm.h.
34809 (__clone): Do not use BP_SYM.
34810 (clone): Do not use BP_SYM in weak_alias.
34811 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34813 (PARMS): Do not use macros from bp-asm.h.
34815 (__mmap64): Do not use BP_SYM.
34816 (mmap64): Do not use BP_SYM in weak_alias.
34817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34818 <bp-sym.h> and <bp-asm.h>.
34819 (PARMS): Do not use macros from bp-asm.h.
34820 (__posix_fadvise64_l64): Do not use BP_SYM.
34821 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34822 (PARMS): Do not use macros from bp-asm.h.
34824 (semtimedop): Do not use BP_SYM.
34825 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34828 2013-02-21 Allan McRae <allan@archlinux.org>
34830 * manual/message.texi (Charset conversion in gettext):
34831 Move @end statement to beginning of line.
34833 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34840 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34841 (denorm): Likewise.
34842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34845 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34847 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34848 tail-call to the resolved function if pltexit isn't needed.
34850 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34853 or Y being zero as being unlikely.
34854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34857 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34859 * manual/nss.texi (System Databases and Name Service Switch):
34860 Remove frobnicate @pxref.
34862 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34864 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34865 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34867 2013-02-20 Petr Machata <pmachata@redhat.com>
34869 * elf/elf.h (R_ARM_TARGET1): New macro.
34870 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34871 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34872 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34873 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34874 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34875 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34876 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34877 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34878 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34879 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34880 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34881 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34882 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34883 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34884 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34885 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34886 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34887 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34888 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34889 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34890 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34891 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34892 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34893 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34894 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34895 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34896 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34897 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34898 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34899 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34900 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34901 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34902 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34903 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34904 (R_ARM_THM_GOT_BREL12): Likewise.
34905 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34906 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34907 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34908 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34909 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34910 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34911 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34912 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34913 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34915 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34918 __attribute_used__ to __attribute__ ((unused)).
34920 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34922 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34925 comment formatting.
34926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34928 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34931 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34933 (ENTER): Remove both macro definitions.
34935 (CHECK_BOUNDS_LOW): Likewise.
34936 (CHECK_BOUNDS_HIGH): Likewise.
34937 (CHECK_BOUNDS_BOTH): Likewise.
34938 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34939 (RETURN_BOUNDED_POINTER): Likewise.
34940 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34941 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34942 (POP_ERRNO_LOCATION_RETURN): Likewise.
34943 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34945 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34948 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34949 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34950 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34951 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34952 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34953 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34954 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34955 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34956 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34957 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34958 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34959 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34960 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34962 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34963 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34966 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34967 * sysdeps/i386/i586/memset.S (memset): Likewise.
34968 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34969 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34970 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34973 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34974 Change uses of L(2) to L(out).
34975 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34976 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34977 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34978 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34979 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34981 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34982 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34984 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34985 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34986 (RETURN): Do not use macro LEAVE.
34987 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34988 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34989 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34990 * sysdeps/i386/i686/memset.S (memset): Likewise.
34991 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34992 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34993 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34994 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34996 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34997 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34998 L(1_2) and L(1_3) into L(1).
34999 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35000 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35001 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35002 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35003 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35004 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35005 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35006 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35007 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35009 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35011 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35012 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35013 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35014 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35015 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35016 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35017 * sysdeps/i386/strcspn.S (strcspn): Likewise.
35018 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35019 * sysdeps/i386/strrchr.S (strrchr): Likewise.
35020 * sysdeps/i386/strspn.S (strspn): Likewise.
35021 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35023 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35024 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35025 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35026 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
35027 L(1_3) into L(1_1).
35028 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35029 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35030 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35032 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35034 2013-02-19 Jakub Jelinek <jakub@redhat.com>
35036 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35039 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35041 * math/atest-exp.c (exp_mpn): Remove ROUND.
35042 * math/atest-exp2.c (exp_mpn): Likewise.
35043 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35045 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35046 * stdlib/tst-tls-atexit-lib.c: Likewise.
35047 * stdlib/tst-tls-atexit.c: Likewise.
35049 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35051 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35052 and __attribute_alloc_size__.
35054 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35056 * include/programs/xmalloc.h: Change __attribute_alloc_size to
35057 __attribute_alloc_size__.
35058 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35059 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35061 2013-02-18 Mike Frysinger <vapier@gentoo.org>
35063 * include/programs/xmalloc.h: New file.
35064 * catgets/gencat.c: Include it.
35065 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35066 * elf/pldd.c: Likewise.
35067 * iconv/iconv_charmap.c: Likewise.
35068 * iconv/iconvconfig.c: Likewise.
35069 * iconv/strtab.c: Likewise.
35070 * locale/programs/locale.c: Likewise.
35071 * locale/programs/localedef.h: Likewise.
35072 * locale/programs/simple-hash.c: Likewise.
35073 * nscd/nscd.h: Likewise.
35074 * nss/makedb.c: Likewise.
35075 * sysdeps/generic/ldconfig.h: Likewise.
35077 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35079 * Versions.def: Add GLIBC_2.18.
35080 * include/link.h (struct link_map): New member l_tls_dtor_count.
35081 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35082 (__call_tls_dtors): Likewise.
35083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35084 __cxa_thread_atexit_impl.
35085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35101 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35102 (tests): Add test case tst-tls-atexit.
35103 (modules-names): Add shared library for tst-tls-atexit.
35104 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35105 (GLIBC_PRIVATE): Add __call_tls_dtors.
35106 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35108 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35109 * stdlib/tst-tls-atexit.c: New test case.
35110 * stdlib/tst-tls-atexit-lib.c: New test case.
35112 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35114 * elf/Versions (ld): Add _dl_find_dso_for_object.
35115 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35116 * elf/dl-open.c (_dl_find_dso_for_object): New function.
35117 (dl_open_worker): Use _dl_find_dso_for_object.
35118 * elf/dl-sym.c (do_sym): Likewise.
35119 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35121 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35123 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35124 Syntactic changes only.
35125 (_dl_runtime_profile): Do a tail-call to the resolved function.
35127 2013-02-17 Joseph Myers <joseph@codesourcery.com>
35130 * sysdeps/x86_64/bp-asm.h: Remove file.
35131 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35132 <bp-sym.h> and <bp-asm.h>.
35133 (__clone): Do not use BP_SYM.
35134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35135 <bp-sym.h> and <bp-asm.h>.
35136 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35137 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35139 (_setjmp): Do not use BP_SYM.
35140 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35142 (setjmp): Do not use BP_SYM.
35143 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35145 (mempcpy): Do not use BP_SYM in weak_alias.
35146 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35148 (strchr): Do not use BP_SYM.
35149 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35151 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35152 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35153 (_start): Do not use BP_SYM.
35154 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35156 (strcat): Do not use BP_SYM.
35157 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35159 (STRCMP): Do not use BP_SYM.
35160 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35162 (STRCPY): Do not use BP_SYM.
35163 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35165 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35167 (FUNCTION): Do not use BP_SYM.
35168 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35170 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35172 2013-02-17 Andreas Jaeger <aj@suse.de>
35174 * time/Versions: Sort entries.
35175 * string/Versions: Likewise.
35176 * resolv/Versions: Likewise.
35177 * posix/Versions: Likewise.
35178 * iconv/Versions: Likewise.
35179 * elf/Versions: Likewise.
35180 * wcsmbs/Versions: Likewise.
35182 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35184 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35185 loop termination condition.
35187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35188 variable to calculate EZ.
35191 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35192 the lower precision input.
35194 2013-02-15 Joseph Myers <joseph@codesourcery.com>
35197 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35198 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35199 (run-via-rtld-prefix): Do not handle %-bp tests.
35200 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35201 (all-object-suffixes): Remove .ob.
35202 (bppfx): Remove variable.
35203 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35204 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35205 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35206 [$(build-bounded) = yes] (libtype.ob): Likewise.
35207 * Makerules (elide-routines.ob): Remove variable.
35208 (do-tests-clean): Do not handle *-bp.out.
35209 (common-mostlyclean): Do not handle *-bp and *-bp.out.
35210 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35211 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35212 (tests): Do not include $(tests-bp.out).
35213 (xtests): Do not include $(xtests-bp.out).
35214 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35215 [$(build-bounded) = yes] ($(addprefix
35216 $(objpfx),$(binaries-bounded))): Remove rule.
35217 ($(objpfx)%-bp.out): Remove rule.
35218 * config.make.in (build-bounded): Remove variable.
35219 * crypt/Makefile [$(build-bounded) = yes]
35220 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35221 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35222 append to variable.
35223 [$(build-bounded) = yes] (install-lib): Likewise.
35224 [$(build-bounded) = yes] (generated): Likewise.
35225 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35227 * intl/Makefile [$(build-bounded) = yes]
35228 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35229 * math/Makefile [$(build-bounded) = yes]
35230 ($(tests:%=$(objpfx)%-bp): Likewise.
35231 * misc/Makefile [$(build-bounded) = yes]
35232 ($(objpfx)tst-tsearch-bp): Likewise.
35233 * nptl/Makeconfig (bounded-thread-library): Remove variable.
35234 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35236 * string/Makefile (o-objects.ob): Remove variable.
35237 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35238 (CFLAGS-.ob): Remove variable.
35239 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35240 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35241 both definitions of variable.
35242 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35243 (ASFLAGS-.ob): Remove variable.
35245 2013-02-14 Joseph Myers <joseph@codesourcery.com>
35248 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35249 Remove __BOUNDED_POINTERS__ from condition.
35250 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35251 * string/bits/string2.h [!__NO_STRING_INLINES &&
35252 !__BOUNDED_POINTERS__]: Likewise.
35253 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35255 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35256 Remove conditional code.
35257 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35258 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35259 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35263 * csu/libc-start.c: Do not include <bp-sym.h>.
35264 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35265 * elf/dl-open.c: Do not include <bp-sym.h>.
35266 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35267 * math/fegetenv.c: Do not include <bp-sym.h>.
35268 (fegetenv): Do not use BP_SYM in versioned symbols.
35269 * nptl/sysdeps/pthread/bits/libc-lockP.h
35270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35273 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35275 (__pthread_mutex_destroy): Likewise.
35276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35277 (__pthread_mutex_lock): Likewise.
35278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35279 (__pthread_mutex_trylock): Likewise.
35280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35281 (__pthread_mutex_unlock): Likewise.
35282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35283 (__pthread_mutexattr_init): Likewise.
35284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35285 (__pthread_mutexattr_destroy): Likewise.
35286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35287 (__pthread_mutexattr_settype): Likewise.
35288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35289 (__pthread_rwlock_init): Likewise.
35290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35291 (__pthread_rwlock_destroy): Likewise.
35292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35293 (__pthread_rwlock_rdlock): Likewise.
35294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35295 (__pthread_rwlock_tryrdlock): Likewise.
35296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35297 (__pthread_rwlock_wrlock): Likewise.
35298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35299 (__pthread_rwlock_trywrlock): Likewise.
35300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35301 (__pthread_rwlock_unlock): Likewise.
35302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35303 (__pthread_key_create): Likewise.
35304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35305 (__pthread_setspecific): Likewise.
35306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35307 (__pthread_getspecific): Likewise.
35308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35311 (_pthread_cleanup_push_defer): Likewise.
35312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35313 (_pthread_cleanup_pop_restore): Likewise.
35314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35315 (pthread_setcancelstate): Likewise.
35316 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35318 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35319 (memchr): Do not use BP_SYM in weak_alias.
35320 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35321 (fegetenv): Do not use BP_SYM in versioned symbols.
35322 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35323 (fesetenv): Do not use BP_SYM in versioned symbols.
35324 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35325 (feupdateenv): Do not use BP_SYM in versioned symbols.
35326 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35327 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35328 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35329 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35330 (open64): Do not use BP_SYM in weak_alias.
35331 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35332 (fegetenv): Do not use BP_SYM in versioned symbols.
35333 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35334 (fesetenv): Do not use BP_SYM in versioned symbols.
35335 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35336 (feupdateenv): Do not use BP_SYM in versioned symbols.
35337 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35338 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35339 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35340 (feraiseexcept): Do not use BP_SYM in versioned symbols.
35341 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35342 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35343 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35345 (__libc_start_main): Do not use BP_SYM.
35347 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35350 redundant return line.
35352 (denorm): Likewise.
35353 (dbl_mp): Likewise.
35354 (sub_magnitudes): Likewise.
35360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35362 (denorm): Likewise.
35363 (dbl_mp): Likewise.
35364 (sub_magnitudes): Likewise.
35371 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35373 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35374 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35377 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35378 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35380 of __mul for squares.
35381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35385 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35386 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35388 2013-02-13 Joseph Myers <joseph@codesourcery.com>
35391 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35393 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35394 prototype or function definition. Rename ubp_* variables and
35395 parameters. Remove argv definitions conditional on
35396 [__BOUNDED_POINTERS__].
35397 * debug/backtrace.c (__backtrace): Do not use __unbounded.
35398 * elf/dl-runtime.c (_dl_fixup): Likewise.
35399 * include/set-hooks.h (RUN_HOOK): Likewise.
35400 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35402 * string/strcpy.c (strcpy): Do not use __unbounded.
35403 * sysdeps/generic/frame.h (struct layout): Likewise.
35404 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35405 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35406 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35407 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35408 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35409 (__backtrace): Likewise.
35410 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35412 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35413 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35414 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35416 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35417 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35418 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35419 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35420 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35421 Do not use __unbounded.
35422 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35423 Rename __unboundedrlimits parameter to rlimits in prototype.
35424 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35425 Do not use __unbounded.
35426 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35427 not use __ptrvalue.
35428 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35429 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35430 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35432 __ptrvalue or __unbounded.
35433 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35434 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35436 (__new_msgctl): Do not use __ptrvalue.
35437 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35439 (__libc_msgrcv): Do not use __ptrvalue.
35440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35441 startup_info): Do not use __unbounded.
35442 (__libc_start_main): Likewise. Rename ubp_* variables and
35443 parameters. Remove argv definitions conditional on
35444 [__BOUNDED_POINTERS__].
35445 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35447 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35449 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35451 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35453 (__new_shmctl): Do not use __ptrvalue.
35454 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35455 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35457 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35458 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35459 (__libc_sigaction): Likewise.
35460 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35463 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35465 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
35467 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35469 * string/mempcpy.c: Implement by calling memcpy.
35471 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35479 values in the mantissa.
35481 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35482 minimize writes to Z.
35483 (sub_magnitudes): Simplify code a bit.
35485 2013-02-12 Roland McGrath <roland@hack.frob.com>
35487 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35488 from the message. The linker prefixes all warnings with that already.
35490 2013-02-12 Andreas Schwab <schwab@suse.de>
35493 * posix/regexec.c (extend_buffers): Add parameter min_len.
35494 (check_matching): Pass minimum needed length.
35495 (clean_state_log_if_needed): Likewise.
35496 (get_subexp): Likewise.
35497 * posix/Makefile (tests): Add bug-regex34.
35498 (bug-regex34-ENV): Define.
35499 * posix/bug-regex34.c: New file.
35502 * posix/regcomp.c (parse_bracket_exp): When looking up collating
35503 elements compare against the byte sequence of it, not its name.
35504 * posix/Makefile (tests): Add bug-regex35.
35505 (bug-regex35-ENV): Define.
35506 * posix/bug-regex35.c: New file.
35508 2013-02-11 Tom de Vries <tom@codesourcery.com>
35510 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
35512 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35513 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35514 (CHECK_EOL): Add undef.
35516 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
35518 * bits/stdlib-bsearch.h: New file.
35519 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35520 * stdlib/stdlib.h: Likewise.
35522 2013-02-11 Roland McGrath <roland@hack.frob.com>
35524 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35525 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35527 * manual/search.texi (Array Search Function): Add missing const in
35529 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35530 declaration to use rlim_t.
35531 (Basic Scheduling Functions): Remove erroneous const from
35532 sched_getparam prototype. Remove erroneous * from
35533 sched_get_priority_max and sched_get_priority_min prototypes.
35534 (Resource Usage): Fix summary @comment on vtimes to refer to
35535 sys/vtimes.h rather than vtimes.h.
35536 Add missing *s in vtimes prototype.
35537 (Limits on Resources): Fix ulimit prototype to return long int.
35538 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35539 prototypes to use long int rather than double.
35540 (BSD Random): Fix initstate and setstate to use char *, not void *.
35541 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35542 prototype to make second argument 'struct aiocb64 *const[]'.
35543 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35544 (Status of AIO Operations): Remove erroneous const in aio_return and
35545 aio_return64 prototypes.
35546 (Synchronizing I/O): Fix sync prototype to return void.
35547 * manual/startup.texi (Suboptions): Remove an erroneous const in
35548 getsubopt prototype.
35549 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35550 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35551 use size_t rather than int.
35552 (Scanning All Users): Likewise for getpwent_r.
35553 (Setting Groups): Add missing const to setgroups prototype.
35554 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35555 * manual/socket.texi (Host Names): Fix gethostbyaddr and
35556 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35557 'const void *' rather than 'const char *'.
35558 (Host Address Functions): Likewise for inet_ntop.
35559 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35560 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35561 ssize_t for return value.
35562 (Sending Data): Likewise for send, sendto, sendmsg.
35563 (Socket Option Functions): Add a missing const in setsockopt prototype.
35564 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35565 use wchar_t for the argument.
35566 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35567 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35569 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35570 double/float/long double for second argument.
35571 Fix return types of significand, significandf, significandl.
35572 * manual/filesys.texi (Setting Permissions): Use mode_t for second
35573 argument in fchmod prototype.
35574 (File Owner): Use uid_t and gid_t in fchown prototype.
35575 (File Times): Add const to utimes, futimes, and lutimes prototypes.
35576 (Making Special Files): Use mode_t and dev_t in mknod prototype.
35577 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35578 use 'const struct dirent **' as argument types to CMP function pointer
35580 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35581 (File Times): Fix summary magic @comment for struct utimbuf and utime
35582 to refer to utime.h, not time.h.
35583 * manual/string.texi (Argz Functions): Add missing const in
35584 argz_extract and argz_next prototypes.
35585 (Finding Tokens in a String): Likewise for basename.
35586 (String/Array Comparison): Fix typo in wcscasecmp prototype.
35587 (Copying and Concatenation): Fix typo in wmemmove prototype.
35588 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35589 (Signal Stack): Remove erroneous const in sigstack prototype.
35590 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35592 (Simple Calendar Time): Likewise for stime.
35593 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35595 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35596 say sys/sysctl.h instead.
35597 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35598 and vsyslog prototypes.
35600 2013-02-11 Tom de Vries <tom@codesourcery.com>
35602 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35605 2013-02-11 Roland McGrath <roland@hack.frob.com>
35607 * misc/sys/mman.h: Fix typo in mremap comment.
35609 2013-02-08 Roland McGrath <roland@hack.frob.com>
35611 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35612 the '\0' terminator.
35614 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35617 * debug/segfault.c: Don't include <bp-checks.h>.
35618 * sysdeps/generic/bp-checks.h: Remove file.
35619 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35620 (__GETDENTS): Don't use CHECK_N.
35621 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35622 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35623 (__getgroups): Don't use CHECK_N.
35624 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35625 (setgroups): Don't use CHECK_N.
35626 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35627 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35628 (__libc_msgrcv): Don't use CHECK_N.
35629 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35630 (__libc_msgsnd): Don't use CHECK_N.
35631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35633 (__libc_pread): Don't use CHECK_N.
35634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35635 include <bp-checks.h>.
35636 (__libc_pread64): Don't use CHECK_N.
35637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35638 include <bp-checks.h>.
35639 (__libc_pwrite): Don't use CHECK_N.
35640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35641 include <bp-checks.h>.
35642 (__libc_pwrite64): Don't use CHECK_N.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35645 (__libc_pread): Don't use CHECK_N.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35647 include <bp-checks.h>.
35648 (__libc_pread64): Don't use CHECK_N.
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35650 include <bp-checks.h>.
35651 (__libc_pwrite): Don't use CHECK_N.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35653 include <bp-checks.h>.
35654 (__libc_pwrite64): Don't use CHECK_N.
35655 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35656 (do_pread): Don't use CHECK_N.
35657 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35658 (do_pread64): Don't use CHECK_N.
35659 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35660 (do_pwrite): Don't use CHECK_N.
35661 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35662 (do_pwrite64): Don't use CHECK_N.
35663 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35664 (__libc_readv): Don't use CHECK_N.
35665 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35666 (semop): Don't use CHECK_N.
35667 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35669 (semtimedop): Don't use CHECK_N.
35670 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35671 (__libc_pread): Don't use CHECK_N.
35672 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35674 (__libc_pread64): Don't use CHECK_N.
35675 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35677 (__libc_pwrite): Don't use CHECK_N.
35678 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35680 (__libc_pwrite64): Don't use CHECK_N.
35681 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35683 (__libc_msgrcv): Don't use CHECK_N.
35684 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35685 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35686 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35687 (__libc_writev): Don't use CHECK_N.
35689 2013-02-08 Roland McGrath <roland@hack.frob.com>
35691 * string/strcpy.c: Removed unused variable.
35693 * Makeconfig (+sysdep-includes): Define with := rather than =.
35694 Use an existing include/ subdir of each sysdeps dir before it.
35696 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35698 * nscd/connection.c (register_traced_file): Comment function.
35699 [HAVE_INOTIFY] (union __inev): Define.
35700 [HAVE_INOTIFY] (inotify_check_files): New function.
35701 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35702 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35704 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35708 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35709 loaded if not already and that a failure is permanent.
35711 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35714 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35715 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35717 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35720 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35721 (CHECK_1_NULL_OK): Likewise.
35722 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35723 (__fxstat): Do not use CHECK_1.
35724 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35726 (___fxstat64): Do not use CHECK_1.
35727 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35729 (__fxstatat): Do not use CHECK_1.
35730 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35732 (__fxstatat64): Do not use CHECK_1.
35733 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35735 (__fxstat): Do not use CHECK_1.
35736 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35738 (__fxstatat): Do not use CHECK_1.
35739 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35741 (__getresgid): Do not use CHECK_1.
35742 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35744 (__getresuid): Do not use CHECK_1.
35745 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35747 (__lxstat): Do not use CHECK_1.
35748 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35750 (__old_msgctl): Do not use CHECK_1.
35751 (__new_msgctl): Likewise.
35752 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35754 (__new_setrlimit): Do not use CHECK_1.
35755 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35757 (__old_shmctl): Do not use CHECK_1.
35758 (__new_shmctl): Likewise.
35759 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35761 (__xstat): Do not use CHECK_1.
35762 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35763 (__lxstat): Do not use CHECK_1.
35764 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35766 (___lxstat64): Do not use CHECK_1.
35767 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35768 (__old_msgctl): Do not use CHECK_1.
35769 (__new_msgctl): Likewise.
35770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35772 (__gettimeofday): Do not use CHECK_1.
35773 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35774 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35775 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35777 (__gettimeofday): Do not use CHECK_1.
35778 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35779 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35780 (__new_shmctl): Do not use CHECK_1.
35781 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35783 (do_sigtimedwait): Do not use CHECK_1.
35784 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35786 (do_sigwaitinfo): Do not use CHECK_1.
35787 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35789 (msgctl): Do not use CHECK_1.
35790 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35792 (shmctl): Do not use CHECK_1.
35793 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35794 (ustat): Do not use CHECK_1.
35795 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35797 (__fxstat): Do not use CHECK_1.
35798 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35800 (__fxstatat): Do not use CHECK_1.
35801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35803 (__lxstat): Do not use CHECK_1.
35804 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35806 (__xstat): Do not use CHECK_1.
35807 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35808 (__xstat): Do not use CHECK_1.
35809 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35810 (___xstat64): Do not use CHECK_1.
35813 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35815 (CHECK_BOUNDS_HIGH): Likewise.
35816 * string/strcpy.c: Do not include <bp-checks.h>.
35817 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35819 2013-02-07 Roland McGrath <roland@hack.frob.com>
35821 * nscd/nscd-client.h (__nscd_drop_map_ref):
35822 Add __attribute__ ((unused)).
35823 * nis/nss-nisplus.h (niserr2nss): Likewise.
35825 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35826 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35828 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35829 Remove inline keyword.
35830 * include/rounding-mode.h (round_away): Likewise.
35831 * libio/wfileops.c (adjust_wide_data): Likewise.
35832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35833 (__m128i_strloadu_tolower): Likewise.
35834 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35835 (__m128i_strloadu_tolower): Likewise.
35836 * time/mktime.c (ydhms_diff): Likewise.
35837 * locale/elem-hash.h (elem_hash): Likewise.
35838 * locale/setlocale.c (setdata): Likewise.
35839 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35840 (re_string_wchar_at): Likewise.
35841 (bitset_not, bitset_merge, bitset_mask): Likewise.
35842 [!(__GNUC__ > 3)] (inline): Remove macro.
35843 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35844 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35845 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35846 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35847 * string/memcmp.c (memcmp_bytes): Likewise.
35848 * locale/programs/locarchive.c (compute_hashval): Likewise.
35849 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35850 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35851 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35852 * nss/getent.c (print_rpc, print_protocols): Likewise.
35853 (print_passwd, print_group, print_aliases): Likewise.
35854 * nis/nss-nisplus.h (niserr2nss): Likewise.
35855 * nscd/connections.c (restart_p): Likewise.
35856 Change return type to bool.
35858 2013-02-05 Roland McGrath <roland@hack.frob.com>
35860 * Makeconfig (all-Depend-files): Add existing
35861 $(sorted-subdirs:=/Depend) files.
35862 (all-subdirs): Remove nss.
35863 * sysdeps/unix/inet/Subdirs: Add it here instead.
35864 * hesiod/Depend: New file.
35866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35867 instead of calling alloca.
35869 * io/lseek.c (__lseek): Rename to __libc_lseek.
35870 Define __lseek as an alias.
35872 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35874 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35876 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35877 else clause and remove check for non-standard endianness.
35879 2013-02-04 David S. Miller <davem@davemloft.net>
35881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35883 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35886 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35887 (__ubp_memchr): Remove prototype.
35888 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35889 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35890 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35891 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35892 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35894 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35895 (__ubp_memchr): Likewise.
35896 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35897 (__ubp_memchr): Likewise.
35898 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35899 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35900 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35901 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35904 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35905 (__getcwd): Do not use CHECK_STRING.
35906 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35908 (__real_chown): Do not use CHECK_STRING.
35909 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35911 (fchownat): Do not use CHECK_STRING.
35912 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35914 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35916 (__lchown): Do not use CHECK_STRING.
35917 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35918 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35919 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35920 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35922 include <bp-checks.h>.
35923 (truncate64): Do not use CHECK_STRING.
35924 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35926 (__real_chown): Do not use CHECK_STRING.
35927 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35929 (__lchown): Do not use CHECK_STRING.
35930 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35932 (__chown): Do not use CHECK_STRING.
35933 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35935 (truncate64): Do not use CHECK_STRING.
35936 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35938 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35939 (__xmknod): Do not use CHECK_STRING.
35940 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35942 (__xmknodat): Do not use CHECK_STRING.
35943 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35944 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35946 2013-02-04 Andreas Schwab <schwab@suse.de>
35949 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35950 * include/netdb.h: Likewise for h_errno.
35951 * elf/tst-stackguard1.c: Include <tls.h>.
35953 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35955 * elf/link.h (struct link_map): Extend the l_addr comment.
35956 * include/link.h (struct link_map): Likewise.
35958 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35961 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35962 (BOUNDED_1): Remove macro.
35963 * debug/backtrace.c: Don't include <bp-checks.h>.
35964 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35965 (__backtrace): Likewise.
35966 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35968 (__backtrace): Don't use BOUNDED_1.
35969 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35971 (__backtrace): Don't use BOUNDED_1.
35972 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35973 (__backtrace): Don't use BOUNDED_1.
35974 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35975 (shmat): Don't use BOUNDED_N.
35977 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35980 * sysdeps/generic/bp-start.h: Remove file.
35981 * csu/libc-start.c: Don't include <bp-start.h>.
35982 (LIBC_START_MAIN): Set up __environ directly instead of using
35983 INIT_ARGV_and_ENVIRON.
35984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35988 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35990 (CHECK_FCNTL): Likewise.
35991 (CHECK_N_PAGES): Likewise.
35994 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35996 (CHECK_SIGSET_NULL_OK): Likewise.
35997 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35999 (sigpending): Don't use CHECK_SIGSET.
36000 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36002 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36003 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36005 (do_sigsuspend): Don't use CHECK_SIGSET.
36006 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36008 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36009 (do_sigwait): Don't use CHECK_SIGSET.
36010 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36013 include <bp-checks.h>.
36014 (sigpending): Don't use CHECK_SIGSET.
36015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36016 include <bp-checks.h>.
36017 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36018 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36020 (sigpending): Don't use CHECK_SIGSET.
36021 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36023 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36026 * sysdeps/generic/bp-semctl.h: Remove file.
36027 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36028 <bp-checks.h> and <bp-semctl.h>.
36029 (__old_semctl): Don't use CHECK_SEMCTL.
36030 (__new_semctl): Likewise.
36031 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36033 (__old_semctl): Don't use CHECK_SEMCTL.
36034 (__new_semctl): Likewise.
36035 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36036 <bp-checks.h> and <bp-semctl.h>.
36037 (__old_semctl): Don't use CHECK_SEMCTL.
36038 (__new_semctl): Likewise.
36039 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36040 <bp-checks.h> and <bp-semctl.h>.
36041 (semctl): Don't use CHECK_SEMCTL.
36044 * Makerules (elide-bp-thunks): Remove variable.
36045 (elide-routines.oS): Don't use $(elide-bp-thunks).
36046 (elide-routines.os): Likewise.
36047 (elide-routines.o): Likewise.
36048 (elide-routines.op): Likewise.
36049 (elide-routines.og): Likewise.
36050 (objects): Don't use $(bp-thunks).
36051 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36053 (common-generated): Do not add s-proto-bp.d.
36054 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36057 Do not generate makefile rules for bounded-pointer thunks.
36058 * sysdeps/generic/bp-thunks.h: Remove file.
36059 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36060 * sysdeps/unix/s-proto-bp.S: Likewise.
36063 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36064 parts of result separately when argument is not close to line from
36065 -i to i and one part of argument is small.
36066 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36067 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36068 * math/libm-test.inc (cacos_test): Add more tests.
36069 (casin_test): Likewise.
36070 (casinh_test): Likewise.
36071 * sysdeps/i386/fpu/libm-test-ulps: Update.
36072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36074 2013-01-31 David S. Miller <davem@davemloft.net>
36076 * po/de.po: Update from translation team.
36078 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
36080 * time/tzfile.c: Include stdint.h for SIZE_MAX.
36082 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
36084 * configure.in (_AC_PROG_CC_C89): New definition.
36085 * configure: Regenerate.
36087 * configure.in (AC_PROG_CPP): New definition.
36088 * configure: Regenerate.
36090 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36092 * debug/tst-backtrace.h: New file.
36093 * debug/tst-backtrace2.c: Include tst-backtrace.h.
36094 (ret): Remove variable.
36096 (FAIL): Remove macro.
36097 (NO_INLINE): Likewise.
36098 (fn1): Use match function instead of strstr.
36099 * debug/tst-backtrace3.c: Include tst-backtrace.h.
36100 (ret): Remove variable.
36102 (FAIL): Remove macro.
36103 (NO_INLINE): Likewise.
36104 (fn): Use match function instead of strstr.
36105 * debug/tst-backtrace4.c: Include tst-backtrace.h.
36106 (ret): Remove variable.
36108 (FAIL): Remove macro.
36109 (NO_INLINE): Likewise.
36110 (handle_signal): Use match function instead of strstr.
36111 * debug/tst-backtrace5.c: Include tst-backtrace.h.
36112 (ret): Remove variable.
36114 (FAIL): Remove macro.
36115 (NO_INLINE): Likewise.
36116 (handle_signal): Use match function instead of strstr.
36118 2013-01-23 Roland McGrath <roland@hack.frob.com>
36120 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36122 2013-01-23 David S. Miller <davem@davemloft.net>
36124 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36125 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36126 argument of CAS if possible.
36127 * sysdeps/sparc/sparc64/bits/atomic.h
36128 (__arch_compare_and_exchange_val_32_acq): Likewise.
36129 (__arch_compare_and_exchange_val_64_acq): Likewise.
36131 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
36133 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36134 * sysdeps/posix/ulimit.c: ... this.
36135 Include <limits.h>.
36136 * sysdeps/unix/bsd/ulimit.c: Remove file.
36138 2013-01-23 Adam Conrad <adconrad@0c3.net>
36140 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36141 (LDFLAGS-tst-array5): Likewise.
36143 2013-01-23 Joseph Myers <joseph@codesourcery.com>
36146 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36147 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36148 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36149 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36151 2013-01-21 David S. Miller <davem@davemloft.net>
36153 * sysdeps/sparc/backtrace.c: New file.
36154 * sysdeps/sparc/sparc32/backtrace.h: New file.
36155 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36156 * sysdeps/sparc/sparc64/backtrace.h: New file.
36157 * sysdeps/sparc/sparc64/backtrace.c: Delete.
36158 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36161 2013-01-21 Andreas Schwab <schwab@suse.de>
36164 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36167 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
36169 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36173 2013-01-18 Joseph Myers <joseph@codesourcery.com>
36174 Mark Mitchell <mark@codesourcery.com>
36175 Tom de Vries <tom@codesourcery.com>
36176 Paul Pluzhnikov <ppluzhnikov@google.com>
36178 * debug/tst-backtrace2.c: New file.
36179 * debug/tst-backtrace3.c: Likewise.
36180 * debug/tst-backtrace4.c: Likewise.
36181 * debug/tst-backtrace5.c: Likewise.
36182 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36183 (CFLAGS-tst-backtrace3.c): Likewise.
36184 (CFLAGS-tst-backtrace4.c): Likewise.
36185 (CFLAGS-tst-backtrace5.c): Likewise.
36186 (LDFLAGS-tst-backtrace2): Likewise.
36187 (LDFLAGS-tst-backtrace3): Likewise.
36188 (LDFLAGS-tst-backtrace4): Likewise.
36189 (LDFLAGS-tst-backtrace5): Likewise.
36190 (tests): Add new tests tst-backtrace2, tst-backtrace3,
36191 tst-backtrace4 and tst-backtrace5.
36193 2013-01-18 Anton Blanchard <anton@samba.org>
36194 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36196 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36197 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36198 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36199 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36201 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36202 "+r" and remove output regs list as redundant. Add explicit inline
36203 asm to specify register of return val to work around compiler codegen
36204 bug. Remove (int) cast on return value. Add return type parameter to
36205 use in macro so that this macro does not truncate return value for
36207 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36208 pass to INTERNAL_VSYSCALL_NCS.
36209 (INLINE_VSYSCALL): Add 'long int' as return type to
36210 INTERNAL_VSYSCALL_NCS macro invocation.
36211 (INTERNAL_VSYSCALL): Add 'long int' as return type to
36212 INTERNAL_VSYSCALL_NCS macro invocation.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36215 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36218 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36219 Fix application of SIMD FP exception mask.
36221 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36222 mp_no from a power of two.
36223 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36224 __mpexp_twomm1. Use __pow_mp.
36226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36229 2013-01-17 David S. Miller <davem@davemloft.net>
36231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36233 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36236 * include/complex.h: Condition contents on [!_COMPLEX_H].
36237 (__kernel_casinhf): New prototype.
36238 (__kernel_casinh): Likewise.
36239 (__kernel_casinhl): Likewise.
36240 * math/Makefile (libm_calls): Add k_casinh.
36241 * math/k_casinh.c: New file.
36242 * math/k_casinhf.c: Likewise.
36243 * math/k_casinhl.c: Likewise.
36244 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36245 finite nonzero arguments.
36246 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36247 finite nonzero arguments.
36248 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36249 finite nonzero arguments.
36250 * math/s_casinh.c: Do not include <float.h>.
36251 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36252 * math/s_casinhf.c: Do not include <float.h>.
36253 (__casinhf): Move code for finite nonzero arguments to
36255 * math/s_casinhl.c: Do not include <float.h>.
36256 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36258 (__casinhl): Move code for finite nonzero arguments to
36260 * math/libm-test.inc (cacos_test): Add more tests.
36261 * sysdeps/i386/fpu/libm-test-ulps: Update.
36262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36264 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
36266 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36267 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36268 [!HAVE_MREMAP]: Remove [defined linux] case.
36269 * malloc/arena.c: Do not include <malloc-sysdep.h>.
36271 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36273 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36275 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
36277 * elf/elf.h (R_386_SIZE32): New relocation.
36278 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36280 (elf_machine_rela): Likewise.
36281 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36282 R_X86_64_SIZE64 and R_X86_64_SIZE32.
36284 2013-01-17 Joseph Myers <joseph@codesourcery.com>
36286 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36287 (FP_FAST_FMA): Do not define.
36288 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36289 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36290 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36291 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36292 !_SOFT_FLOAT]: Likewise.
36293 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36296 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36297 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36299 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36300 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36301 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36304 2013-01-16 Andreas Schwab <schwab@suse.de>
36307 * include/stdlib.h (__mktemp): Add declaration.
36308 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36309 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36311 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36313 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36315 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36316 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36317 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36319 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36320 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36322 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36324 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36325 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36326 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36328 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36329 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36331 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36333 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36335 2013-01-15 David S. Miller <davem@davemloft.net>
36337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36338 trunc{,f} to libm-sysdep_routes.
36339 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36349 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36350 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36351 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36352 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36353 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36354 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36357 nearbyint{,f} to libm-sysdep_routes.
36358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36374 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36375 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36376 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36379 libc_feholdexcept and libc_fesetenv.
36381 2013-01-15 Mike Frysinger <vapier@gentoo.org>
36383 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36385 2013-01-14 David S. Miller <davem@davemloft.net>
36387 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36388 (SPARC_ASM_VIS2_IFUNC): Likewise.
36389 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36391 use of 'siam' instruction.
36392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36399 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36425 routines to libm-sysdep_routines.
36426 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36429 fdim/fdimf to libm-sysdep_routines.
36430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36438 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36439 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36440 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36441 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36443 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
36445 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36446 to optimize copies.
36448 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36453 local variable MPTWO.
36454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36457 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36459 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36462 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36464 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36466 2013-01-13 Mike Frysinger <vapier@gentoo.org>
36468 * manual/pattern.texi (glob_t): Document gl_flags.
36469 (glob64_t): Likewise.
36471 2013-01-11 David S. Miller <davem@davemloft.net>
36473 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36474 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36475 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
36476 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36477 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36478 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36479 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36480 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36481 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36482 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36483 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36484 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36485 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36487 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36488 sparc V9 rather than using V8 code.
36489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36492 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36494 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36497 2013-01-11 Roland McGrath <roland@hack.frob.com>
36499 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36500 not in the main loop.
36501 * configure: Regenerated.
36503 2013-01-11 Joseph Myers <joseph@codesourcery.com>
36505 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36506 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36508 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
36509 [!__GLIBC_HAVE_LONG_LONG] case.
36510 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36511 condition to just #else.
36512 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36513 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36514 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36515 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36517 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36518 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36519 #elif condition to just #else.
36520 * sysdeps/unix/sysv/linux/sys/sysmacros.h
36521 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36522 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36523 #elif condition to just #else.
36525 2013-01-11 Steve Ellcey <sellcey@mips.com>
36527 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36528 (EF_MIPS_ARCH_64): Fix value.
36529 (EF_MIPS_ARCH_32R2): New.
36530 (EF_MIPS_ARCH_64R2): New.
36532 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
36534 * Makeconfig (+link-pie-before-libc): New.
36535 (+link-pie-after-libc): Likewise.
36536 (+link-pie-tests): Likewise.
36537 (+link-pie): Rewritten.
36538 (link-before-libc): Remove $(config-LDFLAGS).
36539 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36540 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36541 (config-LDFLAGS): Renamed to ...
36542 (rtld-LDFLAGS): This.
36543 (rtld-tests-LDFLAGS): New macro.
36544 (link-libc-rpath-link): Likewise.
36545 (link-libc-tests-rpath-link): Likewise.
36546 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36547 (link-libc): Prepand $(link-libc-rpath-link).
36548 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36549 (test-program-prefix): New macro.
36550 (test-via-rtld-prefix): Likewise.
36551 (test-program-cmd): Likewise.
36552 (host-test-program-cmd): Likewise.
36553 * Makefile ($(common-objpfx)testrun.sh): Replace
36554 $(run-program-prefix) with $(test-program-prefix).
36555 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36557 ($(common-objpfx)shlib.lds): Likewise.
36558 (build-module-helper): Likewise.
36559 ($(common-objpfx)format.lds): Likewise.
36560 * Rules (binaries-pie-tests): New.
36561 (binaries-pie-notests): Likewise.
36562 (binaries-pie): Rewritten.
36563 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36564 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36565 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36566 (make-test-out): Replace $(host-built-program-cmd) with
36567 $(host-test-program-cmd).
36568 * config.make.in (build-hardcoded-path-in-tests): New variable.
36569 * configure.in (--enable-hardcoded-path-in-tests): New configure
36571 (hardcoded_path_in_tests): New AC_SUBST.
36572 * configure: Regenerated.
36573 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36574 $(built-program-cmd) with $(test-program-cmd).
36575 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36576 (test_program_cmd): This.
36577 * elf/Makefile ($(objpfx)order.out): Run test with
36578 $(test-program-prefix).
36579 ($(objpfx)order2.out): Likewise.
36580 ($(objpfx)tst-initorder.out): Likewise.
36581 ($(objpfx)tst-initorder2.out): Likewise.
36582 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36583 $(test-program-cmd).
36584 ($(objpfx)tst-array1-static.out): Likewise.
36585 ($(objpfx)tst-array2.out): Likewise.
36586 ($(objpfx)tst-array3.out): Likewise.
36587 ($(objpfx)tst-array4.out): Likewise.
36588 ($(objpfx)tst-array5.out): Likewise.
36589 ($(objpfx)tst-array5-static.out): Likewise.
36590 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36591 $(test-program-cmd).
36592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36593 $(run-program-prefix) with $(test-program-prefix).
36594 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36595 (test_program_prefix): This.
36596 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36597 $(run-program-prefix) with $(test-program-prefix).
36598 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36599 (test_program_prefix): This.
36600 * iconvdata/tst-tables.sh: Likewise.
36601 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36602 $(run-program-prefix) with $(test-program-prefix).
36603 ($(objpfx)tst-translit.out): Likewise.
36604 ($(objpfx)tst-gettext2.out): Likewise.
36605 ($(objpfx)tst-gettext4.out): Likewise.
36606 ($(objpfx)tst-gettext6.out): Likewise.
36607 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36608 (test_program_prefix): This.
36609 * intl/tst-gettext2.sh: Likewise.
36610 * intl/tst-gettext4.sh Likewise.
36611 * intl/tst-gettext6.sh: Likewise.
36612 * intl/tst-translit.sh: Likewise.
36613 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36614 with $(test-program-cmd).
36615 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36616 $(run-program-prefix) with $(test-program-prefix).
36617 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36618 (test_program_prefix): This.
36619 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36620 $(run-program-prefix) with $(test-program-prefix).
36621 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36622 (test_program_prefix): This.
36623 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36624 * posix/Makefile ($(objpfx)globtest.out): Replace
36625 $(run-via-rtld-prefix) and $(test-wrapper) with
36626 $(test-program-prefix) and $(test-via-rtld-prefix).
36627 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36628 $(test-program-prefix).
36629 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36630 $(host-test-program-cmd).
36631 (tst-spawn-ARGS): Likewise.
36632 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36633 $(test-program-prefix).
36634 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36635 (test_via_rtld_prefix): This.
36636 (test_wrapper): Renamed to ...
36637 (test_program_prefix): This.
36638 (run_program_prefix): Replaced by test_program_prefix.
36639 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36640 (test_program_prefix): This.
36641 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36642 with $(host-test-program-cmd).
36643 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36644 $(run-program-prefix) with $(test-program-prefix).
36645 ($(objpfx)tst-printf.out): Likewise.
36646 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36647 $(test-program-cmd).
36648 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36649 (test_program_prefix): This.
36650 * stdio-common/tst-unbputc.sh: Likewise.
36651 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36652 $(run-program-prefix) with $(test-program-prefix).
36653 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36654 (test_program_prefix): This.
36655 * string/Makefile ($(objpfx)tst-svc.out): Replace
36656 $(built-program-cmd) with $(test-program-cmd).
36658 2013-01-11 Andreas Jaeger <aj@suse.de>
36661 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36662 value. Sync with Linux 3.7.
36664 2013-01-10 David S. Miller <davem@davemloft.net>
36666 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36667 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36668 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36670 2013-01-10 Roland McGrath <roland@hack.frob.com>
36672 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36674 * configure: Regenerated.
36676 2013-01-10 David S. Miller <davem@davemloft.net>
36678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36679 sparc V9 rather than using V8 code.
36680 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36683 2013-01-10 Roland McGrath <roland@hack.frob.com>
36685 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36686 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36687 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36688 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36689 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36690 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36691 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36692 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36693 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36694 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36695 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36696 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36697 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36698 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36699 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36700 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36701 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36702 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36703 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36704 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36705 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36706 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36707 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36708 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36709 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36710 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36711 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36713 2013-01-10 David S. Miller <davem@davemloft.net>
36715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36717 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36719 * posix/Makefile (tests-static): New variable.
36720 (tests): Add $(tests-static).
36721 (tst-exec-static-ARGS): New variable.
36722 (tst-spawn-static-ARGS): Likewise.
36723 * posix/tst-exec-static.c: New file.
36724 * posix/tst-spawn-static.c: Likewise.
36725 * posix/tst-exec.c: Support run directly.
36726 * posix/tst-spawn.c: Likewise.
36728 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36730 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36732 * math/bits/mathcalls.h (llrint): Likewise.
36733 (llround): Likewise.
36734 * stdlib/stdlib.h (struct drand48_data): Likewise.
36735 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36736 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36737 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36739 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36741 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36742 (elf_greg_t): Likewise.
36743 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36744 (__jmp_buf): Likewise.
36745 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36747 (llrint): Likewise, for all definitions.
36748 (llrintl): Likewise.
36750 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36751 Remove [__GNUC__] condition.
36752 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36753 condition to just [__USE_ISOC99].
36754 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36756 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36759 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36760 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36762 (_POSIX_V6_ILP32_OFF32): Likewise.
36763 (_XBS5_ILP32_OFF32): Likewise.
36764 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36765 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36767 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36769 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36772 doubles __mpexp_twomm1. Adjust usage.
36773 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36776 2013-01-10 Andreas Schwab <schwab@suse.de>
36779 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36780 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36782 2013-01-09 David S. Miller <davem@davemloft.net>
36785 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36786 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36787 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36788 (TCP_FASTOPEN): Define.
36789 (tcp_repair_opt): New structure.
36790 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36792 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36793 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36794 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36795 (tcp_cookie_transactions): New structure.
36797 2013-01-09 Anton Blanchard <anton@samba.org>
36799 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36800 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36801 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36802 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36804 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36806 * include/features.h (__USE_ANSI): Remove.
36808 2013-01-09 Roland McGrath <roland@hack.frob.com>
36810 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36812 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36814 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36816 * sysdeps/s390/fpu/libm-test-ulps: Update.
36818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36820 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36824 (denorm): Likewise.
36825 (__mp_dbl): Likewise.
36826 (__dbl_mp): Likewise.
36827 (add_magnitudes): Likewise.
36828 (sub_magnitudes): Likewise.
36834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36838 (denorm): Likewise.
36839 (__mp_dbl): Likewise.
36840 (__dbl_mp): Likewise.
36841 (add_magnitudes): Likewise.
36842 (sub_magnitudes): Likewise.
36848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36852 (denorm): Likewise.
36853 (__mp_dbl): Likewise.
36854 (__dbl_mp): Likewise.
36855 (add_magnitudes): Likewise.
36856 (sub_magnitudes): Likewise.
36863 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36865 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36866 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36867 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36868 2 && __USE_EXTERN_INLINES]: Likewise.
36870 2013-01-08 Andreas Jaeger <aj@suse.de>
36873 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36875 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36876 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36878 2013-01-07 Anton Blanchard <anton@samba.org>
36880 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36881 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36882 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36883 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36884 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36885 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36886 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36889 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36891 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36894 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36898 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36899 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36900 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36901 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36903 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36904 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36905 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36906 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36907 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36908 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36909 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36910 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36912 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36913 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36914 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36917 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36918 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36920 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36921 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36922 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36924 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36926 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36927 (__MALLOC_PMT): Likewise.
36928 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36929 [__GNUC__], only on [_LIBC].
36930 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36931 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36932 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36933 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36934 forward declaration.
36935 (realloc_hook_ini): Likewise.
36936 (memalign_hook_ini): Likewise.
36937 (__libc_memalign): Do not use __MALLOC_PMT in variable
36939 (__libc_valloc): Likewise.
36940 (__libc_pvalloc): Likewise.
36941 (__libc_calloc): Likewise.
36942 (__posix_memalign): Likewise.
36945 * math/s_casinh.c: Include <float.h>.
36946 (__casinh): Do not do computation with squaring and square root
36947 for large arguments.
36948 * math/s_casinhf.c: Include <float.h>.
36949 (__casinhf): Do not do computation with squaring and square root
36950 for large arguments.
36951 * math/s_casinhl.c: Include <float.h>.
36952 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36953 (__casinhl): Do not do computation with squaring and square root
36954 for large arguments.
36955 * math/libm-test.inc (casin_test): Add more tests.
36956 (casinh_test): Likewise.
36957 * sysdeps/i386/fpu/libm-test-ulps: Update.
36958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36960 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36963 (__x86_64_raw_data_cache_size): Likewise.
36964 (__x86_64_data_cache_size_half): Likewise.
36965 (__x86_64_raw_data_cache_size_half): Likewise.
36966 (__x86_64_shared_cache_size): Likewise.
36967 (__x86_64_raw_shared_cache_size): Likewise.
36968 (__x86_64_shared_cache_size_half): Likewise.
36969 (__x86_64_raw_shared_cache_size_half): Likewise.
36970 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36972 (__x86_data_cache_size): This.
36973 (__x86_64_raw_data_cache_size): Renamed to ...
36974 (__x86_raw_data_cache_size): This.
36975 (__x86_64_data_cache_size_half): Renamed to ...
36976 (__x86_data_cache_size_half): This.
36977 (__x86_64_raw_data_cache_size_half): Renamed to ...
36978 (__x86_raw_data_cache_size_half): This.
36979 (__x86_64_shared_cache_size): Renamed to ...
36980 (__x86_shared_cache_size): This.
36981 (__x86_64_raw_shared_cache_size): Renamed to ...
36982 (__x86_raw_shared_cache_size): This.
36983 (__x86_64_shared_cache_size_half): Renamed to ...
36984 (__x86_shared_cache_size_half): This.
36985 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36986 (__x86_raw_shared_cache_size_half): This.
36987 * sysdeps/x86_64/memcpy.S: Updated.
36988 * sysdeps/x86_64/memset.S: Likewise.
36989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36990 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36991 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36993 2013-01-04 David S. Miller <davem@davemloft.net>
36995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36997 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36999 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37000 1 to avoid redefinition warning.
37001 (__USE_GNU): Don't define.
37002 (init_signaling_nan): Protoize.
37004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37006 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37008 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37010 (__cpymn): Likewise.
37011 (norm): Remove commented code.
37012 (denorm): Likewise.
37013 (__mp_dbl): Likewise.
37015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37016 (__cpymn): Likewise.
37017 (norm): Remove commented code.
37018 (denorm): Likewise.
37019 (__mp_dbl): Likewise.
37022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37023 mp_no value for 1.0 and 2.0.
37024 (norm): Use RADIXI instead of radixi.d.
37025 (denorm): Likewise.
37026 (__mul): Use 0.0 instead of zero.d.
37027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37028 mp_no value for 1.0 and 2.0.
37029 (norm): Use RADIXI instead of radixi.d.
37030 (denorm): Likewise.
37031 (__mul): Use 0.0 instead of zero.d.
37033 2013-01-04 Joseph Myers <joseph@codesourcery.com>
37036 * math/s_casinh.c (__casinh): Reduce finite argument to first
37037 quadrant then set signs of results at the end.
37038 * math/s_casinhf.c (__casinhf): Likewise.
37039 * math/s_casinhl.c (__casinhl): Likewise.
37040 * math/libm-test.inc (casin_test): Add more tests.
37041 (casinh_test): Likewise.
37042 * sysdeps/i386/fpu/libm-test-ulps: Update.
37043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37045 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37047 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37049 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37051 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37053 (denorm): Likewise.
37054 (__mp_dbl): Likewise.
37057 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37058 and adjust the header comment.
37060 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37061 variable name from declaration.
37063 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
37065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37066 Initialize COMMON_CPUID_INDEX_7 element.
37067 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37068 (CPUID_RTM): Likewise.
37069 (HAS_RTM): Likewise.
37070 (COMMON_CPUID_INDEX_7): New enum.
37072 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
37075 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37076 size is zero, record memory as freed.
37078 2013-01-03 Andreas Jaeger <aj@suse.de>
37080 * po/ia.po: Add new Interlingua translation.
37082 2012-01-03 Allan McRae <allan@archlinux.org>
37084 * locale/programs/localedef.c: Fix description of '--posix' flag.
37086 2013-01-02 Joseph Myers <joseph@codesourcery.com>
37088 * NEWS: Update dates in second copyright notice.
37089 * README: Update copyright dates in example.
37090 * manual/libc.texinfo: Update copyright dates.
37091 * scripts/test-installation.pl: Update copyright date in --version
37094 * hurd/ctty-input.c: Fix copyright notice formatting.
37095 * hurd/ctty-output.c: Likewise.
37096 * hurd/dtable.c: Likewise.
37097 * hurd/hurd-raise.c: Likewise.
37098 * hurd/hurdprio.c: Likewise.
37099 * hurd/msgportdemux.c: Likewise.
37100 * misc/sys/file.h: Likewise.
37101 * misc/sys/ioctl.h: Likewise.
37102 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37103 * sysdeps/mach/hurd/chdir.c: Likewise.
37104 * sysdeps/mach/hurd/fchdir.c: Likewise.
37105 * sysdeps/mach/hurd/rename.c: Likewise.
37106 * sysdeps/mach/hurd/rmdir.c: Likewise.
37107 * sysdeps/mach/hurd/seekdir.c: Likewise.
37108 * sysdeps/mach/hurd/setsid.c: Likewise.
37109 * sysdeps/posix/wait3.c: Likewise.
37111 * All files with FSF copyright notices: Update copyright dates
37112 using scripts/update-copyrights.
37113 * intl/plural.c: Regenerated.
37114 * locale/programs/charmap-kw.h: Likewise.
37115 * locale/programs/locfile-kw.h: Likewise.
37117 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37119 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37122 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37123 calculation loop and add branch prediction.
37125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37126 check access beyond bounds of m1np.
37128 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37130 (__inv): Remove local variable MPTWO to use the global
37132 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37133 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37135 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37136 MP3HALFS static const.
37138 2013-01-01 David S. Miller <davem@davemloft.net>
37140 * po/ca.po: Update from translation team.
37142 2013-01-01 Joseph Myers <joseph@codesourcery.com>
37144 * scripts/update-copyrights: New file.
37145 * Makeconfig: Reformat copyright notice.
37146 * ctype/ctype.h: Likewise.
37147 * debug/swprintf_chk.c: Likewise.
37148 * elf/dl-cache.c: Likewise.
37149 * elf/dl-debug.c: Likewise.
37150 * elf/dl-object.c: Likewise.
37151 * grp/initgroups.c: Likewise.
37152 * hurd/Makefile: Likewise.
37153 * hurd/hurd/signal.h: Likewise.
37154 * hurd/hurdfault.c: Likewise.
37155 * hurd/hurdioctl.c: Likewise.
37156 * hurd/hurdlookup.c: Likewise.
37157 * hurd/intr-msg.c: Likewise.
37158 * iconv/gconv_open.c: Likewise.
37159 * libio/swprintf.c: Likewise.
37160 * locale/lc-ctype.c: Likewise.
37161 * locale/nl_langinfo.c: Likewise.
37162 * mach/Machrules: Likewise.
37163 * mach/Makefile: Likewise.
37164 * malloc/obstack.h: Likewise.
37165 * manual/Makefile: Likewise.
37166 * manual/tsort.awk: Likewise.
37167 * misc/bits/stab.def: Likewise.
37168 * nis/nis_print_group_entry.c: Likewise.
37169 * nis/nis_table.c: Likewise.
37170 * nis/nss_compat/compat-pwd.c: Likewise.
37171 * nis/nss_compat/compat-spwd.c: Likewise.
37172 * po/Makefile: Likewise.
37173 * posix/fnmatch.c: Likewise.
37174 * posix/regex.h: Likewise.
37175 * resolv/Makefile: Likewise.
37176 * resolv/nss_dns/dns-network.c: Likewise.
37177 * resolv/res_hconf.c: Likewise.
37178 * scripts/gen-sorted.awk: Likewise.
37179 * soft-fp/soft-fp.h: Likewise.
37180 * stdio-common/printf.h: Likewise.
37181 * stdlib/monetary.h: Likewise.
37182 * stdlib/random.c: Likewise.
37183 * stdlib/random_r.c: Likewise.
37184 * sysdeps/generic/Makefile: Likewise.
37185 * sysdeps/gnu/Makefile: Likewise.
37186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37193 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37196 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37197 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37200 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37202 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37203 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37214 * sysdeps/mach/hurd/errnos.awk: Likewise.
37215 * sysdeps/mach/hurd/fork.c: Likewise.
37216 * sysdeps/mach/hurd/getcwd.c: Likewise.
37217 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37218 * sysdeps/mach/hurd/mmap.c: Likewise.
37219 * sysdeps/mach/hurd/utimes.c: Likewise.
37220 * sysdeps/mach/hurd/xmknod.c: Likewise.
37221 * sysdeps/posix/profil.c: Likewise.
37222 * sysdeps/posix/readdir_r.c: Likewise.
37223 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37224 * sysdeps/powerpc/bits/setjmp.h: Likewise.
37225 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37226 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37228 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37229 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37230 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37232 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37233 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37234 * sysdeps/pthread/lio_listio.c: Likewise.
37235 * sysdeps/sparc/dl-procinfo.h: Likewise.
37236 * sysdeps/unix/i386/sysdep.S: Likewise.
37237 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37238 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37239 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37240 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37242 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37243 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37244 * sysdeps/unix/sysv/linux/speed.c: Likewise.
37245 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37246 * sysdeps/wordsize-32/divdi3.c: Likewise.
37247 * time/sys/time.h: Likewise.
37248 * wcsmbs/Makefile: Likewise.
37250 2013-01-01 David S. Miller <davem@davemloft.net>
37252 * po/fr.po: Update from translation team.
37254 * catgets/gencat.c: Update copyright year.
37255 * csu/version.c: Likewise.
37256 * debug/catchsegv.sh: Likewise.
37257 * debug/pcprofiledump.c: Likewise.
37258 * debug/xtrace.sh: Likewise.
37259 * elf/ldconfig.c: Likewise.
37260 * elf/ldd.bash.in: Likewise.
37261 * elf/pldd.c: Likewise.
37262 * elf/sotruss.ksh: Likewise.
37263 * elf/sprof.c: Likewise.
37264 * iconv/iconv_prog.c: Likewise.
37265 * iconv/iconvconfig.c: Likewise.
37266 * locale/programs/locale.c: Likewise.
37267 * locale/programs/localedef.c: Likewise.
37268 * login/programs/pt_chown.c: Likewise.
37269 * malloc/memusage.sh: Likewise.
37270 * malloc/memusagestat.c: Likewise.
37271 * malloc/mtrace.pl: Likewise.
37272 * nscd/nscd.c: Likewise.
37273 * nss/getent.c: Likewise.
37274 * nss/makedb.c: Likewise.
37275 * posix/getconf.c: Likewise.
37277 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37279 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37282 2012-12-30 Mike Frysinger <vapier@gentoo.org>
37284 * math/bits/mathcalls.h (modf): Use __nonnull.
37286 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37288 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37289 (split): Use macro CN instead of the bare value.
37290 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37293 instead of the bare value.
37294 (power1): Likewise.
37296 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37298 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37300 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37302 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37304 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37306 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37307 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37309 2012-12-28 Andreas Jaeger <aj@suse.de>
37311 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
37312 values are from Linux 3.7.
37314 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37315 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
37317 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37319 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37324 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37325 variables with preprocessor constants.
37326 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37327 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37328 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37330 2012-12-27 Bruno Haible <bruno@clisp.org>
37333 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37336 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37339 and use variable directly.
37340 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37342 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37344 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37347 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37349 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37350 include directive. Remove local variable MPONE.
37351 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37355 2012-12-25 David S. Miller <davem@davemloft.net>
37357 * version.h (RELEASE): Set to "development".
37358 (VERSION): Set to "2.17.90".
37359 * NEWS: Add 2.18 section.
37361 2012-12-21 David S. Miller <davem@davemloft.net>
37363 * po/hr.po: Update from translation team.
37365 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37367 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37369 2012-12-19 Steve Ellcey <sellcey@mips.com>
37371 * NEWS: Mention new memcpy for MIPS.
37373 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37375 * manual/contrib.texi (Contributors): Spelling correction.
37377 2012-12-15 David S. Miller <davem@davemloft.net>
37379 * po/ru.po: Update from translation team.
37381 2012-12-13 David S. Miller <davem@davemloft.net>
37383 * NEWS: Mention IFUNC testsuite enhancements.
37385 * po/pl.po: Update from translation team.
37386 * po/bg.po: Likewise.
37388 * manual/contrib.texi (Contributors): Update entries for Hongjiu
37389 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
37391 2012-12-11 David S. Miller <davem@davemloft.net>
37393 * po/sv.po: Update from translation team.
37395 * po/vi.po: Update from translation team.
37397 * po/cs.po: Update from translation team.
37399 * po/de.po: Update from translation team.
37400 * po/eo.po: Likewise.
37401 * po/nl.po: Likewise.
37403 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37406 * manual/argp.texi (Argp Helper Functions): Move node to follow
37407 Argp Parsing State.
37410 * manual/conf.texi (Limits on File System Capacity): Mention if
37411 terminating null is included in the max size.
37413 2012-12-10 Andreas Jaeger <aj@suse.de>
37415 * po/cs.po: Update from translation team.
37417 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37419 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37420 void pointer and cast to uintptr_t.
37421 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37423 * sysdeps/s390/s390-64/memcpy.S: Likewise.
37424 * sysdeps/s390/s390-64/memset.S: Likewise.
37426 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
37429 * menual/message.texi (Message Translation): Fix typos.
37430 (Helper programs for gettext): Likewise.
37432 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
37435 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37438 2012-12-07 David S. Miller <davem@davemloft.net>
37440 * po/libc.pot: Update.
37442 2012-12-07 Richard Henderson <rth@redhat.com>
37445 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37446 normal/normal case to before the switch.
37447 (_FP_DIV): Likewise.
37449 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
37450 Mike Frysinger <vapier@gentoo.org>
37452 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37453 check for __NR_fadvise64_64.
37455 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
37457 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37458 0, not just to plain "0" as a statement.
37459 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37462 2012-12-06 Joseph Myers <joseph@codesourcery.com>
37464 * NEWS: Use sourceware.org in Bugzilla URL.
37466 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
37468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37469 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37471 * stdio-common/tst-put-error.c (do_test): Add newline to the
37472 padded test to ensure flush.
37474 2012-12-05 Jeff Law <law@redhat.com>
37476 * sunrpc/etc.rpc (fedfs_admin): Add entry.
37478 2012-12-05 Joseph Myers <joseph@codesourcery.com>
37480 * README: Don't refer to ports add-on as distributed separately.
37481 Mention AArch64 in list of systems supported in the ports add-on.
37483 * LICENSES: Add more non-FSF copyright and license notices.
37485 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37488 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37490 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37491 10000 as width of padded output.
37493 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37495 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37497 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37498 variable LX with __attribute__ ((unused)).
37499 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37501 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37504 with __attribute__ ((unused)).
37506 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
37508 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37510 2012-12-04 Joseph Myers <joseph@codesourcery.com>
37512 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37513 (CFLAGS-nldbl-acos.c): New variable.
37514 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37515 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37516 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37517 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37518 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37519 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37520 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37521 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37522 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37523 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37524 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37525 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37526 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37527 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37528 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37529 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37530 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37531 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37532 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37533 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37534 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37535 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37536 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37537 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37538 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37539 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37540 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37541 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37542 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37543 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37544 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37545 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37546 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37547 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37548 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37549 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37550 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37551 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37552 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37553 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37554 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37555 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37556 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37557 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37558 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37559 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37560 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37561 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37562 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37563 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37564 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37565 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37566 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37567 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37568 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37569 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37570 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37571 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37572 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37573 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37574 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37575 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37576 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37577 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37578 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37579 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37580 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37581 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37582 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37583 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37584 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37585 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37586 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37587 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37588 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37589 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37590 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37591 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37592 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37593 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37594 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37595 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37596 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37597 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37598 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37599 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37600 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37601 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37602 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37603 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37604 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37605 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37606 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37607 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37608 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37609 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37610 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37613 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37617 whole low double instead of just low 47 bits when splitting values
37620 2012-12-03 Allan McRae <allan@archlinux.org>
37622 * manual/stdio.texi (Predefined Printf Handlers): Remove
37623 @hsep and @vsep usage.
37625 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37627 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37628 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37630 2012-12-03 Jeff Law <law@redhat.com>
37632 * time/sys/time.h (settimeofday): Do not mark TV argument
37635 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37637 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37638 when currently writing and seek to current position when not.
37639 * libio/Makefile (tests): Remove bug-fclose1.
37640 * libio/bug-fclose1.c: Delete.
37642 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37644 * manual/arith.texi (feenableexcept): Fix typo.
37645 (fedisableexcept): Likewise.
37647 2012-11-30 Roland McGrath <roland@hack.frob.com>
37649 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37650 second, differently-typed declaration, rather than a cast.
37652 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37654 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37655 * include/rpc/svc.h: ... here.
37657 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37660 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37661 depending n and resplen2 to catch cases where answer
37664 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37666 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37667 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37669 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37673 2012-11-29 Roland McGrath <roland@hack.frob.com>
37675 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37677 2012-11-28 Jeff Law <law@redhat.com>
37680 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37681 dataset_temporary. Track alloca usage into alloca_used.
37682 If dataset is large allocate and release it via malloc/free.
37684 2012-06-04 Florian Weimer <fweimer@redhat.com>
37687 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37689 2012-11-28 David S. Miller <davem@davemloft.net>
37691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37693 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37696 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37697 of pi/2 rounded to nearest to 64 bits.
37698 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37699 nearest to 64 bits.
37700 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37703 2012-11-28 Jeff Law <law@redhat.com>
37704 Martin Osvald <mosvald@redhat.com>
37707 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37708 * sunrpc/svc.c: Include time.h.
37709 (__svc_accept_failed): New function.
37710 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37711 any reason other than EINTR, call __svc_accept_failed.
37712 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37713 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37715 2012-11-28 Andreas Schwab <schwab@suse.de>
37717 * scripts/abilist.awk: Also handle indirect functions in .opd
37720 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37723 * sysdeps/x86/fpu/powl_helper.c: New file.
37724 * sysdeps/x86/fpu/Makefile: Likewise.
37725 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37727 (__ieee754_powl): Use __powl_helper for finite arguments except
37728 integer exponents below 8.
37729 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37731 (__ieee754_powl): Use __powl_helper for finite arguments except
37732 integer exponents below 8.
37733 * math/libm-test.inc (pow_test): Add more tests and enable some
37734 previously disabled tests.
37735 * sysdeps/i386/fpu/libm-test-ulps: Update.
37736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37738 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37739 Carlos O'Donell <carlos_odonell@mentor.com>
37741 * nss/makedb.c (is_prime): Assert that input is odd and greater
37742 than 4. Note that fact in a comment too.
37743 (next_prime): Add 4 to input.
37745 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37748 * libio/Makefile (tests): Add test case tst-fwrite-error.
37749 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37750 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37751 * libio/tst-fwrite-error.c: New test case.
37753 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37755 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37756 before casting to void *.
37757 * include/libc-internal.h (__pointer_type): New macro.
37758 (__integer_if_pointer_type_sub): Likewise.
37759 (__integer_if_pointer_type): Likewise.
37760 (cast_to_integer): Likewise.
37761 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37762 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37763 before casting to atomic64_t.
37764 (atomic_exchange_acq): Likewise.
37765 (__arch_exchange_and_add_body): Likewise.
37766 (__arch_add_body): Likewise.
37767 (atomic_add_negative): Likewise.
37768 (atomic_add_zero): Likewise.
37770 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37772 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37773 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37774 (add_fdes): Likewise.
37775 (linear_search_fdes): Likewise.
37776 (binary_search_unencoded_fdes): Likewise.
37778 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37780 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37782 2012-11-24 Adam Conrad <adconrad@0c3.net>
37784 * configure.in: Autodetect C++ header directories.
37785 * configure: Regenerated.
37787 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37789 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37791 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37795 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37797 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37798 LDBL_MANT_DIG == 106]: Disable some tests.
37799 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37801 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37806 input for small inputs. Return +/- pi/2 for large inputs.
37807 * math/libm-test.inc (atan_test): Add more tests.
37809 * sysdeps/generic/unwind-dw2-fde-glibc.c
37810 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37811 __attribute__ ((unused)).
37814 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37815 x * y if x and y are nonzero and z is zero.
37818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37819 nonzero exponents with absolute value below 0x1p-117 to +/-
37823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37824 up arguments below 2**-450, not just those below 2**-500.
37825 * math/libm-test.inc (hypot_test): Add another test.
37828 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37829 Return a+b for ratio over 2**120, not 2**60.
37830 * math/libm-test.inc (hypot_test): Add another test.
37832 * math/libm-test.inc (clog_test): Use
37833 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37834 (clog10_test): Likewise.
37837 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37839 2012-11-22 Andreas Schwab <schwab@suse.de>
37841 * sysdeps/i386/fpu/libm-test-ulps: Update.
37843 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37845 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37846 printf output with newline.
37848 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37851 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37852 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37853 -z nodlopen, -z initfirst and -z execstack support.
37854 * configure: Regenerated.
37856 * elf/elf.h (DF_1_NODIRECT): New macro.
37857 (DF_1_IGNMULDEF): Likewise.
37858 (DF_1_NOKSYMS): Likewise.
37859 (DF_1_NOHDR): Likewise.
37860 (DF_1_EDITED): Likewise.
37861 (DF_1_NORELOC): Likewise.
37862 (DF_1_SYMINTPOSE): Likewise.
37863 (DF_1_GLOBAUDIT): Likewise.
37864 (DF_1_SINGLETON): Likewise.
37865 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37866 DT_1_SUPPORTED_MASK bits.
37867 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37869 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37871 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37873 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37875 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37878 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37879 (sendmmsg): Move declarations...
37880 * socket/sys/socket.h: ... here.
37881 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37882 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37884 * socket/recvmmsg.c: ... this new file.
37885 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37886 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37887 definition of __sendmmsg hidden.
37888 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37889 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37890 Move ENOSYS stub into and include it from...
37891 * socket/sendmmsg.c: ... this new file.
37892 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37893 (sysdep_routines): Move recvmmsg and sendmmsg...
37894 * socket/Makefile (routines): ... here.
37895 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37896 (GLIBC_PRIVATE): Add __sendmmsg.
37897 * include/sys/socket.h (__sendmmsg): Add declarations.
37898 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37901 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37904 variable I1 with __attribute__ ((unused)).
37905 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37907 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37909 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37910 DUMMY variables with __attribute__ ((unused)).
37912 * bits/byteswap.h: Include <bits/types.h>.
37913 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37915 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37917 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37918 string_t. Do not manually set errno.
37919 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37920 length with __strnlen. Make sure to both set errno and return it on
37923 2012-11-19 David S. Miller <davem@davemloft.net>
37925 With help from Joseph Myers.
37926 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37927 very large arguments properly.
37928 * math/libm-test.inc (atan_test): New tests.
37929 (atan2_test): New tests.
37930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37933 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37936 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37939 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37940 [POSIX] (EADDRNOTAVAIL): Likewise.
37941 [POSIX] (EAFNOSUPPORT): Likewise.
37942 [POSIX] (EALREADY): Likewise.
37943 [POSIX] (ECONNABORTED): Likewise.
37944 [POSIX] (ECONNREFUSED): Likewise.
37945 [POSIX] (ECONNRESET): Likewise.
37946 [POSIX] (EDESTADDRREQ): Likewise.
37947 [POSIX] (EDQUOT): Likewise.
37948 [POSIX] (EHOSTUNREACH): Likewise.
37949 [POSIX] (EIDRM): Likewise.
37950 [POSIX] (EISCONN): Likewise.
37951 [POSIX] (ELOOP): Likewise.
37952 [POSIX] (EMULTIHOP): Likewise.
37953 [POSIX] (ENETDOWN): Likewise.
37954 [POSIX] (ENETUNREACH): Likewise.
37955 [POSIX] (ENOBUFS): Likewise.
37956 [POSIX] (ENODATA): Likewise.
37957 [POSIX] (ENOLINK): Likewise.
37958 [POSIX] (ENOMSG): Likewise.
37959 [POSIX] (ENOPROTOOPT): Likewise.
37960 [POSIX] (ENOSR): Likewise.
37961 [POSIX] (ENOSTR): Likewise.
37962 [POSIX] (ENOTCONN): Likewise.
37963 [POSIX] (ENOTSOCK): Likewise.
37964 [POSIX] (EOPNOTSUPP): Likewise.
37965 [POSIX] (EOVERFLOW): Likewise.
37966 [POSIX] (EPROTO): Likewise.
37967 [POSIX] (EPROTONOSUPPORT): Likewise.
37968 [POSIX] (EPROTOTYPE): Likewise.
37969 [POSIX] (ESTALE): Likewise.
37970 [POSIX] (ETIME): Likewise.
37971 [POSIX] (ETXTBSY): Likewise.
37972 [POSIX] (EWOULDBLOCK): Likewise.
37973 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37974 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37975 [POSIX] (SEEK_CUR): Likewise.
37976 [POSIX] (SEEK_END): Likewise.
37977 [POSIX || UNIX98] (mode_t): Do not require.
37978 [POSIX] (off_t): Likewise.
37979 [POSIX] (pid_t): Likewise.
37980 [POSIX] (sys/stat.h): Do not allow header.
37981 [POSIX] (unistd.h): Likewise.
37982 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37983 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37984 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37985 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37987 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37988 sigevent): Specify elements.
37989 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37991 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37992 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37994 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37995 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37996 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37997 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37998 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37999 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38000 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38002 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38003 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38004 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38005 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38006 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38011 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38013 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38015 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38016 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38017 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38018 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38019 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38020 Specify lower bound on value.
38021 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38022 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38023 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38024 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38025 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38026 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38027 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38028 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38030 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38032 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38033 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38034 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38035 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38036 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38037 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38038 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38039 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38040 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38041 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38042 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38043 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38044 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38045 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38046 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38047 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38049 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38051 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38052 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38053 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38054 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38055 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38056 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38058 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38059 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38060 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38061 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38062 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
38063 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38067 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38068 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38069 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38070 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38071 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38072 specify as optional.
38073 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38074 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38075 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38077 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38078 [XPG3] (NL_LANGMAX): Likewise.
38079 [POSIX || XPG3] (NL_MSGMAX): Likewise.
38080 [POSIX || XPG3] (NL_NMAX): Likewise.
38081 [POSIX || XPG3] (NL_SETMAX): Likewise.
38082 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38083 [XPG3] (NZERO): Likewise.
38084 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38085 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38086 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38087 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38088 (REG_ERANGE): Expect.
38089 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38091 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38092 Use (void) in prototype.
38093 [POSIX] (*_t): Allow.
38094 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38095 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38096 (WRDE_BADVAL): Expect.
38098 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38100 [XPG3 || XPG4] (O_RSYNC): Likewise.
38101 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38103 [XPG3 || XPG4] (pthread_sigmask): Likewise.
38104 [XPG3 || XPG4] (sigqueue): Likewise.
38105 [XPG3 || XPG4] (sigtimedwait): Likewise.
38106 [XPG3 || XPG4] (sigwaitinfo): Likewise.
38107 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38108 [XPG3 || XPG4] (vsnprintf): Likewise.
38109 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38111 [XPG3 || XPG4] (blksize_t): Likewise.
38112 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38114 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38115 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38116 [XPG3 || XPG4] (struct itimerspec): Likewise.
38117 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38118 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38119 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38120 [XPG3 || XPG4] (clockid_t): Likewise.
38121 [XPG3 || XPG4] (timer_t): Likewise.
38122 [XPG3 || XPG4] (clock_getres): Likewise.
38123 [XPG3 || XPG4] (clock_gettime): Likewise.
38124 [XPG3 || XPG4] (clock_settime): Likewise.
38125 [XPG3 || XPG4] (nanosleep): Likewise.
38126 [XPG3 || XPG4] (timer_create): Likewise.
38127 [XPG3 || XPG4] (timer_delete): Likewise.
38128 [XPG3 || XPG4] (timer_gettime): Likewise.
38129 [XPG3 || XPG4] (timer_getoverrun): Likewise.
38130 [XPG3 || XPG4] (timer_settime): Likewise.
38131 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38132 [XPG3 || XPG4] (getlogin_r): Likewise.
38133 [XPG3 || XPG4] (pread): Likewise.
38134 [XPG3 || XPG4] (pthread_atfork): Likewise.
38135 [XPG3 || XPG4] (pwrite): Likewise.
38138 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38141 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
38143 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38144 finalizing MALLSTREAM.
38146 * sysdeps/mach/hurd/syncfs.c: New file.
38148 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38151 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38152 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38153 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38154 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38155 (_nss_dns_gethostbyname4_r): Likewise.
38156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38157 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38159 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
38162 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38164 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
38166 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38167 * elf/cache.c (print_entry): Print ",AArch64" for
38170 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38171 * elf/cache.c (print_entry): Print ",hard-float" for
38174 2012-11-18 David S. Miller <davem@davemloft.net>
38176 With help from Joseph Myers.
38177 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38179 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38181 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38182 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38184 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38185 * math/libm-test.inc (y0_test): New tests.
38186 (y1_test): New tests.
38187 * sysdeps/i386/fpu/libm-test-ulps: Update.
38188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38191 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
38193 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38195 * configure: Regenerated.
38197 2012-11-17 David S. Miller <davem@davemloft.net>
38200 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38201 nonzero exponents with absolute value below 0x1p-128 to +/-
38204 2012-11-17 Joseph Myers <joseph@codesourcery.com>
38206 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38208 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38210 * posix/getconf-speclist.c: New file.
38211 * posix/posix-envs.def: Likewise.
38212 * posix/confstr.c (START_ENV_GROUP): New macro.
38213 (END_ENV_GROUP): Likewise.
38214 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38215 (KNOWN_PRESENT_ENV_STRING): Likewise.
38216 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38217 (UNKNOWN_ENVIRONMENT): Likewise.
38218 (confstr): Include posix-envs.def instead of handling
38219 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38220 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38221 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38222 (END_ENV_GROUP): Likewise.
38223 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38224 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38225 (UNKNOWN_ENVIRONMENT): Likewise.
38226 (__sysconf): Include posix-envs.def instead of handling associated
38227 cases directly here.
38228 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38229 preprocessing getconf-speclist.c rather than running getconf or
38230 generating empty file.
38232 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
38234 * scripts/check-local-headers.sh: Ignore 'mach' headers.
38236 2012-11-16 Andrej Lajovic <natrij@gmail.com>
38239 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38241 2012-11-16 David S. Miller <davem@davemloft.net>
38243 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38244 smaller than LDBL_EPSILON/2.0L, just return xm1.
38246 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
38248 * elf/tst-array1.c (init): Set constructor priority to 1000.
38249 (fini): Set destructor priority to 1000.
38250 * elf/tst-array2dep.c: Likewise.
38252 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38255 * libio/fileops.c (_IO_new_file_write): Correctly return error.
38256 (_IO_new_file_xsputn): Also return EOF if none of the input
38257 data was written when overflow failed.
38258 * libio/iopadn.c (_IO_padn): Likewise.
38259 * libio/iowpadn.c (_IO_wpadn): Likewise.
38260 * stdio-common/tst-put-error.c: Add copyright notice.
38261 (do_test): Add case for printing padded string.
38262 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38263 _IO_padn returned error.
38264 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38265 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38268 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38270 * libio/libioP.h: Add comment note that the references to C++
38271 bits are now obsolete.
38273 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38275 * math/libm-test.inc (check_complex): Use asprintf.
38277 2012-11-14 Joseph Myers <joseph@codesourcery.com>
38279 * debug/pcprofiledump.c (print_version): Update copyright year.
38280 * malloc/memusagestat.c (print_version): Likewise.
38282 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
38285 * elf/Makefile (tests): Add tst-audit8.
38286 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38287 ($(objpfx)tst-audit8.out): New target.
38288 (tst-audit8-ENV): New variable.
38289 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38290 audit if l_reloc_result is NULL.
38291 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38292 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38293 * elf/tst-audit8.c: New file.
38295 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38297 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38298 * misc/Makefile (CFLAGS-select.c): Define.
38299 * posix/Makefile (CFLAGS-pause.c): Define.
38301 2012-11-13 David S. Miller <davem@davemloft.net>
38303 * crypt/Makefile: Move test targets after toplevel Rules
38304 inclusion. Grab any necessary sysdep routines when linking.
38305 * crypt/md5.c (md5_process_block): Remove define, we will always
38306 name it __md5_process_block.
38307 (md5_finish_ctx): Update md5_process_block call.
38308 (md5_stream): Likewise.
38309 (md5_process_bytes): Likewise.
38310 (md5_process_block): Rename to __md5_process_block and move to ...
38311 * crypt/md5-block.c: ... here.
38312 * crypt/sha256.c (sha256_process_block): Move to ...
38313 * crypt/sha256-block.c: ... here.
38314 * crypt/sha512.c (sha512_process_block): Move to ...
38315 * crypt/sha512-block.c: ... here.
38316 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38318 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38319 * sysdeps/sparc/sparc64/multiarch/Makefile
38320 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38322 (localedef-aux): Add md5 crypto assembler when in locale subdir.
38323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38325 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38326 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38327 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38328 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38329 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38330 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38331 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38332 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38336 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38338 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38340 2012-11-13 Joseph Myers <joseph@codesourcery.com>
38342 * timezone/tzselect.ksh: Update from tzcode git revision
38343 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38344 * timezone/zdump.c: Likewise.
38345 * timezone/zic.c: Likewise.
38346 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38347 in TZVERSION setting, not $(PKGVERSION).
38348 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
38349 REPORT_BUGS_TO settings.
38352 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38355 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38357 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38358 detection to immediately after _FP_ROUND().
38359 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38362 2012-11-11 David S. Miller <davem@davemloft.net>
38364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38366 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38367 __close rather than their public counterparts.
38369 2012-11-10 Joseph Myers <joseph@codesourcery.com>
38371 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38373 [UNIX98] (sem_timedwait): Do not expect.
38374 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38375 [XPG4 || UNIX98] (sockatmark): Do not expect.
38376 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38377 (clock_getcpuclockid): Do not expect.
38378 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38379 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38381 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38382 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38383 [UNIX98] (vwscanf): Likewise.
38384 [UNIX98] (vswscanf): Likewise.
38386 2012-11-09 Joseph Myers <joseph@codesourcery.com>
38388 * timezone/version.h: Remove file.
38389 * timezone/README: Do not refer to version.h.
38390 * timezone/Makefile ($(objpfx)zic.o): New dependency on
38391 $(objpfx)version.h.
38392 ($(objpfx)zdump.o): Likewise.
38393 ($(objpfx)version.h): New target.
38395 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38397 * timezone/README: Don't mention modification to tzselect.ksh.
38398 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38399 work on unmodified tzselect.ksh. Substitute version numbers in
38402 * Makefile (format-me): Remove.
38403 (INSTALL): Adjust indentation. Use commands directly instead of
38404 using $(format-me).
38406 * aclocal.m4 (ACX_PKGVERSION): New macro.
38407 (ACX_BUGURL): Likewise.
38408 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38409 (PKGVERSION): New AC_DEFINE_UNQUOTED.
38410 (REPORT_BUGS_TO): Likewise.
38411 * configure: Regenerated.
38412 * config.h.in (PKGVERSION): New macro.
38413 (REPORT_BUGS_TO): Likewise.
38414 * config.make.in (PKGVERSION): New variable.
38415 (PKGVERSION_TEXI): Likewise.
38416 (REPORT_BUGS_TO): Likewise.
38417 (REPORT_BUGS_TEXI): Likewise.
38418 * Makefile (format-me): Use -I$(common-objpfx)manual.
38419 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38420 ($(common-objpfx)manual/%): New target.
38421 (manual/%): Remove target.
38422 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38423 (print_version): Use PKGVERSION.
38424 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38425 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38426 and REPORT_BUGS_TO.
38427 ($(objpfx)xtrace): Likewise.
38428 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38429 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38430 (print_version): Use PKGVERSION.
38431 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38432 (do_version): Use PKGVERSION.
38433 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38435 (common-ldd-rewrite): Likewise.
38436 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38437 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38438 (print_version): Use PKGVERSION.
38439 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38440 * elf/pldd.c (argp_program_bug_address): Remove variable.
38441 (more_help): New function.
38442 (argp): Use more_help.
38443 (print_version): Use PKGVERSION.
38444 * elf/sln.c (main): Use PKGVERSION.
38445 (usage): Use REPORT_BUGS_TO.
38446 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38447 (top level): Use PKGVERSION.
38448 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38449 (print_version): Use PKGVERSION.
38450 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38451 (print_version): Use PKGVERSION.
38452 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38453 (print_version): Use PKGVERSION.
38454 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38455 (print_version): Use PKGVERSION.
38456 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38457 (print_version): Use PKGVERSION.
38458 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38459 (print_version): Use PKGVERSION.
38460 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38462 ($(objpfx)memusage): Likewise.
38463 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38464 (do_version): Use PKGVERSION.
38465 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38466 (print_version): Use PKGVERSION.
38467 * malloc/mtrace.pl ($PACKAGE): Remove variable.
38468 ($PKGVERSION): New variable.
38469 ($REPORT_BUGS_TO): Likewise.
38470 (usage): Use $REPORT_BUGS_TO.
38471 (top level): Use $PKGVERSION.
38472 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38473 ($(objpfx)pkgvers.texi): New rule.
38474 ($(objpfx)stamp-pkgvers): Likewise.
38475 * manual/install.texi: Include pkgvers.texi.
38476 (--with-pkgversion): Document new configure option.
38477 (--with-bugurl): Likewise.
38478 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38479 than necessarily for this particular distribution. Use
38480 REPORT_BUGS_TO for where to report bugs.
38481 * INSTALL: Regenerated.
38482 * manual/libc.texinfo: Include pkgvers.texi.
38483 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38484 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38485 (print_version): Use PKGVERSION.
38486 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38487 (print_version): Use PKGVERSION.
38488 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38489 (print_version): Use PKGVERSION.
38490 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38491 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38493 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38494 (print_version): Use PKGVERSION.
38495 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38496 (print_version): Use PKGVERSION.
38497 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38500 * timezone/checktab.awk: Update from tzcode 2012i.
38501 * timezone/ialloc.c: Likewise.
38502 * timezone/private.h: Likewise.
38503 * timezone/scheck.c: Likewise.
38504 * timezone/tzfile.h: Likewise.
38505 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38506 (TZVERSION): Hardcode tzcode version number.
38507 * timezone/zdump.c: Update from tzcode 2012i.
38508 * timezone/zic.c: Likewise.
38509 * timezone/version.h: New file.
38510 * timezone/README: Describe version.h. Update upstream location.
38513 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38514 (mktemp): Enable declaration.
38515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38532 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38533 offset in buffer as u_int32_t not u_long. Consistently use memcpy
38534 for copies of such integer values.
38535 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38536 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38538 2012-11-09 Andreas Jaeger <aj@suse.de>
38540 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38541 definitions and declarations that are provided by
38542 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38544 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38547 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38548 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38551 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38553 * elf/elf.h: Update comment before AArch64 relocations.
38555 2012-11-07 David S. Miller <davem@davemloft.net>
38557 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38558 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38559 (__start_context): Declare.
38560 (__makecontext_ret): Delete.
38561 (__makecontext): Hook up __start_context instead of
38563 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38564 (sysdep_routines): Add __start_context when in stdlib.
38566 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38568 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38569 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38570 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
38572 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
38573 (READELF): New variable. Use it instead of hardcoded "readelf".
38575 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
38577 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38578 * sysdeps/x86/Makefile: Here.
38579 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38580 * sysdeps/x86/tst-xmmymm.sh: This.
38582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38584 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38586 [UNIX98] (pthread_barrier_t): Do not expect.
38587 [UNIX98] (pthread_barrierattr_t): Likewise.
38588 [UNIX98] (pthread_spinlock_t): Likewise.
38589 [UNIX98] (pthread_barrier_destroy): Likewise.
38590 [UNIX98] (pthread_barrier_init): Likewise.
38591 [UNIX98] (pthread_barrier_wait): Likewise.
38592 [UNIX98] (pthread_barrierattr_destroy): Likewise.
38593 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38594 [UNIX98] (pthread_barrierattr_init): Likewise.
38595 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38596 [UNIX98] (pthread_getcpuclockid): Likewise.
38597 [UNIX98] (pthread_mutex_timedlock): Likewise.
38598 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38599 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38600 [UNIX98] (pthread_sigmask): Likewise.
38601 [UNIX98] (pthread_spin_destroy): Likewise.
38602 [UNIX98] (pthread_spin_init): Likewise.
38603 [UNIX98] (pthread_spin_lock): Likewise.
38604 [UNIX98] (pthread_spin_trylock): Likewise.
38605 [UNIX98] (pthread_spin_unlock): Likewise.
38606 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38608 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38609 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38610 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38611 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38612 [XPG3 || XPG4] (pthread_key_t): Likewise.
38613 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38614 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38615 [XPG3 || XPG4] (pthread_once_t): Likewise.
38616 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38617 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38618 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38619 [XPG3 || XPG4] (pthread_t): Likewise.
38621 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38623 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38625 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38626 Change function return type to int.
38628 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38629 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38630 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38631 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38632 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38633 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38634 [!POSIX] (posix_madvise): Likewise.
38635 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38637 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38638 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38639 (mode_t): Likewise.
38640 (posix_mem_offset): Likewise.
38641 (posix_typed_mem_get_info): Likewise.
38642 (posix_typed_mem_open): Likewise.
38644 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38645 Change condition to [XOPEN2K8].
38647 * conform/conformtest.pl: Preprocess allow-header data with -x c
38648 instead of from stdin.
38649 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38650 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38651 [C99-based standards] (cerfc): Likewise.
38652 [C99-based standards] (cexp2): Likewise.
38653 [C99-based standards] (cexpm1): Likewise.
38654 [C99-based standards] (clog10): Likewise.
38655 [C99-based standards] (clog1p): Likewise.
38656 [C99-based standards] (clog2): Likewise.
38657 [C99-based standards] (clgamma): Likewise.
38658 [C99-based standards] (ctgamma): Likewise.
38659 [C99-based standards] (cerff): Likewise.
38660 [C99-based standards] (cerfcf): Likewise.
38661 [C99-based standards] (cexp2f): Likewise.
38662 [C99-based standards] (cexpm1f): Likewise.
38663 [C99-based standards] (clog10f): Likewise.
38664 [C99-based standards] (clog1pf): Likewise.
38665 [C99-based standards] (clog2f): Likewise.
38666 [C99-based standards] (clgammaf): Likewise.
38667 [C99-based standards] (ctgammaf): Likewise.
38668 [C99-based standards] (cerfl): Likewise.
38669 [C99-based standards] (cerfcl): Likewise.
38670 [C99-based standards] (cexp2l): Likewise.
38671 [C99-based standards] (cexpm1l): Likewise.
38672 [C99-based standards] (clog10l): Likewise.
38673 [C99-based standards] (clog1pl): Likewise.
38674 [C99-based standards] (clog2l): Likewise.
38675 [C99-based standards] (clgammal): Likewise.
38676 [C99-based standards] (ctgammal): Likewise.
38677 * conform/data/inttypes.h-data [C99-based standards]: Include
38678 stdint.h-data. Remove all expectations for stdint.h contents.
38679 [C99-based standards] (PRI*): Do not allow.
38680 [C99-based standards] (SCN*): Likewise.
38681 [C99-based standards] (*_t): Likewise.
38682 [C99-based-standards] (PRId8): Expect macro.
38683 [C99-based-standards] (PRIi8): Likewise.
38684 [C99-based-standards] (PRIo8): Likewise.
38685 [C99-based-standards] (PRIu8): Likewise.
38686 [C99-based-standards] (PRIx8): Likewise.
38687 [C99-based-standards] (PRIX8): Likewise.
38688 [C99-based-standards] (SCNd8): Likewise.
38689 [C99-based-standards] (SCNi8): Likewise.
38690 [C99-based-standards] (SCNo8): Likewise.
38691 [C99-based-standards] (SCNu8): Likewise.
38692 [C99-based-standards] (SCNx8): Likewise.
38693 [C99-based-standards] (PRIdLEAST8): Likewise.
38694 [C99-based-standards] (PRIiLEAST8): Likewise.
38695 [C99-based-standards] (PRIoLEAST8): Likewise.
38696 [C99-based-standards] (PRIuLEAST8): Likewise.
38697 [C99-based-standards] (PRIxLEAST8): Likewise.
38698 [C99-based-standards] (PRIXLEAST8): Likewise.
38699 [C99-based-standards] (SCNdLEAST8): Likewise.
38700 [C99-based-standards] (SCNiLEAST8): Likewise.
38701 [C99-based-standards] (SCNoLEAST8): Likewise.
38702 [C99-based-standards] (SCNuLEAST8): Likewise.
38703 [C99-based-standards] (SCNxLEAST8): Likewise.
38704 [C99-based-standards] (PRIdFAST8): Likewise.
38705 [C99-based-standards] (PRIiFAST8): Likewise.
38706 [C99-based-standards] (PRIoFAST8): Likewise.
38707 [C99-based-standards] (PRIuFAST8): Likewise.
38708 [C99-based-standards] (PRIxFAST8): Likewise.
38709 [C99-based-standards] (PRIXFAST8): Likewise.
38710 [C99-based-standards] (SCNdFAST8): Likewise.
38711 [C99-based-standards] (SCNiFAST8): Likewise.
38712 [C99-based-standards] (SCNoFAST8): Likewise.
38713 [C99-based-standards] (SCNuFAST8): Likewise.
38714 [C99-based-standards] (SCNxFAST8): Likewise.
38715 [C99-based-standards] (PRId16): Likewise.
38716 [C99-based-standards] (PRIi16): Likewise.
38717 [C99-based-standards] (PRIo16): Likewise.
38718 [C99-based-standards] (PRIu16): Likewise.
38719 [C99-based-standards] (PRIx16): Likewise.
38720 [C99-based-standards] (PRIX16): Likewise.
38721 [C99-based-standards] (SCNd16): Likewise.
38722 [C99-based-standards] (SCNi16): Likewise.
38723 [C99-based-standards] (SCNo16): Likewise.
38724 [C99-based-standards] (SCNu16): Likewise.
38725 [C99-based-standards] (SCNx16): Likewise.
38726 [C99-based-standards] (PRIdLEAST16): Likewise.
38727 [C99-based-standards] (PRIiLEAST16): Likewise.
38728 [C99-based-standards] (PRIoLEAST16): Likewise.
38729 [C99-based-standards] (PRIuLEAST16): Likewise.
38730 [C99-based-standards] (PRIxLEAST16): Likewise.
38731 [C99-based-standards] (PRIXLEAST16): Likewise.
38732 [C99-based-standards] (SCNdLEAST16): Likewise.
38733 [C99-based-standards] (SCNiLEAST16): Likewise.
38734 [C99-based-standards] (SCNoLEAST16): Likewise.
38735 [C99-based-standards] (SCNuLEAST16): Likewise.
38736 [C99-based-standards] (SCNxLEAST16): Likewise.
38737 [C99-based-standards] (PRIdFAST16): Likewise.
38738 [C99-based-standards] (PRIiFAST16): Likewise.
38739 [C99-based-standards] (PRIoFAST16): Likewise.
38740 [C99-based-standards] (PRIuFAST16): Likewise.
38741 [C99-based-standards] (PRIxFAST16): Likewise.
38742 [C99-based-standards] (PRIXFAST16): Likewise.
38743 [C99-based-standards] (SCNdFAST16): Likewise.
38744 [C99-based-standards] (SCNiFAST16): Likewise.
38745 [C99-based-standards] (SCNoFAST16): Likewise.
38746 [C99-based-standards] (SCNuFAST16): Likewise.
38747 [C99-based-standards] (SCNxFAST16): Likewise.
38748 [C99-based-standards] (PRId32): Likewise.
38749 [C99-based-standards] (PRIi32): Likewise.
38750 [C99-based-standards] (PRIo32): Likewise.
38751 [C99-based-standards] (PRIu32): Likewise.
38752 [C99-based-standards] (PRIx32): Likewise.
38753 [C99-based-standards] (PRIX32): Likewise.
38754 [C99-based-standards] (SCNd32): Likewise.
38755 [C99-based-standards] (SCNi32): Likewise.
38756 [C99-based-standards] (SCNo32): Likewise.
38757 [C99-based-standards] (SCNu32): Likewise.
38758 [C99-based-standards] (SCNx32): Likewise.
38759 [C99-based-standards] (PRIdLEAST32): Likewise.
38760 [C99-based-standards] (PRIiLEAST32): Likewise.
38761 [C99-based-standards] (PRIoLEAST32): Likewise.
38762 [C99-based-standards] (PRIuLEAST32): Likewise.
38763 [C99-based-standards] (PRIxLEAST32): Likewise.
38764 [C99-based-standards] (PRIXLEAST32): Likewise.
38765 [C99-based-standards] (SCNdLEAST32): Likewise.
38766 [C99-based-standards] (SCNiLEAST32): Likewise.
38767 [C99-based-standards] (SCNoLEAST32): Likewise.
38768 [C99-based-standards] (SCNuLEAST32): Likewise.
38769 [C99-based-standards] (SCNxLEAST32): Likewise.
38770 [C99-based-standards] (PRIdFAST32): Likewise.
38771 [C99-based-standards] (PRIiFAST32): Likewise.
38772 [C99-based-standards] (PRIoFAST32): Likewise.
38773 [C99-based-standards] (PRIuFAST32): Likewise.
38774 [C99-based-standards] (PRIxFAST32): Likewise.
38775 [C99-based-standards] (PRIXFAST32): Likewise.
38776 [C99-based-standards] (SCNdFAST32): Likewise.
38777 [C99-based-standards] (SCNiFAST32): Likewise.
38778 [C99-based-standards] (SCNoFAST32): Likewise.
38779 [C99-based-standards] (SCNuFAST32): Likewise.
38780 [C99-based-standards] (SCNxFAST32): Likewise.
38781 [C99-based-standards] (PRId64): Likewise.
38782 [C99-based-standards] (PRIi64): Likewise.
38783 [C99-based-standards] (PRIo64): Likewise.
38784 [C99-based-standards] (PRIu64): Likewise.
38785 [C99-based-standards] (PRIx64): Likewise.
38786 [C99-based-standards] (PRIX64): Likewise.
38787 [C99-based-standards] (SCNd64): Likewise.
38788 [C99-based-standards] (SCNi64): Likewise.
38789 [C99-based-standards] (SCNo64): Likewise.
38790 [C99-based-standards] (SCNu64): Likewise.
38791 [C99-based-standards] (SCNx64): Likewise.
38792 [C99-based-standards] (PRIdLEAST64): Likewise.
38793 [C99-based-standards] (PRIiLEAST64): Likewise.
38794 [C99-based-standards] (PRIoLEAST64): Likewise.
38795 [C99-based-standards] (PRIuLEAST64): Likewise.
38796 [C99-based-standards] (PRIxLEAST64): Likewise.
38797 [C99-based-standards] (PRIXLEAST64): Likewise.
38798 [C99-based-standards] (SCNdLEAST64): Likewise.
38799 [C99-based-standards] (SCNiLEAST64): Likewise.
38800 [C99-based-standards] (SCNoLEAST64): Likewise.
38801 [C99-based-standards] (SCNuLEAST64): Likewise.
38802 [C99-based-standards] (SCNxLEAST64): Likewise.
38803 [C99-based-standards] (PRIdFAST64): Likewise.
38804 [C99-based-standards] (PRIiFAST64): Likewise.
38805 [C99-based-standards] (PRIoFAST64): Likewise.
38806 [C99-based-standards] (PRIuFAST64): Likewise.
38807 [C99-based-standards] (PRIxFAST64): Likewise.
38808 [C99-based-standards] (PRIXFAST64): Likewise.
38809 [C99-based-standards] (SCNdFAST64): Likewise.
38810 [C99-based-standards] (SCNiFAST64): Likewise.
38811 [C99-based-standards] (SCNoFAST64): Likewise.
38812 [C99-based-standards] (SCNuFAST64): Likewise.
38813 [C99-based-standards] (SCNxFAST64): Likewise.
38814 [C99-based-standards] (PRIdMAX): Likewise.
38815 [C99-based-standards] (PRIiMAX): Likewise.
38816 [C99-based-standards] (PRIoMAX): Likewise.
38817 [C99-based-standards] (PRIuMAX): Likewise.
38818 [C99-based-standards] (PRIxMAX): Likewise.
38819 [C99-based-standards] (PRIXMAX): Likewise.
38820 [C99-based-standards] (SCNdMAX): Likewise.
38821 [C99-based-standards] (SCNiMAX): Likewise.
38822 [C99-based-standards] (SCNoMAX): Likewise.
38823 [C99-based-standards] (SCNuMAX): Likewise.
38824 [C99-based-standards] (SCNxMAX): Likewise.
38825 [C99-based-standards] (PRIdPTR): Likewise.
38826 [C99-based-standards] (PRIiPTR): Likewise.
38827 [C99-based-standards] (PRIoPTR): Likewise.
38828 [C99-based-standards] (PRIuPTR): Likewise.
38829 [C99-based-standards] (PRIxPTR): Likewise.
38830 [C99-based-standards] (PRIXPTR): Likewise.
38831 [C99-based-standards] (SCNdPTR): Likewise.
38832 [C99-based-standards] (SCNiPTR): Likewise.
38833 [C99-based-standards] (SCNoPTR): Likewise.
38834 [C99-based-standards] (SCNuPTR): Likewise.
38835 [C99-based-standards] (SCNxPTR): Likewise.
38836 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38838 * conform/data/stdint.h-data: Update comments to clarify
38840 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38842 [C99-based standards] (INT8_MAX): Likewise.
38843 [C99-based standards] (INT16_MIN): Likewise.
38844 [C99-based standards] (INT16_MAX): Likewise.
38845 [C99-based standards] (INT32_MIN): Likewise.
38846 [C99-based standards] (INT32_MAX): Likewise.
38847 [C99-based standards] (INT64_MIN): Likewise.
38848 [C99-based standards] (INT64_MAX): Likewise.
38849 [C99-based standards] (UINT8_MAX): Likewise.
38850 [C99-based standards] (UINT16_MAX): Likewise.
38851 [C99-based standards] (UINT32_MAX): Likewise.
38852 [C99-based standards] (UINT64_MAX): Likewise.
38853 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38854 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38855 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38856 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38857 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38858 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38859 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38860 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38861 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38862 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38863 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38864 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38865 [C99-based standards] (INT_FAST8_MIN): Likewise.
38866 [C99-based standards] (INT_FAST8_MAX): Likewise.
38867 [C99-based standards] (INT_FAST16_MIN): Likewise.
38868 [C99-based standards] (INT_FAST16_MAX): Likewise.
38869 [C99-based standards] (INT_FAST32_MIN): Likewise.
38870 [C99-based standards] (INT_FAST32_MAX): Likewise.
38871 [C99-based standards] (INT_FAST64_MIN): Likewise.
38872 [C99-based standards] (INT_FAST64_MAX): Likewise.
38873 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38874 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38875 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38876 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38877 [C99-based standards] (INTPTR_MIN): Likewise.
38878 [C99-based standards] (INTPTR_MAX): Likewise.
38879 [C99-based standards] (UINTPTR_MAX): Likewise.
38880 [C99-based standards] (INTMAX_MIN): Likewise.
38881 [C99-based standards] (INTMAX_MAX): Likewise.
38882 [C99-based standards] (UINTMAX_MAX): Likewise.
38883 [C99-based standards] (PTRDIFF_MIN): Likewise.
38884 [C99-based standards] (PTRDIFF_MAX): Likewise.
38885 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38886 [C99-based standards] (SIZE_MAX): Likewise.
38887 [C99-based standards] (WCHAR_MAX): Likewise.
38888 [C99-based standards] (WINT_MAX): Likewise.
38889 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38890 constraint on value.
38891 [C99-based standards] (WCHAR_MIN): Likewise.
38892 [C99-based standards] (WINT_MIN): Likewise.
38893 [C99-based standards] (*_t): Allow.
38894 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38895 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38896 Include math.h-data and complex.h-data. Remove all expectations
38897 of math.h and complex.h contents.
38898 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38900 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38901 (struct tm): Expect tag.
38902 [C99-based-standards] (wcstof): Expect function.
38903 [C99-based-standards] (wcstold): Likewise.
38904 [C99-based-standards] (wcstoll): Likewise.
38905 [C99-based-standards] (wcstoull): Likewise.
38906 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38907 macro-int-constant. Specify type.
38908 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38909 constraint on value.
38910 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38912 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38914 [ISO C standards]: Do not allow headers.
38915 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38916 wcs[abcdefghijklmnopqrstuvwxyz]*.
38917 [ISO C standards] (*_t): Do not allow.
38918 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38920 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38921 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38923 [ISO C standards]: Do not allow headers.
38924 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38925 is[abcdefghijklmnopqrstuvwxyz]*.
38926 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38927 to[abcdefghijklmnopqrstuvwxyz]*.
38928 [ISO C standards] (*_t): Do not allow.
38929 * conform/data/stdalign.h-data: New file.
38930 * conform/data/stdbool.h-data: Likewise.
38931 * conform/data/stdnoreturn.h-data: Likewise.
38933 2012-11-07 Roland McGrath <roland@hack.frob.com>
38936 * manual/filesys.texi (Directory Entries): Typo fix.
38937 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38939 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38941 * elf/elf.h (EM_AARCH64): New macro.
38942 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38943 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38944 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38945 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38946 (R_AARCH64_TLSDESC): Likewise.
38947 (NT_ARM_TLS): Likewise.
38948 (NT_ARM_HW_BREAK): Likewise.
38949 (NT_ARM_HW_WATCH): Likewise.
38951 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38954 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38955 (__ieee754_powl): Saturate nonzero exponents with absolute value
38956 below 0x1p-79 to +/- 0x1p-79.
38957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38958 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38959 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38960 nonzero exponents with absolute value below 0x1p-32 to +/-
38962 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38963 (__ieee754_powl): Saturate nonzero exponents with absolute value
38964 below 0x1p-79 to +/- 0x1p-79.
38965 * math/libm-test.inc (pow_test): Add more tests.
38967 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38969 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38970 _dl_s390_cap_flags with kernel. Increase string length.
38971 (_dl_s390_platforms): Add z196 and zEC12.
38973 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38975 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38976 Change XOPEN21K to XOPEN2K.
38978 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38980 * string/memmove.c: Use memcpy when possible.
38982 2012-11-06 Andreas Jaeger <aj@suse.de>
38984 * po/eo.po: Update from translation team.
38986 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38990 exponent and small x and y exponents, scale x or y up. Increase
38991 by 2 the exponent used in scaling up.
38992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38994 * math/libm-test.inc (fma_test): Add more tests.
38995 (fma_test_towardzero): Likewise.
38996 (fma_test_downward): Likewise.
38997 (fma_test_upward): Likewise.
38999 2012-11-05 Joseph Myers <joseph@codesourcery.com>
39002 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39006 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39007 namespace for names of struct fields.
39008 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39010 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39011 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39013 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
39016 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39018 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39020 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39024 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39027 2012-11-04 Joseph Myers <joseph@codesourcery.com>
39030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39031 definitely overflow as x * y not x * y + z.
39032 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39033 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39034 * math/libm-test.inc (fma_test): Add more tests.
39035 (fma_test_towardzero): Likewise.
39036 (fma_test_downward): Likewise.
39037 (fma_test_upward): Likewise.
39039 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
39043 * include/stub-tag.h: Remove file.
39044 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39046 * manual/maint.texi (Porting): Don't reference it.
39047 * Makerules ($(objpfx)stubs): Likewise.
39048 * dirent/closedir.c: Don't include <stub-tag.h>.
39049 * dirent/dirfd.c: Likewise.
39050 * dirent/fdopendir.c: Likewise.
39051 * dirent/getdents.c: Likewise.
39052 * dirent/getdents64.c: Likewise.
39053 * dirent/opendir.c: Likewise.
39054 * dirent/readdir.c: Likewise.
39055 * dirent/readdir64.c: Likewise.
39056 * dirent/readdir64_r.c: Likewise.
39057 * dirent/readdir_r.c: Likewise.
39058 * dirent/rewinddir.c: Likewise.
39059 * dirent/seekdir.c: Likewise.
39060 * dirent/telldir.c: Likewise.
39061 * gmon/profil.c: Likewise.
39062 * grp/setgroups.c: Likewise.
39063 * inet/if_index.c: Likewise.
39064 * io/access.c: Likewise.
39065 * io/chdir.c: Likewise.
39066 * io/chmod.c: Likewise.
39067 * io/chown.c: Likewise.
39068 * io/close.c: Likewise.
39069 * io/dup.c: Likewise.
39070 * io/dup2.c: Likewise.
39071 * io/dup3.c: Likewise.
39072 * io/euidaccess.c: Likewise.
39073 * io/faccessat.c: Likewise.
39074 * io/fchdir.c: Likewise.
39075 * io/fchmod.c: Likewise.
39076 * io/fchmodat.c: Likewise.
39077 * io/fchown.c: Likewise.
39078 * io/fchownat.c: Likewise.
39079 * io/fcntl.c: Likewise.
39080 * io/flock.c: Likewise.
39081 * io/fstatfs.c: Likewise.
39082 * io/fstatfs64.c: Likewise.
39083 * io/fstatvfs.c: Likewise.
39084 * io/fstatvfs64.c: Likewise.
39085 * io/futimens.c: Likewise.
39086 * io/fxstat.c: Likewise.
39087 * io/fxstat64.c: Likewise.
39088 * io/fxstatat.c: Likewise.
39089 * io/fxstatat64.c: Likewise.
39090 * io/getcwd.c: Likewise.
39091 * io/isatty.c: Likewise.
39092 * io/lchmod.c: Likewise.
39093 * io/lchown.c: Likewise.
39094 * io/link.c: Likewise.
39095 * io/linkat.c: Likewise.
39096 * io/lseek.c: Likewise.
39097 * io/lseek64.c: Likewise.
39098 * io/lxstat64.c: Likewise.
39099 * io/mkdir.c: Likewise.
39100 * io/mkdirat.c: Likewise.
39101 * io/mkfifo.c: Likewise.
39102 * io/mkfifoat.c: Likewise.
39103 * io/open.c: Likewise.
39104 * io/open64.c: Likewise.
39105 * io/openat.c: Likewise.
39106 * io/openat64.c: Likewise.
39107 * io/pipe.c: Likewise.
39108 * io/pipe2.c: Likewise.
39109 * io/poll.c: Likewise.
39110 * io/posix_fadvise.c: Likewise.
39111 * io/posix_fadvise64.c: Likewise.
39112 * io/posix_fallocate.c: Likewise.
39113 * io/posix_fallocate64.c: Likewise.
39114 * io/read.c: Likewise.
39115 * io/readlink.c: Likewise.
39116 * io/readlinkat.c: Likewise.
39117 * io/rmdir.c: Likewise.
39118 * io/sendfile.c: Likewise.
39119 * io/sendfile64.c: Likewise.
39120 * io/statfs.c: Likewise.
39121 * io/statfs64.c: Likewise.
39122 * io/statvfs.c: Likewise.
39123 * io/statvfs64.c: Likewise.
39124 * io/symlink.c: Likewise.
39125 * io/symlinkat.c: Likewise.
39126 * io/ttyname.c: Likewise.
39127 * io/ttyname_r.c: Likewise.
39128 * io/umask.c: Likewise.
39129 * io/unlink.c: Likewise.
39130 * io/unlinkat.c: Likewise.
39131 * io/utime.c: Likewise.
39132 * io/utimensat.c: Likewise.
39133 * io/write.c: Likewise.
39134 * io/xmknod.c: Likewise.
39135 * io/xmknodat.c: Likewise.
39136 * io/xstat.c: Likewise.
39137 * io/xstat64.c: Likewise.
39138 * login/getpt.c: Likewise.
39139 * login/grantpt.c: Likewise.
39140 * login/unlockpt.c: Likewise.
39141 * math/e_acoshl.c: Likewise.
39142 * math/e_acosl.c: Likewise.
39143 * math/e_asinl.c: Likewise.
39144 * math/e_atan2l.c: Likewise.
39145 * math/e_atanhl.c: Likewise.
39146 * math/e_coshl.c: Likewise.
39147 * math/e_expl.c: Likewise.
39148 * math/e_fmodl.c: Likewise.
39149 * math/e_gammal_r.c: Likewise.
39150 * math/e_hypotl.c: Likewise.
39151 * math/e_j0l.c: Likewise.
39152 * math/e_j1l.c: Likewise.
39153 * math/e_jnl.c: Likewise.
39154 * math/e_lgammal_r.c: Likewise.
39155 * math/e_log10l.c: Likewise.
39156 * math/e_log2l.c: Likewise.
39157 * math/e_logl.c: Likewise.
39158 * math/e_powl.c: Likewise.
39159 * math/e_rem_pio2l.c: Likewise.
39160 * math/e_sinhl.c: Likewise.
39161 * math/e_sqrtl.c: Likewise.
39162 * math/fclrexcpt.c: Likewise.
39163 * math/fedisblxcpt.c: Likewise.
39164 * math/feenablxcpt.c: Likewise.
39165 * math/fegetenv.c: Likewise.
39166 * math/fegetexcept.c: Likewise.
39167 * math/fegetround.c: Likewise.
39168 * math/feholdexcpt.c: Likewise.
39169 * math/fesetenv.c: Likewise.
39170 * math/fesetround.c: Likewise.
39171 * math/feupdateenv.c: Likewise.
39172 * math/fgetexcptflg.c: Likewise.
39173 * math/fraiseexcpt.c: Likewise.
39174 * math/fsetexcptflg.c: Likewise.
39175 * math/ftestexcept.c: Likewise.
39176 * math/k_cosl.c: Likewise.
39177 * math/k_rem_pio2l.c: Likewise.
39178 * math/k_sinl.c: Likewise.
39179 * math/k_tanl.c: Likewise.
39180 * math/s_asinhl.c: Likewise.
39181 * math/s_atanl.c: Likewise.
39182 * math/s_cbrtl.c: Likewise.
39183 * math/s_erfl.c: Likewise.
39184 * math/s_expm1l.c: Likewise.
39185 * math/s_log1pl.c: Likewise.
39186 * math/s_tanhl.c: Likewise.
39187 * misc/acct.c: Likewise.
39188 * misc/brk.c: Likewise.
39189 * misc/chflags.c: Likewise.
39190 * misc/chroot.c: Likewise.
39191 * misc/fchflags.c: Likewise.
39192 * misc/fgetxattr.c: Likewise.
39193 * misc/flistxattr.c: Likewise.
39194 * misc/fremovexattr.c: Likewise.
39195 * misc/fsetxattr.c: Likewise.
39196 * misc/fsync.c: Likewise.
39197 * misc/ftruncate.c: Likewise.
39198 * misc/futimes.c: Likewise.
39199 * misc/futimesat.c: Likewise.
39200 * misc/getdomain.c: Likewise.
39201 * misc/getdtsz.c: Likewise.
39202 * misc/gethostid.c: Likewise.
39203 * misc/gethostname.c: Likewise.
39204 * misc/getloadavg.c: Likewise.
39205 * misc/getpagesize.c: Likewise.
39206 * misc/getsysstats.c: Likewise.
39207 * misc/getxattr.c: Likewise.
39208 * misc/gtty.c: Likewise.
39209 * misc/ioctl.c: Likewise.
39210 * misc/lgetxattr.c: Likewise.
39211 * misc/listxattr.c: Likewise.
39212 * misc/llistxattr.c: Likewise.
39213 * misc/lremovexattr.c: Likewise.
39214 * misc/lsetxattr.c: Likewise.
39215 * misc/lutimes.c: Likewise.
39216 * misc/madvise.c: Likewise.
39217 * misc/mincore.c: Likewise.
39218 * misc/mlock.c: Likewise.
39219 * misc/mlockall.c: Likewise.
39220 * misc/mmap.c: Likewise.
39221 * misc/mprotect.c: Likewise.
39222 * misc/msync.c: Likewise.
39223 * misc/munlock.c: Likewise.
39224 * misc/munlockall.c: Likewise.
39225 * misc/munmap.c: Likewise.
39226 * misc/preadv.c: Likewise.
39227 * misc/preadv64.c: Likewise.
39228 * misc/ptrace.c: Likewise.
39229 * misc/pwritev.c: Likewise.
39230 * misc/pwritev64.c: Likewise.
39231 * misc/readv.c: Likewise.
39232 * misc/reboot.c: Likewise.
39233 * misc/remap_file_pages.c: Likewise.
39234 * misc/removexattr.c: Likewise.
39235 * misc/revoke.c: Likewise.
39236 * misc/select.c: Likewise.
39237 * misc/setdomain.c: Likewise.
39238 * misc/setegid.c: Likewise.
39239 * misc/seteuid.c: Likewise.
39240 * misc/sethostid.c: Likewise.
39241 * misc/sethostname.c: Likewise.
39242 * misc/setregid.c: Likewise.
39243 * misc/setreuid.c: Likewise.
39244 * misc/setxattr.c: Likewise.
39245 * misc/sstk.c: Likewise.
39246 * misc/stty.c: Likewise.
39247 * misc/swapoff.c: Likewise.
39248 * misc/swapon.c: Likewise.
39249 * misc/sync.c: Likewise.
39250 * misc/syncfs.c: Likewise.
39251 * misc/syscall.c: Likewise.
39252 * misc/truncate.c: Likewise.
39253 * misc/ualarm.c: Likewise.
39254 * misc/usleep.c: Likewise.
39255 * misc/ustat.c: Likewise.
39256 * misc/utimes.c: Likewise.
39257 * misc/vhangup.c: Likewise.
39258 * misc/writev.c: Likewise.
39259 * posix/_exit.c: Likewise.
39260 * posix/alarm.c: Likewise.
39261 * posix/execve.c: Likewise.
39262 * posix/fexecve.c: Likewise.
39263 * posix/fork.c: Likewise.
39264 * posix/fpathconf.c: Likewise.
39265 * posix/getaddrinfo.c: Likewise.
39266 * posix/getegid.c: Likewise.
39267 * posix/geteuid.c: Likewise.
39268 * posix/getgid.c: Likewise.
39269 * posix/getgroups.c: Likewise.
39270 * posix/getlogin.c: Likewise.
39271 * posix/getlogin_r.c: Likewise.
39272 * posix/getpgid.c: Likewise.
39273 * posix/getpid.c: Likewise.
39274 * posix/getppid.c: Likewise.
39275 * posix/getresgid.c: Likewise.
39276 * posix/getresuid.c: Likewise.
39277 * posix/getsid.c: Likewise.
39278 * posix/getuid.c: Likewise.
39279 * posix/glob64.c: Likewise.
39280 * posix/nanosleep.c: Likewise.
39281 * posix/pathconf.c: Likewise.
39282 * posix/pause.c: Likewise.
39283 * posix/posix_madvise.c: Likewise.
39284 * posix/pread.c: Likewise.
39285 * posix/pread64.c: Likewise.
39286 * posix/pwrite.c: Likewise.
39287 * posix/pwrite64.c: Likewise.
39288 * posix/sched_getaffinity.c: Likewise.
39289 * posix/sched_getp.c: Likewise.
39290 * posix/sched_gets.c: Likewise.
39291 * posix/sched_primax.c: Likewise.
39292 * posix/sched_primin.c: Likewise.
39293 * posix/sched_rr_gi.c: Likewise.
39294 * posix/sched_setaffinity.c: Likewise.
39295 * posix/sched_setp.c: Likewise.
39296 * posix/sched_sets.c: Likewise.
39297 * posix/sched_yield.c: Likewise.
39298 * posix/setgid.c: Likewise.
39299 * posix/setlogin.c: Likewise.
39300 * posix/setpgid.c: Likewise.
39301 * posix/setresgid.c: Likewise.
39302 * posix/setresuid.c: Likewise.
39303 * posix/setsid.c: Likewise.
39304 * posix/setuid.c: Likewise.
39305 * posix/sleep.c: Likewise.
39306 * posix/spawni.c: Likewise.
39307 * posix/sysconf.c: Likewise.
39308 * posix/times.c: Likewise.
39309 * posix/wait.c: Likewise.
39310 * posix/wait3.c: Likewise.
39311 * posix/wait4.c: Likewise.
39312 * posix/waitpid.c: Likewise.
39313 * resolv/gai_sigqueue.c: Likewise.
39314 * resource/getpriority.c: Likewise.
39315 * resource/getrlimit.c: Likewise.
39316 * resource/getrusage.c: Likewise.
39317 * resource/nice.c: Likewise.
39318 * resource/setpriority.c: Likewise.
39319 * resource/setrlimit.c: Likewise.
39320 * resource/ulimit.c: Likewise.
39321 * rt/aio_cancel.c: Likewise.
39322 * rt/aio_fsync.c: Likewise.
39323 * rt/aio_read.c: Likewise.
39324 * rt/aio_sigqueue.c: Likewise.
39325 * rt/aio_suspend.c: Likewise.
39326 * rt/aio_write.c: Likewise.
39327 * rt/clock_getres.c: Likewise.
39328 * rt/clock_gettime.c: Likewise.
39329 * rt/clock_nanosleep.c: Likewise.
39330 * rt/clock_settime.c: Likewise.
39331 * rt/lio_listio.c: Likewise.
39332 * rt/mq_close.c: Likewise.
39333 * rt/mq_getattr.c: Likewise.
39334 * rt/mq_notify.c: Likewise.
39335 * rt/mq_open.c: Likewise.
39336 * rt/mq_receive.c: Likewise.
39337 * rt/mq_send.c: Likewise.
39338 * rt/mq_setattr.c: Likewise.
39339 * rt/mq_timedreceive.c: Likewise.
39340 * rt/mq_timedsend.c: Likewise.
39341 * rt/mq_unlink.c: Likewise.
39342 * rt/shm_open.c: Likewise.
39343 * rt/shm_unlink.c: Likewise.
39344 * rt/timer_create.c: Likewise.
39345 * rt/timer_delete.c: Likewise.
39346 * rt/timer_getoverr.c: Likewise.
39347 * rt/timer_gettime.c: Likewise.
39348 * rt/timer_settime.c: Likewise.
39349 * setjmp/__longjmp.c: Likewise.
39350 * setjmp/setjmp.c: Likewise.
39351 * signal/kill.c: Likewise.
39352 * signal/killpg.c: Likewise.
39353 * signal/raise.c: Likewise.
39354 * signal/sigaction.c: Likewise.
39355 * signal/sigaltstack.c: Likewise.
39356 * signal/sigblock.c: Likewise.
39357 * signal/sigignore.c: Likewise.
39358 * signal/sigintr.c: Likewise.
39359 * signal/signal.c: Likewise.
39360 * signal/sigpause.c: Likewise.
39361 * signal/sigpending.c: Likewise.
39362 * signal/sigqueue.c: Likewise.
39363 * signal/sigreturn.c: Likewise.
39364 * signal/sigset.c: Likewise.
39365 * signal/sigsetmask.c: Likewise.
39366 * signal/sigstack.c: Likewise.
39367 * signal/sigsuspend.c: Likewise.
39368 * signal/sigtimedwait.c: Likewise.
39369 * signal/sigvec.c: Likewise.
39370 * signal/sigwait.c: Likewise.
39371 * signal/sigwaitinfo.c: Likewise.
39372 * signal/sysv_signal.c: Likewise.
39373 * socket/accept.c: Likewise.
39374 * socket/accept4.c: Likewise.
39375 * socket/bind.c: Likewise.
39376 * socket/connect.c: Likewise.
39377 * socket/getpeername.c: Likewise.
39378 * socket/getsockname.c: Likewise.
39379 * socket/getsockopt.c: Likewise.
39380 * socket/isfdtype.c: Likewise.
39381 * socket/listen.c: Likewise.
39382 * socket/recv.c: Likewise.
39383 * socket/recvfrom.c: Likewise.
39384 * socket/recvmsg.c: Likewise.
39385 * socket/send.c: Likewise.
39386 * socket/sendmsg.c: Likewise.
39387 * socket/sendto.c: Likewise.
39388 * socket/setsockopt.c: Likewise.
39389 * socket/shutdown.c: Likewise.
39390 * socket/sockatmark.c: Likewise.
39391 * socket/socket.c: Likewise.
39392 * socket/socketpair.c: Likewise.
39393 * stdio-common/ctermid.c: Likewise.
39394 * stdio-common/cuserid.c: Likewise.
39395 * stdio-common/remove.c: Likewise.
39396 * stdio-common/rename.c: Likewise.
39397 * stdio-common/renameat.c: Likewise.
39398 * stdio-common/tempname.c: Likewise.
39399 * stdlib/getcontext.c: Likewise.
39400 * stdlib/makecontext.c: Likewise.
39401 * stdlib/setcontext.c: Likewise.
39402 * stdlib/swapcontext.c: Likewise.
39403 * stdlib/system.c: Likewise.
39404 * streams/fattach.c: Likewise.
39405 * streams/fdetach.c: Likewise.
39406 * streams/getmsg.c: Likewise.
39407 * streams/getpmsg.c: Likewise.
39408 * streams/putmsg.c: Likewise.
39409 * streams/putpmsg.c: Likewise.
39410 * sysdeps/unix/bsd/getpt.c: Likewise.
39411 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39412 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39413 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39416 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39418 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39419 * sysvipc/msgctl.c: Likewise.
39420 * sysvipc/msgget.c: Likewise.
39421 * sysvipc/msgrcv.c: Likewise.
39422 * sysvipc/msgsnd.c: Likewise.
39423 * sysvipc/semctl.c: Likewise.
39424 * sysvipc/semget.c: Likewise.
39425 * sysvipc/semop.c: Likewise.
39426 * sysvipc/semtimedop.c: Likewise.
39427 * sysvipc/shmat.c: Likewise.
39428 * sysvipc/shmctl.c: Likewise.
39429 * sysvipc/shmdt.c: Likewise.
39430 * sysvipc/shmget.c: Likewise.
39431 * termios/tcdrain.c: Likewise.
39432 * termios/tcflow.c: Likewise.
39433 * termios/tcflush.c: Likewise.
39434 * termios/tcgetattr.c: Likewise.
39435 * termios/tcgetpgrp.c: Likewise.
39436 * termios/tcsendbrk.c: Likewise.
39437 * termios/tcsetattr.c: Likewise.
39438 * termios/tcsetpgrp.c: Likewise.
39439 * time/adjtime.c: Likewise.
39440 * time/clock.c: Likewise.
39441 * time/getitimer.c: Likewise.
39442 * time/gettimeofday.c: Likewise.
39443 * time/setitimer.c: Likewise.
39444 * time/settimeofday.c: Likewise.
39445 * time/stime.c: Likewise.
39446 * time/time.c: Likewise.
39448 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
39450 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39453 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39455 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39457 2012-11-03 Joseph Myers <joseph@codesourcery.com>
39460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39461 FE_TONEAREST before applying Dekker multiplication and Knuth
39462 addition. Clear inexact exceptions and check for exact zero
39463 results afterwards.
39464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39467 * math/libm-test.inc (fma_test): Add more tests.
39468 (fma_test_towardzero): Likewise.
39469 (fma_test_downward): Likewise.
39470 (fma_test_upward): Likewise.
39471 * sysdeps/generic/math_private.h (default_libc_fesetround): New
39473 (libc_fesetround): New macro.
39474 (libc_fesetroundf): Likewise.
39475 (libc_fesetroundl): Likewise.
39476 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39478 (libc_fesetround_387): Likewise.
39479 (libc_fesetroundf): New macro.
39480 (libc_fesetround): Likewise.
39481 (libc_fesetroundl): Likewise.
39482 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39484 (libc_fesetroundf): New macro.
39485 (libc_fesetround): Likewise.
39486 (libc_fesetroundl): Likewise.
39487 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39488 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39489 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39491 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39492 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39494 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39495 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39497 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39501 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39502 integer constant usable in #if and use that to give value to enum
39504 (FE_DIVBYZERO): Likewise.
39505 (FE_UNDERFLOW): Likewise.
39506 (FE_OVERFLOW): Likewise.
39507 (FE_INVALID): Likewise.
39508 (FE_INVALID_SNAN): Likewise.
39509 (FE_INVALID_ISI): Likewise.
39510 (FE_INVALID_IDI): Likewise.
39511 (FE_INVALID_ZDZ): Likewise.
39512 (FE_INVALID_IMZ): Likewise.
39513 (FE_INVALID_COMPARE): Likewise.
39514 (FE_INVALID_SOFTWARE): Likewise.
39515 (FE_INVALID_SQRT): Likewise.
39516 (FE_INVALID_INTEGER_CONVERSION): Likewise.
39517 (FE_TONEAREST): Likewise.
39518 (FE_TOWARDZERO): Likewise.
39519 (FE_UPWARD): Likewise.
39520 (FE_DOWNWARD): Likewise.
39521 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39522 (FE_DIVBYZERO): Likewise.
39523 (FE_OVERFLOW): Likewise.
39524 (FE_UNDERFLOW): Likewise.
39525 (FE_INEXACT): Likewise.
39526 (FE_TONEAREST): Likewise.
39527 (FE_DOWNWARD): Likewise.
39528 (FE_UPWARD): Likewise.
39529 (FE_TOWARDZERO): Likewise.
39530 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39531 (FE_UNDERFLOW): Likewise.
39532 (FE_OVERFLOW): Likewise.
39533 (FE_DIVBYZERO): Likewise.
39534 (FE_INVALID): Likewise.
39535 (FE_TONEAREST): Likewise.
39536 (FE_TOWARDZERO): Likewise.
39537 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39538 (FE_OVERFLOW): Likewise.
39539 (FE_UNDERFLOW): Likewise.
39540 (FE_DIVBYZERO): Likewise.
39541 (FE_INEXACT): Likewise.
39542 (FE_TONEAREST): Likewise.
39543 (FE_TOWARDZERO): Likewise.
39544 (FE_UPWARD): Likewise.
39545 (FE_DOWNWARD): Likewise.
39546 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39547 (FE_DIVBYZERO): Likewise.
39548 (FE_OVERFLOW): Likewise.
39549 (FE_UNDERFLOW): Likewise.
39550 (FE_INEXACT): Likewise.
39551 (FE_TONEAREST): Likewise.
39552 (FE_DOWNWARD): Likewise.
39553 (FE_UPWARD): Likewise.
39554 (FE_TOWARDZERO): Likewise.
39556 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
39558 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39560 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
39562 * scripts/cross-test-ssh.sh (command): Use newlines to separate
39563 commands. Quote $PWD.
39564 (blacklist_exports): Don't use remove_newlines. Replace "declare
39566 (remove_newlines): Remove.
39568 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
39570 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39571 * stdlib/stdlib.h (atof): Moved to ...
39572 * include/bits/stdlib-float.h: Here. New file.
39573 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39574 * stdlib/bits/stdlib-float.h: New file.
39575 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39577 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39580 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39582 * conform/conformtest.pl (@headers): Add fenv.h.
39583 * conform/data/fenv.h-data: New file.
39584 * include/fenv.h [_ISOMAC]: Disable all contents of file except
39585 include of <math/fenv.h>.
39587 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39588 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39589 && !UNIX98]. Enables tests for XOPEN2K8.
39590 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39591 POSIX2008]: Likewise.
39593 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39594 (struct rusage): Do not expect type or its members.
39597 * math/math.h (FP_NAN): Define macro to integer constant usable in
39598 #if and use that to give value to enum constant.
39599 (FP_INFINITE): Likewise.
39600 (FP_ZERO): Likewise.
39601 (FP_SUBNORMAL): Likewise.
39602 (FP_NORMAL): Likewise.
39604 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
39606 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39607 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39610 2012-11-02 Roland McGrath <roland@hack.frob.com>
39612 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39613 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39614 autoconf-time if not.
39615 * configure.in: Remove AC_PREREQ.
39617 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39619 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39620 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39621 of the internal implementation.
39623 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39625 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39626 except include of <misc/sys/syslog.h>.
39628 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39631 function returns with a NULL context exit with zero.
39633 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39635 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39637 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39639 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39640 (run_program_cmd): This.
39641 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39642 (tst_langinfo): New variable. Use it.
39644 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39646 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39647 floating point opcodes.
39649 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39651 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39654 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39656 * sysdeps/mach/hurd/powerpc: Remove directory.
39657 * sysdeps/mach/powerpc: Likewise.
39659 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39661 * scripts/check-local-headers.sh: Ignore c++ headers.
39663 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39665 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39666 __libc_cleanup_region_start argument.
39668 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39673 x * y using scaling, not as x * y + z.
39674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39676 * math/libm-test.inc (fma_test): Add more tests.
39677 (fma_test_towardzero): Likewise.
39678 (fma_test_downward): Likewise.
39679 (fma_test_upward): Likewise.
39681 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39683 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39685 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39687 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39690 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39692 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39694 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39701 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39704 Fix the order of the list for glibc 2.17.
39705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39708 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39712 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39715 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39716 for low part of x being zero before using __atanl (y).
39717 * math/libm-test.inc (atan2_test): Add another test.
39719 * manual/install.texi (Configuring and compiling): Document
39720 general use of test-wrapper and test-wrapper-env.
39721 * INSTALL: Regenerated.
39723 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39724 (__fma): Do not extract and scale down low bits on after-rounding
39725 systems when result rounded to normal precision would have normal
39727 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39728 (__fmal): Do not extract and scale down low bits on after-rounding
39729 systems when result rounded to normal precision would have normal
39731 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39732 (__fmal): Do not extract and scale down low bits on after-rounding
39733 systems when result rounded to normal precision would have normal
39735 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39737 (fma_test): Add more tests.
39738 (fma_test_towardzero): Likewise.
39739 (fma_test_downward): Likewise.
39740 (fma_test_upward): Likewise.
39742 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39744 * sysdeps/i386/tininess.h: Renamed to ...
39745 * sysdeps/x86/tininess.h: This.
39746 * sysdeps/x86_64/tininess.h: Removed.
39748 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39750 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39751 input. Use $(build-program-cmd).
39752 ($(objpfx)tst-array1-static.out): Likewise.
39753 ($(objpfx)tst-array2.out): Likewise.
39754 ($(objpfx)tst-array3.out): Likewise.
39755 ($(objpfx)tst-array4.out): Likewise.
39756 ($(objpfx)tst-array5.out): Likewise.
39757 ($(objpfx)tst-array5-static.out): Likewise.
39759 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39761 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39764 * nss/nsswitch.h (nss_interface_function): Provide new
39765 macro for use with NSS functions.
39766 * grp/initgroups.c: Use new macro.
39767 * nss/getXXbyYY.c: Likewise.
39768 * nss/getXXbyYY_r.c: Likewise.
39769 * nss/getXXent.c: Likewise.
39770 * nss/getXXent_r.c: Likewise.
39771 * sysdeps/posix/getaddrinfo.c: Likewise.
39773 2012-10-30 Andreas Jaeger <aj@suse.de>
39775 * po/ru.po: Update Russion translation from translation project.
39777 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39782 result and shift together with sticky bit instead of replicating
39783 round-to-nearest rounding.
39784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39785 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39786 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39787 missing underflow exceptions.
39788 (fma_test_towardzero): Add more tests.
39789 (fma_test_downward): Likewise.
39790 (fma_test_upward): Likewise.
39793 * sysdeps/generic/tininess.h: New file.
39794 * sysdeps/i386/tininess.h: Likewise.
39795 * sysdeps/sh/tininess.h: Likewise.
39796 * sysdeps/x86_64/tininess.h: Likewise.
39797 * stdlib/tst-strtod-underflow.c: Likewise.
39798 * stdlib/tst-tininess.c: Likewise.
39799 * stdlib/strtod_l.c: Include <tininess.h>.
39800 (round_and_return): Do not set errno for exact underflow cases.
39801 Force an underflow exception when setting errno for underflow.
39802 Determine underflow based on rounding to normal precision if
39803 TININESS_AFTER_ROUNDING.
39804 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39805 ERANGE for exact underflow cases.
39806 * stdlib/Makefile (tests): Add tst-tininess and
39807 tst-strtod-underflow.
39808 ($(objpfx)tst-tininess): Use $(link-libm).
39809 ($(objpfx)tst-strtod-underflow): Likewise.
39811 2012-10-30 Andreas Jaeger <aj@suse.de>
39814 * elf/Makefile (tests): Remove conditional for have-initfini-array
39815 since this is now always required and the variable does not exist
39817 (tests-static): Likewise.
39818 (modules-names): Likewise.
39820 * po/eo.po: Add Esperanto translation from translation project.
39822 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39823 merged with constructor/destructor.
39824 (init_array): Likewise.
39825 * elf/tst-array2dep.c (fini_array): Likewise.
39826 (init_array): Likewise.
39828 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39830 * manual/message.texi: Delete @cartouche tags.
39832 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39834 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39836 * sysdeps/mach/hurd/fsync.c: Likewise.
39838 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39839 [_POSIX_REALTIME_SIGNALS]: Change condition to
39840 [_POSIX_REALTIME_SIGNALS > 0].
39842 2012-10-27 Andreas Jaeger <aj@suse.de>
39844 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39845 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39847 [__WORDSIZE != 64]: Likewise.
39849 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39851 * iconvdata/tst-table.sh: Remove ${SHELL}.
39852 * iconvdata/tst-tables.sh: Likewise.
39854 2012-10-25 David S. Miller <davem@davemloft.net>
39856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39857 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39863 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39864 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39867 2012-10-25 Roland McGrath <roland@hack.frob.com>
39869 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39870 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39873 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39874 Jim Blandy <jimb@codesourcery.com>
39876 * scripts/cross-test-ssh.sh: New file.
39877 * manual/install.texi (Configuring and compiling): Document use of
39879 * INSTALL: Regenerated.
39881 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39883 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39886 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39888 * Makeconfig (run-program-prefix): Fix comment.
39890 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39891 Jim Blandy <jimb@codesourcery.com>
39893 * Makeconfig (test-wrapper): New variable,
39894 (test-wrapper-env): Likewise.
39895 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39896 (run-built-tests): Define to yes.
39897 (run-program-prefix): Use $(test-wrapper).
39898 (built-program-cmd): Likewise.
39899 * Rules (make-test-out): Use $(test-wrapper-env) and
39900 $(host-built-program-cmd).
39901 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39902 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39904 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39905 $(test-wrapper-env) to tst-rtld-load-self.sh.
39906 ($(objpfx)order2.out): Use $(test-wrapper).
39907 ($(objpfx)tst-initorder.out): Likewise.
39908 ($(objpfx)tst-initorder2.out): Likewise.
39909 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39910 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39911 (test_wrapper_env): New variable. Use it to run ld.so.
39912 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39913 Use it to run ld.so.
39914 (test_wrapper_env): Likewise.
39915 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39916 $(test-wrapper) to run-iconv-test.sh.
39917 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39918 (ICONV): Use $test_wrapper.
39919 * posix/Makefile ($(objpfx)globtest.out): Pass
39920 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39921 globtest.sh, not $(run-program-prefix).
39922 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39923 (test_wrapper): Likewise.
39924 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39925 set together with run_via_rtld_prefix.
39926 (run_program_prefix): Define in terms of test_wrapper and
39927 run_via_rtld_prefix.
39929 2012-10-24 Roland McGrath <roland@hack.frob.com>
39931 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39932 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39936 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39937 Declare __clock_getres, __clock_gettime, __clock_settime,
39938 __clock_nanosleep, and __clock_getcpuclockid.
39939 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39940 Remove librt_hidden_def (clock_gettime).
39941 * sysdeps/unix/clock_gettime.c: Likewise.
39942 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39943 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39944 * rt/clock_getres.c: Define __clock_getres as an alias.
39945 * sysdeps/posix/clock_getres.c: Likewise.
39946 * rt/clock_settime.c: Define __clock_settime as an alias.
39947 * sysdeps/unix/clock_settime.c: Likewise.
39948 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39949 * sysdeps/unix/clock_nanosleep.c: Likewise.
39950 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39951 * rt/clock-compat.c: New file.
39952 * rt/Makefile (librt-routines): Add clock-compat and move
39953 $(clock-routines) to ...
39954 (routines): ... here, new variable.
39955 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39956 Don't add get_clockfreq here.
39957 * rt/Versions (libc: GLIBC_2.17): New version set.
39958 Add clock_* symbols here.
39959 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39961 (GLIBC_2.17): Add clock_* symbols.
39962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39973 * NEWS: Mention the move.
39975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39976 Use __open, __read, __close rather than their public counterparts.
39977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39978 (__get_clockfreq_via_cpuinfo): Likewise.
39979 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39980 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39982 * config.h.in (HAVE_IFUNC): New #undef.
39983 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39985 * configure: Regenerated.
39987 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39989 * configure.in: Move READELF check to start of file.
39990 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39991 libc_cv_asm_gnu_indirect_function in the process.
39992 * configure: Regenerated.
39994 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39996 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39997 send the output to /dev/null.
39998 (libc_cv_cc_with_libunwind): Likewise.
39999 (libc_cv_as_noexecstack): Likewise.
40000 * configure: Regenerate.
40002 2012-10-24 Joseph Myers <joseph@codesourcery.com>
40004 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40006 * posix/globtest.sh (TMPDIR): Do not set.
40007 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40008 (testout): Likewise.
40010 2012-10-24 Andreas Jaeger <aj@suse.de>
40012 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40013 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40014 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40015 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40016 posix_fadvise64, posix_fallocate64.
40018 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40019 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40020 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40022 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40024 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40027 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40028 <bits/fcntl-linux.h>.
40029 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40031 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40032 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40033 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40034 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40035 [__WORDSIZE != 64]: Likewise.
40037 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40039 * Makeconfig (run-built-tests): New variable.
40040 * Rules [$(cross-compiling) = yes]: Change condition to
40041 [$(run-built-tests) = no].
40042 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40043 to [$(run-built-tests) = yes].
40044 * elf/Makefile [$(cross-compiling) = no]: Likewise
40045 * grp/Makefile [$(cross-compiling) = no]: Likewise.
40046 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40047 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40048 * intl/Makefile [$(cross-compiling) = no]: Likewise.
40049 * io/Makefile [$(cross-compiling) = no]: Likewise.
40050 * libio/Makefile [$(cross-compiling) = no]: Likewise.
40051 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40052 * misc/Makefile [$(cross-compiling) = no]: Likewise.
40053 * posix/Makefile [$(cross-compiling) = no]: Likewise.
40054 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40055 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40056 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40057 * string/Makefile [$(cross-compiling) = no]: Likewise.
40059 * posix/Makefile ($(objpfx)globtest.out): Pass
40060 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40061 $(rtld-installed-name).
40062 * posix/globtest.sh (elf_objpfx): Remove variable.
40063 (rtld_installed_name): Likewise.
40064 (library_path): Likewise.
40065 (run_program_prefix): New variable. Use for running globtest
40068 2012-10-23 Jim Blandy <jimb@codesourcery.com>
40069 Joseph Myers <joseph@codesourcery.com>
40071 * Makeconfig (host-built-program-cmd): New variable.
40072 * elf/Makefile (tst-stackguard1-ARGS): Use
40073 $(host-built-program-cmd).
40074 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40075 (tst-spawn-ARGS): Likewise.
40076 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40078 2012-10-23 Joseph Myers <joseph@codesourcery.com>
40079 Jim Blandy <jimb@codesourcery.com>
40081 * Makeconfig (run-via-rtld-prefix): New variable.
40082 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40083 (built-program-cmd): Likewise.
40085 2012-10-22 Andreas Jaeger <aj@suse.de>
40087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40088 __O_RSYNC if it exists, otherwise to O_SYNC.
40090 2012-10-22 Jim Blandy <jimb@codesourcery.com>
40091 Joseph Myers <joseph@codesourcery.com>
40093 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40095 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40097 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40100 2012-10-22 Andreas Jaeger <aj@suse.de>
40102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40107 bits/fcntl-linux.h.
40109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40110 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40114 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40117 2012-10-21 Jim Blandy <jimb@codesourcery.com>
40118 Joseph Myers <joseph@codesourcery.com>
40120 * config.make.in (NM): New variable.
40122 2012-10-21 Andreas Jaeger <aj@suse.de>
40124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40125 definitions and declarations that are provided by
40126 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40128 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40131 * elf/Makefile (tests-static): Add tst-leaks1-static.
40132 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40133 ($(objpfx)tst-leaks1-static): New rule.
40134 ($(objpfx)tst-leaks1-static-mem): Likewise.
40135 (tst-leaks1-static-ENV): New macro.
40136 * elf/dl-open.c (dl_open_worker): Check the main application
40137 only if SHARED is defined.
40138 * elf/tst-leaks1-static.c: New file.
40140 2012-10-20 Andreas Jaeger <aj@suse.de>
40142 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40143 generic values for Linux.
40144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40145 and declarations that are provided by <bits/fcntl-linux.h> and
40146 include <bits/fcntl-linux.h>.
40147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40150 2012-10-20 Roland McGrath <roland@hack.frob.com>
40152 * io/fcntl.h: Move include of <bits/types.h> to the top and
40153 include it unconditionally.
40155 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
40157 * wcsmbs/Makefile (tests-ifunc): New variable.
40158 (tests): Add $(tests-ifunc).
40159 * wcsmbs/test-wcschr-ifunc.c: New file.
40160 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40161 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40162 * wcsmbs/test-wcslen-ifunc.c: Likewise.
40163 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40164 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40166 * string/Makefile (tests-ifunc): New variable.
40167 (tests): Add $(tests-ifunc).
40168 * string/test-memccpy.c (TEST_NAME): New macro.
40169 * string/test-memchr.c (TEST_NAME): Likewise.
40170 * string/test-memcmp.c (TEST_NAME): Likewise.
40171 * string/test-memcpy.c (TEST_NAME): Likewise.
40172 * string/test-memmem.c (TEST_NAME): Likewise.
40173 * string/test-memmove.c (TEST_NAME): Likewise.
40174 * string/test-memset.c (TEST_NAME): Likewise.
40175 * string/test-rawmemchr.c (TEST_NAME): Likewise.
40176 * string/test-stpcpy.c (TEST_NAME): Likewise.
40177 * string/test-stpncpy.c (TEST_NAME): Likewise.
40178 * string/test-strcasecmp.c (TEST_NAME): Likewise.
40179 * string/test-strcasestr.c (TEST_NAME): Likewise.
40180 * string/test-strcat.c (TEST_NAME): Likewise.
40181 * string/test-strchr.c (TEST_NAME): Likewise.
40182 * string/test-strcmp.c(TEST_NAME): Likewise.
40183 * string/test-strcpy.c (TEST_NAME): Likewise.
40184 * string/test-strcspn.c (TEST_NAME): Likewise.
40185 * string/test-strlen.c (TEST_NAME): Likewise.
40186 * string/test-strncasecmp.c (TEST_NAME): Likewise.
40187 * string/test-strncmp.c (TEST_NAME): Likewise.
40188 * string/test-strncpy.c (TEST_NAME): Likewise.
40189 * string/test-strnlen.c (TEST_NAME): Likewise.
40190 * string/test-strpbrk.c (TEST_NAME): Likewise.
40191 * string/test-strrchr.c (TEST_NAME): Likewise.
40192 * string/test-strspn.c (TEST_NAME): Likewise.
40193 * string/test-strstr.c (TEST_NAME): Likewise.
40194 * string/test-bcopy-ifunc.c: New file.
40195 * string/test-bzero-ifunc.c: Likewise.
40196 * string/test-memccpy-ifunc.c: Likewise.
40197 * string/test-memchr-ifunc.c: Likewise.
40198 * string/test-memcmp-ifunc.c: Likewise.
40199 * string/test-memcpy-ifunc.c: Likewise.
40200 * string/test-memmem-ifunc.c: Likewise.
40201 * string/test-memmove-ifunc.c: Likewise.
40202 * string/test-mempcpy-ifunc.c: Likewise.
40203 * string/test-memset-ifunc.c: Likewise.
40204 * string/test-rawmemchr-ifunc.c: Likewise.
40205 * string/test-stpcpy-ifunc.c: Likewise.
40206 * string/test-stpncpy-ifunc.c: Likewise.
40207 * string/test-strcasecmp-ifunc.c: Likewise.
40208 * string/test-strcasestr-ifunc.c: Likewise.
40209 * string/test-strcat-ifunc.c: Likewise.
40210 * string/test-strchr-ifunc.c: Likewise.
40211 * string/test-strchrnul-ifunc.c: Likewise.
40212 * string/test-strcmp-ifunc.c: Likewise.
40213 * string/test-strcpy-ifunc.c: Likewise.
40214 * string/test-strcspn-ifunc.c: Likewise.
40215 * string/test-strlen-ifunc.c: Likewise.
40216 * string/test-strncasecmp-ifunc.c: Likewise.
40217 * string/test-strncat-ifunc.c: Likewise.
40218 * string/test-strncmp-ifunc.c: Likewise.
40219 * string/test-strncpy-ifunc.c: Likewise.
40220 * string/test-strnlen-ifunc.c: Likewise.
40221 * string/test-strpbrk-ifunc.c: Likewise.
40222 * string/test-strrchr-ifunc.c: Likewise.
40223 * string/test-strspn-ifunc.c: Likewise.
40224 * string/test-strstr-ifunc.c: Likewise.
40226 * debug/Makefile (tests-ifunc): New variable.
40227 (tests): Add $(tests-ifunc).
40228 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40229 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40230 * debug/test-stpcpy_chk-ifunc.c: New file.
40231 * debug/test-strcpy_chk-ifunc.c: Likewise.
40233 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40236 * elf/dl-load.c (open_verify): Retry read if the entire ELF
40237 header is not read in.
40239 2012-10-19 Joseph Myers <joseph@codesourcery.com>
40241 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
40242 script to $(SHELL) as $<. Pass $(common-objpfx) to script
40243 directly. Pass built executable to script as
40244 $(built-program-cmd).
40245 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
40246 $testprogram without using LD_LIBRARY_PATH and $ldso.
40248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40249 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40250 $(rtld-installed-name).
40251 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40252 (rtld_installed_name): Likewise.
40253 (library_path): Likewise.
40254 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
40255 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40256 $(run-program-prefix) to tst-tables.sh.
40257 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
40258 it to run tst-table-from and tst-table-to.
40259 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40260 Pass it to tst-table.sh.
40261 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40262 $(run-program-prefix) to tst-gettext.sh.
40263 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40265 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40267 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
40268 to run tst-gettext.
40269 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
40270 to run tst-gettext2.
40271 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
40272 to run tst-translit.
40273 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40274 $(run-program-prefix) to tst-mtrace.sh.
40275 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
40277 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40278 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40279 $(rtld-installed-name).
40280 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40281 (rtld_installed_name): Likewise.
40282 (run_program_prefix): New variable. Use it to run wordexp-test.
40284 * Makeconfig (ARCH): Remove all definitions.
40285 (machine): Likewise.
40286 [ARCH]: Remove conditional code.
40287 [!objdir]: Give error.
40288 [!objdir] (objpfx): Remove.
40289 [!objdir] (common-objpfx): Likewise.
40290 [!objdir] (common-objdir): Likewise.
40291 * configure.in (config_makefile): Remove. Hardcode Makefile in
40292 AC_CONFIG_FILES call.
40293 * configure: Regenerated.
40296 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40298 (testout): Likewise.
40300 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40301 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40302 $(rtld-installed-name).
40303 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40304 (rtld_installed_name): Likwise.
40305 (runit): Remove function.
40306 (run_getconf): New variable, Use it for running getconf binary.
40308 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
40311 * string/test-memmem.c (check_result): New function.
40312 (do_one_test): Use it.
40313 (check1): New function.
40314 (test_main): Use it.
40316 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
40318 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40320 2012-10-18 Joseph Myers <joseph@codesourcery.com>
40322 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40323 (_G_LSEEK64): Likewise.
40324 (_G_MMAP64): Likewise.
40325 (_G_FSTAT64): Likewise.
40326 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40327 (_G_LSEEK64): Likewise.
40328 (_G_MMAP64): Likewise.
40329 (_G_FSTAT64): Likewise.
40330 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40331 unconditional. Call __mmap64 directly.
40332 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40333 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
40334 __lseek64 directly.
40335 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40336 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
40338 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40339 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
40340 __lseek64 directly.
40341 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40342 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
40343 __lseek64 directly.
40344 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40345 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
40346 __lseek64 directly.
40347 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40348 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
40349 __fxstat64 directly.
40350 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40351 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40353 (freopen64) [!_G_OPEN64]: Remove conditional code.
40354 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40356 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40357 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40359 (ftello64) [!_G_LSEEK64]: Remove conditional code.
40360 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40362 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40363 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40365 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40366 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40368 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40369 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40371 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40372 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40374 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40376 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40379 * manual/memory.texi (Malloc Tunable Parameters): Add note
40380 about free list pointers overwriting some perturb bytes.
40381 Wording suggested by Roland McGrath.
40383 2012-10-17 Joseph Myers <joseph@codesourcery.com>
40385 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40386 (lgamma_test): Likewise.
40387 (tgamma_test): Likewise.
40389 2012-10-16 Florian Weimer <fweimer@redhat.com>
40392 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40393 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40395 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
40397 * NEWS: Mention BZ #14716.
40398 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40399 when removing AVAILABLE1_USES_J macro.
40401 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
40403 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40404 (__bswap_64): __uint64_t for unsigned 64-bit int.
40406 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
40408 * include/string.h (memmem): Declare libc hidden alias.
40409 * string/memmem.c (memmem): Define libc hidden alias.
40410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40411 __read, __close instead of open, read, close.
40413 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
40415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40416 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40418 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40419 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40420 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40422 (__rawmemchr_sse2): Likewise.
40423 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40424 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40425 (__strchr_sse2): Likewise.
40426 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40427 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40428 (__strcasecmp_sse2): Likewise.
40429 (__strncasecmp_sse2): Likewise.
40430 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40431 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40432 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40433 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40434 (__strrchr_sse2): Likewise.
40435 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40437 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40438 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40439 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40440 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40441 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40442 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40443 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40445 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40446 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40447 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40448 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40449 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40450 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40451 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40453 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40454 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40455 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40456 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40457 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40458 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40459 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40460 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40461 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40463 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40464 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40465 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40466 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40468 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40470 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40471 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40472 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40473 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40475 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40477 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40478 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40479 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40480 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40482 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40483 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40484 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40485 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40486 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40487 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40488 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40489 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40490 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40491 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40492 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40493 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40494 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40495 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40496 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40497 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40498 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40499 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40500 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40501 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40503 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40504 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40505 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40507 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40508 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40509 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40510 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40511 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40512 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40513 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40514 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40515 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40516 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40517 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40518 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40519 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40520 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40521 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40522 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40524 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40525 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40526 * include/ifunc-impl-list.h: New file.
40527 * misc/ifunc-impl-list.c: Likewise.
40528 * misc/Makefile (routines): Add ifunc-impl-list.
40529 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40530 * string/test-string.h: Include <ifunc-impl-list.h>.
40531 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40532 TEST_NAME]: New variables.
40533 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40535 (test_init): Call __libc_ifunc_impl_list to initialize
40536 func_list if TEST_IFUNC and TEST_NAME are defined.
40538 * string/Makefile (strop-tests): Add bcopy and bzero.
40539 * string/test-bcopy.c: New file.
40540 * string/test-bzero.c: Likewise.
40541 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40543 * string/test-memset.c: Support bzero test if TEST_BZERO is
40545 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40547 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40549 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40552 2012-10-10 Joseph Myers <joseph@codesourcery.com>
40554 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40555 * configure: Regenerated.
40557 * Makeconfig (+link-static-before-libc): Don't include
40558 $(link-static-libc).
40560 * libio/libio.h (_IO_pos_t): Remove.
40562 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40564 * NEWS: Add note about FIPS mode. Wording suggested by Roland
40567 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40569 * crypt/crypt-entry.c: Include fips-private.h.
40570 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40571 * crypt/md5c-test.c (main): Tolerate disabled MD5.
40572 * sysdeps/unix/sysv/linux/fips-private.h: New file.
40573 * sysdeps/generic/fips-private.h: New file, dummy fallback.
40575 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
40577 * crypt/crypt-private.h: Include stdbool.h.
40578 (_ufc_setup_salt_r): Return bool.
40579 * crypt/crypt-entry.c: Include errno.h.
40580 (__crypt_r): Return NULL with EINVAL for bad salt.
40581 * crypt/crypt_util.c (bad_for_salt): New.
40582 (_ufc_setup_salt_r): Check that salt is long enough and within
40583 the specified alphabet.
40584 * crypt/badsalttest.c: New file.
40585 * crypt/Makefile (tests): Add it.
40586 ($(objpfx)badsalttest): New.
40588 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
40590 * NEWS: Add entry for BZ #14602.
40592 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40594 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40596 * math/libm-test.inc: Update comment listing what functions and
40598 (isgreater_test): New function.
40599 (isgreaterequal_test): Likewise.
40600 (isless_test): Likewise.
40601 (islessequal_test): Likewise.
40602 (islessgreater_test): Likewise.
40603 (isunordered_test): Likewise.
40604 (main): Call the new functions.
40606 2012-10-09 Roland McGrath <roland@hack.frob.com>
40608 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40609 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40610 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40611 * sysdeps/i386/configure: Regenerated.
40612 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40613 * sysdeps/mach/configure: Regenerated.
40614 * sysdeps/mach/hurd/configure: Regenerated.
40615 * sysdeps/powerpc/configure: Regenerated.
40616 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40617 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40618 * sysdeps/s390/s390-32/configure: Regenerated.
40619 * sysdeps/s390/s390-64/configure: Regenerated.
40620 * sysdeps/sh/configure: Regenerated.
40621 * sysdeps/sparc/configure: Regenerated.
40622 * sysdeps/unix/sysv/linux/configure: Regenerated.
40623 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40624 * sysdeps/x86_64/configure: Regenerated.
40626 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40627 defined. Don't check if MAP is NULL.
40629 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40631 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40632 (_G_stat64): Likewise.
40633 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40634 (_G_stat64): Likewise.
40635 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40636 instead of struct _G_stat64.
40637 * libio/fileops.c (mmap_remap_check): Likewise.
40638 (decide_maybe_mmap): Likewise.
40639 (_IO_new_file_seekoff): Likewise.
40640 (_IO_file_stat): Likewise.
40641 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40643 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40644 instead of struct _G_stat64.
40645 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40647 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40650 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40652 (CHECK_EOL): New macro.
40653 (two_way_short_needle): Check beginning of haystack for EOL. Use
40655 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40656 Replace with CHECK_EOL.
40657 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40658 Replace with CHECK_EOL.
40660 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40662 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40664 * math/libm-test.inc: Update comment listing what functions and
40666 (finite_test): New function.
40667 (isinf_test): Likewise.
40668 (isnan_test): Likewise.
40669 (fpclassify_test): Test subnormal input.
40670 (isfinite_test): Likewise.
40671 (isnormal_test): Likewise.
40672 (main): Call the new functions.
40674 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40677 * Makerules (%.dynsym): Force C locale when running
40678 $(OBJDUMP) --dynamic-syms.
40680 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40682 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40685 2012-10-06 David S. Miller <davem@davemloft.net>
40687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40688 upper 32-bits of the length value in %o2 since we use branch-on-register
40689 tests which consider the entire 64-bit register.
40691 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40693 * string/test-strstr.c (check2): Add a test for page boundary.
40695 2012-10-05 David S. Miller <davem@davemloft.net>
40697 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40698 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40700 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40702 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40703 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40704 and bzero when HWCAP_SPARC_CRYPTO is present.
40706 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40709 * string/test-strstr.c (check2): New function.
40710 (test_main): Call check2.
40712 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40714 * string/bug-strcasestr1.c (do_test): Moved to ...
40715 * string/test-strcasestr.c (check1): Here. New function.
40716 (do_one_test): Break out result checking code into ...
40717 (check_result): This. New function.
40718 (do_one_test): Call check_result.
40719 (test_main): Call check1.
40720 * string/bug-strchr1.c (do_test): Moved to ...
40721 * string/test-strchr.c (check1): Here. New function.
40722 (do_one_test): Break out result checking code into ...
40723 (check_result): This. New function.
40724 (do_one_test): Call check_result.
40725 (test_main): Call check1.
40726 * string/bug-strstr1.c (main): Moved to ...
40727 * string/test-strstr.c (check1): Here. New function.
40728 (do_one_test): Break out result checking code into ...
40729 (check_result): This. New function.
40730 (do_one_test): Call check_result.
40731 (test_main): Call check1.
40732 * string/bug-strcasestr1.c: Removed.
40733 * string/bug-strchr1.c: Likewise.
40734 * string/bug-strstr1.c: Likewise.
40736 * elf/Makefile (dl-routines): Add hwcaps.
40737 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40738 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40739 (_dl_important_hwcaps): Moved to ...
40740 * elf/dl-hwcaps.c: Here. New file.
40741 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40744 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40745 if IS_IN_rtld isn't defined.
40747 * elf/dl-support.c (_dl_sysinfo_map): New.
40748 Include "get-dynamic-info.h" and "setup-vdso.h".
40749 (_dl_non_dynamic_init): Call setup_vdso.
40750 * elf/dynamic-link.h: Don't include <assert.h>.
40751 (elf_get_dynamic_info): Moved to ...
40752 * elf/get-dynamic-info.h: Here. New file.
40753 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40754 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40755 * elf/setup-vdso.h: Here. New file.
40756 * elf/rtld.c: Include "setup-vdso.h".
40757 (dl_main): Call setup_vdso.
40759 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40761 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40762 creal in comment listing functions tested. List finite, isinf,
40763 isnan, isless, islessequal, isgreater, isgreaterequal,
40764 islessgreater, isunordered, lgamma_r and pow10 as functions and
40765 macros not tested. Mention which functions not tested are aliases
40766 for other functions. Fix typo. Note that signs of NaNs are not
40769 * scripts/config.guess: Update from config.git.
40770 * scripts/config.sub: Likewise.
40772 2012-10-04 Roland McGrath <roland@hack.frob.com>
40774 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40775 * misc/madvise.c (madvise): Renamed to __madvise.
40776 Make madvise a weak alias.
40777 * include/sys/mman.h: Declare __madvise.
40778 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40779 * sysdeps/unix/syscalls.list
40780 (madvise): Make __madvise the strong name, and madvise a weak alias.
40781 * sysdeps/unix/sysv/linux/syscalls.list
40782 (madvise, mmap): Remove redundant entries.
40783 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40784 * malloc/malloc.c (mtrim): Likewise.
40785 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40787 2012-10-03 Roland McGrath <roland@hack.frob.com>
40789 * sysdeps/mach/hurd/dl-cache.c: File removed.
40790 * config.h.in (USE_LDCONFIG): New #undef.
40791 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40792 * configure: Regenerated.
40793 * elf/Makefile (dl-routines): Add dl-cache only under
40794 [$(use-ldconfig) = yes].
40795 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40796 cache on [USE_LDCONFIG].
40797 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40799 * elf/rtld.c (dl_main): Likewise.
40801 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40803 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40804 _SC_LEVEL4_CACHE_LINESIZE.
40806 2012-10-03 Roland McGrath <roland@hack.frob.com>
40808 * sysdeps/unix/bsd/confstr.h: File removed.
40810 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40812 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40815 2012-10-02 Roland McGrath <roland@hack.frob.com>
40817 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40818 Make 'mapoff' field ElfW(Off) rather than off_t.
40820 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40822 * nscd/Makefile: Remove nscd-cflags and all its users.
40823 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40824 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40827 * malloc.c (malloc_printerr): Clarify error message.
40829 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40833 Set bit_FMA_Usable if FMA is supported.
40834 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40836 (bit_FMA4_Usable): Updated.
40837 (index_FMA_Usable): New macro.
40838 (CPUID_FMA): Likewise
40839 (HAS_FMA): Defined with bit_FMA_Usable.
40841 2012-10-01 Roland McGrath <roland@hack.frob.com>
40843 * bits/types.h (__swblk_t): Type removed.
40844 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40845 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40846 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40847 (__SWBLK_T_TYPE): Likewise.
40848 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40849 (__SWBLK_T_TYPE): Likewise.
40850 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40851 (__SWBLK_T_TYPE): Likewise.
40852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40853 (__SWBLK_T_TYPE): Likewise.
40855 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40856 Honza Horak <hhorak@redhat.com>
40858 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40859 (xdr_mapname): Use YPMAXMAP as maxsize.
40860 (xdr_peername): Use YPMAXPEER as maxsize.
40861 (xdr_keydat): Use YPAXRECORD as maxsize.
40862 (xdr_valdat): Use YPMAXRECORD as maxsize.
40864 2012-10-01 Roland McGrath <roland@hack.frob.com>
40866 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40868 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40869 * csu/init-first.c: ... here.
40870 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40871 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40872 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40873 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40874 * sysdeps/i386/init-first.c: File removed.
40875 * sysdeps/sh/init-first.c: File removed.
40877 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40881 if x * y might underflow to zero and z is zero.
40882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40884 * math/libm-test.inc (min_subnorm_value): New variable.
40885 (fma_test): Add more tests.
40886 (fma_test_towardzero): Likewise.
40887 (fma_test_downward): Likewise
40888 (fma_test_upward): Likewise.
40889 (initialize): Set min_subnorm_value.
40891 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40897 mode for addition resulting in exact zero.
40898 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40901 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40903 * math/libm-test.inc (fma_test): Add more tests.
40904 (fma_test_towardzero): New function.
40905 (fma_test_downward): Likewise.
40906 (fma_test_upward): Likewise.
40907 (main): Call the new functions.
40909 2012-09-28 David S. Miller <davem@davemloft.net>
40911 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40913 2012-09-28 Roland McGrath <roland@hack.frob.com>
40915 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40916 instead of SIGALRM.
40918 * sysdeps/gnu/_G_config.h: Moved to ...
40919 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40920 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40921 * sysdeps/generic/_G_config.h: ... here.
40923 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40925 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40927 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40928 Conditionalize target on [libnss_test1.so-version].
40930 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40932 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40933 (elfobjdir): Move out of conditionals.
40935 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40936 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40937 (__nss_lookup_function): Conditionalize label remove_from_tree on
40938 [!DO_STATIC_NSS || SHARED], matching its only use.
40940 2012-09-28 David S. Miller <davem@davemloft.net>
40942 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40943 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40945 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40947 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40949 when HWCAP_SPARC_CRYPTO is present.
40951 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40953 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40955 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40958 * stdio-common/vfprintf.c (process_string_arg): Revert
40961 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40963 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40965 * stdio-common/tst-sprintf.c: Include <locale.h>
40966 (main): Test sprintf's handling of incomplete multibyte
40969 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40971 * elf/dl-runtime.c (VERSYMIDX): Removed.
40972 * elf/dl-version.c (VERSYMIDX): Likewise.
40973 * elf/do-rel.h (VERSYMIDX): Likewise.
40974 (VALIDX): Likewise.
40975 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40976 * elf/rtld.c (VALIDX): Likewise.
40977 (ADDRIDX): Likewise.
40978 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40979 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40980 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40981 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40982 (VALIDX): Likewise.
40983 (ADDRIDX): Likewise.
40985 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40987 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40989 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40992 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40994 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40995 addresses are in the same scope as 192.0.2/24.
40996 * posix/gai.conf: Document new scope table defaults.
40998 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41001 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41002 for ftell. Compute offsets from write pointers instead.
41003 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41005 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41008 * libio/Makefile (tests): New test case tst-fseek.
41009 * libio/tst-fseek.c: New test case to verify that fseek/ftell
41010 combination works in wide mode.
41011 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41012 state when the external buffer state changes.
41014 2012-09-27 David S. Miller <davem@davemloft.net>
41017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41018 pass reloc->r_addend in as the 'high' argument to
41019 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41023 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
41025 * rt/tst-aio2.c: Include <pthread.h>.
41026 * rt/tst-aio3.c: Likewise.
41028 2012-09-27 Steve Ellcey <sellcey@mips.com>
41030 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41032 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
41034 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41035 contents on [SHARED].
41037 2012-09-26 Marek Polacek <polacek@redhat.com>
41041 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41042 for C++ and GCC <4.3 as well as for non GCC compilers.
41044 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
41046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41048 2012-09-25 Roland McGrath <roland@hack.frob.com>
41050 * Makefile.in (all, install): Declare with .PHONY.
41051 Reported by Michael Hope <michael.hope@linaro.org>.
41053 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41055 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41056 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41058 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41060 (sydep_routines): Add the new and the internal functions.
41061 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41062 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41064 (GLIBC_2.17): Add the new function.
41065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41066 (GLIBC_2.17): Likewise.
41067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41068 (GLIBC_2.17): Likewise.
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41070 (GLIBC_2.17): Likewise.
41071 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41073 2012-09-25 Alan Modra <amodra@gmail.com>
41075 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41076 Add release barrier before setting once_control to say
41077 initialisation is done. Add hints on lwarx. Use macro in
41079 (clear_once_control): Add release barrier.
41081 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41084 * math/s_clog.c (__clog): Handle more values close to |z| = 1
41086 * math/s_clog10.c (__clog10): Likewise.
41087 * math/s_clog10f.c (__clog10f): Likewise.
41088 * math/s_clog10l.c (__clog10l): Likewise.
41089 * math/s_clogf.c (__clogf): Likewise.
41090 * math/s_clogl.c (__clogl): Likewise.
41091 * math/Makefile (libm-calls): Add x2y2m1.
41092 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41093 (__x2y2m1): Likewise.
41094 (__x2y2m1l): Likewise.
41095 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41096 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41097 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41099 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41100 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41101 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41102 * sysdeps/i386/fpu/libm-test-ulps: Update.
41103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41106 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41107 int as type of variable DEPTH.
41108 (glob): Use size_t instead of int as type of variables NEWCOUNT
41111 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41113 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41114 Add s_sincosf-sse2.
41115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41116 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41117 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41118 macros for using routine as __sincosf_ia32.
41119 Use macro for function declaration and weak_alias.
41120 * sysdeps/i386/fpu/libm-test-ulps: Update.
41122 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41125 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41126 subnormal argument.
41127 * math/s_cexpf.c (__cexpf): Likewise.
41128 * math/s_csinf.c (__csinf): Likewise.
41129 * math/s_csinhf.c (__csinhf): Likewise.
41130 * math/s_ctanf.c (__ctanf): Likewise.
41131 * math/s_ctanhf.c (__ctanhf): Likewise.
41132 * math/s_ccosh.c (__ccoshf): Likewise.
41133 * math/s_cexp.c (__cexpl): Likewise.
41134 * math/s_csin.c (__csin): Likewise.
41135 * math/s_csinh.c (__csinh): Likewise.
41136 * math/s_ctan.c (__ctan): Likewise.
41137 * math/s_ctanh.c (ctanh): Likewise.
41138 * math/s_ccoshl.c (__ccoshl): Likewise.
41139 * math/s_cexpl.c (__cexpl): Likewise.
41140 * math/s_csinl.c (__csinl): Likewise.
41141 * math/s_csinhl.c (__csinhl): Likewise.
41142 * math/s_ctanl.c (__ctanl): Likewise.
41143 * math/s_ctanhl.c (__ctanhl): Likewise.
41145 2012-09-25 Joseph Myers <joseph@codesourcery.com>
41147 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41148 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41149 (_IO_off_t): Define to __off_t, not _G_off_t.
41150 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41151 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41152 (_IO_wint_t): Define to wint_t, not _G_wint_t.
41153 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41154 type of __dummy and __dummy2 fields.
41155 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41156 (_G_ssize_t): Likewise.
41157 (_G_off_t): Likewise.
41158 (_G_pid_t): Likewise.
41159 (_G_uid_t): Likewise.
41160 (_G_wchar_t): Likewise.
41161 (_G_wint_t): Likewise.
41162 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41163 (_G_ssize_t): Likewise.
41164 (_G_off_t): Likewise.
41165 (_G_pid_t): Likewise.
41166 (_G_uid_t): Likewise.
41167 (_G_wchar_t): Likewise.
41168 (_G_wint_t): Likewise.
41169 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41170 (_G_ssize_t): Likewise.
41171 (_G_off_t): Likewise.
41172 (_G_pid_t): Likewise.
41173 (_G_uid_t): Likewise.
41174 (_G_wchar_t): Likewise.
41175 (_G_wint_t): Likewise.
41177 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41179 * malloc/arena.c: Include malloc-sysdep.h.
41180 (shrink_heap): Use check_may_shrink_heap to decide if madvise
41181 is sufficient to shrink the heap or an unmap is needed.
41182 * sysdeps/generic/malloc-sysdep.h: New file. Define
41183 new function check_may_shrink_heap.
41184 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
41185 new function check_may_shrink_heap.
41187 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41189 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41192 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
41194 * catgets/test-gencat.sh: Add "set -e".
41195 * elf/tst-pathopt.sh: Likewise.
41196 * grp/tst_fgetgrent.sh: Likewise.
41197 * iconvdata/run-iconv-test.sh: Likewise.
41198 * intl/tst-gettext.sh: Likewise.
41199 * intl/tst-gettext2.sh: Likewise.
41200 * intl/tst-gettext4.sh: Likewise.
41201 * intl/tst-gettext6.sh: Likewise.
41202 * intl/tst-translit.sh: Likewise.
41203 * io/ftwtest-sh: Likewise.
41204 * libio/test-freopen.sh: Likewise.
41205 * malloc/tst-mtrace.sh: Likewise.
41206 * posix/globtest.sh: Likewise.
41207 * posix/tst-getconf.sh: Likewise.
41208 * posix/wordexp-tst.sh: Likewise.
41209 * stdio-common/tst-printf.sh: Likewise.
41210 * stdio-common/tst-unbputc.sh: Likewise.
41211 * stdlib/tst-fmtmsg.sh: Likewise.
41212 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41213 * catgets/Makefile: Do not specify -e option when running
41214 testsuite shell scripts.
41215 * elf/Makefile: Likewise.
41216 * grp/Makefile: Likewise.
41217 * iconvdata/Makefile: Likewise.
41218 * intl/Makefile: Likewise.
41219 * io/Makefile: Likewise.
41220 * libio/Makefile: Likewise.
41221 * malloc/Makefile: Likewise.
41222 * posix/Makefile: Likewise.
41223 * stdio-common/Makefile: Likewise.
41224 * stdlib/Makefile: Likewise.
41225 * sysdeps/x86_64/Makefile: Likewise.
41227 * io/ftwtest-sh: Add copyright header.
41228 * posix/globtest.sh: Likewise.
41229 * posix/tst-getconf.sh: Likewise.
41230 * posix/wordexp-tst.sh: Likewise.
41231 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41233 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
41236 * Makeconfig (+link): Defined as $(+link-static) if
41237 $(build-shared) isn't yes.
41238 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41240 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41242 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41245 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41246 new chunk size with MALLOC_ALIGN_MASK.
41248 2012-09-24 Joseph Myers <joseph@codesourcery.com>
41251 * stdio-common/printf_fphex.c: Include <stdbool.h> and
41253 (__printf_fphex): Determine rounding using get_rounding_mode and
41255 * stdio-common/tst-printf-round.c (struct hex_test): New
41257 (hex_tests): New variable.
41258 (test_hex_in_one_mode): New function.
41259 (do_test): Also run tests for hex float output.
41261 2012-09-21 Joseph Myers <joseph@codesourcery.com>
41263 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41264 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41265 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41266 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41267 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41268 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41269 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41270 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41272 2012-09-20 Joseph Myers <joseph@codesourcery.com>
41274 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41275 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41276 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41277 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41279 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
41282 * elf/rtld.c (dl_main): Limit the check for self loading to normal
41284 * elf/tst-rtld-load-self.sh: New test.
41285 * elf/Makefile: Run it.
41287 2012-09-18 Joseph Myers <joseph@codesourcery.com>
41289 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41290 (tst-writev-ENV): Remove.
41291 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41293 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
41295 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41297 2012-09-17 Joseph Myers <joseph@codesourcery.com>
41299 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41301 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41303 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41304 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41305 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41308 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
41311 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41312 * config.make.in (have-cpp-asm-debuginfo): Removed.
41313 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41314 * configure: Regenerated.
41316 2012-09-14 Joseph Myers <joseph@codesourcery.com>
41319 * stdio-common/printf_fp.c: Include <stdbool.h> and
41321 (___printf_fp): Determine rounding using get_rounding_mode and
41323 * stdio-common/tst-printf-round.c: New file.
41324 * stdio-common/Makefile (tests): Add tst-printf-round.
41325 (link-libm): New variable.
41326 ($(objpfx)tst-printf-round): Depend in $(link-libm).
41328 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
41331 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41332 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41334 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41337 2012-09-13 Joseph Myers <joseph@codesourcery.com>
41339 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41340 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41341 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41344 2012-09-12 Joseph Myers <joseph@codesourcery.com>
41347 * include/rounding-mode.h: New file.
41348 * sysdeps/generic/get-rounding-mode.h: Likewise.
41349 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41350 * stdlib/strtod_l.c: Include <rounding-mode.h>.
41351 (MAX_VALUE): New macro.
41352 (MIN_VALUE): Likewise.
41353 (overflow_value): New function.
41354 (underflow_value): Likewise.
41355 (round_and_return): Use overflow_value and underflow_value to
41356 determine return values in overflow and underflow cases. Use
41357 round_away to determine rounding depending on rounding mode.
41358 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41359 determine return values in overflow and underflow cases.
41360 * stdlib/tst-strtod-round.c: Include <fenv.h>.
41361 (struct test_results): New structure.
41362 (struct test): Use struct test_results to store expected results
41363 for all rounding modes.
41364 (TEST): Include expected results for all rounding modes.
41365 (test_in_one_mode): New function.
41366 (do_test): Use test_in_one_mode to compute and check results.
41367 Check results for all rounding modes.
41368 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41371 2012-12-09 Allan McRae <allan@archlinux.org>
41373 * sysdeps/i386/fpu/libm-test-ulps: Update
41375 2012-09-11 Joseph Myers <joseph@codesourcery.com>
41377 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41378 (_G_int32_t): Likewise.
41379 (_G_uint16_t): Likewise.
41380 (_G_uint32_t): Likewise.
41381 (_G_HAVE_BOOL): Likewise.
41382 (_G_HAVE_ATEXIT): Likewise.
41383 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41384 (_G_HAVE_IO_FILE_OPEN): Likewise.
41385 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41386 (_G_int32_t): Likewise.
41387 (_G_uint16_t): Likewise.
41388 (_G_uint32_t): Likewise.
41389 (_G_HAVE_BOOL): Likewise.
41390 (_G_HAVE_ATEXIT): Likewise.
41391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41392 (_G_HAVE_IO_FILE_OPEN): Likewise.
41393 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41394 (_G_int32_t): Likewise.
41395 (_G_uint16_t): Likewise.
41396 (_G_uint32_t): Likewise.
41397 (_G_HAVE_BOOL): Likewise.
41398 (_G_HAVE_ATEXIT): Likewise.
41399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41400 (_G_HAVE_IO_FILE_OPEN): Likewise.
41402 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
41404 * csu/libc-tls.c: Update copyright years.
41406 2012-09-10 Joseph Myers <joseph@codesourcery.com>
41408 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41409 [!_G_USING_THUNKS]: Remove conditional code.
41410 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41411 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41413 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41414 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41415 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41416 (_G_VTABLE_LABEL_PREFIX): Likewise.
41417 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41418 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41420 (_G_VTABLE_LABEL_PREFIX): Likewise.
41421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41422 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41423 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41424 (_G_VTABLE_LABEL_PREFIX): Likewise.
41425 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41427 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
41429 * libio/Makefile: Include ../Makeconfig before tests.
41430 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41431 only if $(build-shared) is yes.
41433 * iconv/gconv_db.c: Update copyright years.
41435 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41437 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41438 unwind info if defined PIC. Fix special cases description.
41439 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41441 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41443 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41445 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
41447 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41449 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41452 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41453 (LDLIBS-tst-chk4): This.
41454 (LDFLAGS-tst-chk5): Renamed to ...
41455 (LDLIBS-tst-chk5): This.
41456 (LDFLAGS-tst-chk6): Renamed to ...
41457 (LDLIBS-tst-chk6): This.
41458 (LDFLAGS-tst-lfschk4): Renamed to ...
41459 (LDLIBS-tst-lfschk4): This.
41460 (LDFLAGS-tst-lfschk5): Renamed to ...
41461 (LDLIBS-tst-lfschk5): This.
41462 (LDFLAGS-tst-lfschk6): Renamed to ...
41463 (LDLIBS-tst-lfschk6): This.
41465 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41466 on $(common-objpfx)soversions.mk.
41468 2012-09-07 Joseph Myers <joseph@codesourcery.com>
41471 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41474 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
41476 * malloc/arena.c (arena_get_retry): New function that gets
41477 another arena for the caller to try its request on.
41478 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41479 current arena cannot fulfill the request.
41480 (__libc_memalign): Likewise.
41481 (__libc_memalign): Likewise.
41482 (__libc_pvalloc): Likewise.
41483 (__libc_calloc): Likewise.
41485 2012-09-05 John Tobey <john.tobey@gmail.com>
41488 * manual/arith.texi (Operations on Complex): Fix description
41489 of carg branch cut.
41491 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41494 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41498 * manual/memory.texi (Memory): Make order of menu items match
41501 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41503 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41504 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
41505 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41507 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41509 * csu/libc-tls.c (static_dtv): Renamed to ...
41510 (_dl_static_dtv): This. Make it global.
41511 (_dl_initial_dtv): Removed.
41512 (__libc_setup_tls): Updated.
41513 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41514 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41517 2012-09-06 Petr Machata <pmachata@redhat.com>
41519 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41520 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41521 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41522 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41524 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41527 * csu/libc-tls.c (_dl_initial_dtv): New variable.
41528 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41531 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
41534 * Makeconfig (link-static-before-libc): Replace $(+prector)
41536 (link-static-after-libc): Replace $(+postctor) with
41538 (link-bounded): Replace $(+prector)/$(+postctor) with
41539 $(+prectorT)/$(+postctorT).
41540 (+prectorT): New macro.
41541 (+postctorT): Likewise.
41543 2012-09-06 Joseph Myers <joseph@codesourcery.com>
41545 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41546 (round_str): Handle values above the maximum for IBM long double
41548 * stdlib/tst-strtod-round.c (tests): Regenerated.
41550 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41552 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41554 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41555 zarch_nohighgprs around the zarch optimized routines.
41556 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41557 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41558 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41561 2012-09-05 David S. Miller <davem@davemloft.net>
41563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41565 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41566 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41567 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41568 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41573 * malloc/arena.c: Fold copyright years.
41574 * malloc/mcheck.c, malloc/memusage.c: Likewise.
41576 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41578 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41580 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41582 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
41584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41586 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41587 change internal state upon failure.
41589 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
41591 * malloc/mcheck.c (mcheck_check_all): Fix typo.
41592 * malloc/memusage.c (mmap): Likewise.
41593 (mmap64, mremap): Likewise. Adjust name in comment.
41595 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41597 * libio/fileops.c: Fix typos in comments.
41598 * libio/oldfileops.c: Likewise.
41599 * libio/wfileops.c: Likewise.
41601 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41604 * malloc/Makefile (tests): Add tst-malloc-usable test case.
41605 (tst-malloc-usable-ENV): Set environment for test case.
41606 * malloc/hooks.c (malloc_check_get_size): New function to get
41608 * malloc/malloc.c (musable): Use malloc_check_get_size.
41609 * malloc/tst-malloc-usable.c: New test case.
41611 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41613 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41615 2012-09-05 Allan McRae <allan@archlinux.org>
41618 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41619 determine header location.
41620 * configure: Regenerated.
41622 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41624 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41626 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41627 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41629 (test): Regenerate.
41631 2012-09-04 David S. Miller <davem@davemloft.net>
41633 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41634 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41637 2012-09-04 Florian Weimer <fweimer@redhat.com>
41639 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41642 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41644 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41647 * libio/iogetdelim.c: Include <limits.h>.
41648 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41649 + len + 1 would overflow.
41651 2012-09-03 Andreas Jaeger <aj@suse.de>
41653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41654 * sysdeps/i386/fpu/libm-test-ulps: Update.
41656 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41658 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41659 Add s_sinf-sse2, s_conf-sse2.
41661 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41662 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41663 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41664 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41666 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41667 for using routine as __sinf_ia32.
41668 Use macro for function declaration and weak_alias.
41669 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41670 for using routine as __cosf_ia32.
41671 Use macro for function declaration and weak_alias.
41673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41674 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41676 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41677 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41680 * math/libm-test.inc (cos_test): Add more test cases.
41681 (sin_test): Likewise.
41682 (sincos_test): Likewise.
41684 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41687 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41691 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41694 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41695 first element of the GOT.
41696 (elf_machine_load_address): Return the difference between
41697 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41699 2012-09-01 Allan McRae <allan@archlinux.org>
41702 * configure.in (AWK): Require gawk version 3.0 or later.
41703 * configure: Regenerated.
41705 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41707 * sysdeps/unix/sysv/linux/kernel-features.h
41708 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41710 [__NR_clock_getres]: Make code unconditional.
41711 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41712 (clock_getcpuclockid): Remove code left unreachable by removal of
41714 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41715 code unconditional.
41716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41718 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41719 Make code unconditional.
41720 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41722 * sysdeps/unix/sysv/linux/clock_settime.c
41723 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41725 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41726 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41728 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41731 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41732 scripts/test-installation.pl.
41734 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41735 and $ld_so_version if it is set.
41737 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41740 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41741 failure if reading from procfs failed.
41742 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41744 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41746 * sysdeps/unix/sysv/linux/kernel-features.h
41747 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41748 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41749 Remove conditional code.
41750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41751 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41752 Remove conditional code.
41753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41754 * sysdeps/unix/sysv/linux/i386/fxstat.c
41755 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41757 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41760 * sysdeps/unix/sysv/linux/i386/lxstat.c
41761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41763 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41764 Remove conditional code.
41765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41766 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41767 Remove conditional code.
41768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41769 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41770 <kernel-features.h>.
41771 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41773 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41774 Remove conditional code.
41775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41776 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41777 Remove conditional.
41779 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41782 * NEWS: Add fixed bug number.
41784 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41787 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41788 underflowing exponent in case of negative sign.
41789 * stdlib/tst-strtod-round-data: Add more tests.
41790 * stdlib/tst-strtod-round.c (tests): Regenerated.
41793 * stdlib/strtod_l.c (NDIG): Remove.
41794 (HEXNDIG): Likewise.
41795 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41796 smallest representable value.
41797 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41798 lie within an exact representation of 1/2 ulp of the result.
41799 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41801 (TENS_P9_IDX): Define unconditionally.
41802 (TENS_P9_SIZE): Likewise.
41803 (TENS_P10_IDX): Likewise.
41804 (TENS_P10_SIZE): Likewise.
41805 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41806 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41807 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41808 entries for 10^2^13 and 10^2^14.
41809 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41810 (TENS_P13_IDX): Define.
41811 (TENS_P13_SIZE): Likewise.
41812 (TENS_P14_IDX): Likewise.
41813 (TENS_P14_SIZE): Likewise.
41814 (_fpioconst_pow10): Change array size to
41815 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41817 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41818 1024]: Add entries for 10^2^13 and 10^2^14.
41819 [LAST_POW10 > _LAST_POW10]: Remove #error.
41820 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41821 (_fpioconst_pow10): Change array size to
41822 FPIOCONST_POW10_ARRAY_SIZE.
41823 * stdlib/gen-fpioconst.c: New file.
41824 * stdlib/gen-tst-strtod-round.c: Likewise.
41825 * stdlib/tst-strtod-round-data: Likewise.
41826 * stdlib/tst-strtod-round.c: Likewise.
41827 * stdlib/Makefile (tests): Add tst-strtod-round.
41830 * stdlib/strtod_l.c: Include <stdint.h>.
41831 (NDEBUG): Do not define.
41832 (round_and_return): Change EXPONENT parameter to type intmax_t.
41833 Rearrange calculations to avoid internal overflow possibilities.
41834 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41835 Rearrange calculations to avoid internal overflow possibilities.
41836 Assert that number fits inside MPNSIZE limbs.
41837 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41838 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41839 calculations and add assertions to avoid internal overflow
41840 possibilities. Add casts to avoid signed/unsigned operations.
41841 * stdlib/tst-strtod-overflow.c: New file.
41842 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41844 2012-08-25 Marek Polacek <polacek@redhat.com>
41846 * time/time.h: Fix some typos in comments.
41848 2012-08-23 Roland McGrath <roland@hack.frob.com>
41850 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41851 * posix/tst-rfc3484-2.c: Likewise.
41852 * posix/tst-rfc3484-3.c: Likewise.
41854 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41856 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41857 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41859 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41861 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41862 #include of fxstatat64.c.
41864 2012-08-22 Roland McGrath <roland@hack.frob.com>
41866 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41867 * shadow/getspent_r.c: Likewise.
41868 * shadow/getspnam.c: Likewise.
41869 * shadow/getspnam_r.c: Likewise.
41870 * gshadow/getsgent.c: Likewise.
41871 * gshadow/getsgent_r.c: Likewise.
41872 * gshadow/getsgnam.c: Likewise.
41873 * gshadow/getsgnam_r.c: Likewise.
41874 * inet/getnetbyad.c: Likewise.
41875 * inet/getnetbyad_r.c: Likewise.
41876 * inet/getnetbynm.c: Likewise.
41877 * inet/getnetbynm_r.c: Likewise.
41878 * inet/getnetent.c: Likewise.
41879 * inet/getnetent_r.c: Likewise.
41880 * inet/getproto.c: Likewise.
41881 * inet/getproto_r.c: Likewise.
41882 * inet/getprtent.c: Likewise.
41883 * inet/getprtent_r.c: Likewise.
41884 * inet/getprtname.c: Likewise.
41885 * inet/getprtname_r.c: Likewise.
41886 * inet/getrpcbyname.c: Likewise.
41887 * inet/getrpcbyname_r.c: Likewise.
41888 * inet/getrpcbynumber.c: Likewise.
41889 * inet/getrpcbynumber_r.c: Likewise.
41890 * inet/getrpcent.c: Likewise.
41891 * inet/getrpcent_r.c: Likewise.
41892 * inet/getaliasent.c: Likewise.
41893 * inet/getaliasent_r.c: Likewise.
41894 * inet/getaliasname.c: Likewise.
41895 * inet/getaliasname_r.c: Likewise.
41896 * nscd/getgrgid_r.c: Likewise.
41897 * nscd/getgrnam_r.c: Likewise.
41898 * nscd/gethstbyad_r.c: Likewise.
41899 * nscd/gethstbynm3_r.c: Likewise.
41900 * nscd/getpwnam_r.c: Likewise.
41901 * nscd/getpwuid_r.c: Likewise.
41902 * nscd/getsrvbynm_r.c: Likewise.
41903 * nscd/getsrvbypt_r.c: Likewise.
41904 * nscd/gai.c: Likewise.
41906 * configure.in (build_nscd): New substituted variable, set
41907 by --disable-build-nscd and defaults to $use_nscd.
41908 * configure: Regenerated.
41909 * config.make.in (build-nscd): New substituted variable.
41910 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41911 Change conditional to require [$(build-nscd) = yes] as well.
41912 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41915 * configure.in (use_nscd): New substituted variable, set by
41916 --disable-nscd. If enabled, define USE_NSCD.
41917 * configure: Regenerated.
41918 * config.h.in: Add USE_NSCD.
41919 * config.make.in (use-nscd): New substituted variable.
41920 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41921 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41922 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41923 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41924 (CFLAGS-getgrnam_r.c): Likewise.
41925 (CFLAGS-initgroups.c): Likewise.
41926 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41927 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41929 * inet/getnetgrent_r.c
41930 (nscd_setnetgrent): New function, broken out of ...
41931 (setnetgrent): ... here. Call it.
41932 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41933 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41934 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41935 * nscd/Makefile (routines, aux): Move definitions after include of
41936 Makeconfig. Conditionalize on [$(use-nscd) != no].
41937 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41938 Conditionalize on [USE_NSCD].
41939 (is_nscd, nscd_init_cb): Likewise.
41940 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41941 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41942 * nss/nss_db/db-init.c: Likewise.
41943 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41945 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41946 (make_request): Use it.
41947 (cache_valid_p): New function.
41948 (__check_pf): Use it.
41949 * NEWS: Add item for --disable-nscd.
41951 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41953 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41954 to support sed >= 4.2.1-20-ga9bf076.
41955 * configure: Regenerated.
41957 2012-08-22 Roland McGrath <roland@hack.frob.com>
41959 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41960 Conditionalize whole body on [IREL].
41962 2012-08-22 Jeff Law <law@redhat.com>
41965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41966 if the family is PF_UNSPEC.
41968 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41970 * Makerules (lib-version): Rename from V.
41971 (install-lib-nosubdir): Change V to lib-version.
41973 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41976 * powerpc32/power6/wcschr.c: New file.
41977 * powerpc32/power6/wcscpy.c: New file.
41978 * powerpc32/power6/wcsrchr.c: New file.
41979 * powerpc64/power6/wcschr.c: New file.
41980 * powerpc64/power6/wcscpy.c: New file.
41981 * powerpc64/power6/wcsrchr.c: New file.
41983 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41985 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41986 (two_way_short_needle): Use it.
41987 * string/strstr.c (AVAILABLE1_USES_J): Define.
41988 * string/strcasestr.c: Likewise.
41990 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41992 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41995 * NEWS: Add an entry.
41996 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41997 define their defaults.
41998 (two_way_short_needle): Detect end-of-string on-the-fly.
41999 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42000 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42001 * string/bug-strcasestr1.c: New test.
42002 * string/Makefile: Run it.
42004 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
42007 * string/str-two-way.h (two_way_short_needle): Optimize matching of
42008 the first character.
42010 2012-08-21 Roland McGrath <roland@hack.frob.com>
42012 * csu/elf-init.c (__libc_csu_irel): Function removed.
42013 * csu/libc-start.c (apply_irel): New function.
42014 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42016 2012-08-21 Joseph Myers <joseph@codesourcery.com>
42018 * sysdeps/unix/sysv/linux/kernel-features.h
42019 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42020 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42021 <kernel-features.h>.
42022 [__NR_fadvise64_64]: Make code unconditional.
42023 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42024 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42025 !__NR_fadvise64_64)]: Likewise.
42026 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42027 !__NR_fadvise64_64))]: Likewise.
42028 [__NR_fadvise64]: Make code unconditional.
42029 [!__NR_fadvise64]: Remove conditional code.
42030 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42031 <kernel-features.h>.
42032 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42034 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42037 not include <kernel-features.h>.
42038 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42040 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42042 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42043 include <kernel-features.h>.
42044 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42046 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42049 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42051 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42052 slight instruction rearrangements per scrollpipe analysis.
42053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42055 2012-08-20 Roland McGrath <roland@hack.frob.com>
42057 * manual/syslog.texi (syslog; vsyslog, closelog):
42058 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42059 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42061 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42062 DSOCAPS to match condition on defining it.
42064 2012-08-20 Joseph Myers <joseph@codesourcery.com>
42066 * sysdeps/unix/sysv/linux/kernel-features.h
42067 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42069 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42070 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42078 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42079 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42081 * sysdeps/unix/sysv/linux/kernel-features.h
42082 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42083 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42085 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42086 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42087 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42088 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42089 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42090 Make code unconditional.
42091 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42092 (__mmap64) [!__NR_mmap2]: Likewise.
42093 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42097 [__NR_mmap2]: Make code unconditional.
42098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42099 (__mmap64) [!__NR_mmap2]: Likewise.
42101 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42103 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42105 2012-08-18 Andreas Jaeger <aj@suse.de>
42107 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42109 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42111 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42112 * include/unistd.h (__have_sock_cloexec): Likewise.
42113 (__have_pipe2): Likewise.
42114 (__have_dup3): Likewise.
42116 2012-08-18 Mike Frysinger <vapier@gentoo.org>
42119 * include/unistd.h (__have_pipe2): Change define into an extern int.
42120 (__have_dup3): Likewise.
42121 * socket/have_sock_cloexec.c: Include fcntl.h.
42122 (__have_pipe2): New variable.
42123 (__have_dup3): Likewise.
42125 2012-08-17 Mike Frysinger <vapier@gentoo.org>
42127 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42129 2012-08-17 Marek Polacek <polacek@redhat.com>
42131 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42132 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42134 2012-08-17 Roland McGrath <roland@hack.frob.com>
42136 * configure.in: Add AC_SUBST for sysheaders.
42137 * configure: Regenerated.
42138 * config.make.in (sysheaders): New substituted variable.
42140 * sysdeps/unix/mkfifo.c: Moved ...
42141 * sysdeps/posix/mkfifo.c: ... here.
42142 * sysdeps/unix/mkfifoat.c: Moved ...
42143 * sysdeps/posix/mkfifoat.c: ... here.
42145 * sysdeps/unix/utime.c: Moved ...
42146 * sysdeps/posix/utime.c: ... here.
42148 * sysdeps/unix/time.c: Moved ...
42149 * sysdeps/posix/time.c: ... here.
42150 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42151 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42153 * sysdeps/unix/nice.c: Moved ...
42154 * sysdeps/posix/nice.c: ... here.
42156 * sysdeps/unix/alarm.c: Moved ...
42157 * sysdeps/posix/alarm.c: ... here.
42159 * intl/Makefile ($(codeset_mo)): Depend on the input file.
42161 2012-08-17 Jeff Law <law@redhat.com>
42163 * intl/Makefile (codeset_mo): New variable.
42164 ($(codeset_mo)): New target.
42165 (tst-codeset.out): Depend on that. Remove explicit rule.
42166 (tst-gettext3.out, tst-gettext5.out): Likewise.
42167 (LOCPATH-ENV, tst-codeset-ENV): New variables.
42168 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42169 * intl/tst-codeset.sh: Remove.
42170 * intl/tst-gettext3.sh: Likewise.
42171 * intl/tst-gettext5.sh: Likewise.
42173 2012-08-17 Roland McGrath <roland@hack.frob.com>
42175 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
42176 * sysdeps/unix/syscalls.list: ... here.
42178 * sysdeps/posix/getaddrinfo.c
42179 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42180 (gaiconf_init, gaiconf_reload): Use them.
42181 [!_STATBUF_ST_NSEC]
42182 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42183 Define using time_t rather than struct timespec.
42185 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42186 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42188 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42190 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42191 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42194 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42195 __libc_cleanup_push argument.
42197 * bits/param.h: New file.
42198 * misc/sys/param.h: New file.
42199 * include/sys/param.h: New file.
42200 * misc/Makefile (headers): Add bits/param.h.
42201 * sysdeps/generic/sys/param.h: File removed.
42202 * sysdeps/unix/sysv/linux/bits/param.h: New file.
42203 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42204 * sysdeps/mach/hurd/bits/param.h: New file.
42205 * sysdeps/mach/hurd/sys/param.h: File removed.
42207 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42210 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42212 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42213 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42216 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42217 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42218 rather than -D_IO_MTSAFE_IO conditionally.
42219 * stdio-common/Makefile (CPPFLAGS): Likewise.
42220 * wcsmbs/Makefile (CPPFLAGS): Likewise.
42221 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42222 Use $(libio-mtsafe).
42223 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42224 of -D_IO_MTSAFE_IO.
42225 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42226 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42227 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42228 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42229 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42230 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42231 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42232 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42233 (CFLAGS-fread_u_chk.c): Likewise.
42234 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42235 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42236 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42237 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42238 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42239 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42240 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42241 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42242 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42244 * libio/Makefile: Test [$(libc-reentrant) = yes]
42245 instead of [$(filter %REENTRANT, $(defines)) nonempty].
42248 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42249 * sysdeps/pthread/configure: File removed.
42250 * sysdeps/pthread/Makeconfig: New file.
42251 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42252 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42254 2012-08-16 Gary Benson <gbenson@redhat.com>
42256 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42257 unmapping the first object in a namespace.
42259 2012-08-16 Roland McGrath <roland@hack.frob.com>
42261 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42262 (__internal_setnetgrent): ... this. Add internal_function to
42263 definition. Add libc_hidden_def.
42264 (setnetgrent): Update caller.
42265 (internal_endnetgrent): Renamed to ...
42266 (__internal_endnetgrent): ... this. Add internal_function to
42267 definition. Add libc_hidden_def.
42268 (endnetgrent): Update caller.
42269 (internal_getnetgrent_r): Renamed to ...
42270 (__internal_getnetgrent_r): ... this. Add internal_function to
42271 definition. Add libc_hidden_def.
42272 (__getnetgrent_r): Update caller.
42273 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
42275 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42277 * stdlib/longlong.h: Update from GCC.
42279 2012-08-16 Roland McGrath <roland@hack.frob.com>
42281 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42282 on _QL, which is set by umul_ppmm but never used.
42283 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42284 variables, which are set by GMP macros but never used.
42285 * stdio-common/_itowa.c (_itowa): Likewise.
42286 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42287 * stdlib/mod_1.c (mpn_mod_1): Likewise.
42289 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
42291 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42292 struct La_sh_regs is not constant.
42293 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42294 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42295 and struct La_sparc64_regs are not constant.
42297 2012-08-16 Joseph Myers <joseph@codesourcery.com>
42299 * sysdeps/unix/sysv/linux/kernel-features.h
42300 (__ASSUME_POSIX_TIMERS): Remove.
42301 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42302 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42303 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42304 Make code unconditional.
42305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42306 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42307 Make code unconditional.
42308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42309 * sysdeps/unix/sysv/linux/clock_nanosleep.c
42310 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42312 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42313 Make code unconditional.
42314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42315 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42316 (__libc_missing_posix_timers): Remove.
42318 2012-08-15 Roland McGrath <roland@hack.frob.com>
42320 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42321 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42323 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42325 * elf/dl-sym.c: Include <stdlib.h>.
42327 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42328 constants, which avoids warnings in 32-bit builds.
42330 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42331 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42333 * misc/lseek.c: File moved to ...
42334 * io/lseek.c: ... here.
42336 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42338 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42339 shifting LEN more than 31 bits at once.
42341 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42344 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42345 segmentation fault for a case of two empty input strings.
42346 * string/test-strncasecmp.c (check1): Renamed to...
42347 (bz12205): ...this.
42348 (bz14195): Add new testcase for two empty input strings and N > 0.
42349 (test_main): Call new testcase, adapt for renamed function.
42351 2012-08-15 Andreas Jaeger <aj@suse.de>
42354 * crypt/md5test2.c: New test, based on test supplied by Serge
42355 Belyshev <belyshev@depni.sinp.msu.ru>.
42356 * crypt/Makefile (xtests): Add md5test-giant..
42357 * crypt/Makefile ($(objpfx)md5test-giant): Add.
42359 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
42362 * crypt/md5.c (md5_process_block): Don't assume the buffer
42363 length is less than 2**32.
42364 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42365 length is less than 2**64.
42367 2012-08-15 Roland McGrath <roland@hack.frob.com>
42369 * string/str-two-way.h: Include <sys/param.h>.
42370 (MAX): Macro removed.
42372 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42373 Move #define and #undef of memmove to just before and after
42374 including <string.h>.
42376 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42377 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42378 and after including <string.h>. Move declarations of
42379 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42380 to before #include "string/memmove.c".
42382 * include/dirent.h: Declare __getdirentries.
42384 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42385 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42387 2012-08-14 Mike Frysinger <vapier@gentoo.org>
42389 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42390 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42391 * sysdeps/i386/configure: Regenerated.
42392 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42393 STABS_CURRENT_FILE, and STABS_FUN.
42394 (END): Remove call to STABS_FUN_END.
42395 (STABS_CURRENT_FILE1): Delete.
42396 (STABS_CURRENT_FILE): Likewise.
42397 (STABS_FUN): Likewise.
42398 (STABS_FUN_END): Likewise.
42399 (STABS_FUN2): Likewise.
42400 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42401 * sysdeps/x86_64/configure: Regenerated.
42403 2012-08-14 Roland McGrath <roland@hack.frob.com>
42405 * elf/dl-open.c: Include <atomic.h>.
42406 * elf/dl-lookup.c: Likewise.
42408 2012-08-14 Joseph Myers <joseph@codesourcery.com>
42410 * sysdeps/unix/sysv/linux/kernel-features.h
42411 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42412 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42414 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42416 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42417 condition on __ASSUME_CLONE_THREAD_FLAGS.
42419 2012-08-14 Andreas Jaeger <aj@suse.de>
42421 * sysdeps/i386/fpu/libm-test-ulps: Update.
42423 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
42425 * include/atomic.h (atomic_exchange_and_add): Split into ...
42426 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42429 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
42431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42433 2012-08-13 Jeff Law <law@redhat.com>
42435 * manual/stdio.texi (snprintf): Clarify handling of the trailing
42436 null byte in the output string.
42438 2012-08-10 Joseph Myers <joseph@codesourcery.com>
42440 * sysdeps/unix/sysv/linux/kernel-features.h
42441 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42442 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42443 (__ASSUME_ARG_MAX_STACK_BASED): Define.
42444 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42445 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42446 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
42447 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42449 2012-08-09 Jeff Law <law@redhat.com>
42452 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42453 When avoid_arena is set, don't retry in the that arena. Pick the
42454 next one, whatever it might be.
42455 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42456 (arena_lock): Pass in new parameter to arena_get2.
42457 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42459 (__libc_malloc): Unify retrying after main arena failure with
42460 __libc_memalign version.
42461 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42463 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
42466 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42467 to __redirect_strstr.
42468 (__strstr_sse42): Use typeof __redirect_strstr.
42469 (__strstr_ia32): Likewise.
42470 (__libc_strstr): New prototype.
42471 (strstr): Renamed to ...
42472 (__libc_strstr): This.
42473 (strstr): New strong alias of __libc_strstr.
42474 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42475 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42478 (__libc_time): New prototype.
42479 (time_ifunc): Replace time with __libc_time.
42480 (time): New strong alias and hidden definition of __libc_time.
42481 (__GI_time): Remove strong alias.
42482 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42483 Include <stddef.h>.
42484 (memmove): Redefined to __redirect_memmove.
42485 (__memmove_sse2): Use typeof __redirect_memmove.
42486 (__memmove_ssse3): Likewise.
42487 (__memmove_ssse3_back): Likewise.
42488 (__libc_memmove): New prototype.
42489 (memmove): Renamed to ...
42490 (__libc_memmove): This.
42491 (memmove): New strong alias of __libc_memmove.
42493 2012-08-08 Mark Salter <msalter@redhat.com>
42496 (R_MN10300_TLS_GD): Define.
42497 (R_MN10300_TLS_LD): Likewise.
42498 (R_MN10300_TLS_LDO): Likewise.
42499 (R_MN10300_TLS_GOTIE): Likewise.
42500 (R_MN10300_TLS_IE): Likewise.
42501 (R_MN10300_TLS_LE): Likewise.
42502 (R_MN10300_TLS_DTPMOD): Likewise.
42503 (R_MN10300_TLS_DTPOFF): Likewise.
42504 (R_MN10300_TLS_TPOFF): Likewise.
42505 (R_MN10300_SYM_DIFF): Likewise.
42506 (R_MN10300_ALIGN): Likewise.
42507 (R_MN10300_NUM): Update.
42509 2012-08-08 Joseph Myers <joseph@codesourcery.com>
42511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42514 2012-08-08 Roland McGrath <roland@hack.frob.com>
42516 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42518 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42519 sysdeps/unix -> sysdeps/posix move.
42520 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42522 2012-08-07 Allan McRae <allan@archlinux.org>
42525 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42526 (SUNOS_CPP): Likewise.
42527 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42529 (open_input): Call CPP using execvp.
42531 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42533 * sysdeps/unix/sysv/linux/kernel-features.h
42534 (__ASSUME_PROT_GROWSUPDOWN): Remove.
42535 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42536 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42537 (__ASSUME_WAITID_SYSCALL): Likewise.
42538 * sysdeps/unix/sysv/linux/dl-execstack.c
42539 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42540 code unconditional.
42541 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42543 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42544 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42545 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42547 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42549 [__ASSUME_WAITID_SYSCALL]: Likewise.
42550 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42552 2012-08-07 Roland McGrath <roland@hack.frob.com>
42554 * sysdeps/unix/closedir.c: Renamed to ...
42555 * sysdeps/posix/closedir.c: ... here.
42556 * sysdeps/unix/dirfd.c: Renamed to ...
42557 * sysdeps/posix/dirfd.c: ... here.
42558 * sysdeps/unix/dirstream.h: Renamed to ...
42559 * sysdeps/posix/dirstream.h: ... here.
42560 * sysdeps/unix/fdopendir.c: Renamed to ...
42561 * sysdeps/posix/fdopendir.c: ... here.
42562 * sysdeps/unix/opendir.c: Renamed to ...
42563 * sysdeps/posix/opendir.c: ... here.
42564 * sysdeps/unix/readdir.c: Renamed to ...
42565 * sysdeps/posix/readdir.c: ... here.
42566 * sysdeps/unix/readdir_r.c: Renamed to ...
42567 * sysdeps/posix/readdir_r.c: ... here.
42568 * sysdeps/unix/rewinddir.c: Renamed to ...
42569 * sysdeps/posix/rewinddir.c: ... here.
42570 * sysdeps/unix/seekdir.c: Renamed to ...
42571 * sysdeps/posix/seekdir.c: ... here.
42572 * sysdeps/unix/telldir.c: Renamed to ...
42573 * sysdeps/posix/telldir.c: ... here.
42574 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42575 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42576 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42577 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42579 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42580 * bits/fcntl.h: ... here.
42582 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42584 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42585 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42586 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42587 (struct flock): Move l_start, l_len to the beginning.
42588 Use __pid_t for l_pid.
42589 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42590 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42591 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42592 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42593 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42594 [__USE_LARGEFILE64] (struct flock64): New type.
42595 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42597 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42598 * bits/dirent.h: ... here.
42600 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42601 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42603 2012-08-07 Joseph Myers <joseph@codesourcery.com>
42605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42606 Change from 2.6.0 to 2.6.16.
42607 * sysdeps/unix/sysv/linux/configure: Regenerated.
42608 * sysdeps/unix/sysv/linux/kernel-features.h
42609 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42610 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42612 (__ASSUME_UTIMES): Likewise.
42613 (__ASSUME_CLONE_STOPPED): Remove.
42614 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42615 architectures, not kernel version.
42616 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42617 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42618 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42619 (__ASSUME_WAITID_SYSCALL): Likewise.
42620 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42621 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42622 * README: State 2.6.16 as minimum Linux kernel version. Do not
42623 refer to older versions.
42625 2012-08-06 Roland McGrath <roland@hack.frob.com>
42627 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42628 Define alphasort64 as an alias.
42629 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42630 Define versionsort64 as an alias.
42631 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42632 Define scandir64 as an alias.
42633 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42634 Define scandirat64 as an alias.
42635 * dirent/alphasort64.c (alphasort64):
42636 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42637 * dirent/versionsort64.c: Likewise.
42638 * dirent/scandir64.c: Likewise.
42639 * dirent/scandirat64.c: Likewise.
42640 * sysdeps/wordsize-64/alphasort.c: File removed.
42641 * sysdeps/wordsize-64/alphasort64.c: File removed.
42642 * sysdeps/wordsize-64/scandir.c: File removed.
42643 * sysdeps/wordsize-64/scandir64.c: File removed.
42644 * sysdeps/wordsize-64/scandirat.c: File removed.
42645 * sysdeps/wordsize-64/scandirat64.c: File removed.
42646 * sysdeps/wordsize-64/versionsort.c: File removed.
42647 * sysdeps/wordsize-64/versionsort64.c: File removed.
42648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42651 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42653 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42655 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42657 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42659 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42661 [defined __arch64__ || defined __sparcv9]
42662 (__INO_T_MATCHES_INO64_T): New macro.
42663 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42664 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42665 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42666 * sysdeps/unix/sysv/linux/bits/dirent.h
42667 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42668 (_DIRENT_MATCHES_DIRENT64): New macro.
42670 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42671 Define lockf64 as an alias.
42672 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42673 Define fseeko64 as an alias.
42674 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42675 Define ftello64 as an alias.
42676 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42677 Define _IO_fgetpos64 and fgetpos64 as aliases.
42678 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42679 Define _IO_fsetpos64 and fsetpos64 as aliases.
42680 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42681 Conditionalize body on this.
42682 * libio/fseeko64.c: Likewise.
42683 * libio/ftello64.c: Likewise.
42684 * libio/iofgetpos64.c: Likewise.
42685 * libio/iofsetpos64.c: Likewise.
42686 * sysdeps/wordsize-64/lockf.c: File removed.
42687 * sysdeps/wordsize-64/lockf64.c: File removed.
42688 * sysdeps/wordsize-64/fseeko.c: File removed.
42689 * sysdeps/wordsize-64/fseeko64.c: File removed.
42690 * sysdeps/wordsize-64/ftello.c: File removed.
42691 * sysdeps/wordsize-64/ftello64.c: File removed.
42692 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42693 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42694 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42695 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42699 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42701 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42703 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42705 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42707 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42709 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42711 [defined __arch64__ || defined __sparcv9]
42712 (__OFF_T_MATCHES_OFF64_T): New macro.
42713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42714 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42716 (__OFF_T_MATCHES_OFF64_T): New macro.
42718 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42720 * stdlib/secure-getenv.c (__secure_getenv): Replace
42721 GLIBC_2_16 with GLIBC_2_17.
42723 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42726 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42728 2012-08-03 David S. Miller <davem@davemloft.net>
42730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42732 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42734 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42736 (__ASSUME_CORRECT_SI_PID): Likewise.
42737 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42738 (__ASSUME_TMPFS_NAME): Likewise.
42739 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42740 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42741 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42742 (HAVE_AUX_SECURE): Make definition unconditional.
42743 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42744 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42746 2012-08-03 Roland McGrath <roland@hack.frob.com>
42748 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42749 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42750 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42751 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42752 __eloop_threshold instead of SYMLOOP_MAX.
42754 * sysdeps/generic/eloop-threshold.h: New file.
42755 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42757 * elf/chroot_canon.c (chroot_canon): Likewise.
42759 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42763 Change to 2.6.0 everywhere.
42764 * sysdeps/unix/sysv/linux/configure: Regenerated.
42765 * sysdeps/unix/sysv/linux/kernel-features.h
42766 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42767 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42769 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42770 (__ASSUME_FUTEX_REQUEUE): Remove.
42771 (__ASSUME_STATFS64): Define unconditionally.
42772 (__ASSUME_AT_SECURE): Likewise.
42773 (__ASSUME_CORRECT_SI_PID): Likewise.
42774 (__ASSUME_TGKILL): Define without depending on kernel version for
42776 (__ASSUME_UTIMES): Likewise.
42777 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42779 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42780 (__ASSUME_TMPFS_NAME): Likewise.
42781 * README: Update reference to Linux kernel versions.
42783 2012-08-02 Marek Polacek <polacek@redhat.com>
42786 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42787 libc_cv_asm_type_prefix with %.
42788 * configure: Regenerated.
42789 * include/libc-symbols.h: Remove comment about
42790 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42791 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42792 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42793 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42794 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42795 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42796 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42797 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42798 * elf/tst-unique2mod1.c: Likewise.
42799 * elf/tst-unique1mod2.c: Likewise.
42800 * elf/tst-unique1mod1.c: Likewise.
42801 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42802 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42803 Replace ASM_TYPE_DIRECTIVE with .type.
42804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42805 * sysdeps/i386/sysdep.h: Likewise.
42806 * sysdeps/x86_64/sysdep.h: Likewise.
42807 * sysdeps/sh/sysdep.h: Likewise.
42808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42809 Do not define ASM_TYPE_DIRECTIVE.
42810 * sysdeps/powerpc/sysdep.h: Likewise.
42811 * sysdeps/powerpc/powerpc32/sysdep.h:
42812 Replace ASM_TYPE_DIRECTIVE with .type.
42813 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42814 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42815 * sysdeps/i386/fpu/e_powf.S: Likewise.
42816 * sysdeps/i386/fpu/e_expl.S: Likewise.
42817 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42818 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42819 * sysdeps/i386/fpu/e_pow.S: Likewise.
42820 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42821 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42822 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42823 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42824 * sysdeps/i386/fpu/e_log2.S: Likewise.
42825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42826 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42827 * sysdeps/i386/fpu/e_powl.S: Likewise.
42828 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42829 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42830 * sysdeps/i386/fpu/e_logl.S: Likewise.
42831 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42832 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42833 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42834 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42835 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42836 * sysdeps/i386/fpu/e_log.S: Likewise.
42837 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42838 * sysdeps/i386/fpu/e_logf.S: Likewise.
42839 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42840 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42841 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42842 * sysdeps/i386/fpu/e_log10.S: Likewise.
42843 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42844 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42845 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42846 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42849 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42850 * sysdeps/i386/i686/strtok.S: Likewise.
42851 * sysdeps/i386/i386-mcount.S: Likewise.
42852 * sysdeps/i386/strtok.S: Likewise.
42853 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42854 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42856 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42857 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42859 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42860 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42862 * sysdeps/x86_64/_mcount.S: Likewise.
42863 * sysdeps/x86_64/strtok.S: Likewise.
42864 * sysdeps/sh/_mcount.S: Likewise.
42866 2012-08-01 Roland McGrath <roland@hack.frob.com>
42868 * libio/iofopen.c: Include <fcntl.h>.
42869 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42870 (_IO_fopen64, fopen64): Define as aliases.
42871 * libio/iofopen64.c: Include <fcntl.h>.
42872 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42873 Conditionalize body on this.
42874 * sysdeps/wordsize-64/iofopen.c: File removed.
42875 * sysdeps/wordsize-64/iofopen64.c: File removed.
42877 2012-08-01 Marek Polacek <polacek@redhat.com>
42879 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42880 Use dlfcn directly instead of a variable.
42881 (binfmt-subdir): Do not define.
42884 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42886 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42887 Remove all definitions.
42888 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42889 <kernel-features.h>.
42890 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42891 (miss_F_GETOWN_EX): Remove all definitions.
42892 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42894 [!__ASSUME_FCNTL64]: Remove conditional code.
42895 [__ASSUME_FCNTL64]: Make code unconditional.
42896 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42897 <kernel-features.h>.
42898 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42899 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42900 (lockf64) [__NR_fcntl64]: Make code unconditional.
42901 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42903 * sysdeps/unix/sysv/linux/kernel-features.h
42904 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42905 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42906 Make code unconditional.
42907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42910 [__NR_vfork]: Make code unconditional.
42911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42914 [__NR_vfork]: Make code unconditional.
42915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42918 2012-08-01 Roland McGrath <roland@hack.frob.com>
42920 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42921 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42923 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42924 Define mkstemp64 as an alias.
42925 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42926 Define mkstemps64 as an alias.
42927 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42928 Define mkostemp64 as an alias.
42929 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42930 Define mkostemps64 as an alias.
42931 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42932 Conditionalize body on this.
42933 * misc/mkostemp64.c: Likewise.
42934 * misc/mkostemps64.c: Likewise.
42935 * misc/mkstemps64.c: Likewise.
42936 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42937 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42938 * sysdeps/wordsize-64/mkostemp.c: File removed.
42939 * sysdeps/wordsize-64/mkstemp.c: File removed.
42940 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42941 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42942 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42943 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42946 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42947 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42948 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42949 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42951 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42952 compat_symbol macros from <shlib-compat.h> rather than the underlying
42953 default_symbol_version and symbol_version macros, so that DEFAULT
42954 lines in shlib-versions are respected.
42955 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42957 2012-08-01 Florian Weimer <fweimer@redhat.com>
42959 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42960 Declare with warn_unused_result.
42961 (setgid, setregid, setegid, setresgid): Likewise.
42962 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42964 * WUR-REPORT: Remove set*id functions.
42966 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42968 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42970 2012-07-31 Roland McGrath <roland@hack.frob.com>
42973 * include/sys/socket.h (__libc_accept, __libc_accept4):
42974 Add attribute_hidden.
42975 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42977 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42979 * inet/getnetgrent_r.c (setup): Likewise.
42981 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42983 2012-07-31 David S. Miller <davem@davemloft.net>
42985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42987 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42990 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42991 value between 1.0 and 2.0 and smaller part has absolute value less
42993 * math/s_clog10.c (__clog10): Likewise.
42994 * math/s_clog10f.c (__clog10f): Likewise.
42995 * math/s_clog10l.c (__clog10l): Likewise.
42996 * math/s_clogf.c (__clogf): Likewise.
42997 * math/s_clogl.c (__clogl): Likewise.
42998 * math/libm-test.inc (clog_test): Add more tests.
42999 (clog10_test): Likewise.
43000 * sysdeps/i386/fpu/libm-test-ulps: Update.
43001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43003 2012-07-31 Florian Weimer <fweimer@redhat.com>
43005 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43006 Exit with zero in case no suitable GID is found, and write a
43007 message to standard error.
43009 2012-07-30 Roland McGrath <roland@hack.frob.com>
43011 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43013 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43014 (MAXPATHLEN): Removed.
43015 (NOGROUP, NODEV): New macros.
43016 (setbit, clrbit, isset, isclr): New macros.
43017 (howmany, roundup, powerof2): New macros.
43018 (DEV_BSIZE): New macro.
43020 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43021 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43023 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43024 definition on [!__NO_LONG_DOUBLE_MATH].
43026 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43027 PTR_MANGLE and PTR_DEMANGLE.
43029 * socket/accept4.c (accept4): Rename to __libc_accept4.
43030 Define accept4 as a weak alias.
43032 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43033 on [_DIRENT_HAVE_D_TYPE].
43034 * io/ftw.c (ftw_dir): Likewise.
43036 * io/xmknod.c (__xmknod): Don't check PATH for being null.
43038 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43040 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43041 Use the BSD numbers rather than the arbitrary ones we had.
43042 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43043 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43044 (SIGXCPU, SIGXFSZ): New macros.
43047 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43048 initializer on [_LIBC_REENTRANT].
43050 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43051 definitions inside [_POSIX_MAPPED_FILES].
43053 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43055 * dirent/opendir.c: Include <fcntl.h>.
43057 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43058 (__libc_getspecific): Likewise.
43059 (__libc_key_create): Likewise.
43061 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43062 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43063 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43064 (tmpfile64): Define as alias.
43065 * sysdeps/wordsize-64/tmpfile.c: File removed.
43066 * sysdeps/wordsize-64/tmpfile64.c: File removed.
43067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43068 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43070 * stdio-common/vfscanf.c: Include <stdbool.h>.
43071 * nss/makedb.c: Likewise.
43072 * stdio-common/_i18n_number.h: Likewise.
43073 * argp/argp-help.c: Likewise.
43074 * posix/wordexp.c: Likewise.
43075 * sysdeps/posix/spawni.c: Likewise.
43076 * nss/nss_files/files-initgroups.c: Likewise.
43077 * stdio-common/reg-modifier.c: Include <stdlib.h>.
43078 * nss/nss_files/files-initgroups.c: Likewise.
43079 * nss/nss_db/db-netgrp.c: Likewise.
43080 * nss/nss_db/db-initgroups.c: Likewise.
43081 * io/fchmodat.c: Include <sys/stat.h>.
43083 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43084 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43086 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43089 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43090 Add multiple inclusion protection.
43092 2012-07-27 David S. Miller <davem@davemloft.net>
43094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43096 2012-07-27 Gary Benson <gbenson@redhat.com>
43099 * elf/rtld.c: Include <stap-probe.h>.
43100 (dl_main): Added static probes "init_start" and "init_complete".
43101 * elf/dl-load.c: Include <stap-probe.h>.
43102 (lose): Take new parameter "nsid".
43103 Added static probe "map_failed".
43104 (_dl_map_object_from_fd): Pass namespace id to lose.
43105 Added static probe "map_start".
43106 (open_verify): Pass namespace id to lose.
43107 * elf/dl-open.c: Include <stap-probe.h>.
43108 (dl_open_worker) Added static probes "map_complete", "reloc_start"
43109 and "reloc_complete".
43110 * elf/dl-close.c: Include <stap-probe.h>.
43111 (_dl_close_worker): Added static probes "unmap_start" and
43113 * elf/rtld-debugger-interface.txt: New file documenting the above.
43115 2012-07-26 Roland McGrath <roland@hack.frob.com>
43117 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43118 rather than a string variable.
43119 * sunrpc/rpc_main.c (h_output): Likewise.
43120 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43122 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
43124 * inet/check_native.c: New file.
43126 2012-07-26 Joseph Myers <joseph@codesourcery.com>
43129 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43130 if larger part has absolute value 1.0.
43131 * math/s_clog10.c (__clog10): Likewise.
43132 * math/s_clog10f.c (__clog10f): Likewise.
43133 * math/s_clog10l.c (__clog10l): Likewise.
43134 * math/s_clogf.c (__clogf): Likewise.
43135 * math/s_clogl.c (__clogl): Likewise.
43136 * math/libm-test.inc (clog_test): Add more tests.
43137 (clog10_test): Likewise.
43138 * sysdeps/i386/fpu/libm-test-ulps: Update.
43139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43141 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43142 (pltexit): Likewise.
43143 (La_regs): Likewise.
43144 (La_retval): Likewise.
43145 (int_retval): Likewise.
43146 Update #error for removed macros to refer only to definitions in
43148 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43150 (pltexit): Likewise.
43151 (La_regs): Likewise.
43152 (La_retval): Likewise.
43153 (int_retval): Likewise.
43154 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43156 (pltexit): Likewise.
43157 (La_regs): Likewise.
43158 (La_retval): Likewise.
43159 (int_retval): Likewise.
43160 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43162 (pltexit): Likewise.
43163 (La_regs): Likewise.
43164 (La_retval): Likewise.
43165 (int_retval): Likewise.
43166 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43168 (pltexit): Likewise.
43169 (La_regs): Likewise.
43170 (La_retval): Likewise.
43171 (int_retval): Likewise.
43172 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43174 (pltexit): Likewise.
43175 (La_regs): Likewise.
43176 (La_retval): Likewise.
43177 (int_retval): Likewise.
43178 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43180 (pltexit): Likewise.
43181 (La_regs): Likewise.
43182 (La_retval): Likewise.
43183 (int_retval): Likewise.
43184 * sysdeps/generic/tst-audit.h: Update comment to refer only to
43185 macro definitions in tst-audit.h.
43186 * sysdeps/i386/tst-audit.h: New file.
43187 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43188 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43189 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43190 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43191 * sysdeps/sh/tst-audit.h: Likewise.
43192 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43193 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43194 * sysdeps/x86_64/tst-audit.h: Likewise.
43196 2012-07-26 Andreas Jaeger <aj@suse.de>
43198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43201 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43202 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43203 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43205 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43206 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43207 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43209 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43212 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43214 (si_call_addr, si_syscall, si_arch): Define new macro.
43215 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43217 (si_call_addr, si_syscall, si_arch): Define new marcro.
43218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43220 (si_call_addr, si_syscall, si_arch): Define new macro.
43221 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43223 (si_call_addr, si_syscall, si_arch): Define new macro.
43225 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43228 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43229 Change to 2.4.21 where previously 2.4.1.
43230 * sysdeps/unix/sysv/linux/configure: Regenerated.
43231 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43232 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43233 Linux kernel version.
43234 (__ASSUME_STD_AUXV): Remove.
43235 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43237 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43238 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43239 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43240 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43241 (__ASSUME_NETLINK_SUPPORT): Likewise.
43242 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43243 (__no_netlink_support): Remove conditional definition.
43244 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43246 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43247 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43248 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43249 (if_nameindex_ioctl): Remove.
43250 (if_nameindex_netlink): Do not handle __no_netlink_support.
43251 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43253 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43254 Remove conditional code.
43255 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43257 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43259 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43260 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43261 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43263 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43264 [!__ASSUME_STD_AUXV]: Remove conditional code.
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43266 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43267 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43269 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43270 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43272 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43274 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43275 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43277 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43279 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43285 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43286 code unconditional.
43287 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43289 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43291 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43294 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43296 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43299 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43300 code unconditional.
43301 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43303 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43305 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43308 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43309 code unconditional.
43310 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43312 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43314 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43317 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
43319 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43321 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43322 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43323 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43324 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43325 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43326 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43327 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43328 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43329 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43330 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43331 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43332 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43333 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43334 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43335 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43336 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43337 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43339 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43340 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43343 2012-07-25 Florian Weimer <fweimer@redhat.com>
43345 * Versions.def: Add GLIBC_2.17.
43346 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43347 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43348 Introduce __libc_secure_getenv.
43349 * stdlib/Versions (2.17): Add secure_getenv
43350 (GLIBC_PRIVATE): Add __libc_secure_getenv.
43351 * stdlib/secure-getenv.c: Rename __secure_getenv to
43352 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
43353 symbol __secure_getenv for GLIBC_2.0.
43354 * stdlib/tst-secure-getenv.c: New.
43355 * stdlib/Makefile (tests): Add testcase.
43356 * manual/startup.texi (Environment Access): Document
43358 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43359 __libc_secure_getenv.
43360 * inet/ruserpass.c (ruserpass): Likewise.
43361 * malloc/mtrace.c (mtrace): Likewise.
43362 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43363 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43364 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43365 * sysdeps/posix/tempname.c: Likewise. Evaluate
43366 HAVE_SECURE_GETENV.
43367 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43368 __secure_getenv to __libc_secure_getenv.
43369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43382 2012-07-25 Joseph Myers <joseph@codesourcery.com>
43384 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43385 (struct La_i86_retval): Likewise.
43386 (struct La_x86_64_regs): Likewise.
43387 (struct La_x86_64_retval): Likewise.
43388 (struct La_x32_regs): Likewise.
43389 (struct La_x32_retval): Likewise.
43390 (struct La_ppc32_regs): Likewise.
43391 (struct La_ppc32_retval): Likewise.
43392 (struct La_ppc64_regs): Likewise.
43393 (struct La_ppc64_retval): Likewise.
43394 (struct La_sh_regs): Likewise.
43395 (struct La_sh_retval): Likewise.
43396 (struct La_s390_32_regs): Likewise.
43397 (struct La_s390_32_retval): Likewise.
43398 (struct La_s390_64_regs): Likewise.
43399 (struct La_s390_64_retval): Likewise.
43400 (struct La_sparc32_regs): Likewise.
43401 (struct La_sparc32_retval): Likewise.
43402 (struct La_sparc64_regs): Likewise.
43403 (struct La_sparc64_retval): Likewise.
43404 (struct audit_ifaces): Remove architecture-specific pltenter and
43406 * sysdeps/i386/ldsodefs.h: New file.
43407 * sysdeps/powerpc/ldsodefs.h: Likewise.
43408 * sysdeps/s390/ldsodefs.h: Likewise.
43409 * sysdeps/sh/ldsodefs.h: Likewise.
43410 * sysdeps/sparc/ldsodefs.h: Likewise.
43411 * sysdeps/x86_64/ldsodefs.h: Likewise.
43413 2012-07-25 Marek Polacek <polacek@redhat.com>
43416 * math/libm-test.inc (yn_test): Add another test.
43417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43418 to ERANGE when the result is +-Inf.
43419 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43420 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43421 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43422 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43424 2012-07-24 Joseph Myers <joseph@codesourcery.com>
43426 * conform/data/time.h-data (NULL): Use macro-constant. Require
43428 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
43430 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
43432 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
43434 * configure.in <sysdeps resolving>: Correct printing
43436 * configure: Regenerate.
43438 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
43440 * math/w_ilogb.c: Include <limits.h>.
43441 * math/w_ilogbl.c: Likewise.
43443 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43445 * manual/lang.texi (__va_copy): Document primarily as ISO C99
43446 va_copy. Document allowing for unavailable va_copy only as
43447 pre-C99 compatibility.
43448 * manual/string.texi (Copying and Concatenation): Use va_copy
43449 instead of __va_copy in concat example.
43451 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
43453 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43454 (__sendto): Use create_address_port. Initialize APORT and deallocate
43457 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43458 with O_NOLINK passed to __file_name_lookup.
43460 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43461 with O_NOLINK passed to __file_name_lookup.
43463 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43464 negative N or less than NGIDS.
43466 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43467 type to string_t. Set ERANGE as errno and return it if NAME is not big
43468 enough. Use memcpy instead of strncpy.
43470 2012-07-20 Joseph Myers <joseph@codesourcery.com>
43472 * elf/Makefile (check-data): Remove.
43473 (localplt.data): New vpath directive.
43474 ($(objpfx)check-localplt.out): Use localplt.data from vpath
43475 instead of $(check-data).
43476 * scripts/data/localplt-generic.data: Move to ...
43477 * sysdeps/generic/localplt.data: ... here.
43478 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43479 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43480 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43483 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43486 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43489 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43492 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43495 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43499 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43501 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43502 PPC32 and PPC64 files.
43503 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43504 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43506 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43508 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43509 __makecontext_ret to ...
43510 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43511 ... here and call exit if uc_link is NULL. New file.
43512 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43513 __makecontext_ret.S.
43514 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43515 __makecontext_ret to ...
43516 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43517 ... here and call exit if uc_link is NULL. New file.
43518 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43519 __makecontext_ret.S.
43521 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43523 * elf/elf.h (R_390_IRELATIVE): New definition.
43524 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43525 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
43526 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43528 (elf_machine_lazy_rel): Likewise.
43529 * sysdeps/s390/dl-irel.h: New file.
43530 * sysdeps/s390/s390-64/memcpy.S: New asm code.
43531 * sysdeps/s390/s390-64/memset.S: New asm code.
43532 * sysdeps/s390/s390-64/memcmp.S: New asm code.
43533 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43534 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43535 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43536 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43537 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43539 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43540 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43541 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43542 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43543 * sysdeps/s390/s390-32/memcpy.S: New asm code.
43544 * sysdeps/s390/s390-32/memset.S: New asm code.
43545 * sysdeps/s390/s390-32/memcmp.S: New asm code.
43547 2012-07-17 Marek Polacek <polacek@redhat.com>
43550 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43551 * sysdeps/s390/s390-64/configure.in: Likewise.
43552 * sysdeps/sparc/configure.in: Likewise.
43553 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43554 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43555 * sysdeps/i386/configure.in: Likewise.
43556 * sysdeps/x86_64/configure.in: Likewise.
43557 * sysdeps/sh/configure.in: Likewise.
43558 * sysdeps/s390/s390-32/configure: Regenerated.
43559 * sysdeps/s390/s390-64/configure: Likewise.
43560 * sysdeps/x86_64/configure: Likewise.
43561 * sysdeps/sh/configure: Likewise.
43562 * sysdeps/powerpc/powerpc64/configure: Likewise.
43563 * sysdeps/powerpc/powerpc32/configure: Likewise.
43564 * sysdeps/sparc/configure: Likwise.
43565 * sysdeps/i386/configure: Likewise.
43567 * elf/dl-open.c: Comment fixes.
43569 2012-07-17 Joseph Myers <joseph@codesourcery.com>
43571 * Makefile [CXX] (check-data): Remove.
43572 [CXX] (c++-types.data): New vpath directive.
43573 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43574 vpath. Do not allow for C++ type data being missing.
43575 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43576 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43577 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43578 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43579 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43580 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43581 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43584 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43587 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43590 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43593 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43596 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43599 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43602 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43605 * elf/tls-macros.h (TLS_LE): Move architecture-specific
43606 definitions to architecture-specific files.
43607 (TLS_IE): Likewise.
43608 (TLS_LD): Likewise.
43609 (TLS_GD): Likewise.
43610 * sysdeps/i386/tls-macros.h: New file.
43611 * sysdeps/powerpc/tls-macros.h: Likewise.
43612 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43613 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43614 * sysdeps/sh/tls-macros.h: Likewise.
43615 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43616 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43617 * sysdeps/x86_64/tls-macros.h: Likewise.
43619 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43622 zero value for regular exit case.
43624 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43625 (__start_context): Preserve zero value for regular exit case.
43627 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43628 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43630 * manual/setjmp.texi (setcontext): Clarify normal process
43631 termination when uc_link is the null pointer.
43632 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43635 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43637 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43638 preprocessor. Test for each exception mask separately.
43640 2012-07-16 Andreas Jaeger <aj@suse.de>
43642 * po/ru.po: Update from translation team.
43644 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43646 * conform/data/string.h-data (NULL): Use macro-constant. Require
43648 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43649 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43650 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43651 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43652 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43654 2012-07-13 Andreas Jaeger <aj@suse.de>
43656 * po/fr.po: Update from translation team.
43658 2012-07-12 Marek Polacek <polacek@redhat.com>
43661 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43665 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43669 Change to 2.4.1 where previously 2.4.0.
43670 * sysdeps/unix/sysv/linux/configure: Regenerated.
43671 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43672 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43674 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43675 (__ASSUME_AT_CLKTCK): Remove.
43676 (__ASSUME_AT_PAGESIZE): Likewise.
43677 (__ASSUME_AT_XID): Likewise.
43678 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43679 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43680 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43682 (HAVE_AUX_PAGESIZE): Likewise.
43683 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43684 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43685 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43687 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43691 the temporary buffer used to invoke __gethostbyname2_r,
43692 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43693 host_data / struct gaih_addrtuple.
43694 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43695 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43696 header file nss/nsswitch.h.
43697 * nss/nsswitch.h (global scope): Add definition of implementation
43698 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43699 resolv/nss_dns/dns-host.c).
43701 2012-07-11 Andreas Jaeger <aj@suse.de>
43703 * po/fr.po: Update from translation team.
43705 * po/sv.po: Update from translation team
43706 * po/fr.po: Another update from translation team.
43708 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43710 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43711 for subnormals or multiply small sinh result by itself.
43712 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43715 2012-07-11 David S. Miller <davem@davemloft.net>
43717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43719 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43722 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43723 (INTERNAL_MARK): Shift it here.
43725 2012-07-10 Marek Polacek <polacek@redhat.com>
43728 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43729 libc_cv_asm_global_directive with .globl.
43730 * configure: Regenerated.
43731 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43733 * sysdeps/i386/configure: Regenerated.
43734 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43736 * sysdeps/x86_64/configure: Regenerated.
43737 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43738 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43739 * elf/tst-unique2mod2.c: Likewise.
43740 * elf/tst-unique2mod1.c: Likewise.
43741 * elf/tst-unique1mod2.c: Likewise.
43742 * elf/tst-unique1mod1.c: Likewise.
43743 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43744 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43746 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43747 * sysdeps/mach/sysdep.h: Likewise.
43748 * sysdeps/i386/sysdep.h: Likewise.
43749 * sysdeps/i386/i386-mcount.S: Likewise.
43750 * sysdeps/x86_64/_mcount.S: Likewise.
43751 * sysdeps/x86_64/sysdep.h: Likewise.
43752 * sysdeps/sh/_mcount.S: Likewise.
43753 * sysdeps/sh/sysdep.h: Likewise.
43754 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43755 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43756 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43758 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43759 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43760 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43761 * locale/localeinfo.h: Likewise.
43762 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43763 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43765 2012-07-09 Roland McGrath <roland@hack.frob.com>
43768 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43770 * manual/message.texi (The Uniforum approach): Likewise.
43771 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43772 (glibc iconv Implementation): Likewise.
43774 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43777 * math/s_clog.c (__clog): Avoid scaling a value down where that
43778 could result in underflow.
43779 * math/s_clog10.c (__clog10): Likewise.
43780 * math/s_clog10f.c (__clog10f): Likewise.
43781 * math/s_clog10l.c (__clog10l): Likewise.
43782 * math/s_clogf.c (__clogf): Likewise.
43783 * math/s_clogl.c (__clogl): Likewise.
43784 * math/libm-test.inc (clog_test): Add more tests.
43785 (clog10_test): Likewise.
43786 * sysdeps/i386/fpu/libm-test-ulps: Update.
43787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43789 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43792 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43793 by 7 not 8 to examine high bit of fractional part.
43796 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43797 for call to __mcount_internal.
43798 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43799 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43800 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43802 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43805 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43806 approximation for values within 0x1p-13f of an odd multiple of
43808 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43809 exception. Add more tests.
43810 * sysdeps/i386/fpu/libm-test-ulps: Update.
43813 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43814 inputs and return -1 for them. Do not check for +Inf in case not
43815 reachable for +Inf.
43816 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43817 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43819 and return -1 for them. Do not check for +Inf in case not
43820 reachable for +Inf.
43821 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43823 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43824 and return -1 for them. Do not check for +Inf in case not
43825 reachable for +Inf.
43826 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43827 spurious underflow.
43828 * sysdeps/i386/fpu/libm-test-ulps: Update.
43829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43831 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43833 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43835 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43839 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43840 could result in spurious underflow. Scale down values above
43841 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43842 * math/s_csqrtf.c (__csqrtf): Likewise.
43843 * math/s_csqrtl.c (__csqrtl): Likewise.
43844 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43845 spurious underflow.
43846 * sysdeps/i386/fpu/libm-test-ulps: Update.
43847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43849 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43851 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43853 * catgets/xopen-msg.awk: New file.
43854 * catgets/xopen-msg.sed: Removed.
43856 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43858 * intl/po2test.awk: New file.
43859 * intl/po2test.sed: Removed.
43861 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43864 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43865 or multiply small sinh result by itself.
43866 * math/s_ctanf.c (__ctanf): Likewise.
43867 * math/s_ctanh.c (__ctanh): Likewise.
43868 * math/s_ctanhf.c (__ctanhf): Likewise.
43869 * math/s_ctanhl.c (__ctanhl): Likewise.
43870 * math/s_ctanl.c (__ctanl): Likewise.
43871 * math/libm-test.inc (ctan_test_tonearest): New function.
43872 (ctan_test_towardzero): Likewise.
43873 (ctan_test_downward): Likewise.
43874 (ctan_test_upward): Likewise.
43875 (ctanh_test_tonearest): Likewise.
43876 (ctanh_test_towardzero): Likewise.
43877 (ctanh_test_downward): Likewise.
43878 (ctanh_test_upward): Likewise.
43879 (main): Call these new functions.
43880 * sysdeps/i386/fpu/libm-test-ulps: Update.
43881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43883 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43885 * .gitignore: Delete /ports entry.
43887 2012-07-03 Andreas Jaeger <aj@suse.de>
43889 * po/bg.po: Update from translation team.
43890 * po/cs.po: Likewise.
43891 * po/de.po: Likewise.
43892 * po/hr.po: Likewise.
43893 * po/nl.pl: Likewise.
43894 * po/pl.po: Likewise.
43895 * po/vi.po: Likewise.
43897 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43899 * Makeconfig [!+link] (+link-before-libc): New variable.
43900 [!+link] (+link-after-libc): Likewise.
43901 [!+link] (+link-tests): Likewise.
43902 [!+link] (+link): Define in terms of $(+link-before-libc) and
43903 $(+link-after-libc).
43904 [!+link-static] (+link-static-before-libc): New variable.
43905 [!+link-static] (+link-static-after-libc): Likewise.
43906 [!+link-static] (+link-static-tests): Likewise.
43907 [!+link-static] (+link-static): Define in terms of
43908 $(+link-static-before-libc) and $(+link-static-after-libc).
43909 [build-shared] (link-libc-before-gnulib): New variable.
43910 [build-shared] (link-libc-tests): Likewise.
43911 [build-shared] (link-libc): Define in terms of
43912 $(link-libc-before-gnulib).
43913 [!build-shared] (link-libc-tests): New variable.
43914 (link-libc-static-tests): New variable.
43915 [!gnulib] (gnulib-arch): New variable.
43916 [!gnulib] (gnulib-tests): Likewise.
43917 [!gnulib] (static-gnulib-arch): Likewise.
43918 [!gnulib] (static-gnulib-tests): Likewise.
43919 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43920 Define with "=" instead of ":=".
43921 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43922 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43923 * Rules (binaries-all-notests): New variable.
43924 (binaries-all-tests): Likewise.
43925 (binaries-static-notests): Likewise.
43926 (binaries-static-tests): Likewise.
43927 (binaries-all): Define using $(binaries-all-notests) and
43928 $(binaries-all-tests).
43929 (binaries-static): Define using $(binaries-static-notests) and
43930 $(binaries-static-tests).
43931 (binaries-shared-tests): New variable.
43932 (binaries-shared-notests): Likewise.
43933 (binaries-shared): Remove variable.
43934 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43935 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43936 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43937 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43938 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43939 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43940 * elf/Makefile (sln-modules): New variable.
43941 (extra-objs): Add $(sln-modules:=.o).
43942 (ldconfig-modules): Add static-stubs.
43943 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43944 * elf/static-stubs.c: New file.
43947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43948 by 7 not 8 to examine high bit of fractional part. Use volatile
43949 variables when splitting into final array of floats if
43950 __FLT_EVAL_METHOD__ != 0.
43951 * math/libm-test.inc (cos_test): Add another test.
43952 (sin_test): Likewise.
43953 * sysdeps/i386/fpu/libm-test-ulps: Update.
43956 * math/libm-test.inc (cosh_test): Add more tests.
43958 * version.h (RELEASE): Set to "development".
43959 (VERSION): Set to "2.16.90".
43961 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43963 * NEWS: Update copyright. Remove last-updated date.
43964 Mention math library bug fixes and timezone data changes.
43965 * README: Mention GNU/Hurd, x32, and HPPA support status.
43967 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43969 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43971 2012-06-27 Andreas Jaeger <aj@suse.de>
43973 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43975 2012-06-25 Andreas Jaeger <aj@suse.de>
43977 * sysdeps/s390/fpu/libm-test-ulps: Update.
43979 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43980 Thomas Schwinge <thomas@codesourcery.com>
43982 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43983 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43984 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43987 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43989 * sysdeps/mach/start.c: Remove file.
43990 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43991 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43992 * sysdeps/sh/init-first.c: Likewise.
43994 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43995 registers for frame unwinding purposes, add CFI directives.
43996 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43997 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43998 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44002 __fortify_fail returning.
44003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44005 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44006 sysdeps/sh/____longjmp_chk.S.
44007 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44008 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44009 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44010 (gen-as-const-headers): Append sigaltstack-offsets.sym.
44012 * sysdeps/sh/abort-instr.h: New file.
44013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44014 process in case exit returns.
44016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44017 initialize the GOT register before use.
44019 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44020 calculation of ARGC > 4.
44022 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44023 meaningful names to some local labels.
44025 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44026 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44028 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44029 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44030 (__arch_compare_and_exchange_val_16_acq): Likewise.
44031 (__arch_compare_and_exchange_val_32_acq): Likewise.
44032 (atomic_exchange_and_add): Fix gUSA sequence.
44033 (atomic_add): Likewise.
44034 (atomic_add_negative): Likewise.
44035 (atomic_add_zero): Likewise.
44036 (atomic_bit_test_set): Likewise.
44038 2012-06-22 Andreas Schwab <schwab@redhat.com>
44041 * include/link.h (struct link_map): Add l_free_initfini.
44042 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44044 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44045 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44046 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44049 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
44051 * configure.in: Use AC_LANG_SOURCE.
44052 * configure: Regenerate.
44054 2012-06-22 Roland McGrath <roland@hack.frob.com>
44056 * configure.in (libc_cv_localstatedir): New substituted variable.
44057 * configure: Regenerated.
44058 * config.make.in (localstatedir): New variable, substituted from
44059 libc_cv_localstatedir.
44060 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44061 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44062 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44063 * sysdeps/gnu/configure: Regenerated.
44065 2012-06-21 Jeff Law <law@redhat.com>
44068 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44069 free. Simplify list management for _LIBC case.
44071 2012-06-21 Joseph Myers <joseph@codesourcery.com>
44074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44075 Clear sign bit of 64-bit integer value before comparing against
44078 * sysdeps/mach/configure: Regenerated.
44080 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
44083 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44085 2012-06-21 Jeff Law <law@redhat.com>
44088 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
44089 uint16_t for elements in the "seen" array to avoid char overflows.
44090 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44091 * elf/dl-open.c (dl_open_worker): Likewise.
44093 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
44095 * scripts/list-sources.sh: Scan PORTS for translations.
44096 * po/libc.pot: Regenerated.
44098 2012-06-21 Andreas Jaeger <aj@suse.de>
44101 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44103 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44104 * bits/byteswap-16.h (__bswap_16): Likewise.
44105 * bits/byteswap.h (__bswap_constant_16): Likewise.
44107 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
44110 * sysdeps/i386/fpu_control.h: Removed.
44111 * sysdeps/x86_64/fpu_control.h: Moved to ...
44112 * sysdeps/x86/fpu_control.h: Here.
44114 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44115 (_FPU_SETCW): Likewise.
44117 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
44120 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44121 * sysdeps/x86/fpu/bits/mathinline.h: This.
44122 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44126 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44127 functions if __x86_64__ is defined.
44129 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
44131 * string/endian.h: Add !__ASSEMBLER__ condition for including
44132 conversion interfaces.
44134 2012-06-15 Joseph Myers <joseph@codesourcery.com>
44137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44138 of ABS(x) in calculating zero to negative powers other than odd
44140 * math/libm-test.inc (pow_test): Add more tests.
44142 2012-06-15 Andreas Jaeger <aj@suse.de>
44144 * manual/contrib.texi (Contributors): Update entry of Liubov
44145 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44148 2012-06-15 Cyril Hrubis <metan@ucw.cz>
44150 * string/string.h: Add __wur to GNU version of strerror_r.
44152 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
44155 * string/Makefile (tests): Add tst-strtok_r.
44156 * string/tst-strtok_r.c: New file.
44157 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44158 RAX_LP/RDX_LP on SAVE_PTR.
44160 2012-06-14 Roland McGrath <roland@hack.frob.com>
44162 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44164 2012-06-14 Joseph Myers <joseph@codesourcery.com>
44166 * libm_test.inc (csqrt_test): Allow more spurious underflow
44168 (j0_test): Likewise.
44169 (j1_test): Likewise.
44170 (y0_test): Likewise.
44171 (y1_test): Likewise.
44173 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
44175 * po/Makefile (libc.pot): Use UTF-8 charset.
44177 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
44180 Suppress sign-conversion warning from FD_SET.
44181 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44182 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44183 not unsigned long int.
44184 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44186 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
44190 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44191 __extern_always_inline instead of __extern_inline.
44192 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44193 (__signbit): Likewise.
44194 (__signbitl): Support C++ namespace.
44195 (lrintf): New inline function.
44197 (llrintf): Likewise.
44198 (llrint): Likewise.
44208 (floorf): Likewise.
44209 (nearbyint): Likewise.
44210 (nearbyintf): Likewise.
44212 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
44214 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44215 non-default versions.
44217 2012-06-11 Roland McGrath <roland@hack.frob.com>
44220 * manual/argp.texi (Argp): Reword argp_parse description slightly.
44222 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
44224 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44225 (FE_UPWARD, FE_DOWNWARD): Don't define.
44226 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44227 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44229 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44231 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44234 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44236 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44238 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44239 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44241 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
44244 * sysdeps/i386/fpu/bits/fenv.h: Removed.
44245 * sysdeps/i386/fpu/Implies: New file.
44246 * sysdeps/x86_64/fpu/Implies: Likewise.
44247 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44248 * sysdeps/x86/fpu/bits/fenv.h: This.
44250 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44253 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44256 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44257 character 0xffff that matches the last element of the
44260 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44262 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44265 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44268 values higher than 25.6283.
44270 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44273 subnormal exponent extraction and add some __builtin_expect.
44274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44275 Fix for subnormal mantissa calculation.
44277 2012-06-04 Mike Frysinger <vapier@gentoo.org>
44279 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44280 cpu2 is -1 and errno is not ENOSYS.
44282 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
44285 * sysdeps/i386/i486/bits/string.h: Renamed to ...
44286 * sysdeps/x86/bits/string.h: This.
44287 * sysdeps/x86_64/bits/string.h: Removed.
44289 * sysdeps/i386/i486/bits/string.h: Define inline functions only
44290 if not compiling for x86-64, but compiling for >= i486.
44292 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44293 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44295 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44296 New macro from Linux kernel 3.4.0.
44297 (FP_XSTATE_MAGIC2): Likewise.
44298 (FP_XSTATE_MAGIC2_SIZE): Likewise.
44299 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44300 (struct _fpx_sw_bytes): New struct.
44301 (struct _xsave_hdr): Likewise.
44302 (struct _ymmh_state): Likewise.
44303 (struct _xstate): Likewise.
44305 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44306 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44307 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44308 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44309 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44310 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44312 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44313 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44314 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44315 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44316 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44317 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44319 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44322 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44323 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44324 (sysdep_headers): Include sys/platform/ppc.h.
44325 * sysdeps/powerpc/test-gettimebase.c: Test for
44326 __ppc_get_timebase() to catch future ISA opcode/insn changes.
44327 * manual/Makefile (appendices): Include platform.texi.
44328 * manual/contrib.texi (Contributors): Update @node pointers.
44329 * manual/maint.texi (Maintenance): Likewise.
44330 (Platform): New node.
44331 * manual/platform.texi: New file. Document the new features.
44333 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44334 Jakub Jelinek <jakub@redhat.com>
44337 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44338 where __builtin_expect is unavailable.
44340 2012-06-03 David S. Miller <davem@davemloft.net>
44342 * stdlib/longlong.h: Updated from GCC.
44344 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
44347 * sysdeps/powerpc/powerpc32/mcount.c: New file.
44348 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44351 (GLIBC_2.16): Likewise.
44353 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44357 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44360 (default-abi): New variable.
44361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44362 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44364 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44366 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44368 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44371 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44372 definition. Document in comment.
44374 2012-06-01 David S. Miller <davem@davemloft.net>
44376 * stdlib/longlong.h: Updated from GCC.
44378 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44381 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44382 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44383 sys/debugreg.h sys/io.h here.
44384 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44385 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44387 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44388 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44389 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44390 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44391 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44392 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44394 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44395 Define only if __x86_64__ is defined.
44397 2012-06-01 Joseph Myers <joseph@codesourcery.com>
44400 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44401 Use int64_t for variable i.
44402 * math/libm-test.inc (fmod_test): Add more tests.
44404 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44405 z computation is not scheduled after fetestexcept.
44406 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44407 Use math_force_eval instead of asm to ensure calculation scheduled
44408 before exception test.
44409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44410 Ensure a1 + u.d computation is not scheduled after fetestexcept.
44412 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
44414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44415 computation is not scheduled after fetestexcept.
44417 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
44420 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44421 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44423 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44425 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44426 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44428 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44431 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44433 (__WCHAR_MIN): Support __WORDSIZE == 64.
44434 (__WCHAR_MAX): Likewise.
44436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44437 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44440 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44441 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44444 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44447 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44448 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44451 Defined to 1 if __x86_64__ isn't defined.
44452 (_STAT_VER_LINUX_OLD): New.
44453 (st_atime): Remove duplicate.
44454 (st_mtime): Likewise.
44455 (st_ctime): Likewise.
44457 2012-05-31 David S. Miller <davem@davemloft.net>
44459 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44462 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
44464 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44468 * elf/dl-reloc.c: Include <_itoa.h>.
44469 (_dl_reloc_bad_type): Remove use of INTUSE.
44470 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44471 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44472 * stdio-common/psiginfo.c (psiginfo): Likewise.
44473 * stdio-common/psignal.c (psignal): Likewise.
44474 * string/strsignal.c (strsignal): Likewise.
44475 * include/signal.h (_sys_siglist): Declare hidden proto.
44476 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
44477 INTVARDEF with libc_hidden_data_def.
44478 * stdio-common/itoa-udigits.c: Likewise.
44479 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44480 (_itoa_lower_digits_internal): Remove declaration.
44481 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44482 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44483 (_sys_sigabbrev_internal): Remove aliases.
44484 (_sys_siglist): Define hidden alias.
44486 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
44488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44491 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
44494 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44495 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44497 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44498 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44499 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44500 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44502 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44504 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44506 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44508 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44516 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44520 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44521 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44522 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44523 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44524 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44525 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44527 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44528 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44530 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44531 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44537 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44538 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44540 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44542 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44543 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44544 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44546 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44548 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44550 2012-05-31 Joseph Myers <joseph@codesourcery.com>
44552 * math/math.h (M_El): Use two more decimal places.
44553 (M_LOG2El): Likewise.
44554 (M_LOG10El): Likewise.
44555 (M_LN2l): Likewise.
44556 (M_LN10l): Likewise.
44558 (M_PI_2l): Likewise.
44559 (M_PI_4l): Likewise.
44560 (M_1_PIl): Likewise.
44561 (M_2_PIl): Likewise.
44562 (M_2_SQRTPIl): Likewise.
44563 (M_SQRT2l): Likewise.
44564 (M_SQRT1_2l): Likewise.
44566 2012-05-31 David S. Miller <davem@davemloft.net>
44568 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44569 values between float registers.
44570 * sysdeps/sparc/sparc64/memset.S: Likewise.
44571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44573 2012-05-31 Mike Frysinger <vapier@gentoo.org>
44575 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44576 -D_FORTIFY_SOURCE=1.
44577 (CPPFLAGS-tst-longjmp_chk.c): Define.
44578 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44579 (CPPFLAGS-tst-longjmp_chk2.c): Define.
44580 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44581 CFLAGS-tst-wchar-h.c.
44583 2012-05-31 Marek Polacek <polacek@redhat.com>
44586 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44587 __endmntent_internal): Remove declaration.
44588 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44589 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44590 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44592 2012-05-30 David S. Miller <davem@davemloft.net>
44594 * sysdeps/sparc/sparc32/soft-fp/q_util.c
44595 (___Q_simulate_exceptions): Use real FP ops rather than writing
44597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44600 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44603 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44604 * sysdeps/x86/bits/xtitypes.h: This.
44606 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44607 * sysdeps/x86/bits/wordsize.h: This.
44609 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44610 * sysdeps/x86/bits/huge_vall.h: This.
44612 * sysdeps/i386/bits/select.h: Removed.
44613 * sysdeps/x86_64/bits/select.h: Renamed to ...
44614 * sysdeps/x86/bits/select.h: This.
44616 * sysdeps/i386/bits/setjmp.h: Removed.
44617 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44618 * sysdeps/x86/bits/setjmp.h: This.
44620 * sysdeps/i386/bits/mathdef.h: Removed.
44621 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44622 * sysdeps/x86/bits/mathdef.h: This.
44624 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44627 * include/sys/socket.h (__connect_internal)
44628 (__libc_sa_len_internal): Remove declaration.
44629 (__connect, __libc_sa_len): Declare hidden_proto.
44630 (SA_LEN): Remove use of INTUSE.
44631 * socket/connect.c: Add libc_hidden_def.
44632 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44633 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44634 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44636 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44637 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44638 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44639 of adding _internal alias.
44641 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44644 * sysdeps/i386/bits/link.h: Removed.
44645 * sysdeps/i386/bits/linkmap.h: Likewise.
44646 * sysdeps/x86_64/bits/link.h: Renamed to ...
44647 * sysdeps/x86/bits/link.h: This.
44648 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44649 * sysdeps/x86/bits/linkmap.h: This.
44651 * sysdeps/i386/bits/endian.h: Removed.
44652 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44653 * sysdeps/x86/bits/endian.h: This.
44655 * sysdeps/i386/bits/byteswap.h: Removed.
44656 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44657 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44658 * sysdeps/x86/bits/byteswap.h: This.
44659 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44660 * sysdeps/x86/bits/byteswap-16.h: This.
44661 * sysdeps/i386/Implies: Add x86.
44662 * sysdeps/x86_64/Implies: Likewise.
44664 2012-05-30 David S. Miller <davem@davemloft.net>
44666 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44667 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44668 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44669 (FP_TRAPPING_EXCEPTIONS): Define.
44670 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44671 (FP_TRAPPING_EXCEPTIONS): Define.
44672 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44673 subnormals only when inexact has been signalled or underflow
44674 exceptions are enabled.
44675 (_FP_PACK_CANONICAL): Likewise.
44677 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44681 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44683 2012-05-30 Richard Henderson <rth@twiddle.net>
44685 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44686 with #ifndef NOT_IN_libc.
44688 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44689 marked to avoid plt entry.
44691 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44694 * Makeconfig (default-abi): New macro.
44695 (abi-includes): Likewise.
44696 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44697 $(abi-$(default-abi)-lib-soname) for soname if defined.
44698 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44700 * Makefile (installed-stubs): Likewise.
44701 * include/stubs-biarch.h: Removed.
44702 * scripts/lib-names.awk: Only handle one library at a time.
44703 * scripts/soversions.awk: Remove WORDSIZE support.
44704 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44706 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44708 (syscall-list-default-condition): Likewise.
44709 (syscall-list-default-condition): Likewise.
44710 (syscall-list-includes): Likewise.
44711 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44712 syscall-list-* with abi-*. Handle undefined abi-variants.
44713 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44714 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44715 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44716 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44717 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44718 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44720 (syscall-list-32-options): Likewise.
44721 (syscall-list-32-condition): Likewise.
44722 (syscall-list-64-options): Likewise.
44723 (syscall-list-64-condition): Likewise.
44724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44726 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44729 (abi-64-ld-soname): New macro.
44730 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44731 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44734 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44735 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44737 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44739 * sysdeps/unix/sysv/linux/kernel-features.h
44740 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44741 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44742 include <kernel-features.h>.
44743 [!__NR_ftruncate64]: Remove conditional code.
44744 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44745 [__NR_ftruncate64]: Make code unconditional.
44746 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44747 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44748 include <kernel-features.h>.
44749 [!__NR_ftruncate64]: Remove conditional code.
44750 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44751 [__NR_ftruncate64]: Make code unconditional.
44752 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44754 include <kernel-features.h>.
44755 [!__NR_ftruncate64]: Remove conditional code.
44756 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44757 [__NR_ftruncate64]: Make code unconditional.
44758 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44760 include <kernel-features.h>.
44761 [!__NR_ftruncate64]: Remove conditional code.
44762 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44763 [__NR_ftruncate64]: Make code unconditional.
44764 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44766 * configure.in (libc_cv_fpie): Weaken to a compile test using
44767 LIBC_TRY_CC_OPTION.
44768 * configure: Regenerated.
44770 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44785 2012-05-27 David S. Miller <davem@davemloft.net>
44787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44789 (__Q_simulate_exceptions): Return void. Change to simulate
44790 exceptions by writing into the %fsr.
44791 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44792 (__Qp_handle_exceptions): Likewise.
44794 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44795 __Qp_handle_exceptions.
44796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44797 __Qp_handle_exceptions.
44798 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44799 as unused and give dummy FP_RND_NEAREST initializer.
44800 (FP_INHIBIT_RESULTS): Define.
44801 (___Q_simulate_exceptions): Update declaration.
44802 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44805 as unused and give dummy FP_RND_NEAREST initializer.
44806 (__Qp_handle_exceptions): Update declaration.
44807 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44810 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44812 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44813 the temporary FPU control word.
44814 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44815 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44817 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44818 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44819 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44820 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44821 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44822 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44823 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44824 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44826 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44828 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44831 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44833 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44834 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44835 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44836 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44838 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44839 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44842 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44844 * po/h.po: Update from translation team.
44846 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44848 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44850 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44851 handling of denormals.
44852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44853 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44855 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44861 2012-05-26 Marek Polacek <polacek@redhat.com>
44864 * math/libm-test.inc (fma_test): Don't always expect underflow
44867 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44870 * elf/tst-execstack.c: Include stackinfo.h.
44871 (do_test): Adjust test case to ensure that pthread_getattr_np
44872 behaviour remains the same after marking stack executable.
44874 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44876 * sysdeps/unix/sysv/linux/kernel-features.h
44877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44878 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44882 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44884 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44885 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44887 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44889 * configure.in: Define the default includes to being none.
44890 * configure: Regenerated.
44892 2012-05-25 Roland McGrath <roland@hack.frob.com>
44894 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44895 * sysdeps/x86_64/setjmp.S: Likewise.
44896 * sysdeps/i386/bsd-setjmp.S: Likewise.
44897 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44898 * sysdeps/i386/setjmp.S: Likewise.
44899 * sysdeps/i386/__longjmp.S: Likewise.
44900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44901 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44903 * include/stap-probe.h: New file.
44904 * configure.in: Handle --enable-systemtap.
44905 * configure: Regenerated.
44906 * config.h.in (USE_STAP_PROBE): New #undef.
44907 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44908 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44909 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44911 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44914 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44915 to 2.4.0 where earlier.
44916 * sysdeps/unix/sysv/linux/configure: Regenerated.
44917 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44918 <kernel-features.h>.
44919 [__ASSUME_32BITUIDS]: Make code unconditional.
44920 [!__ASSUME_32BITUIDS]: Remove conditional code.
44921 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44922 <kernel-features.h>.
44923 [__ASSUME_32BITUIDS]: Make code unconditional.
44924 [!__ASSUME_32BITUIDS]: Remove conditional code.
44925 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44926 [__ASSUME_32BITUIDS]: Make code unconditional.
44927 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44928 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44929 <kernel-features.h>.
44930 [__ASSUME_32BITUIDS]: Make code unconditional.
44931 [!__ASSUME_32BITUIDS]: Remove conditional code.
44932 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44933 <kernel-features.h>.
44934 [__ASSUME_32BITUIDS]: Make code unconditional.
44935 [!__ASSUME_32BITUIDS]: Remove conditional code.
44936 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44937 <kernel-features.h>.
44938 [__ASSUME_32BITUIDS]: Make code unconditional.
44939 [!__ASSUME_32BITUIDS]: Remove conditional code.
44940 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44941 <kernel-features.h>.
44942 [__ASSUME_32BITUIDS]: Make code unconditional.
44943 [!__ASSUME_32BITUIDS]: Remove conditional code.
44944 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44945 <kernel-features.h>.
44946 [__ASSUME_32BITUIDS]: Make code unconditional.
44947 [!__ASSUME_32BITUIDS]: Remove conditional code.
44948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44949 <kernel-features.h>.
44950 [__ASSUME_32BITUIDS]: Make code unconditional.
44951 [!__ASSUME_32BITUIDS]: Remove conditional code.
44952 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44953 <kernel-features.h>.
44954 [__ASSUME_32BITUIDS]: Make code unconditional.
44955 [!__ASSUME_32BITUIDS]: Remove conditional code.
44956 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44957 <kernel-features.h>.
44958 [__ASSUME_32BITUIDS]: Make code unconditional.
44959 [!__ASSUME_32BITUIDS]: Remove conditional code.
44960 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44961 <kernel-features.h>.
44962 [__ASSUME_32BITUIDS]: Make code unconditional.
44963 [!__ASSUME_32BITUIDS]: Remove conditional code.
44964 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44965 <kernel-features.h>.
44966 [__ASSUME_32BITUIDS]: Make code unconditional.
44967 [!__ASSUME_32BITUIDS]: Remove conditional code.
44968 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44969 <kernel-features.h>.
44970 [__NR_setresgid] (__setresgid): Do not declare.
44971 [__ASSUME_32BITUIDS]: Make code unconditional.
44972 [!__ASSUME_32BITUIDS]: Remove conditional code.
44973 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44974 <kernel-features.h>.
44975 [__NR_setresuid] (__setresuid): Do not declare.
44976 [__ASSUME_32BITUIDS]: Make code unconditional.
44977 [!__ASSUME_32BITUIDS]: Remove conditional code.
44978 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44979 <kernel-features.h>.
44980 [__ASSUME_32BITUIDS]: Make code unconditional.
44981 [!__ASSUME_32BITUIDS]: Remove conditional code.
44982 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44983 <kernel-features.h>.
44984 [__ASSUME_32BITUIDS]: Make code unconditional.
44985 [!__ASSUME_32BITUIDS]: Remove conditional code.
44986 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44987 <kernel-features.h>.
44988 [__ASSUME_32BITUIDS]: Make code unconditional.
44989 [!__ASSUME_32BITUIDS]: Remove conditional code.
44990 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44991 <kernel-features.h>.
44992 [__ASSUME_32BITUIDS]: Make code unconditional.
44993 [!__ASSUME_32BITUIDS]: Remove conditional code.
44994 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44995 <kernel-features.h>.
44996 [__ASSUME_32BITUIDS]: Make code unconditional.
44997 [!__ASSUME_32BITUIDS]: Remove conditional code.
44998 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44999 <kernel-features.h>.
45000 [__ASSUME_32BITUIDS]: Make code unconditional.
45001 [!__ASSUME_32BITUIDS]: Remove conditional code.
45002 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45003 <kernel-features.h>.
45004 [__ASSUME_32BITUIDS]: Make code unconditional.
45005 [!__ASSUME_32BITUIDS]: Remove conditional code.
45006 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45007 <kernel-features.h>.
45008 [__ASSUME_32BITUIDS]: Make code unconditional.
45009 [!__ASSUME_32BITUIDS]: Remove conditional code.
45010 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45011 <kernel-features.h>.
45012 [__ASSUME_32BITUIDS]: Make code unconditional.
45013 [!__ASSUME_32BITUIDS]: Remove conditional code.
45014 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45015 <kernel-features.h>.
45016 [__ASSUME_32BITUIDS]: Make code unconditional.
45017 [!__ASSUME_32BITUIDS]: Remove conditional code.
45018 * sysdeps/unix/sysv/linux/kernel-features.h
45019 (__ASSUME_SETRESUID_SYSCALL): Remove.
45020 (__ASSUME_SETRESGID_SYSCALL): Likewise.
45021 (__ASSUME_32BITUIDS): Likewise.
45022 (__ASSUME_LDT_WORKS): Likewise.
45023 (__ASSUME_O_DIRECTORY): Likewise.
45024 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45025 architecture but not kernel version.
45026 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45027 (__ASSUME_MMAP2_SYSCALL): Likewise.
45028 (__ASSUME_STAT64_SYSCALL): Likewise.
45029 (__ASSUME_IPC64): Likewise.
45030 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45031 <kernel-features.h>.
45032 [__ASSUME_32BITUIDS]: Make code unconditional.
45033 [!__ASSUME_32BITUIDS]: Remove conditional code.
45034 * sysdeps/unix/sysv/linux/opendir.c: Do not include
45035 <kernel-features.h>.
45036 [__ASSUME_O_DIRECTORY]: Make code unconditional.
45037 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45038 132096]: Remove conditional code.
45039 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45040 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
45045 <kernel-features.h>.
45046 [__ASSUME_32BITUIDS]: Make code unconditional.
45047 [!__ASSUME_32BITUIDS]: Remove conditional code.
45048 * sysdeps/unix/sysv/linux/setegid.c: Do not include
45049 <kernel-features.h>.
45050 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45052 (__setresgid): Do not declare.
45053 [__ASSUME_32BITUIDS]: Make code unconditional.
45054 [!__ASSUME_32BITUIDS]: Remove conditional code.
45055 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45056 <kernel-features.h>.
45057 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45059 (__setresuid): Do not declare.
45060 [__ASSUME_32BITUIDS]: Make code unconditional.
45061 [!__ASSUME_32BITUIDS]: Remove conditional code.
45062 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45063 <kernel-features.h>.
45064 [__ASSUME_32BITUIDS]: Make code unconditional.
45065 [!__ASSUME_32BITUIDS]: Remove conditional code.
45066 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45067 <kernel-features.h>.
45068 [__ASSUME_32BITUIDS]: Make code unconditional.
45069 [!__ASSUME_32BITUIDS]: Remove conditional code.
45071 2012-05-25 Richard Henderson <rth@twiddle.net>
45073 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45074 dl_hwcap to ifunc resolver.
45075 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45077 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45078 dl_hwcap to ifunc resolver.
45079 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45081 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45084 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45085 for |x| <= 2**-26, not 2**-57.
45086 * math/libm-test.inc (acos_test): Do not allow spurious underflow
45089 2012-05-24 Jeff Law <law@redhat.com>
45091 * stdio-common/Makefile (tests): Add bug25.
45092 * stdio-common/bug25.c: New test.
45094 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45097 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45098 multiple of MALLOC_ALIGNMENT in size.
45099 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45101 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45103 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45105 (FILENAME_MAX): Use macro-int-constant.
45106 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
45107 (_IOFBF): Use macro-int-constant.
45108 (_IOLBF): Likewise.
45109 (_IONBF): Likewise.
45110 (SEEK_CUR): Likewise.
45111 (SEEK_END): Likewise.
45112 (SEEK_SET): Likewise.
45113 (TMP_MAX): Likewise.
45114 (EOF): Use macro-int-constant. Require < 0.
45115 (NULL): Use macro-constant. Require == 0.
45116 (stdin): Require type to be FILE *.
45117 (stdout): Likewise.
45118 (stderr): Likewise.
45119 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45120 macro-int-constant.
45121 (EXIT_SUCCESS): Likewise.
45122 (NULL): Use macro-constant. Require == 0.
45123 (RAND_MAX): Use macro-int-constant.
45124 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45125 [C99-based standards] (strtof): Require function.
45126 [C99-based standards] (strtold): Likewise.
45127 [C99-based standards] (strtoll): Likewise.
45128 [C99-based standards] (strtoull): Likewise.
45129 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45130 [ISO || ISO99 || ISO11] (limits.h): Likewise.
45131 [ISO || ISO99 || ISO11] (math.h): Likewise.
45132 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45133 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45134 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45136 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
45139 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45140 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45141 * intl/dgettext.c (DCGETTEXT): Likewise.
45142 * intl/gettext.c (DCGETTEXT): Likewise.
45143 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45144 * posix/regex_internal.h (gettext): Likewise.
45145 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45146 Remove declaration.
45147 * include/argz.h (__argz_count_internal)
45148 (__argz_stringify_internal): Remove declaration.
45149 (__argz_count, __argz_stringify): Declare hidden proto.
45150 * intl/dcgettext.c: Remove use of INTDEF.
45151 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45152 * string/argz-stringify.c: Likewise.
45153 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45154 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45155 Declare hidden proto.
45156 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45157 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45158 Declare hidden proto.
45159 * include/stdio.h (__asprintf_internal): Don't declare.
45160 (__asprintf): Don't define as macro. Declare hidden proto.
45161 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45162 (__fsetlocking): Declare hidden proto.
45163 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45164 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45166 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45167 (_IO_setlinebuf): Remove use of INTUSE.
45168 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45169 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45170 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45171 Remove declaration.
45172 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45173 (_IO_do_flush): Remove use of INTUSE.
45174 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45175 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45176 (_IO_adjust_column, _IO_least_wmarker)
45177 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45178 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45179 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45180 (_IO_default_doallocate, _IO_wdefault_doallocate)
45181 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45182 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45183 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45184 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45185 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45186 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45187 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45188 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45189 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45190 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45191 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45192 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45193 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45195 (_IO_flush_all_internal, _IO_adjust_column_internal)
45196 (_IO_default_uflow_internal, _IO_default_finish_internal)
45197 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45198 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45199 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45200 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45201 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45202 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45203 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45204 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45205 (_IO_file_close_internal, _IO_file_close_it_internal)
45206 (_IO_file_underflow_internal, _IO_file_overflow_internal)
45207 (_IO_file_init_internal, _IO_file_attach_internal)
45208 (_IO_file_fopen_internal, _IO_file_read_internal)
45209 (_IO_file_sync_internal, _IO_file_seek_internal)
45210 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45211 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45212 (_IO_str_underflow_internal, _IO_str_overflow_internal)
45213 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45214 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45215 (_IO_list_all_internal, _IO_link_in_internal)
45216 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45217 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45218 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45219 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45220 (_IO_do_write_internal, _IO_padn_internal)
45221 (_IO_getline_info_internal, _IO_getline_internal)
45222 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45223 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45224 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45225 (_IO_vfscanf_internal, _IO_vfprintf_internal)
45226 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45227 (_IO_init_internal, _IO_un_link_internal): Don't declare.
45228 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45229 with libc_hidden_ver, remove use of INTUSE.
45230 * libio/genops.c: Likewise.
45231 * libio/freopen.c: Likewise.
45232 * libio/freopen64.c: Likewise.
45233 * libio/iofclose.c: Likewise.
45234 * libio/iofdopen.c: Likewise.
45235 * libio/iofflush.c: Likewise.
45236 * libio/iofflush_u.c: Likewise.
45237 * libio/iofgets.c: Likewise.
45238 * libio/iofgets_u.c: Likewise.
45239 * libio/iofopen.c: Likewise.
45240 * libio/iofopncook.c: Likewise.
45241 * libio/iofread.c: Likewise.
45242 * libio/iofread_u.c: Likewise.
45243 * libio/ioftell.c: Likewise.
45244 * libio/iofwrite.c: Likewise.
45245 * libio/iogetline.c: Likewise.
45246 * libio/iogets.c: Likewise.
45247 * libio/iogetwline.c: Likewise.
45248 * libio/iopadn.c: Likewise.
45249 * libio/iopopen.c: Likewise.
45250 * libio/ioseekoff.c: Likewise.
45251 * libio/ioseekpos.c: Likewise.
45252 * libio/iosetbuffer.c: Likewise.
45253 * libio/iosetvbuf.c: Likewise.
45254 * libio/ioungetc.c: Likewise.
45255 * libio/ioungetwc.c: Likewise.
45256 * libio/iovdprintf.c: Likewise.
45257 * libio/iovsprintf.c: Likewise.
45258 * libio/iovsscanf.c: Likewise.
45259 * libio/memstream.c: Likewise.
45260 * libio/obprintf.c: Likewise.
45261 * libio/oldfileops.c: Likewise.
45262 * libio/oldiofclose.c: Likewise.
45263 * libio/oldiofdopen.c: Likewise.
45264 * libio/oldiofopen.c: Likewise.
45265 * libio/oldiopopen.c: Likewise.
45266 * libio/oldstdfiles.c: Likewise.
45267 * libio/putc.c: Likewise.
45268 * libio/setbuf.c: Likewise.
45269 * libio/setlinebuf.c: Likewise.
45270 * libio/stdfiles.c: Likewise.
45271 * libio/strops.c: Likewise.
45272 * libio/vasprintf.c: Likewise.
45273 * libio/vscanf.c: Likewise.
45274 * libio/vsnprintf.c: Likewise.
45275 * libio/vswprintf.c: Likewise.
45276 * libio/wfiledoalloc.c: Likewise.
45277 * libio/wfileops.c: Likewise.
45278 * libio/wgenops.c: Likewise.
45279 * libio/wmemstream.c: Likewise.
45280 * libio/wstrops.c: Likewise.
45281 * libio/__fpurge.c: Likewise.
45282 * libio/__fsetlocking.c: Likewise.
45283 * assert/assert.c: Likewise.
45284 * debug/fgets_chk.c: Likewise.
45285 * debug/fgets_u_chk.c: Likewise.
45286 * debug/fread_chk.c: Likewise.
45287 * debug/fread_u_chk.c: Likewise.
45288 * debug/gets_chk.c: Likewise.
45289 * debug/obprintf_chk.c: Likewise.
45290 * debug/vasprintf_chk.c: Likewise.
45291 * debug/vdprintf_chk.c: Likewise.
45292 * debug/vsnprintf_chk.c: Likewise.
45293 * debug/vsprintf_chk.c: Likewise.
45294 * malloc/mtrace.c: Likewise.
45295 * misc/error.c: Likewise.
45296 * misc/syslog.c: Likewise.
45297 * stdio-common/asprintf.c: Likewise.
45298 * stdio-common/fxprintf.c: Likewise.
45299 * stdio-common/getw.c: Likewise.
45300 * stdio-common/isoc99_fscanf.c: Likewise.
45301 * stdio-common/isoc99_scanf.c: Likewise.
45302 * stdio-common/isoc99_vfscanf.c: Likewise.
45303 * stdio-common/isoc99_vscanf.c: Likewise.
45304 * stdio-common/isoc99_vsscanf.c: Likewise.
45305 * stdio-common/printf-prs.c: Likewise.
45306 * stdio-common/printf_fp.c: Likewise.
45307 * stdio-common/printf_fphex.c: Likewise.
45308 * stdio-common/printf_size.c: Likewise.
45309 * stdio-common/putw.c: Likewise.
45310 * stdio-common/scanf.c: Likewise.
45311 * stdio-common/sprintf.c: Likewise.
45312 * stdio-common/tmpfile.c: Likewise.
45313 * stdio-common/vfprintf.c: Likewise.
45314 * stdio-common/vfscanf.c: Likewise.
45315 * stdlib/strfmon_l.c: Likewise.
45316 * sunrpc/openchild.c: Likewise.
45317 * sunrpc/xdr_stdio.c: Likewise.
45318 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45319 * sysdeps/mach/hurd/tmpfile.c: Likewise.
45321 2012-05-24 Roland McGrath <roland@hack.frob.com>
45323 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45325 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45326 in the third column, to generate for the shared library an IFUNC
45327 that uses _dl_vdso_vsym.
45328 * Makerules (COMPILE.c, compile-stdin.c): New variables.
45329 * Makeconfig (object-suffixes-noshared): New variable.
45331 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45332 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45333 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45334 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45337 * include/sys/time.h (__gettimeofday): Remove macro.
45338 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45339 * time/gettimeofday.c (__gettimeofday): Remove #undef.
45341 (__gettimeofday): Add libc_hidden_def.
45342 (gettimeofday): Add libc_hidden_weak.
45343 * sysdeps/mach/gettimeofday.c: Likewise.
45344 * sysdeps/posix/gettimeofday.c: Likewise.
45345 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45346 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45348 (__gettimeofday_internal): Remove strong_alias.
45349 (__gettimeofday): Add libc_hidden_def.
45350 (gettimeofday): Add libc_hidden_weak.
45351 * sysdeps/unix/syscalls.list (gettimeofday):
45352 Remove __gettimeofday_internal alias.
45354 2012-05-24 Daniel Jacobowitz <drow@false.org>
45355 H.J. Lu <hongjiu.lu@intel.com>
45358 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45359 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45360 (largebin_index_32_big): New.
45361 (largebin_index): Use it for 16-byte alignment.
45362 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
45363 correction with front_misalign.
45365 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
45367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45393 * scripts/data/c++-types-x32-linux-gnu.data: New file.
45394 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45396 2012-05-24 Joseph Myers <joseph@codesourcery.com>
45400 * math/libm-test.inc (exp_test): Add test from bug 14036.
45401 (pow_test): Add test from bug 10846.
45403 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45405 (special_function): Do not include flags in test name.
45406 (parse_args): Likewise.
45407 * sysdeps/i386/fpu/libm-test-ulps: Update.
45408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45409 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45410 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45413 * math/gen-libm-test.pl (%beautify): Add entries for underflow
45415 * math/libm-test.inc ("Philosophy"): Update comment about
45417 (UNDERFLOW_EXCEPTION): New macro.
45418 (UNDERFLOW_EXCEPTION_OK): Likewise.
45419 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45420 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45421 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45422 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45423 (INVALID_EXCEPTION_OK): Update value.
45424 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45425 (OVERFLOW_EXCEPTION_OK): Likewise.
45426 (IGNORE_ZERO_INF_SIGN): Likewise.
45427 (test_exceptions): Handle underflow exceptions.
45428 (acos_test): Update for underflow exception expectations.
45429 (cexp_test): Likewise.
45430 (clog_test): Likewise.
45431 (clog10_test): Likewise.
45432 (csqrt_test): Likewise.
45433 (ctan_test): Likewise.
45434 (ctanh_test): Likewise.
45435 (exp_test): Likewise.
45436 (exp10_test): Likewise.
45437 (exp2_test): Likewise.
45438 (expm1_test): Likewise.
45439 (fma_test): Likewise.
45440 (j0_test): Likewise.
45441 (jn_test): Likewise.
45442 (nexttoward_test): Likewise.
45443 (pow_test): Likewise.
45444 (scalbn_test): Likewise.
45445 (scalbln_test): Likewise.
45446 (tan_test): Likewise.
45447 (y1_test): Likewise.
45448 * sysdeps/i386/fpu/libm-test-ulps: Update.
45449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45451 2012-05-23 David S. Miller <davem@davemloft.net>
45453 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45454 (__libc_sigaction): Remove unused local variables.
45456 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45458 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45460 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
45462 mktime: avoid signed integer overflow
45463 * time/mktime.c (__mktime_internal): Do not mishandle the case
45464 where diff == INT_MIN.
45466 mktime: simplify computation of average
45467 * time/mktime.c (ranged_convert): Use new time_t_avg function
45468 instead of rolling our own (probably-slower) code.
45470 mktime: do not assume signed right shift propagates sign bit
45471 * time/mktime.c (isdst_differ): New static function.
45472 (__mktime_internal): No need to normalize tm_isdst now.
45473 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45476 mktime: merge another wrapv change from gnulib
45477 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45478 from some compilers.
45480 mktime: remove incorrect attempt at unusual arithmetics
45481 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45482 The code didn't really work on such machines anyway.
45483 (TYPE_MINIMUM): Assume two's complement.
45484 (twos_complement_arithmetic): Verify that long_int and time_t
45485 are two's complement (or unsigned, in the latter case).
45487 mktime: check signed shifts on long_int and time_t, too
45488 * time/mktime.c (SHR): Check that shifts work as desired
45489 on the types long_int and time_t too, as SHR is used on
45492 mktime: do not assume 'long' is wide enough
45493 * time/mktime.c (verify): Move decl up.
45494 (long_int): New type.
45495 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45496 to remove assumption in the code that 'long' is wide enough to
45497 store year values. This assumption is not true on x32 and on
45498 some non-glibc platforms.
45500 mktime: merge wrapv change from gnulib
45501 * time/mktime.c (WRAPV): New macro.
45502 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45503 (guess_time_tm, __mktime_internal): Do not assume that signed
45504 integer overflow wraps around; modern compilers generate code
45505 where this assumption is no longer valid.
45507 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45509 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45510 Replace "jmp L(pseudo_end)" with "ret".
45511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45514 2012-05-23 Andreas Jaeger <aj@suse.de>
45516 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45517 * sysdeps/unix/sysv/linux/poll.c: Remove file.
45519 2012-05-23 Andreas Jaeger <aj@suse.de>
45520 Maximilian Attems <max@stro.at>
45522 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45525 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
45527 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45528 code so that pseudo_end is just ret and the stack pointer is
45529 correct also for static library in error case.
45531 2012-05-23 Joseph Myers <joseph@codesourcery.com>
45533 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45534 move to syscalls.list.
45535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45540 * manual/install.texi (Running make install): Do not mention Linux
45541 kernel version for which pt_chown is not needed.
45542 (Linux): Do not mention problems with nscd with 2.0 kernels.
45543 * INSTALL: Regenerated.
45545 2012-05-23 Andreas Jaeger <aj@suse.de>
45547 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45548 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45550 * sysdeps/unix/sysv/linux/s390/bits/mman.h
45551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45552 * sysdeps/unix/sysv/linux/sh/bits/mman.h
45553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45554 * sysdeps/unix/sysv/linux/i386/bits/mman.h
45555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45556 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45557 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45560 * sysdeps/unix/sysv/linux/bits/in.h
45561 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45563 2012-05-22 Roland McGrath <roland@hack.frob.com>
45565 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45566 (PREPARE_VERSION): Just use assert instead, it will be elided
45567 under [NDEBUG] anyway.
45569 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45571 * sysdeps/unix/sysv/linux/Makefile: Include
45572 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45573 (sysdep_routines): Remove sysctl.
45574 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45575 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45576 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45577 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45578 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45580 2012-05-22 Andreas Jaeger <aj@suse.de>
45582 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45583 that pseudo_end is just ret and the stack pointer is correct also
45584 for static library in error case.
45586 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
45589 * nss/nsswitch.c (defconfig_entries): New variable.
45590 (__nss_database_lookup): Don't leak defconfig entries.
45591 (nss_parse_service_list): Don't leak on error paths.
45592 (free_database_entries): New function.
45593 (free_defconfig): New function.
45594 (free_mem): Move common code to free_database_entries.
45596 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45600 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45602 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45603 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45604 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45606 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45607 (INTERNAL_SYSCALL_TYPES): Likewise.
45608 (LOAD_ARGS_TYPES_[1-6]): Likewise.
45609 (LOAD_REGS_TYPES_[1-6]): Likewise.
45610 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45611 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45613 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45616 copysignl for GLIBC_2_0.
45617 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45618 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45620 logbl for GLIBC_2_0.
45621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45622 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45624 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45627 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45629 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45632 * time/mktime.c: Update copyright years.
45634 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45636 mktime: merge comment-quoting-style change from gnulib
45637 * time/mktime.c: Quote 'like this' in comments.
45638 The GNU coding standards suggest that we no longer quote `like this',
45639 as "`" and "'" are typically rendered asymmetrically nowadays.
45640 The typical gnulib style is to quote 'like this' when quoting
45641 code, and "like this" when quoting English.
45643 * time/mktime.c (compile-command): Add "-I.".
45645 mktime: merge mktime-internal.h change from gnulib
45646 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45648 mktime: merge time_r change from gnulib
45649 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45651 mktime: merge DEBUG change from gnulib
45652 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45653 case system <time.h> has a #define.
45655 mktime: merge <sys/types.h> change from gnulib
45656 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45657 since <time.t> is now guaranteed to define time_t.
45659 mktime: merge HAVE_CONFIG_H change from gnulib
45660 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45662 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45667 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45669 (struct rusage): Use anonymous union to pad each field to
45672 2012-05-21 David S. Miller <davem@davemloft.net>
45674 * Makefules (o-iterator): Remove .s cases.
45675 (compile-command.s): Delete.
45676 (COMPILE.s): Delete.
45677 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45679 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45681 * configure.in (libc_cv_predef_stack_protector): Only consider
45682 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45683 * configure: Regenerated.
45685 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45688 New macro. Use R*LP on int and pointer.
45689 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45690 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45691 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45692 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45694 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45695 [__WORDSIZE_TIME64_COMPAT32] instead of
45696 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45697 (struct utmp): Likewise.
45698 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45699 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45701 (__WORDSIZE_TIME64_COMPAT32): This.
45702 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45703 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45704 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45705 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45706 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45707 (__WORDSIZE_TIME64_COMPAT32): New macro.
45709 2012-05-21 Andreas Jaeger <aj@suse.de>
45711 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45712 only if [SHARED]. Add prototype for __wcschr_ia32.
45714 2012-05-21 Roland McGrath <roland@hack.frob.com>
45716 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45717 of %rbp unmolested in the jmp_buf while mangling the low bits.
45718 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45719 unmolested high bits of %rbp while demangling the low bits.
45720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45722 2012-05-21 Andreas Jaeger <aj@suse.de>
45724 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45725 * sunrpc/svc_simple.c: Use it for registerrpc.
45726 * sunrpc/xcrypt.c: Use it for passwd2des.
45728 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45730 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45732 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45733 Don't define if [__SYSCALL_WORDSIZE != 32].
45734 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45737 2012-05-21 Bruno Haible <bruno@clisp.org>
45738 Andreas Jaeger <aj@suse.de>
45740 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45741 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45742 inptr and inend for must_buffer_ch.
45743 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45744 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45745 * stdio-common/Makefile (tests): Remove bug15.
45746 (bug15-ENV): Remove macro.
45747 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45750 2012-05-19 Andreas Jaeger <aj@suse.de>
45751 Roland McGrath <roland@hack.frob.com>
45753 * manual/contrib.texi: Completely rewritten. It contains now an
45754 alphabetical list of contributors and their contributions.
45756 2012-05-21 Richard Henderson <rth@twiddle.net>
45758 * misc/getauxval.c (__getauxval): Use unsigned long int.
45759 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45760 (getauxval): Use unsigned long int.
45762 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45764 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45766 2012-05-21 Roland McGrath <roland@hack.frob.com>
45768 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45769 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45770 __alignof__ (long double).
45772 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45776 2012-05-20 Richard Henderson <rth@twiddle.net>
45778 * misc/getauxval.c: New file.
45779 * misc/sys/auxv.h: New file.
45780 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45781 (routines): Add getauxval.
45782 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45783 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45784 * elf/dl-sysdep.c (_dl_auxv): Remove.
45785 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45786 * elf/dl-support.c (_dl_auxv): New variable.
45787 (_dl_aux_init): Initialize it.
45788 * manual/startup.texi (Auxiliary Vector): New node.
45789 * sysdeps/generic/bits/hwcap.h: New file.
45790 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45791 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45792 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45793 * sysdeps/sparc/sysdep.h: ... here. Include it.
45794 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45795 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45807 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45811 2012-05-19 David S. Miller <davem@davemloft.net>
45813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45815 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45818 * math/s_ccosh.c: Include <float.h>
45819 (__ccosh): Avoid internal overflow calculating sinh and cosh
45820 values before multiplying by sin and cos values.
45821 * math/s_ccoshf.c: Likewise.
45822 * math/s_ccoshl.c: Likewise.
45823 * math/s_csin.c: Likewise.
45824 * math/s_csinf.c: Likewise.
45825 * math/s_csinl.c: Likewise.
45826 * math/s_csinh.c: Likewise.
45827 * math/s_csinhf.c: Likewise.
45828 * math/s_csinhl.c: Likewise.
45829 * math/libm-test.inc (ccos_test): Add more tests.
45830 (ccosh_test): Likewise.
45831 (csin_test): Likewise.
45832 (csinh_test): Likewise.
45833 * sysdeps/i386/fpu/libm-test-ulps: Update.
45834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45836 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45838 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45839 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45841 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45843 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45845 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45846 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45847 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45848 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45849 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45850 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45851 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45852 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45853 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45854 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45855 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45856 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45857 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45858 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45859 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45860 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45861 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45862 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45863 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45864 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45865 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45866 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45867 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45868 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45869 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45870 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45871 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45872 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45873 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45874 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45875 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45877 2012-05-18 Andreas Jaeger <aj@suse.de>
45879 * csu/.gitignore: Delete.
45881 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45883 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45884 (timex): Use __syscall_slong_t.
45886 2012-05-18 Andreas Jaeger <aj@suse.de>
45887 Carlos O'Donell <carlos_odonell@mentor.com>
45889 * manual/install.texi (Configuring and compiling): Update
45890 description about files modified in the source directory.
45891 * INSTALL: Regenerated.
45893 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45895 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45896 value. Use "or" to set return value to -1.
45897 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45898 negate return value.
45900 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45902 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45903 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45904 failure if the compiler has Graphite support disabled.
45905 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45907 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45908 (CFLAGS-memmove.c): Likewise.
45909 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45912 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45914 * sysdeps/x86_64/x32/_itoa.h: New file.
45916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45917 getdents system call only if kernel and user dirents have the
45918 same d_ino and d_off.
45920 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45921 LLONG_MAX != LONG_MAX.
45922 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45923 (_fitoa_word): Likewise.
45925 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45927 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45929 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45931 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45932 include <bits/wordsize.h>. Check __x86_64__ instead of
45934 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45935 if __x86_64__ is defined. Use anonymous union on fpstate.
45937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45940 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45942 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45943 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45944 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45945 Refer to _rtld_local_ro instead of _rtld_global_ro.
45946 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45948 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45950 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45952 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45953 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45954 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45956 * sysdeps/powerpc/powerpc32/dl-machine.c
45957 (__elf_machine_runtime_setup) [PROF]: Don't reference
45960 2012-05-18 Andreas Jaeger <aj@suse.de>
45962 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45963 function only available for GCCs before 3.4 since GCC 3.4
45964 introduced a builtin.
45966 (llrintf): Likewise.
45967 (llrint): Likewise.
45974 (nearbyint): Likewise.
45975 (nearbyintf): Likewise.
45979 (floorf): Likewise.
45981 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45983 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45984 on both fields and cast pointer to __syscall_ulong_t.
45986 * bits/types.h (__fsword_t): New type.
45987 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45988 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45989 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45990 (__FSWORD_T_TYPE): Likewise.
45991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45992 (__FSWORD_T_TYPE): Likewise.
45993 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45994 (__FSWORD_T_TYPE): Likewise.
45995 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45996 (__FSWORD_T_TYPE): Likewise.
45997 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45998 __SWORD_TYPE with __fsword_t.
45999 (statfs64): Likewise.
46001 2012-05-17 David S. Miller <davem@davemloft.net>
46003 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46005 2012-05-17 Andreas Jaeger <aj@suse.de>
46007 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46010 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46012 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46014 2012-05-17 Andreas Jaeger <aj@suse.de>
46016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46019 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46021 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46023 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
46025 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46026 * sysdeps/x86_64/tst-mallocalign1.c: New file.
46028 2012-05-17 Andreas Jaeger <aj@suse.de>
46029 Carlos O'Donell <carlos_odonell@mentor.com>
46032 * sysdeps/x86_64/multiarch/init-arch.h
46033 (bit_YMM_Usable): Rename to...
46034 (bit_AVX_Usable): ... this.
46035 (bit_FMA4_Usable): New macro.
46036 (bit_XMM_state): New macro.
46037 (bit_YMM_state): New macro.
46038 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46039 [__ASSEMBLER__] (index_AVX_Usable): ... this.
46040 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46041 (CPUID_OSXSAVE): New macro.
46042 (CPUID_AVX): New macro.
46043 (CPUID_FMA4): New macro.
46044 (index_YMM_Usable): Rename to...
46045 (index_AVX_Usable): ... this.
46046 (HAS_AVX): Use HAS_ARCH_FEATURE.
46047 (HAS_FMA4): Likewise.
46048 (HAS_YMM_USABLE): Remove.
46049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46050 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46052 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46053 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46054 * sysdeps/x86_64/multiarch/Makefile: Likewise.
46055 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46056 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46058 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
46060 * math/libm-test.c: Support platforms without multiple rounding modes.
46061 * math/bug-nextafter.c: Support platforms without FP exceptions.
46062 * math/bug-nexttoward.c: Likewise.
46063 * math/test-fenv.c: Likewise.
46064 * math/test-misc.c: Likewise.
46065 * stdlib/bug-getcontext.c: Likewise.
46067 2012-05-17 Andreas Jaeger <aj@suse.de>
46069 * manual/examples/search.c (critter_cmp): Change signature to
46071 * manual/string.texi (Collation Functions): Likewise.
46073 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46075 * bits/types.h: Fold copyright years.
46076 * bits/typesizes.h: Likewise.
46077 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46079 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46081 * time/time.h: Likewise.
46083 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
46086 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46087 in instead of returning them. Return void.
46088 (__libc_mallinfo): Accumulate over all arenas.
46089 (__malloc_stats): Adjust for change in int_mallinfo interface.
46091 2012-05-16 Roland McGrath <roland@hack.frob.com>
46094 * configure.in (NM): Add AC_CHECK_TOOL for it.
46095 (libc_extra_cflags): New substituted variable.
46096 Check for -fstack-protector being used implicitly.
46097 * configure: Regenerated.
46098 * config.make.in (config-extra-cflags): New variable,
46099 gets @libc_extra_cflags@.
46100 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46103 * configure.in: Check for _FORTIFY_SOURCE being predefined.
46104 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46105 * configure: Regenerated.
46106 * config.make.in (CPPUNDEFS): New substituted variable.
46107 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46108 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46109 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46111 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46113 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46114 (mq_attr): Use __syscall_slong_t.
46116 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46118 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46119 Check __x86_64__ instead of __WORDSIZE.
46120 (_STAT_VER_LINUX): Likewise.
46121 (stat): Check __x86_64__ instead of __WORDSIZE. Use
46122 __syscall_ulong_t and __syscall_slong_t.
46123 (stat64): Likewise.
46125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46127 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46129 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46131 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46135 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46138 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46139 include <bits/wordsize.h>. Check __x86_64__ instead of
46141 (greg_t): Use "__extension__ long long int" if __x86_64__ is
46143 (mcontext_t): Replace "unsigned long" with "unsigned long long".
46145 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46146 include <bits/wordsize.h>. Check __x86_64__ instead of
46148 (user_regs_struct): Use "__extension__ unsigned long long"
46149 instead of "unsigned long" if __x86_64__ is defined.
46150 (user): Likewise. Pad after pointer field if __ILP32__ is
46153 2012-05-16 Joseph Myers <joseph@codesourcery.com>
46155 * configure.in (makeinfo): Require version 4.5 or later. Allow
46157 * configure: Regenerated.
46158 * manual/install.texi (texinfo): Increase version requirement to
46160 * INSTALL: Regenerated.
46162 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
46166 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46168 * sysdeps/x86_64/x32/ffs.c: New file.
46170 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46172 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46173 defined. Use __syscall_ulong_t.
46174 (shminfo): Use __syscall_ulong_t.
46175 (shm_info): Likewise.
46177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46180 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46182 (msgqnum_t): Use __syscall_ulong_t.
46183 (msglen_t): Likewise.
46184 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
46187 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46188 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46190 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46192 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46193 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46195 * sysvipc/sys/msg.h (msgbuf): Replace long int with
46198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46199 include <bits/wordsize.h>. Check __x86_64__ instead of
46202 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46203 "unsigned long long int" if __x86_64__ is defined.
46204 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46206 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46207 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
46208 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46210 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46212 (GET_PC): Cast to uintptr_t first.
46213 (GET_FRAME): Likewise.
46214 (GET_STACK): Likewise.
46216 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46217 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46219 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46221 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46222 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46223 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46224 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46227 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46233 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46234 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46236 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46241 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46242 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46244 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46246 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
46248 * Makerules (+depfiles): Also collect depfiles from .oS in
46250 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46251 .oS, $(libnldbl-routines)).
46253 * Makerules (native-compile-mkdep-flags): Define.
46254 * sunrpc/Makefile (extra-objs): Add $(addprefix
46255 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46256 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46257 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
46258 calling $(make-target-directory).
46260 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46262 * bits/types.h (__snseconds_t): Removed.
46263 * time/time.h (struct timespec): Replace __snseconds_t with
46265 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46266 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46269 (__SNSECONDS_T_TYPE): Likewise.
46270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46271 (__SNSECONDS_T_TYPE): Likewise.
46272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46273 (__SNSECONDS_T_TYPE): Likewise.
46275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46277 * sysdeps/mach/hurd/bits/typesizes.h
46278 (__SYSCALL_SLONG_TYPE): New macro.
46279 (__SYSCALL_ULONG_TYPE): Likewise.
46281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46283 * bits/types.h (__syscall_slong_t): New type.
46284 (__syscall_ulong_t): Likewise.
46286 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46287 (__SYSCALL_ULONG_TYPE): Likewise.
46288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46289 (__SYSCALL_SLONG_TYPE): Likewise.
46290 (__SYSCALL_ULONG_TYPE): Likewise.
46291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46292 (__SYSCALL_SLONG_TYPE): Likewise.
46293 (__SYSCALL_ULONG_TYPE): Likewise.
46294 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46295 (__SYSCALL_SLONG_TYPE): Likewise.
46296 (__SYSCALL_ULONG_TYPE): Likewise.
46298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46300 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46301 Add sigaltstack-offsets.sym.
46302 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46303 <sigaltstack-offsets.h>.
46304 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
46305 longjmp_msg pointer.
46306 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
46307 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46309 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46311 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46313 * elf/stackguard-macros.h: Remove file.
46314 * sysdeps/generic/stackguard-macros.h: New file.
46315 * sysdeps/i386/stackguard-macros.h: Likewise.
46316 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46317 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46318 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46319 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46320 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46321 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46322 * sysdeps/x86_64/stackguard-macros.h: Likewise.
46323 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46324 <elf/stackguard-macros.h>.
46327 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46328 __aligned__ in attribute.
46329 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46330 (gregset_t): Likewise.
46332 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46334 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46335 * sysdeps/x86_64/64/Implies-after: Here. New file.
46336 * sysdeps/x86_64/x32/Implies-after: New file.
46338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46340 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46341 and access return value for _dl_profile_fixup. Use R10_LP to
46344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46346 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46350 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46351 * sysdeps/x86_64/x32/sysdep.h: New file.
46353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46355 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46356 * sysdeps/x86_64/setjmp.S: Likewise.
46358 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46361 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46362 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46364 remove unused global constant.
46366 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
46368 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46369 include of <not-cancel.h>.
46371 2012-05-15 Roland McGrath <roland@hack.frob.com>
46373 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46375 2012-05-15 Jeff Law <law@redhat.com>
46376 Andreas Jaeger <aj@suse.de>
46379 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46381 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46382 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46383 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46384 code changing __hst_map_handle.map.
46386 2012-05-15 Roland McGrath <roland@hack.frob.com>
46388 * configure.in (sysnames): Look for Implies-before and Implies-after
46390 * configure: Regenerated.
46392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46394 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46395 8-byte data alignment with LP_SIZE alignment.
46397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46399 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46404 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46409 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46410 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46416 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46417 (stackinfo_sub_sp): Likewise.
46419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46431 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46436 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46440 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46441 into R11_LP and load __x86_64_shared_cache_size_half into
46444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
46446 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46449 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46458 powerpc32/power7/fpu/s_logb.c via #include.
46459 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46460 powerpc32/power7/fpu/s_logbf.c via #include.
46461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46462 powerpc32/power7/fpu/s_logbl.c via #include.
46464 2012-05-15 Joseph Myers <joseph@codesourcery.com>
46466 * README.libm: Remove file.
46468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46470 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46471 count for x32. Use R*_LP and omit operand-size suffix.
46473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46475 * shlib-versions: Move x86_64-.*-linux.* entries to ...
46476 * sysdeps/x86_64/64/shlib-versions: Here. New file.
46477 * sysdeps/x86_64/x32/shlib-versions: New file.
46479 2012-05-14 Roland McGrath <roland@hack.frob.com>
46481 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46482 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46483 Use _dl_fatal_printf instead.
46485 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46487 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46488 set if not set by the user. Do not allow for being unset.
46489 * sysdeps/unix/sysv/linux/configure: Regenerated.
46491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46493 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46494 the `q' suffix from lea and replace .quad with ASM_ADDR.
46496 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46499 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
46501 (PTR_DEMANGLE): Likewise.
46503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46505 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46507 (ASM_ADDR): Likewise.
46508 (RAX_LP): Likewise.
46509 (RBP_LP): Likewise.
46510 (RBX_LP): Likewise.
46511 (RCX_LP): Likewise.
46512 (RDI_LP): Likewise.
46513 (RSI_LP): Likewise.
46514 (RSP_LP): Likewise.
46517 (R10_LP): Likewise.
46518 (R10_LP): Likewise.
46519 (R11_LP): Likewise.
46520 (R12_LP): Likewise.
46521 (R13_LP): Likewise.
46522 (R14_LP): Likewise.
46523 (R15_LP): Likewise.
46525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46527 * sysdeps/x86_64/x32/dl-machine.h: New file.
46529 2012-05-14 Andreas Jaeger <aj@suse.de>
46531 * manual/Makefile (subdir): Remove export of subdir.
46532 (all): Remove target.
46533 (.PHONY): Remove all from list.
46534 (mkinstalldirs): Remove.
46535 (.PHONY): Remove installdirs from list.
46536 ($(inst_infodir)/libc.info): Use make-target-directory.
46537 (installdirs): Remove.
46538 (subdir_%): Remove.
46539 (glibc-targets): Remove.
46542 ($(objpfx)stubs ../po/manual.pot): Remove.
46543 ($(objpfx)stamp%): Remove.
46544 (make-target-directory): Remove.
46545 (subdir_install): Remove.
46546 (routines): Remove.
46553 * manual/.gitignore: Remove, it's not needed anymore.
46554 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46556 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46558 (texis): Renamed to $(objpfx)texis.
46559 (texis-path): New, contains path to generated files.
46560 (chapters.%): Use texis-path for complete path, add extra argument
46562 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46563 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46564 (summary,texi, stamp-summary): Use complete path of
46565 files. Generate files in build dir.
46566 (dir-add.texi): Build in build dir.
46567 (libm-err.texi,stamp-libm-err): Likewise.
46568 (version.texi, stamp-version): Likewise.
46569 (.%c.texi): Likewise.
46570 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46571 (mostlyclean): Remove target.
46572 (realclean): Remove target.
46573 (generated): Add new variable with contents from mostlyclean and
46574 realclean, remove entries duplicated in common-mostlyclean, add
46575 stamp-libm-err and stamp-version.
46576 (generated-dirs): Add libc directory.
46577 ($(inst_infodir)/libc.info): Install files from build dir.
46579 * manual/install.texi (Configuring and compiling): Adjust since
46580 the info files are not part of the tar ball anymore.
46582 2012-05-14 Andreas Jaeger <aj@suse.de>
46584 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46587 2012-05-14 Joseph Myers <joseph@codesourcery.com>
46590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46591 to 2.2.0 where earlier.
46592 * sysdeps/unix/sysv/linux/configure: Regenerated.
46593 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46594 Remove conditional code.
46595 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46596 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46597 Remove conditional code.
46598 [!__NR_lchown]: Likewise.
46599 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46600 [__NR_lchown]: Likewise.
46601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46602 comment referencing __ASSUME_LCHOWN_SYSCALL.
46603 * sysdeps/unix/sysv/linux/i386/sigaction.c
46604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46606 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46607 Remove conditional code.
46608 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46609 (__protocol_available): Remove #if 0 code.
46610 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46612 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46613 * sysdeps/unix/sysv/linux/kernel-features.h
46614 (__ASSUME_GETCWD_SYSCALL): Don't define.
46615 (__ASSUME_REALTIME_SIGNALS): Likewise.
46616 (__ASSUME_PREAD_SYSCALL): Likewise.
46617 (__ASSUME_PWRITE_SYSCALL): Likewise.
46618 (__ASSUME_POLL_SYSCALL): Likewise.
46619 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46620 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46622 (__ASSUME_SIOCGIFNAME): Don't define.
46623 (__ASSUME_MSG_NOSIGNAL): Likewise.
46624 (__ASSUME_SENDFILE): Define unconditionally.
46625 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46626 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46628 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46629 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46630 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46631 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46632 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46633 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46634 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46648 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46654 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46655 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46659 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46660 Remove conditional code.
46661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46662 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46663 Remove conditional code.
46664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46665 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46666 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46667 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46668 Remove conditional code.
46669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46670 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46671 Remove conditional code.
46672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46673 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46674 Remove conditional code.
46675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46676 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46677 Remove conditional code.
46678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46679 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46680 Remove conditional code.
46681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46682 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46685 * sysdeps/unix/sysv/linux/sigaction.c
46686 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46687 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46688 * sysdeps/unix/sysv/linux/sigpending.c
46689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46691 * sysdeps/unix/sysv/linux/sigprocmask.c
46692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46694 * sysdeps/unix/sysv/linux/sigsuspend.c
46695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46697 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46698 (__libc_missing_rt_sigs): Remove.
46699 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46700 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46701 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46702 Remove conditional code.
46703 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46704 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46706 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46707 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46708 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46709 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46711 2012-05-14 Andreas Jaeger <aj@suse.de>
46713 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46714 it's not used in glibc.
46715 (__coshm1): Likewise.
46716 (__acosh1p): Likewise.
46719 * manual/string.texi (Copying and Concatenation): Add missing
46720 variable in concat example.
46721 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46723 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46726 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46727 __builtin_clzl with __builtin_clzll.
46729 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46732 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46735 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46737 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46738 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46739 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46740 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46742 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46744 * NEWS: Update ia64 info.
46746 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46748 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46751 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46753 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46754 * sysdeps/unix/syscalls.list (dup3): Likewise.
46755 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46756 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46758 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46760 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46761 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46763 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46765 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46767 (TLS_IE): Use mov/add instead of movq/addq to load thread
46769 (TLS_GD_PREFIX): New.
46772 2012-05-11 David S. Miller <davem@davemloft.net>
46774 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46775 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46776 (_FPU_SETCW): Likewise.
46778 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46780 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46781 is 32-byte aligned.
46783 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46786 * iconvdata/gb18030.c: Update tables.
46787 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46788 characters specially.
46789 (BODY for TO_LOOP): Add encoding of missing ranges.
46791 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46794 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46795 * sysdeps/mach/hurd/dup3.c: Likewise.
46796 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46797 * sysdeps/powerpc/memmove.c:: Likewise.
46799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46801 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46802 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46804 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46806 * elf/elf.h (R_X86_64_RELATIVE64): New.
46807 (R_X86_64_NUM): Updated.
46808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46809 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46810 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46811 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46812 tst-quad1pie tst-quad2pie
46813 (modules-names): Add tst-quadmod1 tst-quadmod2.
46814 ($(objpfx)tst-quad1): New dependency.
46815 ($(objpfx)tst-quad2): Likewise.
46816 ($(objpfx)tst-quad1pie): Likewise.
46817 ($(objpfx)tst-quad2pie): Likewise.
46818 * sysdeps/x86_64/tst-quad1.c: New file.
46819 * sysdeps/x86_64/tst-quad1pie.c: New file.
46820 * sysdeps/x86_64/tst-quad2.c: Likewise.
46821 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46822 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46823 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46824 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46825 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46829 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46830 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46831 * streams/stropts.h (t_scalar_t): Define type.
46833 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46834 (_PATH_PRESERVE): Set to "/var/lib".
46835 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46837 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46840 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46841 if __dir_mkfile succeeded.
46843 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46844 checking for _hurd_dtablesize. Unlock it right after having
46845 finished _hurd_dtable allocation.
46847 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46849 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46850 * sysdeps/mach/hurd/configure: Regenerated.
46851 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46852 special-casing to...
46853 * sysdeps/gnu/configure.in: ... this new file.
46854 * sysdeps/unix/sysv/linux/configure: Regenerated.
46855 * sysdeps/gnu/configure: New generated file.
46857 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46858 for Linux: use nsec instead of usec, as well as:
46859 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46860 members of type struct timespec.
46861 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46863 (struct stat64): Likewise.
46864 (_STATBUF_ST_NSEC): New macro.
46865 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46867 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46868 __strtoul_internal rather than strtoul.
46870 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46872 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46877 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46878 which preserves existing values.
46879 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46881 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46883 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46884 TIMEOUT values. Return EINVAL for NFDS values either negative or
46885 greater than FD_SETSIZE.
46887 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46889 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46890 allocated, call __vm_protect to finish enabling the existing space, and
46891 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46892 allocate the remainder.
46894 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46896 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46897 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46901 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46902 sysdeps/mach/hurd/readlink.c.
46904 * posix/tst-sysconf.c (posix_options): Only use
46905 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46906 _POSIX_SYNCHRONIZED_IO when they are defined
46907 * sysdeps/mach/hurd/bits/posix_opt.h:
46908 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46909 (_XOPEN_REALTIME): Undefine macro.
46910 (_XOPEN_REALTIME_THREADS): Undefine macro.
46911 (_XOPEN_SHM): Undefine macro.
46912 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46914 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46916 (_POSIX_ASYNC_IO): Undefine macro.
46917 (_POSIX_PRIORITIZED_IO): Undefine macro.
46918 (_POSIX_SPIN_LOCKS): Define macro to -1.
46920 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46921 SA_NODEFER, SA_RESETHAND.
46922 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46923 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46926 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46928 * elf/Makefile (pldd-modules): Define unconditionally.
46930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46932 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46936 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46937 Return ENOENT when name is empty.
46938 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46942 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46944 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46946 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46948 Fix mlock in all cases except non-readable pages.
46949 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46950 instead of VM_PROT_ALL as parameter to __vm_wire function.
46952 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46953 (__mkdir): When path is `/', just fail with EEXIST.
46954 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46958 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46959 <sys/uio.h> (for writev).
46960 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46961 and <sys/param.h> (for MIN).
46963 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46965 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46966 REQUESTED_TIME. Properly set the remaining time and return EINTR
46969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46971 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46972 Depend on against $(link-rpcuserlibs).
46974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46976 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46977 (__libc_stack_end): Do not use attribute_relro.
46978 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46979 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46980 to libthread-provided value.
46981 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46984 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46987 * bits/libc-lock.h (__libc_once_get): New macro.
46988 * sysdeps/mach/bits/libc-lock.h: Likewise.
46989 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46991 instead of using implementation details.
46993 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46994 * libio/freopen.c: Likewise.
46995 * libio/freopen64.c: Likewise.
46996 * misc/syslog.c: Likewise.
46997 * nscd/connections.c: Likewise.
46998 * nscd/netgroupcache.c: Likewise.
46999 * sysdeps/posix/getcwd.c: Likewise.
47001 2012-05-10 Roland McGrath <roland@hack.frob.com>
47003 * math/w_ilogbf.c: Add #include <limits.h>.
47005 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47007 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47008 path instead of returning without unlocking.
47010 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47011 immediate-write ioctls.
47012 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47016 * sysdeps/mach/hurd/i386/init-first.c (init): Use
47017 __builtin_frame_address instead of making assumptions about the
47018 location of the return address relative to DATA. Force early load of
47019 the return address.
47020 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47021 __builtin_frame_address.
47024 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47025 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
47026 implement dup3 and do some further code clean-ups.
47027 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47028 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47030 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47032 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47034 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47035 HURD_CRITICAL_END around holding _hurd_dtable_lock.
47036 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47037 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47038 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47041 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47042 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
47043 when handler == SIG_ERR, not when handler != SIG_ERR.
47045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47047 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47048 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47051 accept4 for GNU Hurd.
47052 * include/sys/socket.h (__libc_accept4): New prototype.
47053 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
47054 to implement __libc_accept4.
47055 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47057 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47059 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47060 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47061 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47062 signal-defines.sym.
47064 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47066 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47068 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
47070 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47071 assertion on O_CLOEXEC flag.
47072 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47073 * hurd/intern-fd.c: Likewise.
47074 * hurd/port2fd.c: Likewise.
47076 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
47079 * bits/in.h (IPV6_PKTINFO): Define new macro.
47080 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47082 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47087 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47089 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47090 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47091 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47092 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47093 * math/libm-test.inc (logb_test) : Additional logb tests.
47095 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
47096 Andreas Jaeger <aj@suse.de>
47098 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47099 * configure: Regenerated.
47100 * config.h.in (LINK_OBSOLETE_RPC): New macro.
47101 * config.make.in (link-obsolete-rpc): New substituted variable.
47102 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47103 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47104 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47105 (shared-only-routines): Don't set it under [link-obsolete-rpc],
47106 so that libc.a contains the symbols.
47107 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47108 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47109 * sunrpc/auth_none.c: Likewise.
47110 * sunrpc/auth_unix.c: Likewise.
47111 * sunrpc/authdes_prot.c: Likewise.
47112 * sunrpc/authuxprot.c: Likewise.
47113 * sunrpc/clnt_gen.c: Likewise.
47114 * sunrpc/clnt_perr.c: Likewise.
47115 * sunrpc/clnt_raw.c: Likewise.
47116 * sunrpc/clnt_simp.c: Likewise.
47117 * sunrpc/clnt_tcp.c: Likewise.
47118 * sunrpc/clnt_udp.c: Likewise.
47119 * sunrpc/clnt_unix.c: Likewise.
47120 * sunrpc/des_crypt.c: Likewise.
47121 * sunrpc/des_soft.c: Likewise.
47122 * sunrpc/get_myaddr.c: Likewise.
47123 * sunrpc/key_call.c: Likewise.
47124 * sunrpc/key_prot.c: Likewise.
47125 * sunrpc/netname.c: Likewise.
47126 * sunrpc/pm_getmaps.c: Likewise.
47127 * sunrpc/pm_getport.c: Likewise.
47128 * sunrpc/pmap_clnt.c: Likewise.
47129 * sunrpc/pmap_prot.c: Likewise.
47130 * sunrpc/pmap_prot2.c: Likewise.
47131 * sunrpc/pmap_rmt.c: Likewise.
47132 * sunrpc/publickey.c: Likewise.
47133 * sunrpc/rpc_cmsg.c: Likewise.
47134 * sunrpc/rpc_common.c: Likewise.
47135 * sunrpc/rpc_dtable.c: Likewise.
47136 * sunrpc/rpc_prot.c: Likewise.
47137 * sunrpc/rpc_thread.c: Likewise.
47138 * sunrpc/rtime.c: Likewise.
47139 * sunrpc/svc.c: Likewise.
47140 * sunrpc/svc_auth.c: Likewise.
47141 * sunrpc/svc_raw.c: Likewise.
47142 * sunrpc/svc_run.c: Likewise.
47143 * sunrpc/svc_tcp.c: Likewise.
47144 * sunrpc/svc_udp.c: Likewise.
47145 * sunrpc/svc_unix.c: Likewise.
47146 * sunrpc/svcauth_des.c: Likewise.
47147 * sunrpc/xcrypt.c: Likewise.
47148 * sunrpc/xdr.c: Likewise.
47149 * sunrpc/xdr_array.c: Likewise.
47150 * sunrpc/xdr_float.c: Likewise.
47151 * sunrpc/xdr_intXX_t.c: Likewise.
47152 * sunrpc/xdr_mem.c: Likewise.
47153 * sunrpc/xdr_rec.c: Likewise.
47154 * sunrpc/xdr_ref.c: Likewise.
47155 * sunrpc/xdr_sizeof.c: Likewise.
47156 * sunrpc/xdr_stdio.c: Likewise.
47158 2012-05-10 Roland McGrath <roland@hack.frob.com>
47160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47161 change. Update copyright years.
47163 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47165 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47167 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
47168 Joseph Myers <joseph@codesourcery.com>
47169 Paul Pluzhnikov <ppluzhnikov@google.com>
47172 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47174 [cross-compiling] (extra-libs): Likewise.
47175 [cross-compiling] (extra-libs-others): Likewise.
47176 [cross-compiling] (librpcsvc-routines): Likewise.
47177 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47178 [cross-compiling] (omit-deps): Likewise.
47179 (sunrpc-CPPFLAGS): New variable.
47180 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47181 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47182 (cross-rpcgen-objs): New variable.
47183 (extra-objs): Append $(cross-rpcgen-objs).
47184 ($(cross-rpcgen-objs)): New rule.
47185 ($(objpfx)cross-rpcgen): Likewise.
47186 (rpcgen-cmd): Define to use $(built-program-file). Expand
47188 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47189 ($(objpfx)x%.stmp): Likewise.
47190 * sunrpc/proto.h [IS_IN_build] (_): Define.
47191 [IS_IN_build] (_libc_intl_domainname): Likewise.
47193 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
47195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47196 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47197 and R_X86_64_TPOFF64.
47199 2012-05-10 Joseph Myers <joseph@codesourcery.com>
47201 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47202 sysdeps/unix/sysv/syscalls.list.
47205 * sysdeps/unix/sysv/syscalls.list: Remove file.
47207 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
47210 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47211 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47212 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47213 (__LC_IDENTIFICATION): Make these macros useful in #if
47214 expressions, as required by C99.
47216 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
47218 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47219 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
47222 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
47224 * stdlib/longlong.h: Updated from GCC.
47226 2012-05-09 Andreas Jaeger <aj@suse.de>
47228 * nscd/nscd.c (run_modes): Make named enum, reorder so that
47229 default is first entry.
47230 (run_mode): Set type.
47231 (main): Remove informal message about syslog.
47232 (options): Fix typo.
47235 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47238 (llrintf): Likewise.
47239 (llrint): Likewise.
47242 (nearbyint): Likewise.
47243 (nearbyintf): Likewise.
47245 2012-05-09 Andreas Jaeger <aj@suse.de>
47246 Pedro Alves <palves@redhat.com>
47248 * nscd/nscd.c (run_mode): Use enum.
47249 (main): Cleanup coding style issue.
47251 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
47252 Andreas Jaeger <aj@suse.de>
47254 * nscd/nscd.c (go_background): Replaced with...
47255 (run_mode): ... this.
47256 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47257 (options): Add -F --foreground.
47258 (main): Implement it.
47259 (parse_opt): Parse it.
47261 2012-05-09 Andreas Jaeger <aj@suse.de>
47264 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47265 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47266 -Wconversion warning.
47267 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47270 2012-05-09 Joseph Myers <joseph@codesourcery.com>
47272 * conform/data/locale.h-data (NULL): Use macro-constant. Require
47274 (LC_ALL): Use macro-int-constant.
47275 (LC_COLLATE): Likewise.
47276 (LC_CTYPE): Likewise.
47277 (LC_MESSAGES): Likewise.
47278 (LC_MONETARY): Likewise.
47279 (LC_NUMERIC): Likewise.
47280 (LC_TIME): Likewise.
47281 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47282 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47284 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47286 [C99-based standards] (float_t): Expect type.
47287 [C99-based standards] (double_t): Expect type.
47288 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
47290 [C99-based standards] (HUGE_VALL): Likewise.
47291 [C99-based standards] (INFINITY): Likewise.
47292 [C99-based standards] (NAN): Likewise.
47293 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47294 [C99-based standards] (FP_NAN): Likewise.
47295 [C99-based standards] (FP_NORMAL): Likewise.
47296 [C99-based standards] (FP_SUBNORMAL): Likewise.
47297 [C99-based standards] (FP_ZERO): Likewise.
47298 [C99-based standards] (FP_FAST_FMA): Use
47299 optional-macro-int-constant. Specify type. Require == 1.
47300 [C99-based standards] (FP_FAST_FMAF): Likewise.
47301 [C99-based standards] (FP_FAST_FMAL): Likewise.
47302 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47303 [C99-based standards] (FP_ILOGBNAN): Likewise.
47304 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47306 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47307 [C99-based standards] (math_errhandling): Specify type.
47308 [ISO99 || ISO11] (signgam): Do not allow.
47309 [non-C99-based standards] (copysignf): Do not allow.
47310 [non-C99-based standards] (exp2f): Likewise.
47311 [non-C99-based standards] (log2f): Likewise.
47312 [non-C99-based standards] (modff): Allow.
47313 [non-C99-based standards] (erff): Do not allow.
47314 [non-C99-based standards] (erfcf): Likewise.
47315 [non-C99-based standards] (gammaf): Likewise.
47316 [non-C99-based standards] (hypotf): Likewise.
47317 [non-C99-based standards] (j0f): Likewise.
47318 [non-C99-based standards] (j1f): Likewise.
47319 [non-C99-based standards] (jnf): Likewise.
47320 [non-C99-based standards] (lgammaf): Likewise.
47321 [non-C99-based standards] (tgammaf): Likewise.
47322 [non-C99-based standards] (y0f): Likewise.
47323 [non-C99-based standards] (y1f): Likewise.
47324 [non-C99-based standards] (ynf): Likewise.
47325 [non-C99-based standards] (isnanf): Likewise.
47326 [non-C99-based standards] (acoshf): Likewise.
47327 [non-C99-based standards] (asinhf): Likewise.
47328 [non-C99-based standards] (atanhf): Likewise.
47329 [non-C99-based standards] (cbrtf): Likewise.
47330 [non-C99-based standards] (expm1f): Likewise.
47331 [non-C99-based standards] (ilogbf): Likewise.
47332 [non-C99-based standards] (log1pf): Likewise.
47333 [non-C99-based standards] (logbf): Likewise.
47334 [non-C99-based standards] (nextafterf): Likewise.
47335 [non-C99-based standards] (remainderf): Likewise.
47336 [non-C99-based standards] (rintf): Likewise.
47337 [non-C99-based standards] (scalbf): Likewise.
47338 [non-C99-based standards] (copysignl): Likewise.
47339 [non-C99-based standards] (exp2l): Likewise.
47340 [non-C99-based standards] (log2l): Likewise.
47341 [non-C99-based standards] (modfl): Allow.
47342 [non-C99-based standards] (erfl): Do not allow.
47343 [non-C99-based standards] (erfcl): Likewise.
47344 [non-C99-based standards] (gammal): Likewise.
47345 [non-C99-based standards] (hypotl): Likewise.
47346 [non-C99-based standards] (j0l): Likewise.
47347 [non-C99-based standards] (j1l): Likewise.
47348 [non-C99-based standards] (jnl): Likewise.
47349 [non-C99-based standards] (lgammal): Likewise.
47350 [non-C99-based standards] (tgammal): Likewise.
47351 [non-C99-based standards] (y0l): Likewise.
47352 [non-C99-based standards] (y1l): Likewise.
47353 [non-C99-based standards] (ynl): Likewise.
47354 [non-C99-based standards] (isnanl): Likewise.
47355 [non-C99-based standards] (acoshl): Likewise.
47356 [non-C99-based standards] (asinhl): Likewise.
47357 [non-C99-based standards] (atanhl): Likewise.
47358 [non-C99-based standards] (cbrtl): Likewise.
47359 [non-C99-based standards] (expm1l): Likewise.
47360 [non-C99-based standards] (ilogbl): Likewise.
47361 [non-C99-based standards] (log1pl): Likewise.
47362 [non-C99-based standards] (logbl): Likewise.
47363 [non-C99-based standards] (nextafterl): Likewise.
47364 [non-C99-based standards] (remainderl): Likewise.
47365 [non-C99-based standards] (rintl): Likewise.
47366 [non-C99-based standards] (scalbl): Likewise.
47367 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47368 [non-C99-based standards] (FP_*): Do not allow.
47369 [C99-based standards] (FP_*): Change to
47370 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47371 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47373 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47374 (SIG_ERR): Likewise.
47375 [X/Open-based standards] (SIG_HOLD): Likewise.
47376 (SIG_IGN): Likewise.
47377 (SIGABRT): Use macro-int-constant. Specify type. Require
47379 (SIGFPE): Likewise.
47380 (SIGILL): Likewise.
47381 (SIGINT): Likewise.
47382 (SIGSEGV): Likewise.
47383 (SIGTER): Likewise.
47384 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47385 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47386 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47387 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47388 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47389 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47390 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47391 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47392 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47393 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47394 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47395 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47396 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47397 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47398 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47399 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47400 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47401 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47402 [X/Open-based standards] (SIGTRAP): Likewise.
47403 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47404 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47405 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47406 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47407 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47410 2012-05-08 Ian Wienand <ianw@vmware.com>
47413 * time/tzset.c (__tzset_parse_tz): Update default rules for
47414 daylight time changes in the Energy Policy Act of 2005.
47416 2012-05-09 Andreas Jaeger <aj@suse.de>
47419 * elf/ldconfig.c (parse_conf): Change string to make clear that
47420 ldconfig only issued a warning if ld.so.conf does not exist.
47422 2012-05-08 David S. Miller <davem@davemloft.net>
47424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47425 movxtod instead of popping the value on the stack.
47427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47429 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
47431 * config.h.in: Add HAVE_ARM_PCS_VFP.
47433 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
47436 * include/features.h: Warn if user requests __FORTIFY_SOURCE
47437 checking but the checks are disabled for any reason.
47439 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
47441 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47442 and ELF64_R_TYPE with ELFW(R_TYPE).
47444 2012-05-08 Joseph Myers <joseph@codesourcery.com>
47446 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47447 (ulimit): Likewise.
47449 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47450 (settimeofday): Likewise.
47452 2012-05-08 Mike Frysinger <vapier@gentoo.org>
47454 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
47455 a struct th_u2 inside the union, and move tu_block/tu_code into
47456 a new th_u3 union of tu_block/tu_code inside of that. Move
47457 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
47458 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
47459 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47460 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47461 (th_stuff): Change to th_u1.tu_stuff.
47463 (th_msg): Change to th_u1.th_u2.tu_data.
47465 2012-05-07 David S. Miller <davem@davemloft.net>
47467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47470 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47471 (SETUP_PIC_REG): Use it.
47472 (SETUP_PIC_REG_LEAF): Use it.
47474 2012-05-07 Joseph Myers <joseph@codesourcery.com>
47478 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47480 (EXPL_FINITE): Likewise.
47481 (FLDLOG): Likewise.
47482 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47483 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47487 (EXPL_FINITE): Likewise.
47488 (FLDLOG): Likewise.
47489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47490 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47492 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
47493 test of -max_value argument for long double.
47494 * sysdeps/i386/fpu/libm-test-ulps: Update.
47495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47497 2012-05-06 David S. Miller <davem@davemloft.net>
47499 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47500 quad soft-float symbols whose references which are compiler
47502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47504 2012-05-06 Joseph Myers <joseph@codesourcery.com>
47508 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47510 (EXPL_FINITE): Likewise.
47511 (FLDLOG): Likewise.
47514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47515 Adjust comments for base varying.
47516 (__expl_finite): Change alias to EXPL_FINITE.
47517 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47519 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47520 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47522 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47525 (EXPL_FINITE): Likewise.
47526 (FLDLOG): Likewise.
47529 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
47530 Adjust comments for base varying.
47531 (__expl_finite): Change alias to EXPL_FINITE.
47532 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
47534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47537 * math/libm-test.inc (check_float_internal): Correct ulp
47538 calculation for subnormal expected results.
47540 2012-05-06 Andreas Jaeger <aj@suse.de>
47542 * Makeconfig (+math-flags): New, set to -frounding-math.
47543 (+cflags): Add +math-flags so that all of glibc gets compiled with
47546 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47548 2012-05-05 Joseph Myers <joseph@codesourcery.com>
47550 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47556 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47557 (__ieee754_expl): Allow for and saturate large arguments.
47558 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47559 (u_threshold): Likewise.
47560 (__exp): Call __ieee754_exp before checking for overflow and
47562 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47563 (u_threshold): Likewise.
47564 (__expf): Call __ieee754_expf before checking for overflow and
47566 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47567 (u_threshold): Likewise.
47568 (__expl): Call __ieee754_expl before checking for overflow and
47570 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47571 (__ieee754_expl): Allow for and saturate large arguments.
47572 * math/libm-test.inc (exp_test): Add another test. Do not allow
47573 missing overflow exception on overflow.
47574 (expm1_test): Do not allow missing overflow exception on overflow.
47576 * sysdeps/i386/fpu/e_expl.c: Move to ...
47577 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
47578 rather than using inline asm.
47579 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47580 * sysdeps/x86_64/fpu/e_expl.S: Copy from
47581 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47583 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47586 (signal): Likewise.
47590 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47592 * sysdeps/unix/syscalls.list (adjtime): Add entry from
47593 sysdeps/unix/common/syscalls.list.
47594 (fchmod): Likewise.
47595 (fchown): Likewise.
47596 (ftruncate): Likewise.
47597 (getrusage): Likewise.
47598 (gettimeofday): Likewise.
47599 (setpgid): Likewise.
47600 (setregid): Likewise.
47601 (setreuid): Likewise.
47602 (sigaction): Likewise.
47603 (truncate): Likewise.
47604 (vhangup): Likewise.
47605 * sysdeps/unix/common/syscalls.list: Remove file.
47606 * sysdeps/unix/bsd/Implies: Don't include unix/common.
47607 * sysdeps/unix/sysv/linux/Implies: Likewise.
47609 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47611 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47613 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47617 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47620 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47623 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47626 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47629 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47632 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47639 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47643 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47646 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47650 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47654 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47656 * sysdeps/unix/common/bits/dirent.h: Remove file.
47657 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47659 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47660 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47661 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47662 * sysdeps/unix/bsd/isatty.c: Likewise.
47663 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47664 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47665 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47667 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47670 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47671 long double comparison inaccuracies.
47672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47675 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47677 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47678 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47680 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47684 nonzero digits before rounding a hex value.
47685 * stdlib/tst-strtod.c (tests): Add another test.
47687 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47689 * sysdeps/s390/fpu/libm-test-ulps: Update.
47691 2012-05-03 Andreas Jaeger <aj@suse.de>
47693 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47694 does not get optimized out.
47695 (malloc_opt_barrier): New.
47697 2012-05-03 Andreas Jaeger <aj@suse.de>
47698 Roland McGrath <roland@hack.frob.com>
47700 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47701 intermediate file deletion.
47702 (generated): Add .symlist files.
47704 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47707 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47708 Redirect under this condition.
47709 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47710 [__USE_GNU] (__dprintf_chk): Not under this condition.
47711 [__USE_GNU] (__vdprintf_chk): Likewise.
47712 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47713 under this condition.
47714 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47715 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47716 [__USE_XOPEN2K8] (vdprintf): Likewise.
47717 [__USE_GNU] (__dprintf_chk): Not under this condition.
47718 [__USE_GNU] (__vdprintf_chk): Likewise.
47719 [__USE_GNU] (dprintf): Likewise.
47720 [__USE_GNU] (vdprintf): Likewise.
47722 2012-05-03 Roland McGrath <roland@hack.frob.com>
47724 * elf/Makefile (common-generated): Set this instead of generated for
47725 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47726 $(all-built-dso)-derived lists.
47728 2012-05-03 Andreas Jaeger <aj@suse.de>
47730 * sysdeps/i386/fpu/libm-test-ulps: Update.
47733 * FAQ.in: Likewise.
47734 * scripts/gen-FAQ.pl: Likewise.
47735 * manual/install.texi (Installation): Point to online location of
47737 * Makefile (files-for-dist): Remove FAQ.
47740 2012-05-02 Allan McRae <allan@archlinux.org>
47742 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47743 (LDFLAGS-reldepmod5.so): Likewise.
47744 (LDFLAGS-reldep6mod1.so): Likewise.
47745 (LDFLAGS-reldep6mod4.so): Likewise.
47746 (LDFLAGS-reldep8mod3.so): Likewise.
47747 (LDFLAGS-unload4mod1.so): Likewise.
47748 (LDFLAGS-unload4mod2.so): Likewise.
47749 (LDFLAGS-tst-initorder): Likewise.
47750 (LDFLAGS-tst-initordera2.so): Likewise.
47751 (LDFLAGS-tst-initordera3.so): Likewise.
47752 (LDFLAGS-tst-initordera4.so): Likewise.
47753 (LDFLAGS-tst-initorderb2.so): Likewise.
47754 (LDFLAGS-noload): Likewise.
47755 (LDFLAGS-next): Likewise.
47756 (LDFLAGS-order2mod1.so): Likewise.
47757 (LDFLAGS-order2mod2.so): Likewise.
47758 (LDFLAGS-tst-initorder2): Likewise.
47759 (LDFLAGS-tst-initorder2a.so): Likewise.
47760 (LDFLAGS-tst-initorder2b.so): Likewise.
47761 (LDFLAGS-tst-initorder2c.so): Likewise.
47762 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47764 2012-05-02 David S. Miller <davem@davemloft.net>
47766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47768 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47771 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47773 2012-05-02 Andreas Jaeger <aj@suse.de>
47775 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47776 since we manipulate rounding mode.
47777 (CPPFLAGS-test-idouble.c): Likewise.
47778 (CPPFLAGS-test-ifloat.c): Likewise.
47779 (CFLAGS-test-ldouble.c): Likewise.
47780 (CFLAGS-test-double.c): Likewise.
47781 (CFLAGS-test-float.c): Likewise.
47782 (CFLAGS-test-misc.c): Likewise.
47783 (CFLAGS-test-test-fenv.c): Likewise.
47785 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47790 comparisons to determine direction to adjust input.
47792 2012-05-01 Roland McGrath <roland@hack.frob.com>
47794 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47795 output to the target.
47797 * scripts/localplt.awk: New file.
47798 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47799 (check-localplt-CFLAGS): Variable removed.
47800 ($(all-built-dso:=.jmprel)): New static pattern rule.
47801 (generated): Add those targets.
47802 (localplt-built-dso): New variable.
47803 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47805 * elf/check-localplt.c: File removed.
47807 * scripts/check-execstack.awk: New file.
47808 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47809 (check-execstack-CFLAGS): Variable removed.
47810 ($(objpfx)check-execstack.h): Target removed.
47811 ($(objpfx)execstack-default): New target.
47812 (generated): Add that instead of check-execstack.h.
47813 ($(all-built-dso:=.phdr)): New static pattern rule.
47814 (generated): Add those targets.
47815 * elf/check-execstack.c: File removed.
47817 * scripts/check-textrel.awk: New file.
47818 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47819 (check-textrel-CFLAGS): Variable removed.
47820 (all-built-dso): Use := to define.o
47821 ($(all-built-dso:=.dyn)): New static pattern rule.
47822 (generated): Add those targets.
47823 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47824 * config.make.in (READELF): New substituted variable.
47825 * elf/check-textrel.c: File removed.
47827 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47829 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47831 * conform/data/ctype.h-data [C99-based standards] (isblank):
47833 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47834 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47836 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47837 Specify type. Require positive value.
47838 (EILSEQ): Likewise.
47839 (ERANGE): Likewise.
47840 [ISO || POSIX] (EILSEQ): Do not expect.
47841 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47842 Specify type. Require positive value.
47843 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47844 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47845 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47846 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47847 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47848 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47849 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47850 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47851 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47852 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47853 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47854 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47855 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47856 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47857 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47858 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47859 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47860 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47861 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47862 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47863 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47864 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47865 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47866 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47867 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47868 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47869 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47870 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47871 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47872 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47873 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47874 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47875 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47876 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47877 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47878 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47879 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47880 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47881 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47882 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47883 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47884 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47885 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47886 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47887 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47888 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47889 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47890 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47891 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47892 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47893 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47894 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47895 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47896 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47897 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47898 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47899 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47900 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47901 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47902 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47903 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47904 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47905 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47906 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47907 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47908 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47909 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47910 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47911 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47912 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47913 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47914 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47915 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47916 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47917 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47918 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47919 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47921 (FLT_ROUNDS): Expect as macro, not constant.
47922 (FLT_MANT_DIG): Use macro-int-constant.
47923 (DBL_MANT_DIG): Likewise.
47924 (LDBL_MANT_DIG): Likewise.
47925 (FLT_DIG): Likewise.
47926 (DBL_DIG): Likewise.
47927 (LDBL_DIG): Likewise.
47928 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47929 (DBL_MIN_EXP): Likewise.
47930 (LDBL_MIN_EXP): Likewise.
47931 (FLT_MAX_EXP): Use macro-int-constant.
47932 (DBL_MAX_EXP): Likewise.
47933 (LDBL_MAX_EXP): Likewise.
47934 (FLT_MAX_10_EXP): Likewise.
47935 (DBL_MAX_10_EXP): Likewise.
47936 (LDBL_MAX_10_EXP): Likewise.
47937 (FLT_MAX): Use macro-constant.
47938 (DBL_MAX): Likewise.
47939 (LDBL_MAX): Likewise.
47940 (FLT_EPSILON): Use macro-constant. Give upper bound.
47941 (DBL_EPSILON): Likewise.
47942 (LDBL_EPSILON): Likewise.
47943 (FLT_MIN): Likewise.
47944 (DBL_MIN): Likewise.
47945 (LDBL_MIN): Likewise.
47946 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47947 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47948 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47949 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47950 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47951 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47952 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47953 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47954 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47955 [ISO11] (FLT_TRUE_MIN): Likewise.
47956 [ISO11] (LDBL_TRUE_MIN): Likewise.
47957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47958 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47959 (SCHAR_MIN): Use macro-int-constant. Specify type.
47960 (SCHAR_MAX): Likewise.
47961 (UCHAR_MAX): Likewise.
47962 (CHAR_MIN): Likewise.
47963 (CHAR_MAX): Likewise.
47964 (MB_LEN_MAX): Use macro-int-constant.
47965 (SHRT_MIN): Use macro-int-constant. Specify type.
47966 (SHRT_MAX): Likewise.
47967 (USHRT_MAX): Likewise.
47968 (INT_MAX): Likewise.
47969 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47971 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47973 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47975 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47976 bound negative. Suffix upper bound with "L".
47977 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47979 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47981 [C99-based standards] (LLONG_MAX): Likewise.
47982 [C99-based standards] (ULLONG_MAX): Likewise.
47983 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47985 [ISO11] (max_align_t): Require type.
47986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47988 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47989 from $CFLAGS, without defining away __attribute__ calls.
47990 (checknamespace): Use $CFLAGS_namespace.
47992 * conform/conformtest.pl (@keywords): Only include C99 keywords
47993 for standards based on C99 or C11.
47995 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47997 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48000 * conform/conformtest.pl: Handle "macro-int-constant" and test for
48001 usability of symbols in #if.
48003 * conform/conformtest.pl: If macro or constant types start
48004 "promoted:", expect the symbol to be of the following type
48005 promoted by the integer promotions.
48007 * conform/conformtest.pl: Parse all "constant" and "macro" lines
48008 in one place. Also handle "macro-constant".
48010 * conform/conformtest.pl: Only accept expected macro values with
48011 "==". Parse all "macro" lines in one place.
48012 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48014 * conform/conformtest.pl: Handle braced types on "constant" lines
48015 instead of handling "typed-constant".
48016 * conform/data/signal.h-data: Use "constant" instead of
48019 * conform/conformtest.pl: Handle "optional-" at start of lines in
48020 one place rather than duplicating several cases. Handle each
48021 format of "macro" line with initial "optional-".
48023 * conform/conformtest.pl: Only accept expected constant or
48024 optional-constant values with "==". Parse all "constant" lines in
48025 one place. Parse all "optional-constant" lines in one place.
48026 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48027 * conform/data/fmtmsg.h-data: Likewise.
48028 * conform/data/netinet/in.h-data: Likewise.
48029 * conform/data/tar.h-data: Likewise.
48030 * conform/data/limits.h-data: Use "==" form on "constant" and
48031 "optional-constant" lines.
48033 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48034 Use -std=c99 for XOPEN2K.
48035 (@knownproblems): Remove.
48036 (newtoken): Don't check %isknown.
48038 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48039 Do not expect macro.
48040 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48041 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48042 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48043 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48044 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48045 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48046 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48047 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48048 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48049 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48050 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48051 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48052 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48053 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48054 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48055 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48056 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48057 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48058 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48059 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48060 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48062 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48063 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48064 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48065 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48066 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48067 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48068 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48069 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48070 [XPG3] (acosh): Likewise.
48071 [XPG3] (asinh): Likewise.
48072 [XPG3] (atanh): Likewise.
48073 [XPG3] (cbrt): Likewise.
48074 [XPG3] (expm1): Likewise.
48075 [XPG3] (ilogb): Likewise.
48076 [XPG3] (log1p): Likewise.
48077 [XPG3] (logb): Likewise.
48078 [XPG3] (nextafter): Likewise.
48079 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48080 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48081 [XPG3] (remainder): Likewise.
48082 [XPG3] (rint): Likewise.
48083 [XPG3 || XPG4 || UNIX98] (round): Likewise.
48084 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48085 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48086 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48087 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48088 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48089 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48090 [UNIX98 || XOPEN2K] (scalb): Expect.
48091 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48092 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48093 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48094 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48095 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48096 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48097 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48098 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48099 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48100 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48101 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48102 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48103 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48104 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48105 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48106 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48107 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48108 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48109 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48110 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48111 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48112 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48113 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48114 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48115 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48116 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48117 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48118 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48119 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48120 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48121 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48122 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48123 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48124 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48125 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48126 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48127 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48128 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48129 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48130 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48131 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48132 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48133 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48134 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48135 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48136 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48137 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48138 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48139 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48140 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48141 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48142 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48143 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48144 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48145 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48146 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48147 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48148 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48149 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48150 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48151 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48152 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48153 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48154 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48155 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48156 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48157 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48158 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48159 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48160 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48161 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48162 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48163 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48164 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48165 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48166 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48167 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48168 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48169 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48170 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48171 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48172 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48173 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48174 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48175 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48176 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48177 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48178 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48179 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48180 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48181 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48182 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48183 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48184 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48185 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48186 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48187 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48188 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48189 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48190 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48191 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48192 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48193 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48194 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48195 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48196 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48197 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48198 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48199 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48200 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48201 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48202 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48203 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48204 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48205 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48206 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48207 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48208 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48209 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48210 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48211 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48212 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48213 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48214 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48215 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48216 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48217 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48218 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48219 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48220 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48221 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48222 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48223 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48224 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48225 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48226 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48227 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48229 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48230 _XOPEN_SOURCE_EXTENDED for XPG4.
48232 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48234 * Makeconfig (localtime): Remove variable.
48235 (inst_localtime-file): Likewise.
48237 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48258 2012-05-01 Joseph Myers <joseph@codesourcery.com>
48262 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48263 comparisons to determine direction to adjust input.
48264 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48265 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48266 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48268 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48272 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48273 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48275 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48277 * math/libm-test.inc (nexttoward_test): Add more tests.
48279 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
48282 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48283 in version GLIBC_2.1, not GLIBC_2.0.
48284 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48287 2012-04-30 Joseph Myers <joseph@codesourcery.com>
48290 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48292 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48293 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48294 * math/libm-test.inc (acos_test): Add more tests.
48295 (asin_test): Likewise.
48296 * sysdeps/i386/fpu/libm-test-ulps: Update.
48297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48302 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48303 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48304 * math/libm-test.inc (acos_test_tonearest): New function.
48305 (acos_test_towardzero): Likewise.
48306 (acos_test_downward): Likewise.
48307 (acos_test_upward): Likewise.
48308 (asin_test_tonearest): Likewise.
48309 (asin_test_towardzero): Likewise.
48310 (asin_test_downward): Likewise.
48311 (asin_test_upward): Likewise.
48312 (main): Call the new functions.
48313 * sysdeps/i386/fpu/libm-test-ulps: Update.
48314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48318 * math/e_exp10.c: Include <float.h>.
48319 (__ieee754_exp10): Handle underflow here rather than multiplying
48320 large negative argument by M_LN10.
48321 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48323 * math/e_exp10l.c: Include <float.h>.
48324 (__ieee754_exp10l): Handle underflow here rather than multiplying
48325 large negative argument by M_LN10l.
48326 * math/libm-test.inc (exp10_test): Add another test. Do not allow
48327 spurious overflow exception on underflow.
48329 2012-04-29 Marek Polacek <polacek@redhat.com>
48331 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48332 (__fortify_function): New macro.
48333 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48334 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48335 __extern_always_inline.
48336 * libio/bits/stdio2.h: Likewise.
48337 * libio/bits/stdio.h: Likewise.
48338 * string/string.h: Likewise.
48339 * string/bits/string3.h: Likewise.
48340 * include/stdio.h: Likewise.
48341 * stdlib/bits/stdlib.h: Likewise.
48342 * stdlib/stdlib.h: Likewise.
48343 * rt/bits/mqueue2.h: Likewise.
48344 * rt/mqueue.h: Likewise.
48345 * posix/bits/unistd.h: Likewise.
48346 * posix/unistd.h: Likewise.
48347 * io/bits/poll2.h: Likewise.
48348 * io/bits/fcntl2.h: Likewise.
48349 * io/fcntl.h: Likewise.
48350 * io/sys/poll.h: Likewise.
48351 * misc/bits/syslog.h: Likewise.
48352 * misc/bits/syslog-ldbl.h: Likewise.
48353 * misc/sys/syslog.h: Likewise.
48354 * socket/bits/socket2.h: Likewise.
48355 * socket/sys/socket.h: Likewise.
48356 * debug/tst-chk1.c: Likewise.
48357 * wcsmbs/bits/wchar2.h: Likewise.
48358 * wcsmbs/bits/wchar-ldbl.h: Likewise.
48359 * wcsmbs/wchar.h: Likewise.
48361 2012-04-29 Andreas Jaeger <aj@suse.de>
48363 * Makerules (tests): Remove enable-check-abi protection.
48364 (check-abi-warn): Remove.
48365 (check-abi-%): Remove check-abi-warn usage.
48367 * configure.in: Remove check-abi configure option.
48368 * configure: Regenerated.
48369 * config.make.in (enable-check-abi): Remove.
48371 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
48374 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48375 double functions to double *_finite functions.
48378 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48379 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48381 * stdio-common/Makefile (tests): Add tst-sprintf3.
48382 * stdio-common/tst-sprintf3.c: New file.
48384 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48385 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48387 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48389 * conform/conformtest.pl: Remove duplicate typed-constant
48392 2012-04-28 David S. Miller <davem@davemloft.net>
48394 * Makerules (%.abilist): Add vpath on sysdep_dirs.
48395 (check-abi-%): Remove AWK script prerequisite and explicit
48397 (check-abi): Rewrite to just diff the symlist with the abilist.
48398 (config-tls, config-abi-config): Delete, no longer used.
48399 (update-abi-%): Remove AWK script and explicit abilist directory.
48400 (update-abi): Rewrite to simply compare and conditionally copy the
48401 symlist and the sysdep abilist file. Remove update-abi-config
48403 * abilist/ld.abilist: Remove.
48404 * abilist/libBrokenLocale.abilist: Remove.
48405 * abilist/libanl.abilist: Remove.
48406 * abilist/libcrypt.abilist: Remove.
48407 * abilist/libdl.abilist: Remove.
48408 * abilist/librt.abilist: Remove.
48409 * abilist/libthread_db.abilist: Remove.
48410 * abilist/libutil.abilist: Remove.
48411 * scripts/extract-abilist.awk: Remove.
48412 * scripts/merge-abilist.awk: Remove.
48413 * sysdeps/generic/libcidn.abilist: New file.
48414 * sysdeps/generic/libnss_compat.abilist: New file.
48415 * sysdeps/generic/libnss_db.abilist: New file.
48416 * sysdeps/generic/libnss_dns.abilist: New file.
48417 * sysdeps/generic/libnss_files.abilist: New file.
48418 * sysdeps/generic/libnss_hesiod.abilist: New file.
48419 * sysdeps/generic/libnss_nis.abilist: New file.
48420 * sysdeps/generic/libnss_nisplus.abilist: New file.
48421 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48422 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48423 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48426 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48427 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48428 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48429 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48430 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48431 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48432 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48433 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48435 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48436 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48437 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48438 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48440 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48441 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48442 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48443 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48444 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48447 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48448 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48449 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48451 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48554 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48555 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48556 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48559 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48560 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48561 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48562 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48563 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48564 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48565 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48566 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48567 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48619 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48621 * conform/conformtest.pl: Fix typo in handling typed-constant from
48624 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48626 * README: Cut down references to pre-2.6 Linux kernels and
48627 Linuxthreads. Update lists of configurations in libc and ports
48628 and sort alphabetically. Say "or newer" with Linux kernel version
48631 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48633 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48636 * math/libm-test.inc (logb_test_downward): New test to expose
48637 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48640 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48643 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48645 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48646 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48648 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48650 * sysdeps/unix/i386/brk.S: Remove file.
48651 * sysdeps/unix/i386/dl-brk.S: Likewise.
48652 * sysdeps/unix/i386/pipe.S: Likewise.
48653 * sysdeps/unix/i386/sigreturn.S: Likewise.
48654 * sysdeps/unix/i386/syscall.S: Likewise.
48655 * sysdeps/unix/i386/vfork.S: Likewise.
48656 * sysdeps/unix/i386/wait.S: Likewise.
48658 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48659 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48661 * configure.in (arm*-none*): Do not allow without
48662 --enable-hacker-mode.
48663 (netbsd*): Remove case setting base_os.
48664 (386bsd*): Likewise.
48665 (freebsd*): Likewise.
48668 (sunos*): Likewise.
48669 (ultrix*): Likewise.
48670 (newsos*): Likewise.
48671 (dynix*): Likewise.
48677 (minix*): Likewise.
48678 (irix4*): Likewise.
48679 (irix6*): Likewise.
48680 (solaris[2-9]*): Likewise.
48682 * configure: Regenerated.
48684 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48687 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48688 overflow or cancellation in calculating denominator.
48689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48691 down expression to avoid unexpected rounding in newer GCCs.
48692 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48694 2012-04-26 David S. Miller <davem@davemloft.net>
48696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48697 long-double compat symbols.
48698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48712 2012-04-25 David S. Miller <davem@davemloft.net>
48714 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48715 HWCAP_* values only after the memory barriers have been defined.
48716 (atomic_full_barrier): Define.
48717 (atomic_read_barrier): Define.
48718 (atomic_write_barrier): Define.
48720 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48722 * shlib-versions: Add libgcc_s version information.
48723 * sysdeps/generic/libgcc_s.h: Remove.
48724 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48726 * sysdeps/gnu/unwind-resume.c: Likewise.
48727 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48729 2012-04-25 David S. Miller <davem@davemloft.net>
48731 * sysdeps/unix/sparc/brk.S: Delete.
48732 * sysdeps/unix/sparc/dl-brk.S: Delete.
48733 * sysdeps/unix/sparc/pipe.S: Delete.
48734 * sysdeps/unix/sparc/sysdep.S: Delete.
48735 * sysdeps/unix/sparc/sysdep.h: Delete.
48736 * sysdeps/unix/sparc/vfork.S: Delete.
48737 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48738 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48740 (ret_ERRVAL, r0, r1, MOVE): Define.
48741 (JUMPTARGET): Remove.
48742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48743 sysdeps/unix/sparc/sysdep.h
48744 (ENTRY, END): Remove.
48745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48747 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48749 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48750 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48753 * timezone/README: Update upstream location and email address for
48755 * timezone/zdump.c: Update from tzcode 2012b.
48756 * timezone/zic.c: Likewise.
48758 * configure.in (libc_cv_as_needed): Remove test.
48759 * configure: Regenerated.
48760 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48761 conditional definition.
48762 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48763 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48764 * config.make.in (have-as-needed): Remove variable.
48766 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48767 Paul Pluzhnikov <ppluzhnikov@google.com>
48769 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48772 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48774 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48775 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48776 * sysdeps/sh/strlen.S: Likewise.
48778 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48780 * sysdeps/unix/fork.S: Remove file.
48781 * sysdeps/unix/i386/fork.S: Likewise.
48782 * sysdeps/unix/sparc/fork.S: Likewise.
48784 * sysdeps/unix/system.c: Remove file.
48785 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48787 * sysdeps/unix/getegid.S: Remove file.
48788 * sysdeps/unix/geteuid.S: Likewise.
48790 2012-04-24 Roland McGrath <roland@hack.frob.com>
48792 * scripts/check-localplt.awk: New file.
48793 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48795 * scripts/data/localplt-generic.data: Add a comment.
48797 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48798 NODE when __dir_mkfile failed.
48799 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48800 Reported by Ludovic Courtès <ludo@gnu.org>.
48802 2012-04-24 Andreas Jaeger <aj@suse.de>
48804 * Makerules (common-clean): Also remove gen-as-const-headers
48807 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48809 * Makerules (native-compile): Do not change working directory for
48810 build. Use $(OUTPUT_OPTION) in command.
48811 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48813 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48816 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48817 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48818 * math/libm-test.inc (floor_test): Add more tests.
48819 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48821 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48823 * sysdeps/unix/getdents.c: Remove file.
48824 * sysdeps/unix/sysv/getdents.c: Likewise.
48825 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48827 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48828 sysdeps/unix/mman/syscalls.list.
48830 (mprotect): Likewise.
48832 (munmap): Likewise.
48833 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48834 * sysdeps/unix/mman/syscalls.list: Remove.
48835 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48837 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48838 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48839 * configure: Regenerated.
48840 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48841 $(libgcc_s_suffix).
48842 * config.make.in (libgcc_s_suffix): Remove variable.
48844 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48846 * sysdeps/unix/sysv/gethostname.c: Move to ...
48847 * sysdeps/posix/gethostname.c: ... here.
48849 * sysdeps/unix/execve.S: Remove file.
48851 * sysdeps/unix/_exit.S: Remove file.
48853 2012-04-23 Andreas Jaeger <aj@suse.de>
48856 * manual/Makefile: Remove make dist support, there's no
48857 need for a stand-alone documentation tar ball.
48858 (TEXI2DVI): Define always, it's not in Makeconfig.
48861 (edition): Removed.
48862 (glibc-doc-$(edition).tar): Removed
48866 (ETAGS): Remove, it's in Makeconfig.
48867 (move-if-change): Remove, it's in Makeconfig.
48869 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48872 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48873 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48874 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48875 (strtod_l, strtof_l, strtold_l): Remove __wur.
48876 It is not necessarily an error to ignore strtol's return value.
48877 One can reliably look at the stored endptr to decide whether
48878 the number had valid syntax.
48880 2012-04-21 Andreas Jaeger <aj@suse.de>
48883 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48885 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48888 * sysdeps/unix/sysv/Versions: Remove file.
48890 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48895 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48899 version from __vm86.
48901 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48903 * sysdeps/unix/common/lxstat.c: Remove file.
48904 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48906 * sysdeps/unix/sysv/Makefile: Remove file.
48908 * sysdeps/unix/sysv/direct.h: Remove file.
48910 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48911 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48912 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48913 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48914 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48915 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48916 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48918 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48920 * sysdeps/unix/xmknod.c: Remove file.
48921 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48923 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48925 * sysdeps/unix/sysv/i386/time.S: Remove file.
48927 * sysdeps/unix/fxstat.c: Remove file.
48928 * sysdeps/unix/xstat.c: Likewise.
48929 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48931 * sysdeps/unix/sysv/sigaction.c: Remove file.
48933 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48934 (sysdep_headers): Remove variable.
48935 [termio.h not in sysdep_headers] (generated): Likewise.
48936 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48937 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48938 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48939 * sysdeps/unix/sysv/tcflow.c: Likewise.
48940 * sysdeps/unix/sysv/tcflush.c: Likewise.
48941 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48942 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48943 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48944 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48945 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48947 * sysdeps/unix/siglist.c: Remove file.
48949 * sysdeps/unix/getppid.S: Remove file.
48951 * sysdeps/unix/mkdir.c: Remove file.
48952 * sysdeps/unix/rmdir.c: Likewise.
48954 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48956 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48959 errlist-compat value.
48961 2012-04-18 David S. Miller <davem@davemloft.net>
48963 * sysdeps/generic/memcopy.h (reg_char): Delete.
48964 * debug/strcat_chk.c: Use char, not reg_char.
48965 * debug/strcpy_chk.c: Likewise.
48966 * debug/strncat_chk.c: Likewise.
48967 * debug/strncpy_chk.c: Likewise.
48968 * string/memchr.c: Likewise.
48969 * string/memrchr.c: Likewise.
48970 * string/rawmemchr.c: Likewise.
48971 * string/strcat.c: Likewise.
48972 * string/strchr.c: Likewise.
48973 * string/strchrnul.c: Likewise.
48974 * string/strcmp.c: Likewise.
48975 * string/strcpy.c: Likewise.
48976 * string/strncat.c: Likewise.
48977 * string/strncmp.c: Likewise.
48978 * string/strncpy.c: Likewise.
48980 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48982 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48983 __builtin_memcopy is called when src and dest ranges are known to not
48986 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48988 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48989 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48990 fwd_align_merge macro call.
48991 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48992 bwd_align_merge macro call.
48993 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48995 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48998 bwd_align_merge macros.
48999 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49000 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49003 2012-04-18 David S. Miller <davem@davemloft.net>
49005 * sysdeps/sparc/sparc64/memcopy.h: Delete.
49007 2012-04-18 Andreas Jaeger <aj@suse.de>
49010 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49011 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49015 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49016 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49018 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49019 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49020 Adjust for changed ldbl-128 files.
49022 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49023 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49026 2012-04-17 David S. Miller <davem@davemloft.net>
49028 * sysdeps/sparc/sparc32/memcopy.h: Delete.
49030 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
49032 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49033 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49034 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49035 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49036 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49037 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49039 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49042 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49043 * math/libm-test.inc: Add ilogb errno and exception tests.
49044 * math/w_ilogb.c: New file: ilogb wrapper.
49045 * math/w_ilogbf.c: New file: ilogbf wrapper.
49046 * math/w_ilogbl.c: New file: ilogbl wrapper.
49047 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49048 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49049 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49050 exception being thrown with 0.0 as argument.
49051 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49052 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49053 exception being thrown with 0.0 as argument.
49054 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49055 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49056 exception being thrown with 0.0 as argument.
49057 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49058 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49059 exception being thrown with 0.0 as argument.
49060 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49061 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49062 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49063 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49065 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49066 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49067 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49068 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49070 2012-04-17 Petr Baudis <pasky@ucw.cz>
49072 * include/sys/uio.h: Change __vector to __iovec to avoid clash
49075 2012-04-16 Marek Polacek <polacek@redhat.com>
49077 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49079 2012-04-16 Marek Polacek <polacek@redhat.com>
49081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49082 operands of fdivp instruction.
49084 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49086 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49087 * elf/tst-auditmod3b.c: Likewise.
49088 * elf/tst-auditmod4b.c: Likewise.
49089 * elf/tst-auditmod5b.c: Likewise.
49090 * elf/tst-auditmod6b.c: Likewise.
49091 * elf/tst-auditmod6c.c: Likewise.
49092 * elf/tst-auditmod7b.c: Likewise.
49093 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49094 * sysdeps/x86_64/preconfigure.in: Likewise.
49095 * sysdeps/x86_64/preconfigure: Regenerated.
49097 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
49099 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49102 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
49104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49105 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49107 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
49110 * locale/iso-639.def: Fix gl language name. Spotted by
49113 2012-04-12 Roland McGrath <roland@hack.frob.com>
49116 * libio/libio.h (__io_write_fn): Update comment.
49118 2012-04-12 Petr Baudis <pasky@ucw.cz>
49121 * stdio.texi (Hook Functions): The user provided writer function
49122 is not allowed to return -1.
49124 2012-04-11 David S. Miller <davem@davemloft.net>
49126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49128 2012-04-11 Mike Frysinger <vapier@gentoo.org>
49130 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49131 Add a leading slash to rtkaio.
49133 2012-04-11 Jim Meyering <meyering@redhat.com>
49136 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49137 It is not necessarily an error to ignore fwrite's return
49138 value. One can reliably use ferror to test for errors after
49141 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49143 * bits/types.h (__snseconds_t): New type.
49144 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49146 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49148 (__SNSECONDS_T_TYPE): Likewise.
49149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49150 (__SNSECONDS_T_TYPE): Likewise.
49151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49152 (__SNSECONDS_T_TYPE): Likewise.
49154 2012-04-10 Andreas Jaeger <aj@suse.de>
49157 * manual/time.texi (Processor Time): Return type of times is
49158 elapsed real time since an arbitrary point in the past.
49159 (CPU Time): Move CLK_TCK from here...
49160 (Processor Time): ...to here. Correct description.
49161 * manual/conf.texi (Constants for Sysconf): Correct description of
49164 2012-04-10 David S. Miller <davem@davemloft.net>
49167 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49168 where the is a gap between DT_REL(A) and DT_JMPREL.
49170 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
49172 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49173 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49174 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49176 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49178 * elf/dl-support.c (_dl_inhibit_cache): New variable.
49179 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49180 (dl_main): Handle --inhibit-cache.
49181 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49183 * elf/dl-load.c (_dl_map_object): Use it.
49184 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49186 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49189 * sysdeps/i386/fpu/e_powl.S (p78): New object.
49190 (__ieee754_powl): Saturate large exponents rather than testing for
49191 overflow of y*log2(x).
49192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49193 * math/libm-test.inc (pow_test): Do not permit spurious overflow
49197 * math/s_ctan.c: Include <float.h>.
49198 (__ctan): Avoid internal overflow or cancellation in calculating
49200 * math/s_ctanf.c: Likewise.
49201 * math/s_ctanl.c: Likewise.
49202 * math/s_ctanh.c: Likewise.
49203 * math/s_ctanhf.c: Likewise.
49204 * math/s_ctanhl.c: Likewise.
49205 * math/libm-test.inc (ctan_test): Add more tests.
49206 (ctanh_test): Likewise.
49207 * sysdeps/i386/fpu/libm-test-ulps: Update.
49208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49210 2012-04-09 Andreas Jaeger <aj@suse.de>
49213 * manual/filesys.texi (Directory Entries): Mention that d_namlen
49214 is an optional BSD extension.
49217 * manual/stdio.texi (Opening Streams): Document additional fopen
49220 2012-04-09 Roland McGrath <roland@hack.frob.com>
49222 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49223 %eax without telling the compiler.
49225 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
49228 * manual/install.texi: Use sourceware.org.
49230 2012-04-09 Joseph Myers <joseph@codesourcery.com>
49233 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49234 (__ieee754_pow): Generate overflow and underflow using huge*huge
49235 and tiny*tiny rather than just returning constant infinity or zero
49236 for large exponents.
49237 * math/libm-test.inc (pow_test): Require overflow exceptions for
49238 applicable cases of large exponents.
49241 * sysdeps/i386/fpu/e_pow.S (p10): New object.
49242 (__ieee754_pow): Use iterative multiplication algorithm only for
49243 integer exponents with absolute value below 1024. Check for odd
49244 integer exponents when using algorithm for real exponents.
49245 * math/libm-test.inc (pow_test): Add more tests.
49246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49248 2012-04-08 Joseph Myers <joseph@codesourcery.com>
49251 * math/libm-test.inc (exp_test): Do not allow overflow exception
49254 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
49257 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49258 instead of __kernel_standard_f.
49260 2012-04-08 Mike Frysinger <vapier@gentoo.org>
49262 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49263 * sysdeps/x86_64/memset_chk.S: Likewise.
49265 2012-04-08 Andreas Jaeger <aj@suse.de>
49268 * manual/startup.texi (Environment Access): Describe return value
49269 for putenv and setenv.
49272 * manual/filesys.texi (Directory Entries): Add description for
49276 * manual/filesys.texi (Directory Entries): Clarify that it's file
49277 system not operating system in the description of DT_UNKNOWN.
49280 * manual/syslog.texi (closelog): Fix reference, it's openlog.
49282 2012-04-08 Stephen Compall <s11@member.fsf.org>
49285 * manual/llio.texi (Opening and Closing Files): Add cross
49286 reference to explain mode argument.
49288 2012-04-07 Mike Frysinger <vapier@gentoo.org>
49290 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49291 * sysdeps/x86_64/memset_chk.S: Likewise.
49293 2012-04-07 David S. Miller <davem@davemloft.net>
49295 * elf/elf.h (R_SPARC_WDISP10): Define.
49296 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49299 R_SPARC_SIZE64 and R_SPARC_H34.
49301 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
49303 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49304 conditions and remove no longer applicable assertion.
49306 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49308 * bits/byteswap.h: Include <features.h>.
49309 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49310 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49312 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
49314 * bits/byteswap.h (__bswap_16): Removed.
49315 Include <bits/byteswap-16.h> to get __bswap_16.
49316 * sysdeps/i386/bits/byteswap.h: Likewise.
49317 * sysdeps/s390/bits/byteswap.h: Likewise.
49318 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49319 * bits/byteswap-16.h: New file.
49320 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49321 * sysdeps/s390/bits/byteswap-16.h: Likewise.
49322 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49323 * string/Makefile (headers): Add bits/byteswap-16.h.
49325 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49328 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49330 * nss/Makefile (tests-static, tests): Add tst-nss-static.
49331 * nss/tst-nss-static.c: New.
49333 2012-04-06 Robert Millan <rmh@gnu.org>
49336 * manual/llio.texi (File Position Primitive): lseek
49337 refers to WHENCE when it really means OFFSET.
49339 2012-04-06 Andreas Jaeger <aj@suse.de>
49341 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49342 strncmp declarations.
49344 * abilist/libc.abilist: Add __poll and __ppoll.
49346 2012-04-05 David S. Miller <davem@davemloft.net>
49348 * scripts/check-local-headers.sh: Accept a host triplet in the
49349 path matched by the exclude regexp.
49351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49353 * sysdeps/powerpc/powerpc32/dl-machine.h
49354 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49355 * sysdeps/s390/s390-32/dl-machine.h
49356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49357 * sysdeps/sparc/sparc32/dl-machine.h
49358 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49359 * sysdeps/sparc/sparc64/dl-machine.h
49360 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49362 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49364 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49365 undefined symbol errors.
49367 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49370 2012-04-05 Michael Matz <matz@suse.de>
49373 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49375 2012-04-05 Andreas Jaeger <aj@suse.de>
49378 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49384 which ROUND is no valid rounding mode.
49386 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49390 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49394 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49395 an exception using FPU order intentionally.
49397 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49399 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49400 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49401 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49402 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49404 2012-04-05 Simon Josefsson <simon@josefsson.org>
49407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49408 EINVAL when BUFLEN is too smal.
49410 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
49413 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49414 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49416 2012-04-03 Andreas Jaeger <aj@suse.de>
49419 * manual/setjmp.texi (System V contexts): Fix sentence.
49422 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49423 New macro for this case.
49424 [!__GNUC__] (__bswap_64): New inline function for this case.
49425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49426 * bits/byteswap.h: Likewise.
49427 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49428 ull, guard with __GLIBC_HAVE_LONG_LONG.
49430 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49431 __GLIBC_HAVE_LONG_LONG.
49433 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49434 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49436 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49439 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49440 inptr and inend, rather than using last_ch.
49442 2012-04-02 David S. Miller <davem@davemloft.net>
49444 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49445 * stdio-common/printf-parse.h (read_int): Change return type to
49446 'int', return -1 on INT_MAX overflow.
49447 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49448 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
49449 overflows INT_MAX. Check for overflow of in-format-string precision
49450 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
49451 SIZE_MAX not INT_MAX for integer overflow test.
49452 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49453 skip the construct in the format string but do not record anything.
49454 * stdio-common/bug22.c: Adjust to test both width/prevision
49455 INT_MAX overflow as well as total length INT_MAX overflow. Check
49456 explicitly for proper errno values.
49458 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
49460 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49462 * string/test-strcmp.c [! WIDE]: Likewise.
49463 * time/tst-mktime2.c: Likewise for INT_MAX.
49464 * string/test-string.h: #include <sys/param.h> for MIN.
49466 * csu/init-first.c (__libc_init_first): Call __ctype_init.
49467 * sysdeps/i386/init-first.c (init): Likewise.
49468 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49469 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49470 * sysdeps/sh/init-first.c (init): Likewise.
49472 2012-04-01 Ulrich Drepper <drepper@gmail.com>
49474 * po/ru.po: Update from translation team.
49475 * po/vi.po: Likewise.
49477 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
49479 * resolv/nss_dns/dns-host.c: Merge copyright years.
49481 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49484 Optimize memcpy with prefetch if
49485 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
49486 src, dst pointers have unequal 16 byte alignments.
49488 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49491 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49492 from a CNAME entry and return the minimum ttl for the query.
49493 (gaih_getanswer_slice): Likewise.
49495 2012-03-30 Jeff Law <law@redhat.com>
49497 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49499 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49500 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49502 * resolv/nss_dns/dns-host.c: Update copyright year.
49504 2012-03-30 Ulrich Drepper <drepper@gmail.com>
49506 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49507 requests to save a system call. Fix check that all bytes are sent.
49509 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49510 comments for sendmmsg.
49512 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49515 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49516 with only 1 character between 0x0041 and 0x01b0.
49517 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49518 * wcsmbs/tst-mbsnrtowcs.c: New file.
49520 2012-03-29 David S. Miller <davem@davemloft.net>
49522 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49523 small copies by hand.
49525 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49528 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49529 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49532 2012-03-28 David S. Miller <davem@davemloft.net>
49534 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49535 that branches into memcpy.
49536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49538 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49539 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49542 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49543 implementation too.
49544 * sysdeps/sparc/mempcpy.S: New file.
49546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49547 the IFUNC routine in the libc case.
49548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49550 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49551 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49552 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49553 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49554 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49555 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49556 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49557 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49559 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49560 loop to 256 bytes instead of 64 bytes and fix test signedness.
49562 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49563 * sysdeps/sparc/sparc32/Makefile: rather than here...
49564 * sysdeps/sparc/sparc64/Makefile: and here.
49566 2012-03-28 Ulrich Drepper <drepper@gmail.com>
49568 * malloc/mallocbug.c: Avoid warnings about unused variables.
49570 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
49573 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49574 in the right place. Discard and retry query if response is
49575 larger than input buffer size.
49577 2012-03-28 Joseph Myers <joseph@codesourcery.com>
49582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49583 x for large integer exponent.
49584 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49585 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
49586 sign of result as needed afterwards.
49587 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49588 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49589 result for underflowing pow the same as for overflow.
49590 (__kernel_standard_l): Handle powl overflow and underflow here
49591 rather than calling __kernel_standard.
49592 * math/libm-test.inc (pow_test): Add more tests.
49607 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49608 * sysdeps/ieee754/k_standard.c: Include <float.h>.
49609 (__kernel_standard_l): New function.
49610 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49612 * math/w_acosl.c (__acosl): Likewise.
49613 * math/w_asinl.c (__asinl): Likewise.
49614 * math/w_atan2l.c (__atan2l): Likewise.
49615 * math/w_atanhl.c (__atanhl): Likewise.
49616 * math/w_coshl.c (__coshl): Likewise.
49617 * math/w_exp10l.c (__exp10l): Likewise.
49618 * math/w_exp2l.c (__exp2l): Likewise.
49619 * math/w_fmodl.c (__fmodl): Likewise.
49620 * math/w_hypotl.c (__hypotl): Likewise.
49621 * math/w_j0l.c (__j0l, __y0l): Likewise.
49622 * math/w_j1l.c (__j1l, __y1l): Likewise.
49623 * math/w_jnl.c (__jnl, __ynl): Likewise.
49624 * math/w_lgammal.c (__lgammal): Likewise.
49625 * math/w_log10l.c (__log10l): Likewise.
49626 * math/w_log2l.c (__log2l): Likewise.
49627 * math/w_logl.c (__logl): Likewise.
49628 * math/w_powl.c (__powl): Likewise.
49629 * math/w_remainderl.c (__remainderl): Likewise.
49630 * math/w_scalbl.c (sysv_scalbl): Likewise.
49631 * math/w_sinhl.c (__sinhl): Likewise.
49632 * math/w_sqrtl.c (__sqrtl): Likewise.
49633 * math/w_tgammal.c (__tgammal): Likewise.
49634 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49635 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49636 * math/libm-test.inc (acos_test): Add more tests.
49637 (acosh_test): Likewise.
49638 (asin_test): Likewise.
49639 (atanh_test): Likewise.
49640 (exp_test): Likewise.
49641 (exp10_test): Likewise.
49642 (exp2_test): Likewise.
49643 (expm1_test): Likewise.
49644 (lgamma_test): Likewise.
49645 (log_test): Likewise.
49646 (log10_test): Likewise.
49647 (log1p_test): Likewise.
49648 (log2_test): Likewise.
49649 (pow_test): Do not allow some spurious overflow exceptions.
49650 (sqrt_test): Add more tests.
49651 (tgamma_test): Likewise.
49652 (y0_test): Likewise.
49653 (y1_test): Likewise.
49654 (yn_test): Likewise.
49656 2012-03-27 Anton Blanchard <anton@samba.org>
49658 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49662 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49664 2012-03-27 David S. Miller <davem@davemloft.net>
49666 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49668 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49669 have-as-vis3 check.
49671 2012-03-27 Andreas Jaeger <aj@suse.de>
49673 * sysdeps/x86_64/elf/configure.in: Moved to ...
49674 * sysdeps/x86_64/configure.in: ... here.
49675 * sysdeps/x86_64/elf/start.S: Moved to ...
49676 * sysdeps/x86_64/start.S: ... here.
49677 * sysdeps/x86_64/elf/configure: Delete.
49679 * sysdeps/x86_64/configure.in: Merge contents from
49680 sysdeps/i386/configure.in (without i686 check).
49682 * sysdeps/i386/elf/Versions: Merge into ...
49683 * sysdeps/i386/Versions: ... this.
49684 * sysdeps/i386/elf/Versions: Delete file.
49685 * sysdeps/i386/elf/start.S: Moved to ...
49686 * sysdeps/i386/start.S: ...here.
49687 * sysdeps/i386/elf/configure.in: Merge into...
49688 * sysdeps/i386/configure.in: ...here.
49689 * sysdeps/i386/elf/configure.in: Delete file.
49690 * sysdeps/i386/elf/configure: Delete file.
49692 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49693 * debug/backtracesyms.c: ... here.
49694 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49695 * debug/backtracesymsfd.c: ... here.
49696 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49697 * sysdeps/generic/ifunc-sel.h: ... here.
49699 * sysdeps/unix/i386/start.c: Delete file.
49700 * sysdeps/unix/sparc/start.c: Delete file.
49701 * sysdeps/unix/start.c: Delete file.
49703 * sysdeps/sh/elf/configure.in: Moved to ...
49704 * sysdeps/sh/configure.in: ... here.
49705 * sysdeps/sh/elf/start.S: Moved to ...
49706 * sysdeps/sh/start.S: ... here.
49707 * sysdeps/sh/elf/configure: Delete file.
49709 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49710 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49711 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49712 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49713 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49714 * sysdeps/powerpc/powerpc64/start.S: here.
49715 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49716 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49717 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49718 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49719 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49721 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49722 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49723 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49724 * sysdeps/powerpc/powerpc32/start.S: ... here.
49725 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49726 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49727 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49729 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49730 * sysdeps/powerpc/ifunc-sel.h: ... here.
49731 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49732 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49734 * sysdeps/sparc/elf/configure.in: Moved to ...
49735 * sysdeps/sparc/configure.in: ... here.
49736 * sysdeps/sparc/elf/configure: Delete file.
49737 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49738 * sysdeps/sparc/sparc32/start.S: ... here.
49739 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49740 * sysdeps/sparc/sparc64/start.S: ... here.
49741 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49742 * sysdeps/sparc/sparc32/Makefile: ... this.
49743 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49744 * sysdeps/sparc/sparc64/Makefile: ... this.
49746 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49747 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49748 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49749 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49750 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49751 * sysdeps/s390/s390-32/setjmp.S: ... here.
49752 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49753 * sysdeps/s390/s390-32/configure.in: ... here.
49754 * sysdeps/s390/s390-32/elf/configure: Delete file.
49755 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49756 * sysdeps/s390/s390-32/start.S: ... here.
49758 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49759 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49760 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49761 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49762 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49763 * sysdeps/s390/s390-64/setjmp.S: ... here.
49764 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49765 * sysdeps/s390/s390-64/configure.in: ... here
49766 * sysdeps/s390/s390-64/elf/configure: Delete file.
49767 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49768 * sysdeps/s390/s390-64/start.S: ... here.
49769 * sysdeps/s390/s390-64/elf/configure: Delete.
49771 * configure.in: Remove support for elf directories in sysdeps.
49773 * configure: Regenerated.
49774 * sysdeps/i386/configure: Regenerated.
49775 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49776 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49777 * sysdeps/s390/s390-32/configure: Regenerated.
49778 * sysdeps/s390/s390-64/configure: Regenerated.
49779 * sysdeps/sh/configure: Regenerated.
49780 * sysdeps/sparc/configure: Regenerated.
49781 * sysdeps/x86_64/configure: Regenerated.
49783 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49788 denormal result into account.
49790 2012-03-25 Roland McGrath <roland@hack.frob.com>
49792 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49793 Reported by Allan McRae <allan@archlinux.org>.
49795 2012-03-23 Jeff Law <law@redhat.com>
49797 * nss/getnssent.c (__nss_getent): Fix typo.
49799 2012-03-23 David S. Miller <davem@davemloft.net>
49801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49803 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49805 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49806 to pad to uint64_t for each field.
49807 (dl_tls_index): Replace unsigned long with uint64_t.
49809 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49810 Paul Pluzhnikov <ppluzhnikov@google.com>
49813 * grp/Makefile (otherlibs): Don't set it.
49814 * inet/Makefile (otherlibs): Likewise.
49815 * login/Makefile (otherlibs): Likewise.
49816 * nscd/Makefile (otherlibs): Likewise.
49817 * posix/Makefile (otherlibs): Likewise.
49818 * pwd/Makefile (otherlibs): Likewise.
49819 * rt/Makefile (otherlibs): Likewise.
49820 * sunrpc/Makefile (otherlibs): Likewise.
49821 * nss/Makefile (otherlibs): Likewise.
49822 Add libnss_files to routines and static-only-routines.
49823 ($(objpfx)getent): Remove rule.
49824 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49825 static-only-routines.
49827 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49830 * math/s_cexp.c: Include <float.h>.
49831 (__cexp): Handle exp result overflowing not necessarily
49832 overflowing both real and imaginary parts of result.
49833 * math/s_cexpf.c: Likewise.
49834 * math/s_cexpl.c: Likewise.
49835 * math/libm-test.inc (cexp_test): Add more tests.
49836 * sysdeps/i386/fpu/libm-test-ulps: Update.
49837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49839 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49841 * include/link.h (ELFW): New macro.
49842 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49843 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49847 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49850 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49852 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49854 (struct La_x32_retval): Likewise.
49856 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49858 * sysdeps/x86_64/preconfigure.in: New file.
49859 * sysdeps/x86_64/preconfigure: New generated file.
49861 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49864 * math/e_exp2l.c: Include <float.h>.
49865 (__ieee754_exp2l): Handle overflow and underflow cases
49866 separately. Only pass fractional part of argument to
49868 * math/libm-test.inc (exp2_test): Add more tests.
49870 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49871 negating x to take absolute value.
49872 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49877 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49878 computing low part if x was negated.
49879 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49881 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49883 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49884 la_x32_gnu_pltexit.
49885 (pltexit): Cast int_retval to ptrdiff_t.
49886 * elf/tst-auditmod3b.c: Likewise.
49887 * elf/tst-auditmod4b.c: Likewise.
49888 * elf/tst-auditmod5b.c: Likewise.
49889 * elf/tst-auditmod6b.c: Likewise.
49890 * elf/tst-auditmod6c.c: Likewise.
49891 * elf/tst-auditmod7b.c: Likewise.
49893 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49894 and x32_gnu_pltexit.
49896 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49897 __ELF_NATIVE_CLASS.
49898 (La_x32_regs): New macro.
49899 (La_x32_retval): Likewise.
49900 (la_x32_gnu_pltenter): New function prototype.
49901 (la_x32_gnu_pltexit): Likewise.
49903 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49905 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49910 * configure.in (libc_cv_cc_nofma): Check for option to disable
49911 generation of FMA instructions.
49912 * configure: Regenerate.
49913 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49914 * sysdeps/ieee754/dbl-64/Makefile: New file.
49915 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49916 Remove brandred-fma4.
49917 (CFLAGS-brandred-fma4.c): Remove.
49918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49924 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49926 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49927 LLONG_MAX != LONG_MAX.
49928 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49929 (_fitoa_word): Likewise.
49930 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49931 LLONG_MAX != LONG_MAX.
49932 * stdio-common/_itowa.h: Include <_itoa.h>.
49933 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49934 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49935 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49936 only if not defined.
49937 (_ITOA_WORD_TYPE): Likewise.
49938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49939 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49941 2012-03-21 David S. Miller <davem@davemloft.net>
49943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49945 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49947 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49948 of x86_64 when setting libc_cv_slibdir, libdir and
49950 * sysdeps/unix/sysv/linux/configure: Regenerated.
49952 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49954 * manual/lang.texi (Old Varargs): Remove section.
49955 (How Variadic): Update menu.
49956 (va_start): Do not mention varargs.h.
49958 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49959 Joseph Myers <joseph@codesourcery.com>
49961 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49963 * configure: Regenerated.
49965 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49967 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49968 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49971 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49974 * Makefile (files-for-dist): Remove NOTES.
49975 (NOTES): Remove rule.
49976 * README: Don't refer to NOTES.
49977 * manual/creature.texi: Don't include macros.texi.
49978 * manual/intro.texi (creature.texi): Remove comment referring to
49981 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49982 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49983 * configure: Regenerated.
49984 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49985 LIBC_TRY_CC_OPTION.
49986 (libc_cv_as_i686): Likewise.
49987 (libc_cv_cc_avx): Likewise.
49988 (libc_cv_cc_sse2avx): Likewise.
49989 (libc_cv_cc_fma4): Likewise.
49990 (libc_cv_cc_novzeroupper): Likewise.
49991 * sysdeps/i386/configure: Regenerated.
49994 * sysdeps/i386/fpu/s_cexp.S: Remove.
49995 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49996 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49997 * math/libm-test.inc (cexp_test): Add more tests.
49998 * sysdeps/i386/fpu/libm-test-ulps: Update.
49999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50001 2012-03-21 Allan McRae <allan@archlinux.org>
50003 * timezone/Makefile: Do not install iso3166.tab and zone.tab
50005 2012-03-21 Joseph Myers <joseph@codesourcery.com>
50008 * math/w_exp2.c: Do not include <float.h>.
50009 (o_threshold, u_threshold): Remove.
50010 (__exp2): Calculate result before checking finiteness and calling
50012 * math/w_exp2f.c: Likewise.
50013 * math/w_exp2l.c: Likewise.
50014 * math/libm-test.inc (exp2_test): Require overflow exception for
50018 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50019 range of signed 64-bit integers before using fistpll. Remove
50020 checks for whether integers fit in mantissa bits.
50021 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50022 the range of signed 32-bit integers before using fistpl. Remove
50023 checks for whether integers fit in mantissa bits.
50024 * sysdeps/i386/fpu/e_powl.S (p64): New object.
50025 (__ieee754_powl): Test for y outside the range of signed 64-bit
50026 integers before using fistpll. Reduce 64-bit values to 63-bit
50028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50029 divide-by-zero is raised for zero to large negative powers.
50030 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50031 (__ieee754_powl): Test for y outside the range of signed 64-bit
50032 integers before using fistpll. Reduce 64-bit values to 63-bit
50034 * math/libm-test.inc (pow_test): Add more tests.
50036 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50038 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50039 <stdio-common/_itoa.h>.
50040 * debug/segfault.c: Likewise.
50041 * elf/dl-cache.c: Likewise.
50042 * elf/dl-minimal.c: Likewise.
50043 * elf/dl-misc.c: Likewise.
50044 * elf/dl-sysdep.c: Likewise.
50045 * elf/dl-version.c: Likewise.
50046 * elf/rtld.c: Likewise.
50047 * hurd/hurdsock.c: Likewise.
50048 * hurd/lookup-retry.c: Likewise.
50049 * malloc/malloc.c: Likewise.
50050 * malloc/mtrace.c: Likewise.
50051 * nscd/nscd_getgr_r.c: Likewise.
50052 * nscd/nscd_getpw_r.c: Likewise.
50053 * nscd/nscd_getserv_r.c: Likewise.
50054 * posix/getopt_init.c: Likewise.
50055 * posix/wordexp.c: Likewise.
50056 * stdio-common/_itoa.c: Likewise.
50057 * stdio-common/printf_fphex.c: Likewise.
50058 * stdio-common/vfprintf.c: Likewise.
50059 * string/_strerror.c: Likewise.
50060 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50061 * sysdeps/i386/i686/hp-timing.h: Likewise.
50062 * sysdeps/mach/_strerror.c: Likewise.
50063 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50064 * sysdeps/mach/hurd/sethostid.c: Likewise.
50065 * sysdeps/mach/hurd/xmknodat.c: Likewise.
50066 * sysdeps/mach/xpg-strerror.c: Likewise.
50067 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50068 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50069 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50070 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50072 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50074 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50075 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50076 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50077 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50078 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50079 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50080 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50081 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50082 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50083 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50084 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50085 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50086 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50087 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50089 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50091 * stdio-common/_itoa.h: Moved to ...
50092 * sysdeps/generic/_itoa.h: Here.
50094 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50096 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50097 instead of "_itoa.h" and "_itowa.h".
50098 * stdio-common/vfprintf.: Likewise.
50100 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50102 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50104 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50105 (__signbit): Likwise.
50106 (llrintf): Likwise.
50109 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
50111 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50114 2012-03-20 Joseph Myers <joseph@codesourcery.com>
50116 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50117 OVERFLOW_EXCEPTION_OK.
50118 * math/libm-test.inc ("Philosophy"): Update comment about
50120 (OVERFLOW_EXCEPTION): Define.
50121 (OVERFLOW_EXCEPTION_OK): Likewise.
50122 (INVALID_EXCEPTION_OK): Renumber.
50123 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50124 (IGNORE_ZERO_INF_SIGN): Likewise.
50125 (test_exceptions): Handle FE_OVERFLOW.
50126 (exp10_test): Expect overflow exceptions.
50127 (exp2_test): Likewise.
50128 (expm1_test): Likewise.
50129 (nextafter_test): Likewise.
50130 (pow_test): Likewise.
50131 (scalbn_test): Likewise.
50132 (scalbln_test): Likewise.
50134 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50136 * sysdeps/x86_64/bits/atomic.h
50137 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50139 (atomic_exchange_acq): Likewise.
50140 (__arch_exchange_and_add_body): Likewise.
50141 (__arch_add_body): Likewise.
50142 (atomic_add_negative): Likewise.
50143 (atomic_add_zero): Likewise.
50145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50147 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50148 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50152 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50153 Check __x86_64__ instead of __WORDSIZE.
50155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50157 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50159 2012-03-19 David S. Miller <davem@davemloft.net>
50161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50163 * sysdeps/sparc/fpu/fenv_private.h: New file.
50164 * sysdeps/sparc/fpu/math_private.h: Use it.
50165 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50167 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50168 (libc_feholdexcept_setroundl): Remove.
50169 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50171 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50172 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50176 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50177 int64_t instead of long int.
50178 (INSERT_WORDS64): Likwise.
50180 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
50182 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50183 _Unwind_GetCFA return to _Unwind_Ptr first.
50185 2012-03-19 Joseph Myers <joseph@codesourcery.com>
50188 * math/s_clog.c: Include <float.h>.
50189 (__clog): Scale large or subnormal inputs.
50190 * math/s_clogf.c: Likewise.
50191 * math/s_clogl.c: Likewise.
50192 * math/s_clog10.c: Include <float.h>.
50193 (M_LOG10_2): Define.
50194 (__clog10): Scale large or subnormal inputs.
50195 * math/s_clog10f.c: Likewise.
50196 * math/s_clog10l.c: Likewise.
50197 * math/libm-test.inc (clog_test): Add more tests.
50198 (clog10_test): Likewise.
50199 * sysdeps/i386/fpu/libm-test-ulps: Update.
50200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50203 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50205 * math/libm-test.inc (atan2_test): Add another test.
50207 * Makerules (common-objdir-compile): Remove.
50208 * sysdeps/unix/Makefile (config-generated): Do not add
50209 $(unix-generated) to variable.
50210 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50211 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50213 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50215 [generic bits/local_lim.h] (before-compile): Do not append to
50217 [generic bits/local_lim.h] (common-generated): Likewise.
50218 [generic sys/param.h] (before-compile): Do not append to variable.
50219 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50220 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50221 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50222 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50224 [generic sys/param.h] (sys/param.h-includes): Remove variable.
50225 [generic sys/param.h] (sys/param.h-includes): Remove rule.
50226 [generic sys/param.h] ($(addprefix
50227 $(common-objpfx),$(sys/param.h-includes))): Likewise.
50228 [generic sys/param.h] (common-generated): Do not append to
50230 [generic sys/param.h] (sysdep_headers): Likewise.
50231 [generic bits/errno.h] (before-compile): Do not append to
50233 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50235 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50236 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50237 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50238 [generic bits/errno.h] (common-generated): Do not append to
50240 [generic bits/ioctls.h] (before-compile): Do not append to
50242 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50244 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50245 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50246 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50248 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50249 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50250 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50251 [generic bits/ioctls.h] (common-generated): Do not append to
50253 [generic sys/syscall.h] (syscall.h): Remove variable.
50254 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50256 [generic sys/syscall.h] (before-compile): Do not append to
50258 [generic sys/syscall.h] (common-generated): Likewise.
50259 * sysdeps/unix/errnos-tmpl.c: Remove file.
50260 * sysdeps/unix/errnos.awk: Likewise.
50261 * sysdeps/unix/ioctls-tmpl.c: Likewise.
50262 * sysdeps/unix/ioctls.awk: Likewise.
50263 * sysdeps/unix/mk-local_lim.c: Likewise.
50264 * sysdeps/unix/snarf-ioctls: Likewise.
50266 2012-03-19 Richard Henderson <rth@twiddle.net>
50268 * sysdeps/i386/fpu/fenv_private.h: New file.
50269 * sysdeps/i386/fpu/math_private.h: Use it.
50270 (math_opt_barrier, math_force_eval): Remove.
50271 (libc_feholdexcept_setround_53bit): Remove.
50272 (libc_feupdateenv_53bit): Remove.
50273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50274 (math_opt_barrier, math_force_eval): Remove.
50275 (libc_feholdexcept): Remove.
50276 (libc_feholdexcept_setround): Remove.
50277 (libc_fetestexcept, libc_fesetenv): Remove.
50278 (libc_feupdateenv_test): Remove.
50279 (libc_feupdateenv, libc_feholdsetround): Remove.
50280 (libc_feresetround): Remove.
50282 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50283 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50285 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50286 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50287 (libc_feupdateenv_testl): New.
50288 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50289 (libc_feupdateenv_testf): New.
50290 (libc_feupdateenv): Use libc_feupdateenv_test.
50291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50294 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50295 (libc_feholdsetroundf, libc_feholdsetroundl): New.
50296 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50297 (libc_feresetround_noex): New.
50298 (libc_feresetround_noexf): New.
50299 (libc_feresetround_noexl): New.
50300 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50301 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50302 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50303 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50308 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50310 SET_RESTORE_ROUND_NOEX.
50311 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50312 SET_RESTORE_ROUND_NOEXF.
50313 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50314 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50315 (libc_feholdsetroundf): New.
50316 (libc_feresetround, libc_feresetroundf): New.
50318 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50319 (libc_feholdexcept_setround_53bit): Convert from macro to function.
50320 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
50322 * sysdeps/generic/math_private.h: Include <fenv.h>.
50323 (default_libc_feholdexcept): New.
50324 (default_libc_feholdexcept_setround): New.
50325 (default_libc_fesetenv, default_libc_feupdateenv): New.
50326 (libc_feholdexcept): Only define if undefined.
50327 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50328 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50329 (libc_feholdexcept_setroundl): Likewise.
50330 (libc_feholdexcept_setround_53bit): Likewise.
50331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50332 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50333 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50334 (libc_feupdateenv_53bit): Likewise.
50335 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50336 (libc_feholdexcept): Convert from macro to inline function.
50337 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50338 (libc_fesetenv, libc_feupdateenv): Likewise.
50340 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50341 not previously defined.
50342 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50343 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50344 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50345 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50346 * sysdeps/ieee754/flt-32/math_private.h: New file.
50347 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50348 math_private.h below SET_FLOAT_WORD.
50349 (__isnan, __isinf_ns, __finite): Remove.
50350 (__isnanf, __isinf_nsf, __finitef): Remove.
50352 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
50354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50356 2012-03-17 David S. Miller <davem@davemloft.net>
50359 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50362 2012-03-16 David S. Miller <davem@davemloft.net>
50364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50368 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50370 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50371 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50372 sysdep_routines when subdir is sysvipc.
50373 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50374 __getshmlba helper.
50376 * sysdeps/sparc/fpu/libm-test/ulps: Update.
50378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50380 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50383 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50386 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50387 (__lround): Renamed to ...
50388 (__llround): This. Replace long int with long long int.
50389 Define lround functions as aliases of llround functions.
50390 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50392 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50394 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50395 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
50396 adresses to uintptr_t. Replace "long int" and "unsigned long
50397 int" with "greg_t" on va_arg.
50399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50401 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50402 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50404 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50405 Move e_machine check before EI_CLASS check. Handle x32
50406 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50407 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50408 SKIP_EM_IA_64 and include
50409 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50411 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50412 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50413 (add_system_dir): New macro.
50415 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50416 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50418 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50429 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50431 * math/w_j0f.c (j0f): Likewise.
50433 * math/w_j0l.c (__j0l): Likewise.
50435 * math/w_j1.c (j1): Likewise.
50437 * math/w_j1f.c (j1f): Likewise.
50439 * math/w_j1l.c (__j1l): Likewise.
50441 * math/w_jn.c (jn): Likewise.
50443 * math/w_jnf.c (jnf): Likewise.
50445 * math/w_jnl.c (__jnl): Likewise.
50447 * math/libm-test.inc (j0_test): Add more tests.
50448 (j1_test): Likewise.
50449 (jn_test): Likewise. Add trailing semicolon to existing test.
50450 (y0_test): Likewise.
50451 (y1_test): Likewise.
50452 * sysdeps/i386/fpu/libm-test-ulps: Update.
50453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50457 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50458 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50459 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50461 (__tanl): Set errno for infinite argument.
50462 * sysdeps/i386/fpu/mptan.c: Remove.
50463 * sysdeps/i386/fpu/s_tan.S: Likewise.
50464 * sysdeps/i386/fpu/s_tanl.S: Likewise.
50465 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50466 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50467 * math/libm-test.inc (tan_test): Add more tests and enable more
50468 tests for double and long double.
50469 * sysdeps/i386/fpu/libm-test-ulps: Update.
50470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50472 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
50474 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50475 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50477 2012-03-16 Roland McGrath <roland@hack.frob.com>
50479 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50480 * configure.in: Use it for both main tree and add-ons.
50481 * configure: Regenerated.
50483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
50485 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50487 2012-03-16 Joseph Myers <joseph@codesourcery.com>
50489 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50493 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50494 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50495 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50497 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50499 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50501 != 0 for prec == 2.
50502 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50503 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50504 * sysdeps/i386/fpu/s_cosl.S: Likewise.
50505 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50506 * sysdeps/i386/fpu/s_sinl.S: Likewise.
50507 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50508 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50509 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50510 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50511 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50512 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50513 * math/libm-test.inc (cos_test): Add more tests and enable more
50514 tests for long double.
50515 (sin_test): Likewise.
50516 (sincos_test): Likewise.
50517 * sysdeps/i386/fpu/libm-test-ulps: Update.
50518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50520 2012-03-16 David S. Miller <davem@davemloft.net>
50522 * sysdeps/sparc/fpu/math_private.h: New file.
50524 2012-03-15 David S. Miller <davem@davemloft.net>
50526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50540 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50541 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50543 * sysdeps/sparc/sparc-ifunc.h: New file.
50544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50587 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50589 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50591 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50595 2012-03-15 Andreas Jaeger <aj@suse.de>
50598 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50599 ieee754/flt-32 implementation for sin, cos and sincos.
50600 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50601 * sysdeps/i386/fpu/s_cosf.S: Likewise.
50602 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50603 * sysdeps/i386/fpu/s_sinf.S: Likewise.
50604 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50605 ieee754/flt-32 implementation for tan.
50607 * math/libm-test.inc (cos_test): Enable some large input tests for
50609 (sin_test): Likewise.
50610 (sincos_test): Likewise.
50611 (tan_test): Add tests for large input.
50613 * sysdeps/i386/fpu/libm-test-ulps: Update.
50615 2012-03-15 Andreas Jaeger <aj@suse.de>
50618 * math/libm-test.inc (cos_test): Add more test cases.
50619 (sin_test): Likewise.
50620 (sincos_test): Likewise.
50622 2012-03-15 Andreas Jaeger <aj@suse.de>
50625 * math/libm-test.inc (cos_test): Add a test case for large input
50627 (sin_test): Likewise.
50628 (sincos_test): Likewise.
50630 2012-03-15 Andreas Jaeger <aj@suse.de>
50631 Joseph Myers <joseph@codesourcery.com>
50634 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50635 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50636 * sysdeps/i386/fpu/branred.c: Likewise.
50637 * sysdeps/i386/fpu/dosincos.c: Likewise.
50638 * sysdeps/i386/fpu/mpa.c: Likewise.
50639 * sysdeps/i386/fpu/s_cos.S: Likewise.
50640 * sysdeps/i386/fpu/s_sin.S: Likewise.
50641 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50642 * sysdeps/i386/fpu/sincos32.c: Likewise.
50644 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50646 (libc_feupdateenv_53bit): Define.
50647 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50649 (libc_feupdateenv_53bit): Define.
50651 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50652 53 bit (without extend i386 double precision).
50654 * math/libm-test.inc (sincos_test): Add tests for large input.
50658 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50660 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50664 2012-03-15 David S. Miller <davem@davemloft.net>
50666 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50667 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50668 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50669 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50693 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50694 fmin/fmax sysdep routines.
50695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50697 2012-03-14 David S. Miller <davem@davemloft.net>
50699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50771 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50776 * sysdeps/sparc/configure.in: New file.
50777 * sysdeps/sparc/configure: Generate.
50778 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50779 * configure: Regenerate.
50780 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50781 * config.make.in (have-as-vis3): New.
50782 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50783 available use -Av9d instead of -Av9a.
50784 * sysdeps/sparc/sparc64/Makefile: Likewise.
50785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50794 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50800 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50801 fzeros/fnegs to load 0x80000000 into a float register instead of
50803 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50805 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50809 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50810 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50811 ($(inst_includedir)/bits/syscall.h): Remove rule.
50812 ($(objpfx)bits/syscall.d): Include instead of
50813 $(objpfx)syscall-list.d.
50814 (generated): Change syscall-list.h and syscall-list.d to
50815 bits/syscall.h and bits/syscall.d.
50817 2012-03-14 Roland McGrath <roland@hack.frob.com>
50820 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50822 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50825 * math/s_csqrt.c: Include <float.h>.
50826 (__csqrt): Scale large or subnormal inputs.
50827 * math/s_csqrtf.c: Likewise.
50828 * math/s_csqrtl.c: Likewise.
50829 * math/libm-test.inc (csqrt_test): Add more tests.
50830 * sysdeps/i386/fpu/libm-test-ulps: Update.
50831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50834 * math/libm-test.inc (hypot_test): Add more tests.
50836 2012-03-13 David S. Miller <davem@davemloft.net>
50839 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50840 double-precision for the calculation instead of scaling.
50842 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50844 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50845 manipulate bits before adding and subtracting TWO52[sx].
50846 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50851 2012-03-13 David S. Miller <davem@davemloft.net>
50853 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50854 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50856 rtld-global-offsets.h
50857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50859 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50862 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50864 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50865 'err' in the ifdef scope in which it is actually used.
50867 * nss/nss_db/db-init.c: Include string.h
50869 2012-03-12 David S. Miller <davem@davemloft.net>
50871 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50872 masking out of the most significant byte of random value used.
50873 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50874 Fix coding style in previous change.
50876 * sysdeps/unix/sysv/linux/kernel-features.h
50877 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50878 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50880 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50883 2012-03-11 David S. Miller <davem@davemloft.net>
50885 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50886 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50888 for 'resultvar' otherwise things get truncated on 64-bit.
50890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50891 Fix masking out of the most significant byte of random value used.
50893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50895 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50899 2012-03-09 David S. Miller <davem@davemloft.net>
50901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50902 variables with appropriate CPP guards.
50903 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50904 from the frame pointer, not the stack pointer. Correct layout
50905 comments. Fix test on resulting framesize and the management of
50906 the outregs buffer for pltexit. Preserve floating point return
50907 values across _dl_call_pltexit call.
50908 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50909 framesize and the management of the outregs buffer for pltexit.
50910 Preserve floating point return values across _dl_call_pltexit
50912 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50913 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50914 (la_sparc64_gnu_pltexit): New functions.
50915 (print_exit): Fix format string for return register value.
50917 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50919 * sunrpc/Makefile (others): Add rpcgen.
50920 ($(objpfx)rpcgen): Remove special build rule and dependency on
50922 * sunrpc/rpcgen.c: New file.
50924 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50927 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50928 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50929 * sysdeps/i386/crti.S: Likewise.
50930 * sysdeps/i386/crtn.S: Likewise.
50931 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50932 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50933 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50934 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50935 * sysdeps/sh/crti.S: Likewise.
50936 * sysdeps/sh/crtn.S: Likewise.
50937 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50940 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50942 * locale/programs/locfile-kw.gperf: Likewise.
50943 * locale/programs/charmap-kw.h: Regenerated.
50944 * locale/programs/locfile-kw.h: Likewise.
50947 * intl/plural.y: Replace FSF snail mail address with URL.
50948 * intl/plural.c: Regenerated.
50950 2012-03-09 Richard Henderson <rth@twiddle.net>
50952 * include/math_private.h: Remove file.
50953 * math/math_private.h: Move file ...
50954 * sysdeps/generic/math_private.h: ... here.
50956 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50957 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50958 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50960 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50961 and <math_private.h>.
50962 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50963 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50964 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50965 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50966 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50968 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50970 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50971 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50972 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50973 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50974 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50975 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50976 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50977 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50978 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50979 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50980 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50981 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50982 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50983 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50984 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50985 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50986 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50987 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50988 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50989 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50991 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50992 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50993 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50994 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50995 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50996 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50997 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50999 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51000 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51002 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51003 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51004 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51005 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51006 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51008 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51023 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51025 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51031 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51032 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51033 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51034 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51036 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51046 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51049 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51050 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51053 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51054 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51055 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51056 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51057 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51058 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51059 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51060 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51061 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51062 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51063 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51064 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51065 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51066 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51067 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51068 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51069 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51070 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51071 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51072 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51073 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51074 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51075 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51076 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51077 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51078 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51079 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51081 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51082 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51083 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51085 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51086 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51087 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51088 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51089 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51090 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51091 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51092 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51093 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51094 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51095 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51096 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51097 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51098 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51099 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51100 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51101 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51102 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51103 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51104 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51105 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51106 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51107 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51108 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51109 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51110 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51111 * sysdeps/ieee754/k_standard.c: Likewise.
51112 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51113 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51114 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51115 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51116 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51117 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51118 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51119 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51120 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51121 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51122 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51123 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51124 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51125 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51126 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51127 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51128 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51129 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51130 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51131 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51132 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51133 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51134 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51135 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51136 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51137 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51138 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51139 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51140 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51141 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51142 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51143 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51144 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51145 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51146 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51147 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51149 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51150 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51151 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51152 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51153 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51154 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51155 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51156 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51157 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51158 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51160 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51161 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51162 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51163 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51164 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51165 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51166 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51167 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51168 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51169 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51170 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51171 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51172 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51173 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51174 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51182 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51188 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51189 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51190 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51191 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51192 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51193 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51194 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51195 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51197 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51198 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51199 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51200 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51201 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51202 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51203 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51204 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51205 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51206 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51208 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51209 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51210 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51211 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51213 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51216 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51217 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51218 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51219 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51220 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51221 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51222 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51223 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51224 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51225 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51226 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51227 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51228 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51229 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51230 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51231 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51233 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51234 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51235 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51238 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51239 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51240 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51241 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51242 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51243 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51244 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51245 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51246 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51247 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51248 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51249 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51250 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51251 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51252 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51254 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51255 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51256 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51257 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51258 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51259 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51260 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51261 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51262 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51263 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51264 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51265 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51266 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51267 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51268 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51269 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51271 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51272 * sysdeps/ieee754/s_lib_version.c: Likewise.
51273 * sysdeps/ieee754/s_matherr.c: Likewise.
51274 * sysdeps/ieee754/s_signgam.c: Likewise.
51275 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51276 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51277 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51278 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51280 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51281 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51282 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51283 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51284 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51285 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51286 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51287 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51288 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51289 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51290 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51291 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51292 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51293 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51297 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51299 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51300 * sunrpc/rpc_main.c: Likewise.
51301 * sunrpc/rpc_svcout.c: Likewise.
51303 2012-03-09 David S. Miller <davem@davemloft.net>
51305 * include/math_private.h: New file.
51307 2012-03-09 Joseph Myers <joseph@codesourcery.com>
51309 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51310 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51311 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51312 from <bits/socket_type.h>.
51313 (enum __socket_type): Don't define here.
51314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51316 bits/socket_type.h.
51319 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51320 checking __USE_GNU.
51322 * Makerules ($(inst_includedir)/%.h): New rule.
51323 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51324 (install-others): Remove variable setting.
51325 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51327 2012-03-08 Richard Henderson <rth@twiddle.net>
51329 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51330 from macro to inline function; merge with the
51331 !__LIBC_INTERNAL_MATH_INLINES version.
51332 (__ieee754_sqrtf): Likewise.
51334 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51335 to inline function.
51336 (__rintf, __floor, __floorf): Likewise.
51338 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51339 macro to inline function.
51340 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51342 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51343 not <math/math_private.h>.
51345 2012-03-08 David S. Miller <davem@davemloft.net>
51347 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51349 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51351 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
51353 * resolv/gai_misc.c (handle_requests): Fix struct timespec
51355 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51356 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51358 2012-03-08 Ulrich Drepper <drepper@gmail.com>
51360 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
51361 be defined individually, they must be defined as a block. Define
51362 S for printing a string instead of hidint the different by using a
51363 macro for adding the 'l'.
51364 * stdio-common/tst-fphex-wide.c: Adjust.
51366 2012-03-07 Marek Polacek <polacek@redhat.com>
51368 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51370 2012-03-08 Marek Polacek <polacek@redhat.com>
51373 * stdio-common/Makefile (tests): Add tst-fphex-wide.
51374 * stdio-common/tst-fphex.c: Define a few macros to make the
51375 test reusable. Use them.
51376 * stdio-common/tst-fphex-wide.c: New file.
51378 2012-03-08 Joseph Myers <joseph@codesourcery.com>
51381 * manual/macros.texi (gnusystems): New macro.
51382 (nongnusystems): Likewise.
51383 (gnulinuxhurdsystems): Likewise.
51384 (gnuhurdsystems): Likewise..
51385 (gnulinuxsystems): Likewise.
51386 * manual/charset.texi: Use new macros or @theglibc{} to refer to
51387 variants of the GNU system, not "GNU system".
51388 * manual/conf.texi: Likewise.
51389 * manual/errno.texi: Likewise. Update example of errno macro
51391 * manual/filesys.texi: Likewise.
51392 (getumask): Document as specific to GNU/Hurd.
51393 * manual/install.texi: Likewise. Reword some references to
51395 * manual/intro.texi: Likewise.
51396 * manual/io.texi: Likewise.
51397 (File Name Portability): Detail which constraints are inapplicable
51398 to all GNU systems and which are only inapplicable to GNU/Hurd.
51399 * manual/job.texi: Likewise.
51400 * manual/llio.texi: Likewise.
51401 (O_NOCTTY): Document as present on GNU/Linux.
51402 * manual/maint.texi: Likewise.
51403 * manual/memory.texi: Likewise.
51404 * manual/pattern.texi: Likewise.
51405 * manual/pipe.texi: Likewise.
51406 * manual/process.texi: Likewise.
51407 * manual/resource.texi: Likewise.
51408 (RUSAGE_CHILDREN): Remove statement about specifying a particular
51410 * manual/setjmp.texi: Likewise.
51411 * manual/signal.texi: Likewise.
51412 * manual/startup.texi: Likewise.
51413 * manual/stdio.texi: Likewise.
51414 * manual/terminal.texi: Likewise.
51415 (ONLCR): Document as POSIX.
51416 (OXTABS): Document availability on GNU/Linux as XTABS.
51417 (ONOEOT): Document availability separately from other bits.
51418 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51419 * manual/time.texi: Likewise.
51420 * manual/users.texi: Likewise.
51421 * INSTALL: Regenerated.
51422 * sysdeps/gnu/errlist.c: Regenerated.
51424 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51425 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51426 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
51428 * configure: Regenerated.
51430 2012-03-07 Joseph Myers <joseph@codesourcery.com>
51432 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51433 default includes instead of AC_HEADER_CHECK.
51434 * sysdeps/i386/configure: Regenerated.
51437 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51438 * math/s_cacoshf.c (__cacoshf): Likewise.
51439 * math/s_cacoshl.c (__cacoshl): Likewise.
51440 * math/s_casinh.c (__casinh): Set signs of result from argument.
51441 * math/s_casinhf.c (__casinhf): Likewise.
51442 * math/s_casinhl.c (__casinhl): Likewise.
51443 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51444 (casinh_test): Add more tests.
51445 * sysdeps/i386/fpu/libm-test-ulps: Update.
51446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51448 2012-03-07 Ulrich Drepper <drepper@gmail.com>
51450 * po/zh_TW.po: Update from translation team.
51452 * login/Makefile (distribute): Remove variable.
51453 * catgets/Makefile: Likewise.
51454 * mach/Makefile: Likewise.
51455 * malloc/Makefile: Likewise.
51456 * misc/Makefile: Likewise.
51457 * iconv/Makefile: Likewise.
51458 * nscd/Makefile: Likewise.
51459 * hurd/Makefile: Likewise.
51460 * manual/Makefile: Likewise.
51461 * locale/Makefile: Likewise.
51462 * intl/Makefile: Likewise.
51463 * conform/Makefile: Likewise.
51464 * nss/Makefile: Likewise.
51465 * time/Makefile: Likewise.
51466 * soft-fp/Makefile: Likewise.
51467 * dirent/Makefile: Likewise.
51468 * gmon/Makefile: Likewise.
51469 * po/Makefile: Likewise.
51470 * rt/Makefile: Likewise.
51471 * socket/Makefile: Likewise.
51472 * math/Makefile: Likewise.
51473 * signal/Makefile: Likewise.
51474 * debug/Makefile: Likewise.
51475 * elf/Makefile: Likewise.
51476 * timezone/Makefile: Likewise.
51477 * stdlib/Makefile: Likewise.
51478 * iconvdata/Makefile: Likewise.
51479 * sunrpc/Makefile: Likewise.
51480 * io/Makefile: Likewise.
51481 * argp/Makefile: Likewise.
51482 * inet/Makefile: Likewise.
51483 * hesiod/Makefile: Likewise.
51484 * grp/Makefile: Likewise.
51485 * csu/Makefile: Likewise.
51486 * wctype/Makefile: Likewise.
51487 * crypt/Makefile: Likewise.
51488 * libio/Makefile: Likewise.
51489 * string/Makefile: Likewise.
51490 * nis/Makefile: Likewise.
51491 * resolv/Makefile: Likewise.
51492 * stdio-common/Makefile: Likewise.
51493 * wcsmbs/Makefile: Likewise.
51494 * dlfcn/Makefile: Likewise.
51495 * posix/Makefile: Likewise.
51498 * timezone/Makefile: Don't install timezone files, just the programs
51501 2012-03-06 Ulrich Drepper <drepper@gmail.com>
51503 * nss/databases.def: Add missing gshadow entry.
51505 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
51507 2012-03-06 Marek Polacek <polacek@redhat.com>
51510 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51511 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51512 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51513 * stdio-common/tst-long-dbl-fphex.c: New file.
51515 2012-03-06 David S. Miller <davem@davemloft.net>
51517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51518 (set_obp_int): New function.
51519 (get_obp_int): New function.
51520 (__get_clockfreq_via_dev_openprom): Likewise.
51521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51522 Avoid unused variable warnings on 'val' and use builtin_expect.
51523 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51525 (INLINE_CLONE_SYSCALL): Likewise.
51527 2012-03-05 David S. Miller <davem@davemloft.net>
51529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51531 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
51533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51536 only for |x| >= 40.
51537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51539 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
51541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51542 Replace gettimeofday with __vdso_gettimeofday.
51544 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51545 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51546 __vdso_clock_gettime and __vdso_getcpu.
51548 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51549 time with __vdso_time.
51551 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51553 * manual/lang.texi (size_t): Note types to which size_t may be
51554 equivalent with the GNU C Library, but do not describe when
51555 differences between them are significant.
51557 2012-03-05 Andreas Jaeger <aj@suse.de>
51559 * sysdeps/i386/fpu/libm-test-ulps: Update.
51561 2012-03-05 Joseph Myers <joseph@codesourcery.com>
51564 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51565 (__ieee754_pow): Save and restore rounding mode and use
51566 round-to-nearest for main computations.
51567 * math/libm-test.inc (pow_test_tonearest): New function.
51568 (pow_test_towardzero): Likewise.
51569 (pow_test_downward): Likewise.
51570 (pow_test_upward): Likewise.
51571 (main): Call the new functions.
51572 * sysdeps/i386/fpu/libm-test-ulps: Update.
51573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51576 * math/libm-test.inc (cosh_test_tonearest): New function.
51577 (cosh_test_towardzero): Likewise.
51578 (cosh_test_downward): Likewise.
51579 (cosh_test_upward): Likewise.
51580 (sinh_test_tonearest): Likewise.
51581 (sinh_test_towardzero): Likewise.
51582 (sinh_test_downward): Likewise.
51583 (sinh_test_upward): Likewise.
51584 (main): Call the new functions.
51585 * sysdeps/i386/fpu/libm-test-ulps: Update.
51586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51588 2012-03-05 Tom de Vries <tom@codesourcery.com>
51590 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51591 default stack guard is set in last bytes.
51592 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51594 2012-03-05 Kees Cook <keescook@chromium.org>
51596 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51599 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51600 possibly allocate from heap instead of stack.
51601 * stdio-common/bug-vfprintf-nargs.c: New file.
51602 * stdio-common/Makefile (tests): Add nargs overflow test.
51604 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
51606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51608 2012-03-03 Marek Polacek <polacek@redhat.com>
51610 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51611 * math/math_private.h: Likewise.
51612 * stdlib/tst-strtod.c: Likewise.
51613 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51614 * sysdeps/x86_64/bits/atomic.h: Likewise.
51616 2012-03-02 David S. Miller <davem@davemloft.net>
51618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51622 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51623 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51624 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51625 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51627 2012-03-02 Roland McGrath <roland@hack.frob.com>
51630 * manual/examples/README: New file, says the example source files
51631 can be used under GPL>=2.
51632 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51633 line containing just "*/".
51634 * manual/examples/add.c: Add copyright header (GPL>=2).
51635 * manual/examples/argp-ex1.c: Likewise.
51636 * manual/examples/argp-ex2.c: Likewise.
51637 * manual/examples/argp-ex3.c: Likewise.
51638 * manual/examples/argp-ex4.c: Likewise.
51639 * manual/examples/atexit.c: Likewise.
51640 * manual/examples/db.c: Likewise.
51641 * manual/examples/dir.c: Likewise.
51642 * manual/examples/dir2.c: Likewise.
51643 * manual/examples/execinfo.c: Likewise.
51644 * manual/examples/filecli.c: Likewise.
51645 * manual/examples/filesrv.c: Likewise.
51646 * manual/examples/fmtmsgexpl.c: Likewise.
51647 * manual/examples/genpass.c: Likewise.
51648 * manual/examples/inetcli.c: Likewise.
51649 * manual/examples/inetsrv.c: Likewise.
51650 * manual/examples/isockad.c: Likewise.
51651 * manual/examples/longopt.c: Likewise.
51652 * manual/examples/memopen.c: Likewise.
51653 * manual/examples/memstrm.c: Likewise.
51654 * manual/examples/mkfsock.c: Likewise.
51655 * manual/examples/mkisock.c: Likewise.
51656 * manual/examples/mygetpass.c: Likewise.
51657 * manual/examples/pipe.c: Likewise.
51658 * manual/examples/popen.c: Likewise.
51659 * manual/examples/rprintf.c: Likewise.
51660 * manual/examples/search.c: Likewise.
51661 * manual/examples/select.c: Likewise.
51662 * manual/examples/setjmp.c: Likewise.
51663 * manual/examples/sigh1.c: Likewise.
51664 * manual/examples/sigusr.c: Likewise.
51665 * manual/examples/stpcpy.c: Likewise.
51666 * manual/examples/strdupa.c: Likewise.
51667 * manual/examples/strftim.c: Likewise.
51668 * manual/examples/strncat.c: Likewise.
51669 * manual/examples/subopt.c: Likewise.
51670 * manual/examples/swapcontext.c: Likewise.
51671 * manual/examples/termios.c: Likewise.
51672 * manual/examples/testopt.c: Likewise.
51673 * manual/examples/testpass.c: Likewise.
51674 * manual/examples/timeval_subtract.c: Likewise.
51677 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51679 * manual/timeval_subtract.c.texi: ... here, new file.
51681 2012-03-02 David S. Miller <davem@davemloft.net>
51683 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51685 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51688 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51689 (__sin): Save and restore rounding mode and use round-to-nearest
51690 for all computations.
51691 (__cos): Save and restore rounding mode and use round-to-nearest
51692 for all computations.
51693 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51695 (tan): Save and restore rounding mode and use round-to-nearest for
51697 * math/libm-test.inc (cos_test_tonearest): New function.
51698 (cos_test_towardzero): Likewise.
51699 (cos_test_downward): Likewise.
51700 (cos_test_upward): Likewise.
51701 (sin_test_tonearest): Likewise.
51702 (sin_test_towardzero): Likewise.
51703 (sin_test_downward): Likewise.
51704 (sin_test_upward): Likewise.
51705 (tan_test_tonearest): Likewise.
51706 (tan_test_towardzero): Likewise.
51707 (tan_test_downward): Likewise.
51708 (tan_test_upward): Likewise.
51709 (main): Call the new functions.
51710 * sysdeps/i386/fpu/libm-test-ulps: Update.
51711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51714 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51715 small n, then large n, before computing and testing k+n.
51716 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51719 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51721 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51722 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51728 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51729 * math/libm-test.inc (scalbn_test): Add more tests.
51730 (scalbln_test): Likewise.
51732 * manual/filesys.texi (mode_t): Describe constraints on size and
51733 signedness, not exact equivalence to a particular type.
51735 (ino64_t): Likewise.
51737 (nlink_t): Likewise.
51738 (blkcnt_t): Likewise.
51739 (blkcnt64_t): Likewise.
51740 * manual/llio.texi (off_t): Likewise.
51743 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51744 (__ieee754_exp): Save and restore rounding mode and use
51745 round-to-nearest for all computations.
51746 * math/libm-test.inc (exp_test_tonearest): New function.
51747 (exp_test_towardzero): Likewise.
51748 (exp_test_downward): Likewise.
51749 (exp_test_upward): Likewise.
51750 (main): Call the new functions.
51751 * sysdeps/i386/fpu/libm-test-ulps: Update.
51752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51754 2012-03-01 Chris Demetriou <cgd@google.com>
51756 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51757 have predictable order.
51759 2012-03-01 David S. Miller <davem@davemloft.net>
51761 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51763 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51764 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51765 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51766 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51768 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51769 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51770 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51772 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51773 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51774 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51775 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51776 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51780 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51781 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51782 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51784 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51785 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51786 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51787 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51788 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51789 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51790 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51791 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51793 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51794 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51798 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51800 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51801 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51802 * sysdeps/sparc/elf/configure: Regenerated.
51804 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51806 * configure.in (AS, LD): Require binutils 2.20 or later.
51807 * configure: Regenerated.
51808 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51809 as required minimum version.
51810 * INSTALL: Regenerated.
51814 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51815 before squaring exponent.
51816 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51817 bottom long double and 27 bits of top long double before squaring
51819 * math/libm-test.inc (erfc_test): Add more tests.
51820 * sysdeps/i386/fpu/libm-test-ulps: Update.
51821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51824 2012-03-01 Kai Tietz <ktietz@redhat.com>
51826 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51827 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51828 containing bit-fields.
51829 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51830 * soft-fp/single.h (_FP_UNION_S): Likewise.
51831 * soft-fp/double.h (_FP_UNION_D): Likewise.
51833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51836 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51837 not include ../strcmp.S.
51838 [USE_AS_STRNCASECMP_L]: Likewise.
51839 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51840 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51841 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51842 (__strncasecmp_l_ia32): Define as alias to
51843 __strncasecmp_l_nonascii.
51846 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51847 * sysdeps/i386/fpu/libm-test-ulps: Update.
51848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51850 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51853 2012-02-29 Jeff Law <law@redhat.com>
51855 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51856 out of bounds read.
51858 2012-02-29 Marek Polacek <polacek@redhat.com>
51861 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51862 * elf/Makefile: Add rules to run tst-unused-dep.out.
51864 2012-02-28 David S. Miller <davem@davemloft.net>
51866 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51867 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51868 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51869 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51870 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51871 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51873 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51875 * math/libm-test.inc (llround_test): Move one test from
51876 lround_test. Use TEST_f_L in moved test.
51877 (lround_test): Move misplaced test to llround_test. Add testcase
51880 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51882 * sysdeps/x86_64/fpu/e_expf.S: New file.
51883 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51885 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51888 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51889 of remain_len that may cause incomplete multi-byte character and
51891 * posix/bug-regex33.c: New file.
51892 * posix/Makefile (tests): Add bug-regex33.
51894 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51896 * manual/macros.texi: New file.
51897 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51898 * manual/libc.texinfo: Include macros.texi.
51899 * manual/creatute.texi: Likewise.
51900 * manual/install.texi: Likewise.
51901 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51902 @glibcadj{} in references to the GNU C Library.
51903 * manual/charset.texi: Likewise.
51904 * manual/conf.texi: Likewise.
51905 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51906 when not using those macros.
51907 * manual/creature.texi: Likewise.
51908 * manual/crypt.texi: Likewise.
51909 * manual/errno.texi: Likewise.
51910 * manual/filesys.texi: Likewise.
51911 * manual/header.texi: Likewise.
51912 * manual/install.texi: Likewise.
51913 * manual/intro.texi: Likewise.
51914 * manual/io.texi: Likewise.
51915 * manual/job.texi: Likewise.
51916 * manual/lang.texi: Likewise.
51917 * manual/libc.texiinfo: Likewise.
51918 * manual/llio.texi: Likewise.
51919 * manual/locale.texi: Likewise.
51920 * manual/maint.texi: Likewise.
51921 * manual/math.texi: Likewise.
51922 * manual/memory.texi: Likewise.
51923 * manual/message.texi: Likewise.
51924 * manual/nss.texi: Likewise.
51925 * manual/pattern.texi: Likewise.
51926 * manual/process.texi: Likewise.
51927 * manual/resource.texi: Likewise.
51928 * manual/search.texi: Likewise.
51929 * manual/setjmp.texi: Likewise.
51930 * manual/signal.texi: Likewise.
51931 * manual/socket.texi: Likewise.
51932 * manual/startup.texi: Likewise.
51933 * manual/stdio.texi: Likewise.
51934 * manual/string.texi: Likewise.
51935 * manual/sysinfo.texi: Likewise.
51936 * manual/syslog.texi: Likewise.
51937 * manual/terminal.texi: Likewise.
51938 * manual/time.texi: Likewise.
51939 * manual/users.texi: Likewise.
51940 * INSTALL: Regenerated.
51941 * NOTES: Regenerated.
51942 * sysdeps/gnu/errlist.c: Regenerated.
51944 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51946 * include/dirent.h: Include <dirstream.h> before
51949 2012-02-28 David S. Miller <davem@davemloft.net>
51951 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51952 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51953 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51954 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51956 2012-02-27 David S. Miller <davem@davemloft.net>
51958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51960 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51961 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51964 frame pointer instead of stack pointer relative arg slot.
51965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51966 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51967 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51969 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51972 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51974 2012-02-27 David S. Miller <davem@davemloft.net>
51976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51982 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51983 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51985 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51987 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51988 later. Allow versions 5-9.
51989 * configure: Regenerated.
51990 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51991 required minimum version and 4.6 as recommended version. Do not
51992 mention bugs in GCC 2.7 and 2.8.
51993 * INSTALL: Regenerated.
51995 2012-02-27 David S. Miller <davem@davemloft.net>
51997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52001 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52002 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52003 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52004 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52007 manipulate bits before adding and subtracting TWO112[sx].
52008 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52010 2012-02-27 Roland McGrath <roland@hack.frob.com>
52013 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52014 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52015 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52016 being in POSIX, because they are in 1003.1-2008.
52018 * rt/tst-aio.c: Include <fcntl.h>.
52019 * rt/tst-aio7.c: Likewise.
52020 * rt/tst-aio64.c: Likewise.
52022 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52024 2012-02-27 Joseph Myers <joseph@codesourcery.com>
52026 * manual/install.texi (--with-headers): Describe headers as
52027 interface headers, not private headers.
52028 (Specific advice for GNU/Linux systems): Describe use of headers
52029 from "make headers_install", not private headers from older
52031 * INSTALL: Regenerated.
52032 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52034 * sysdeps/unix/sysv/linux/configure: Regenerated.
52036 * manual/llio.texi (fclean): Remove documentation.
52038 * manual/Makefile (libc-texi-generated): New variable. Include
52040 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52041 $(libc-texi-generated), not duplicated list of files.
52042 (version.texi, stamp-version): New rules.
52043 (realclean): Remove $(libc-texi-generated), not individual files
52044 from that list. Do not remove dir-add.texinfo.
52045 * manual/libc.texinfo: Comment out uses of edition numbers and
52046 references to printed manual. Remove last-updated dates.
52047 (EDITION): Comment out.
52049 (VERSION, UPDATED): Remove.
52050 (version.texi): Include.
52052 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
52054 * sysdeps/posix/spawni.c: Include <signal.h>.
52055 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52056 * sysdeps/pthread/aio_fsync.c: Likewise.
52058 2012-02-26 Ulrich Drepper <drepper@gmail.com>
52060 * conform/Makefile (tests): Run only when not cross-compiling and
52061 when fast-check is not defined.
52063 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52064 * conform/data/limits.h-data: Fixes for POSIX2008.
52065 * conform/run-conformtest.sh: Run all tests.
52066 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52068 * include/bits/dlfcn.h: Likewise.
52069 * include/langinfo.h: Likewise.
52070 * include/monetary.h: Likewise.
52071 * include/sys/poll.h: Likewise.
52073 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52075 * posix/spawn.h: Define __need_sigset_t.
52076 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52077 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52078 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
52079 to get sigevent_t only.
52080 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52081 only for __USE_GNU.
52082 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52083 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52084 process_vm_writev only for __USE_GNU.
52085 * termios/termios.h: Declare tcgetsid also for POSIX2008.
52087 * conform/Makefile: For now ignore errors from run-conformtest.
52088 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
52089 POSIX to avoid namespace pollution. Don't prepend headers.
52090 * conform/data/aio.h-data: Fixes for POSIX testing.
52091 * conform/data/fcntl.h-data: Likewise.
52092 * conform/data/glob.h-data: Likewise.
52093 * conform/data/grp.h-data: Likewise.
52094 * conform/data/pthread.h-data: Likewise.
52095 * conform/data/pwd.h-data: Likewise.
52096 * conform/data/signal.h-data: Likewise.
52097 * conform/data/spawn.h-data: Likewise.
52098 * conform/data/stdio.h-data: Likewise.
52099 * conform/data/stdlib.h-data: Likewise.
52100 * conform/data/stropts.h-data: Likewise.
52101 * conform/data/sys/mman.h-data: Likewise.
52102 * conform/data/sys/stat.h-data: Likewise.
52103 * conform/data/sys/types.h-data: Likewise.
52104 * conform/data/sys/wait.h-data: Likewise.
52105 * conform/data/time.h-data: Likewise.
52106 * conform/data/unistd.h-data: Likewise.
52107 * conform/data/utime.h-data: Likewise.
52109 * io/sys/stat.h: fchmod was always in POSIX.
52110 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52111 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52112 * rt/aio.h: Define __need_timespec before including <time.h>.
52113 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52114 struct. Add forward declaration of pthread_attr_t and use it in
52116 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52117 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52118 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52119 always remove CLK_TCK definition.
52121 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
52123 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52125 2012-02-25 Ulrich Drepper <drepper@gmail.com>
52127 * conform/run-conformtest.sh: New file.
52128 * conform/Makefile: Run run-conformtest for tests.
52129 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
52132 * conform/data/uchar.h-data: New file.
52133 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52134 * conform/data/arpa/inet.h-data: Likewise.
52135 * conform/data/assert.h-data: Likewise.
52136 * conform/data/complex.h-data: Likewise.
52137 * conform/data/cpio.h-data: Likewise.
52138 * conform/data/ctype.h-data: Likewise.
52139 * conform/data/dirent.h-data: Likewise.
52140 * conform/data/dlfcn.h-data: Likewise.
52141 * conform/data/errno.h-data: Likewise.
52142 * conform/data/fcntl.h-data: Likewise.
52143 * conform/data/float.h-data: Likewise.
52144 * conform/data/fmtmsg.h-data: Likewise.
52145 * conform/data/fnmatch.h-data: Likewise.
52146 * conform/data/ftw.h-data: Likewise.
52147 * conform/data/glob.h-data: Likewise.
52148 * conform/data/grp.h-data: Likewise.
52149 * conform/data/iconv.h-data: Likewise.
52150 * conform/data/inttypes.h-data: Likewise.
52151 * conform/data/langinfo.h-data: Likewise.
52152 * conform/data/libgen.h-data: Likewise.
52153 * conform/data/limits.h-data: Likewise.
52154 * conform/data/locale.h-data: Likewise.
52155 * conform/data/math.h-data: Likewise.
52156 * conform/data/monetary.h-data: Likewise.
52157 * conform/data/mqueue.h-data: Likewise.
52158 * conform/data/ndbm.h-data: Likewise.
52159 * conform/data/net/if.h-data: Likewise.
52160 * conform/data/netdb.h-data: Likewise.
52161 * conform/data/netinet/in.h-data: Likewise.
52162 * conform/data/nl_types.h-data: Likewise.
52163 * conform/data/poll.h-data: Likewise.
52164 * conform/data/pthread.h-data: Likewise.
52165 * conform/data/pwd.h-data: Likewise.
52166 * conform/data/regex.h-data: Likewise.
52167 * conform/data/sched.h-data: Likewise.
52168 * conform/data/search.h-data: Likewise.
52169 * conform/data/semaphore.h-data: Likewise.
52170 * conform/data/setjmp.h-data: Likewise.
52171 * conform/data/signal.h-data: Likewise.
52172 * conform/data/spawn.h-data: Likewise.
52173 * conform/data/stdarg.h-data: Likewise.
52174 * conform/data/stdio.h-data: Likewise.
52175 * conform/data/stdlib.h-data: Likewise.
52176 * conform/data/string.h-data: Likewise.
52177 * conform/data/strings.h-data: Likewise.
52178 * conform/data/stropts.h-data: Likewise.
52179 * conform/data/sys/ipc.h-data: Likewise.
52180 * conform/data/sys/mman.h-data: Likewise.
52181 * conform/data/sys/msg.h-data: Likewise.
52182 * conform/data/sys/resource.h-data: Likewise.
52183 * conform/data/sys/select.h-data: Likewise.
52184 * conform/data/sys/sem.h-data: Likewise.
52185 * conform/data/sys/shm.h-data: Likewise.
52186 * conform/data/sys/socket.h-data: Likewise.
52187 * conform/data/sys/stat.h-data: Likewise.
52188 * conform/data/sys/statvfs.h-data: Likewise.
52189 * conform/data/sys/time.h-data: Likewise.
52190 * conform/data/sys/timeb.h-data: Likewise.
52191 * conform/data/sys/times.h-data: Likewise.
52192 * conform/data/sys/types.h-data: Likewise.
52193 * conform/data/sys/uio.h-data: Likewise.
52194 * conform/data/sys/un.h-data: Likewise.
52195 * conform/data/sys/utsname.h-data: Likewise.
52196 * conform/data/sys/wait.h-data: Likewise.
52197 * conform/data/syslog.h-data: Likewise.
52198 * conform/data/tar.h-data: Likewise.
52199 * conform/data/termios.h-data: Likewise.
52200 * conform/data/utime.h-data: Likewise.
52201 * conform/data/utmpx.h-data: Likewise.
52202 * conform/data/varargs.h-data: Likewise.
52203 * conform/data/wchar.h-data: Likewise.
52204 * conform/data/wctype.h-data: Likewise.
52205 * conform/data/wordexp.h-data: Likewise.
52207 * include/stropts.h: New file.
52208 * include/uchar.h: New file.
52209 * include/aio.h: Changes to allow conformtest.pl to use the headers.
52210 * include/assert.h: Likewise.
52211 * include/ctype.h: Likewise.
52212 * include/dirent.h: Likewise.
52213 * include/dlfcn.h: Likewise.
52214 * include/fcntl.h: Likewise.
52215 * include/fnmatch.h: Likewise.
52216 * include/glob.h: Likewise.
52217 * include/grp.h: Likewise.
52218 * include/libio.h: Likewise.
52219 * include/locale.h: Likewise.
52220 * include/math.h: Likewise.
52221 * include/net/if.h: Likewise.
52222 * include/netdb.h: Likewise.
52223 * include/netinet/in.h: Likewise.
52224 * include/pthread.h: Likewise.
52225 * include/pwd.h: Likewise.
52226 * include/regex.h: Likewise.
52227 * include/sched.h: Likewise.
52228 * include/search.h: Likewise.
52229 * include/setjmp.h: Likewise.
52230 * include/signal.h: Likewise.
52231 * include/stdio.h: Likewise.
52232 * include/stdlib.h: Likewise.
52233 * include/string.h: Likewise.
52234 * include/sys/cdefs.h: Likewise.
52235 * include/sys/mman.h: Likewise.
52236 * include/sys/msg.h: Likewise.
52237 * include/sys/resource.h: Likewise.
52238 * include/sys/select.h: Likewise.
52239 * include/sys/socket.h: Likewise.
52240 * include/sys/stat.h: Likewise.
52241 * include/sys/statvfs.h: Likewise.
52242 * include/sys/time.h: Likewise.
52243 * include/sys/times.h: Likewise.
52244 * include/sys/uio.h: Likewise.
52245 * include/sys/utsname.h: Likewise.
52246 * include/sys/wait.h: Likewise.
52247 * include/termios.h: Likewise.
52248 * include/time.h: Likewise.
52249 * include/ulimit.h: Likewise.
52250 * include/unistd.h: Likewise.
52251 * include/utime.h: Likewise.
52252 * include/wchar.h: Likewise.
52253 * include/wctype.h: Likewise.
52254 * include/wordexp.h: Likewise.
52256 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52258 * time/time.h: TIME_UTC must be a macro.
52259 Make timespec_get available for ISO C11 only as well.
52261 2012-02-24 Ulrich Drepper <drepper@gmail.com>
52263 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52264 Reported by Peng Haitao <penght@cn.fujitsu.com>.
52266 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52268 * configure.in: Use -o not -a in test for unsupported multi-arch.
52270 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52272 * manual/texinfo.tex: Update to version 2012-01-19.16.
52274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
52276 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52278 2012-02-24 Roland McGrath <roland@hack.frob.com>
52281 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52282 * manual/fdl-1.3.texi: New file.
52283 * manual/fdl-1.1.texi: File removed.
52286 * manual/libc.texinfo (FDL_VERSION): New @set.
52287 Use it for mention of FDL in cover text.
52288 (Documentation License): Use it in @include file name.
52290 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52291 Roland McGrath <roland@hack.frob.com>
52294 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52295 (not LONG_LONG_MAX and LONG_LONG_MIN.
52296 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52297 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
52299 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52301 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52305 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52306 manipulate bits before adding and subtracting TWO23[sx].
52307 * math/libm-test.inc (nearbyint_test): Add more tests.
52309 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52312 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52313 bits before adding and subtracting TWO23[sx].
52314 * math/libm-test.inc (rint_test): Add more tests.
52315 (rint_test_tonearest): Likewise.
52316 (rint_test_towardzero): Likewise.
52317 (rint_test_downward): Likewise.
52318 (rint_test_upward: Likewise.
52320 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52323 * include/stdc-predef.h: New file. Extracted from features.h.
52324 * include/features.h: Include stdc-predef.h.
52325 * Makefile (headers): Add stdc-predef.h.
52326 * CONFORMANCE (Compiler limitations): Update.
52328 2012-02-22 Joseph Myers <joseph@codesourcery.com>
52330 * manual/libc.texinfo (VERSION, UPDATED): Revert.
52332 2012-02-21 David S. Miller <davem@davemloft.net>
52334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52335 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52337 2012-02-20 David S. Miller <davem@davemloft.net>
52339 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52340 using a normal save/restore sequence, rather than allocating a
52341 dummy stack frame just to store a frame pointer and restore.
52342 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52344 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52346 * manual/install.texi: Fix stray word in line-wrapped comment.
52348 2012-02-20 David S. Miller <davem@davemloft.net>
52350 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52351 both binutils and gcc support GOTDATA.
52353 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52354 "rd %pc" in the PIC register setup sequences.
52356 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52357 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52358 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52359 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52360 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52365 (SYSCALL_ERROR_HANDLER): Likewise.
52366 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52367 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52369 (SYSCALL_ERROR_HANDLER): Likewise.
52371 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52372 (HAVE_GCC_GOTDATA): New.
52373 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52374 relocation support in both binutils and gcc.
52375 * sysdeps/sparc/elf/configure: Regenerate.
52377 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52378 * sysdeps/sparc/sparc32/elf/configure: Delete.
52379 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52380 * sysdeps/sparc/sparc64/elf/configure: Delete.
52381 * sysdeps/sparc/elf/configure.in: New file.
52382 * sysdeps/sparc/elf/configure: Generate.
52384 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52385 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52386 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52387 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52388 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52390 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52392 * manual/install.texi: Do not mention specific glibc version
52394 * manual/libc.texinfo (VERSION, UPDATED): Update.
52395 (@copying): Use @copyright{} and range of years.
52397 2012-02-21 Joseph Myers <joseph@codesourcery.com>
52400 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52401 [crti.S not in sysdirs] (generated): Do not append.
52402 [crti.S not in sysdirs] (omit-deps): Likewise.
52403 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52404 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52405 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52406 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52407 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52409 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52410 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52411 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52412 * csu/defs.awk: Remove file.
52413 * sysdeps/generic/initfini.c: Likewise.
52414 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52416 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52419 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52421 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52422 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52423 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52425 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52426 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52428 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52429 (__EPOLL_PACKED): Define to empty if not defined by
52431 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52435 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52437 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52438 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52439 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52440 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52442 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52446 2012-02-20 Joseph Myers <joseph@codesourcery.com>
52448 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52451 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52452 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52455 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
52457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52458 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52460 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
52462 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52463 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52465 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52467 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52470 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
52472 * math/w_acos.c: Use non-signaling floating-point comparisons.
52473 * math/w_acosf.c: Likewise.
52474 * math/w_acosh.c: Likewise.
52475 * math/w_acoshf.c: Likewise.
52476 * math/w_acoshl.c: Likewise.
52477 * math/w_acosl.c: Likewise.
52478 * math/w_asin.c: Likewise.
52479 * math/w_asinf.c: Likewise.
52480 * math/w_asinl.c: Likewise.
52481 * math/w_atanh.c: Likewise.
52482 * math/w_atanhf.c: Likewise.
52483 * math/w_atanhl.c: Likewise.
52484 * math/w_exp2.c: Likewise.
52485 * math/w_exp2f.c: Likewise.
52486 * math/w_exp2l.c: Likewise.
52487 * math/w_j0.c: Likewise.
52488 * math/w_j0f.c: Likewise.
52489 * math/w_j0l.c: Likewise.
52490 * math/w_j1.c: Likewise.
52491 * math/w_j1f.c: Likewise.
52492 * math/w_j1l.c: Likewise.
52493 * math/w_jn.c: Likewise.
52494 * math/w_jnf.c: Likewise.
52495 * math/w_log.c: Likewise.
52496 * math/w_log10.c: Likewise.
52497 * math/w_log10f.c: Likewise.
52498 * math/w_log10l.c: Likewise.
52499 * math/w_log2.c: Likewise.
52500 * math/w_log2f.c: Likewise.
52501 * math/w_log2l.c: Likewise.
52502 * math/w_logf.c: Likewise.
52503 * math/w_logl.c: Likewise.
52504 * math/w_sqrt.c: Likewise.
52505 * math/w_sqrtf.c: Likewise.
52506 * math/w_sqrtl.c: Likewise.
52507 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52508 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52510 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52511 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52513 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52516 * manual/string.texi (strnlen): Use correct parameter name in
52517 equivalent expression.
52519 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52522 * manual/users.texi (seteuid): Consistently use neweuid for
52525 2012-02-19 Joseph Myers <joseph@codesourcery.com>
52528 * manual/nss.texi (Services in the NSS configuration): Correct
52529 list of services in example configuration file.
52531 2012-02-19 Nick Bowler <nbowler@draconx.ca>
52534 * manual/arith.texi: Remove statements about negative zero
52535 behaving identically to zero.
52537 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52540 * manual/install.texi: Do not document upgrading from libc5.
52542 2012-02-18 Joseph Myers <joseph@codesourcery.com>
52545 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52547 2012-02-18 David S. Miller <davem@davemloft.net>
52549 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52550 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52551 %o7 across the call.
52552 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52555 SETUP_PIC_REG_LEAF.
52556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52557 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52558 * sysdeps/sparc/crtn.S: Likewise.
52560 2012-02-17 Ulrich Drepper <drepper@gmail.com>
52562 * aout/Makefile: Remove.
52564 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
52567 * manual/examples/argp-ex1.c (main): Format definition in GNU
52569 * manual/examples/argp-ex2.c (main): Likewise.
52570 * manual/examples/argp-ex3.c (main): Likewise.
52571 * manual/examples/argp-ex4.c (main): Likewise.
52572 * manual/examples/longopt.c (main): Use new-style prototype
52574 * manual/examples/strncat.c (main): Specify return type and use
52575 (void) for arguments.
52576 * manual/examples/subopt.c (main): Use char **argv argument.
52578 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52581 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52584 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
52587 * manual/string.texi (strchr): Change when strchrnul is
52590 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
52593 * manual/locale.texi (setlocale): Document LOCPATH.
52595 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52598 * manual/process.texi (execle): Move @dots{} before last argument.
52600 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
52603 * manual/charset.texi (Generic Charset Conversion): Fix typo
52604 (LC_TYPE -> LC_CTYPE).
52606 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
52609 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52610 (scalbnf): Likewise.
52611 (scalbnl): Likewise.
52612 (scalbln): Likewise.
52613 (scalblnf): Likewise.
52614 (scalblnl): Likewise.
52615 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52616 (vwarnx): Likewise.
52619 * manual/filesys.texi (telldir): Use braces around return type.
52620 * manual/llio.texi (mmap): Add space after comma.
52621 (mmap64): Likewise.
52622 * manual/math.texi (jn): Use @var{} on parameter names.
52628 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52630 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52632 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52633 (sched_get_priority_max): Likewise.
52634 * manual/signal.texi (sigvec): Add space after comma.
52635 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52637 (if_indextoname): Likewise.
52638 (if_freenameindex): Likewise.
52639 (sendto): Use ',' instead of '.' in prototype.
52640 * manual/startup.texi (syscall): Use @dots{} instead of literal
52642 * manual/stdio.texi (__fpending): Separate initial words of
52643 paragraph from @deftypefun line.
52644 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52646 (vsyslog): Use @var{} on parameter names.
52647 * manual/terminal.texi (stty): Use @var{} on parameter names.
52648 * manual/users.texi (getutmp): Use @var{} on parameter names.
52649 (getutmpx): Likewise.
52651 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52654 * manual/stdio.texi (fopen): Fix typos in description of
52657 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52660 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52661 get clock_id definition.
52663 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52666 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52667 (madvise): Cast every argument to void on its own.
52669 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52672 * manual/startup.texi (Exit Status): Fix typo.
52674 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52677 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52678 * manual/examples/argp-ex2.c: Likewise.
52679 * manual/examples/argp-ex3.c: Likewise.
52681 2012-02-16 Richard Henderson <rth@redhat.com>
52683 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52684 * sysdeps/s390/s390-32/initfini.c: Remove.
52685 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52686 * sysdeps/s390/s390-64/initfini.c: Remove.
52688 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52690 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52691 compiler output for sysdeps/generic/initfini.c.
52692 * sysdeps/sh/elf/initfini.c: Remove file.
52694 2012-02-16 David S. Miller <davem@davemloft.net>
52697 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52699 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52700 * sysdeps/sparc/crti.S: New file.
52701 * sysdeps/sparc/crtn.S: New file.
52702 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52703 * sysdeps/sparc/sparc64/Makefile: Likewise.
52705 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52708 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52710 2012-02-15 Roland McGrath <roland@hack.frob.com>
52713 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52715 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52716 (write, read, close): Likewise.
52717 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52719 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52721 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52722 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52723 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52724 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52726 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52727 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52730 2012-02-14 Marek Polacek <polacek@redhat.com>
52732 * sysdeps/x86_64/crti.S: New file.
52733 * sysdeps/x86_64/crtn.S: New file.
52734 * sysdeps/x86_64/elf/initfini.c: Remove file.
52736 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52738 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52739 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52740 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52741 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52743 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52747 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52749 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52750 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52751 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52752 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52754 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52755 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52758 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52760 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52761 __feraiseexcept instead of feraiseexcept.
52763 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52764 nanosleep invocations.
52765 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52766 strings, and add error checking for a nanosleep invocations.
52768 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52770 Replace FSF snail mail address with URLs, as per GNU coding standards.
52771 Most of the snail mail addresses were wrong anyway, and omitting
52772 them makes the source code easier to maintain. Almost all of the
52773 changes are to license notices and to locale LC_IDENTIFICATION
52774 addresses, except for this one:
52775 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52776 not its snail mail address.
52778 2012-02-09 Richard Henderson <rth@twiddle.net>
52780 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52781 of kernel-features.h.
52783 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52785 2012-02-08 Marek Polacek <polacek@redhat.com>
52787 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52788 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52789 * sysdeps/gnu/_G_config.h: Likewise.
52790 * sysdeps/generic/_G_config.h: Likewise.
52792 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52794 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52798 * sysdeps/powerpc/powerpc32/crti.S: New file.
52799 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52800 * sysdeps/powerpc/powerpc64/crti.S: New file.
52801 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52803 * Makeconfig (have-initfini): Don't set.
52804 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52805 * configure.in (nopic_initfini): Don't substitute.
52806 * config.h.in (HAVE_INITFINI): Don't #undef.
52807 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52808 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52810 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52812 Support crti.S and crtn.S provided directly by architectures.
52813 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52814 [crti.S in sysdirs] (omit-deps): Likewise.
52815 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52816 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52817 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52818 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52819 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52820 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52821 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52822 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52823 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52824 compiler output for sysdeps/generic/initfini.c.
52825 * sysdeps/i386/elf/Makefile: Remove file.
52826 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52828 2012-02-07 Marek Polacek <polacek@redhat.com>
52830 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52831 * sysdeps/gnu/_G_config.h: Likewise.
52832 * sysdeps/mach/hurd/_G_config.h: Likewise.
52834 2012-02-07 Marek Polacek <polacek@redhat.com>
52836 * math/Makefile (tests): Add tst-CMPLX2.
52837 * math/tst-CMPLX2.c: New file.
52839 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52841 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52843 * math/libm-test.inc (jn_test): Add missing L suffix.
52845 2012-02-06 Marek Polacek <polacek@redhat.com>
52847 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52848 * sysdeps/i386/fpu/e_powf.S: Likewise.
52849 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52850 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52851 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52852 * sysdeps/i386/fpu/e_pow.S: Likewise.
52853 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52854 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52855 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52856 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52857 * sysdeps/i386/fpu/e_log2.S: Likewise.
52858 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52859 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52860 * sysdeps/i386/fpu/e_powl.S: Likewise.
52861 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52862 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52863 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52864 * sysdeps/i386/fpu/e_logl.S: Likewise.
52865 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52866 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52867 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52868 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52869 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52870 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52871 * sysdeps/i386/fpu/e_log.S: Likewise.
52872 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52873 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52874 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52875 * sysdeps/i386/fpu/e_logf.S: Likewise.
52876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52877 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52878 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52879 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52880 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52881 * sysdeps/i386/fpu/e_log10.S: Likewise.
52882 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52883 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52884 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52885 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52886 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52887 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52888 * sysdeps/i386/asm-syntax.h: Likewise.
52889 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52890 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52891 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52892 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52893 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52894 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52895 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52896 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52897 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52898 * sysdeps/powerpc/sysdep.h: Likewise.
52899 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52900 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52902 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52905 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52907 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52909 * sysdeps/i386/sysdep.h: Include <features.h>.
52910 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52913 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52915 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52917 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52920 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52922 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52923 (SETUP_PIC_REG): Use GET_PC_THUNK.
52924 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52927 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52929 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52930 for non-PIC compilation.
52931 (SETUP_PIC_REG): Add .p2align directive.
52932 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52933 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52934 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52935 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52937 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52938 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52939 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52940 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52941 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52942 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52943 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52944 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52945 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52946 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52947 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52948 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52949 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52950 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52951 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52953 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52954 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52960 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52961 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52962 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52963 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52964 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52965 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52966 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52967 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52968 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52969 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52970 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52971 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52972 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52974 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52976 * math/tst-CMPLX.c: Include <stdio.h>.
52978 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52980 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52982 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52983 * sysdeps/sparc/bits/mathdef.h: Likewise.
52985 2012-01-31 Marek Polacek <polacek@redhat.com>
52987 * libio/libio.h: Don't define _PARAMS.
52988 * locale/programs/config.h: Don't define PARAMS.
52989 * stdlib/strtol_l.c: Likewise.
52990 (__strtol_l): Remove PARAMS from the prototype.
52992 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52994 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52995 names. Just use the correct names. Remove unnecessary wrapper
52997 * malloc/arena.c: Likewise.
52998 * malloc/hooks.c: Likewise.
53000 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53001 ARENA_TEST says not to. Simplify test for creation of a new arena.
53002 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53004 2012-01-30 Ulrich Drepper <drepper@gmail.com>
53006 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53008 (update_get_addr): New function.
53009 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53010 GET_ADDR_MODULE parameter.
53012 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53014 * crypt/cert.c: Remove __STDC__ conditionals.
53015 * crypt/crypt-entry.c: Likewise.
53016 * crypt/crypt_util.c: Likewise.
53017 * libio/filedoalloc.c: Likewise.
53018 * libio/fileops.c: Likewise.
53019 * libio/genops.c: Likewise.
53020 * libio/iofclose.c: Likewise.
53021 * libio/iofdopen.c: Likewise.
53022 * libio/iofopen.c: Likewise.
53023 * libio/iofopen64.c: Likewise.
53024 * libio/iogetdelim.c: Likewise.
53025 * libio/iopopen.c: Likewise.
53026 * libio/obprintf.c: Likewise.
53027 * libio/oldfileops.c: Likewise.
53028 * libio/oldiofclose.c: Likewise.
53029 * libio/oldiofdopen.c: Likewise.
53030 * libio/oldiofopen.c: Likewise.
53031 * libio/oldiopopen.c: Likewise.
53032 * libio/wfiledoalloc.c: Likewise.
53033 * libio/wgenops.c: Likewise.
53034 * locale/programs/xmalloc.c: Likewise.
53035 * misc/syslog.c: Likewise.
53036 * stdio-common/xbug.c: Likewise.
53037 * string/memchr.c: Likewise.
53038 * string/memcmp.c: Likewise.
53039 * string/memrchr.c: Likewise.
53040 * string/rawmemchr.c: Likewise.
53041 * sysdeps/posix/getcwd.c: Likewise.
53042 * time/strftime_l.c: Likewise.
53044 2012-01-30 Joseph Myers <joseph@codesourcery.com>
53046 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53047 * config.make.in (config-cflags-sse2avx): Define.
53048 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53051 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
53053 * scripts/config.guess: Update from upstream config git repository.
53054 * scripts/config.sub: Likewise.
53056 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
53058 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53060 (R_TILEPRO_*, R_TILEGX_*): New macros.
53062 * scripts/firstversions.awk: Fix bug in version range handling.
53064 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53066 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53068 * include/sys/epoll.h: New file.
53069 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53072 2012-01-28 Ulrich Drepper <drepper@gmail.com>
53074 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53075 Avoid unnecessary __WORDSIZE == 64 test.
53076 (fmaxf): Use VEX format if possible.
53081 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53082 * math/math_private.h: Remove libc_fegetround* and
53084 * sysdeps/i386/configure.in: Check for -msse2avx.
53085 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53086 also if SSE2AVX is defined.
53087 Remove libc_fegetround* and libc_fesetround*.
53088 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53089 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
53090 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53092 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53093 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53094 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53095 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53096 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53098 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53100 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53102 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53104 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53106 2012-01-27 Ulrich Drepper <drepper@gmail.com>
53109 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53111 * Makeconfig (libm): Define.
53112 * elf/Makefile: Add rules to build and run tst-relsort1.
53113 * elf/tst-relsort1.c: New file.
53114 * elf/tst-relsort1mod1.c: New file.
53115 * elf/tst-relsort1mod2.c: New file.
53117 2012-01-27 Joseph Myers <joseph@codesourcery.com>
53119 * math/s_ldexp.c: Remove __STDC__ conditionals.
53120 * math/s_ldexpf.c: Likewise.
53121 * math/s_ldexpl.c: Likewise.
53122 * math/s_nextafter.c: Likewise.
53123 * math/s_nexttowardf.c: Likewise.
53124 * math/s_significand.c: Likewise.
53125 * math/s_significandf.c: Likewise.
53126 * math/s_significandl.c: Likewise.
53127 * math/w_jnl.c: Likewise.
53128 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53129 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53130 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53131 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53132 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53133 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53134 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53137 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53138 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53142 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53144 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53145 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53147 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53148 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53149 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53150 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53151 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53152 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53153 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53154 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53156 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53157 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53158 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53159 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53160 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53161 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53162 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53164 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53165 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53166 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53167 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53168 * sysdeps/ieee754/k_standard.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53173 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53176 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53177 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53178 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53179 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53180 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53204 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53207 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53208 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53212 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53213 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53215 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53216 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53217 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53219 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53222 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53223 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53224 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53225 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53226 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53227 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53229 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53230 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53231 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53233 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53234 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53235 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53236 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53238 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53239 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53240 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53241 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53242 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53243 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53244 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53245 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53246 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53247 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53248 * sysdeps/ieee754/s_matherr.c: Likewise.
53249 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53250 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53251 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53254 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53256 * crypt/md5.h: Remove __STDC__ conditionals.
53257 * libio/libioP.h: Likewise.
53258 * locale/programs/config.h: Likewise.
53259 * sysdeps/generic/sysdep.h: Likewise.
53260 * sysdeps/i386/asm-syntax.h: Likewise.
53261 * sysdeps/s390/asm-syntax.h: Likewise.
53262 * sysdeps/unix/sysdep.h: Likewise.
53263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53266 2012-01-26 Joseph Myers <joseph@codesourcery.com>
53268 * libio/libio.h: Remove __STDC__ conditionals.
53269 * malloc/obstack.h: Likewise.
53270 * math/complex.h: Likewise.
53271 * math/math.h: Likewise.
53272 * sysdeps/generic/_G_config.h: Likewise.
53273 * sysdeps/gnu/_G_config.h: Likewise.
53274 * sysdeps/mach/hurd/_G_config.h: Likewise.
53275 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53276 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53277 * sysdeps/sparc/bits/mathdef.h: Likewise.
53279 2012-01-26 Ulrich Drepper <drepper@gmail.com>
53282 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53283 Clean up HAS_* macros.
53284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53285 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53287 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53289 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53290 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53291 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53292 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53293 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53295 2012-01-25 Joseph Myers <joseph@codesourcery.com>
53297 * elf/tst-unique3.cc (gets): Remove declaration.
53298 * elf/tst-unique3lib.cc (gets): Likewise.
53299 * elf/tst-unique3lib2.cc (gets): Likewise.
53300 * elf/tst-unique4.cc (gets): Likewise.
53302 2012-01-24 Ulrich Drepper <drepper@gmail.com>
53304 * include/stdio.h: Add C++ protection. Add gets declarations and
53306 * debug/tst-chk1.c: Don't declare gets here.
53307 * stdio-common/tst-gets.c: Likewise.
53309 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53311 * posix/glob: Remove directory.
53313 2012-01-24 Joseph Myers <joseph@codesourcery.com>
53315 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53317 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
53319 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53320 of the non-standard EPFNOSUPPORT.
53322 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
53324 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53325 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53326 ANYWHERE set to 1 only on KERN_NO_SPACE error.
53328 2012-01-21 Ulrich Drepper <drepper@gmail.com>
53330 * wcsmbs/uchar.h: Test __STDC_VERSION__.
53332 2012-01-20 Ulrich Drepper <drepper@gmail.com>
53334 * nscd/aicache.c (addhstaiX): Do not cache negative results of
53336 * nscd/grpcache.c (cache_addgr): Likewise.
53337 * nscd/hstcache.c (cache_addhst): Likewise.
53338 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53339 * nscd/pwdcache.c (cache_addpw): Likewise.
53340 * nscd/servicescache.c (cache_addserv): Likewise.
53342 2012-01-16 Ulrich Drepper <drepper@gmail.com>
53344 * malloc/malloc.c: Various cleanups.
53345 * malloc/hooks.c: Likewise.
53347 * stdlib/Makefile (tests): Add bug-fmtmsg1.
53348 * stdlib/bug-fmtmsg1.c: New file.
53350 * stdlib/fmtmsg.c (init): Add missing unlock.
53351 Patch by Peng Haitao <penght@cn.fujitsu.com>.
53353 2012-01-12 Marek Polacek <polacek@redhat.com>
53355 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53358 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53360 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53361 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53362 macro to ensure uniqueness of label name.
53363 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53364 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53366 2012-01-11 Ulrich Drepper <drepper@gmail.com>
53368 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53370 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53371 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53372 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53375 2012-01-10 Ulrich Drepper <drepper@gmail.com>
53377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53379 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53380 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53381 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53383 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53385 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53386 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53390 * math/bits/math-finite.h: Add ldexp support.
53392 2012-01-10 Marek Polacek <polacek@redhat.com>
53394 * locale/programs/localedef.h (show_archive_content): Add noreturn
53397 2012-01-09 Ulrich Drepper <drepper@gmail.com>
53399 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53401 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53403 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53405 * io/Makefile (headers): Add bits/poll2.h.
53407 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
53409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53410 typo #include statement.
53412 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53414 * include/sys/cdefs.h: Define __attribute_alloc_size.
53415 * catgets/gencat.c: Add alloc_size attribute and apply consistently
53416 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53417 * elf/pldd.c: Likewise.
53418 * iconv/iconv_charmap.c: Likewise.
53419 * iconv/iconvconfig.c: Likewise.
53420 * iconv/strtab.c: Likewise.
53421 * locale/programs/locale.c: Likewise.
53422 * locale/programs/localedef.h: Likewise.
53423 * locale/programs/simple-hash.c: Likewise.
53424 * nscd/nscd.h: Likewise.
53425 * nss/makedb.c: Likewise.
53426 * sysdeps/generic/ldconfig.h: Likewise.
53427 * locale/programs/localedef.c: Remove xmalloc prototype.
53428 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53430 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53432 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53435 2012-01-08 Ulrich Drepper <drepper@gmail.com>
53437 * math/Makefile (tests): Add tst-CMPLX.
53438 * math/tst-CMPLX.c: New file.
53440 * math/complex.h (CMPLXL): Fix typo.
53442 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53443 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53445 * debug/tst-chk1.c: Add poll and ppoll tests.
53446 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53447 * include/sys/poll.h: Add hidden proto for ppoll.
53448 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53449 * sysdeps/mach/hurd/ppoll.c: Likewise.
53450 * io/ppoll.c: Likewise.
53451 * debug/poll_chk.c: New file.
53452 * debug/ppoll_chk.c: New file.
53453 * include/bits/poll2.h: New file.
53454 * io/bits/poll2.h: New file.
53457 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53459 * configure.in: static is always set to yes. Remove.
53460 * config.make.in: Don't set build-static.
53461 * Makeconfig: Remove use of build-static.
53462 * dlfcn/Makefile: Likewise.
53463 * elf/Makefile: Likewise.
53464 * math/Makefile: Likewise.
53465 * misc/Makefile: Likewise.
53466 * nptl/Makefile: Likewise.
53467 * sysdeps/mach/hurd/Makefile: Likewise.
53469 * configure.in: PWD_P is not used anymore.
53470 * config.make.in: Remove PWD_P entry.
53472 * configure.in: Remove last remnants of RANLIB.
53473 No need to check for signed size_t anymore.
53474 Don't set libc_commonpagesize and libc_relro_required here for Alpha
53476 Remove __builtin_expect test because we require at least gcc 3.4.
53477 * aclocal.m4: Likewise.
53479 * wcsmbs/mbrtoc16.c: Implement using towc function.
53480 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53481 * wcsmbs/wcsmbsload.c: Likewise.
53482 * iconv/gconv_simple.c: Likewise.
53483 * iconv/gconv_int.h: Likewise.
53484 * iconv/gconv_builtin.h: Likewise.
53485 * iconv/iconv_prog.c: Remove CHAR16 handling.
53487 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53489 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53491 * configure.in: Remove --with-elf and --enable-bounded options.
53492 Dont set base_machine for ia64. More non-ELF conditions removed.
53493 Remove testing and setting of leading underscore information.
53494 * config.make.in (build-bounded): Set to no.
53495 * config.h.in: Remove NO_UNDERSCORES entry.
53496 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
53498 * csu/start.c: Remove !NO_UNDERSCORE code.
53499 * locale/localeinfo.h: Likewise.
53500 * sysdeps/generic/machine-gmon.h: Likewise.
53501 * sysdeps/generic/sysdep.h: Likewise.
53502 * sysdeps/i386/sysdep.h: Likewise.
53503 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53504 * sysdeps/mach/sysdep.h: Likewise.
53505 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53507 * sysdeps/sh/sysdep.h: Likewise.
53508 * sysdeps/sparc/sparc32/alloca.S: Likewise.
53509 * sysdeps/unix/i386/sysdep.S: Likewise.
53510 * sysdeps/unix/sparc/start.c: Likewise.
53511 * sysdeps/unix/sparc/sysdep.S: Likewise.
53512 * sysdeps/unix/sparc/sysdep.h: Likewise.
53513 * sysdeps/unix/start.c: Likewise.
53514 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53515 * sysdeps/x86_64/sysdep.h: Likewise.
53517 2012-01-07 Ulrich Drepper <drepper@gmail.com>
53520 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53522 * argp/argp-fmtstream.h: Use const instead __const.
53523 * argp/argp.h: Likewise.
53524 * assert/assert.h: Likewise.
53525 * bits/fenv.h: Likewise.
53526 * bits/sched.h: Likewise.
53527 * bits/sigset.h: Likewise.
53528 * bits/sigthread.h: Likewise.
53529 * catgets/nl_types.h: Likewise.
53530 * conform/data/pthread.h-data: Likewise.
53531 * crypt/crypt-private.h: Likewise.
53532 * crypt/crypt.h: Likewise.
53533 * crypt/crypt_util.c: Likewise.
53534 * ctype/ctype.h: Likewise.
53535 * debug/execinfo.h: Likewise.
53536 * debug/mbsnrtowcs_chk.c: Likewise.
53537 * debug/mbsrtowcs_chk.c: Likewise.
53538 * debug/wcsnrtombs_chk.c: Likewise.
53539 * debug/wcsrtombs_chk.c: Likewise.
53540 * debug/wcstombs_chk.c: Likewise.
53541 * dirent/dirent.h: Likewise.
53542 * dlfcn/dlfcn.h: Likewise.
53543 * elf/neededtest4.c: Likewise.
53544 * grp/grp.h: Likewise.
53545 * gshadow/gshadow.h: Likewise.
53546 * iconv/gconv.h: Likewise.
53547 * iconv/gconv_int.h: Likewise.
53548 * iconv/gconv_simple.c: Likewise.
53549 * iconv/iconv.h: Likewise.
53550 * iconv/loop.c: Likewise.
53551 * iconv/skeleton.c: Likewise.
53552 * include/aio.h: Likewise.
53553 * include/aliases.h: Likewise.
53554 * include/argz.h: Likewise.
53555 * include/arpa/inet.h: Likewise.
53556 * include/assert.h: Likewise.
53557 * include/dirent.h: Likewise.
53558 * include/dlfcn.h: Likewise.
53559 * include/execinfo.h: Likewise.
53560 * include/fcntl.h: Likewise.
53561 * include/fenv.h: Likewise.
53562 * include/glob.h: Likewise.
53563 * include/grp.h: Likewise.
53564 * include/libintl.h: Likewise.
53565 * include/mntent.h: Likewise.
53566 * include/netdb.h: Likewise.
53567 * include/pwd.h: Likewise.
53568 * include/rpc/netdb.h: Likewise.
53569 * include/sched.h: Likewise.
53570 * include/search.h: Likewise.
53571 * include/shadow.h: Likewise.
53572 * include/signal.h: Likewise.
53573 * include/stdio.h: Likewise.
53574 * include/stdlib.h: Likewise.
53575 * include/string.h: Likewise.
53576 * include/sys/socket.h: Likewise.
53577 * include/sys/stat.h: Likewise.
53578 * include/sys/statfs.h: Likewise.
53579 * include/sys/statvfs.h: Likewise.
53580 * include/sys/syslog.h: Likewise.
53581 * include/sys/time.h: Likewise.
53582 * include/sys/uio.h: Likewise.
53583 * include/time.h: Likewise.
53584 * include/unistd.h: Likewise.
53585 * include/utmp.h: Likewise.
53586 * include/wchar.h: Likewise.
53587 * include/wctype.h: Likewise.
53588 * inet/aliases.h: Likewise.
53589 * inet/arpa/inet.h: Likewise.
53590 * inet/netinet/ether.h: Likewise.
53591 * inet/netinet/in.h: Likewise.
53592 * intl/libintl.h: Likewise.
53593 * io/bits/fcntl2.h: Likewise.
53594 * io/fcntl.h: Likewise.
53595 * io/ftw.h: Likewise.
53596 * io/sys/poll.h: Likewise.
53597 * io/sys/stat.h: Likewise.
53598 * io/sys/statfs.h: Likewise.
53599 * io/sys/statvfs.h: Likewise.
53600 * io/utime.h: Likewise.
53601 * libio/bits/stdio.h: Likewise.
53602 * libio/bits/stdio2.h: Likewise.
53603 * libio/libio.h: Likewise.
53604 * libio/libioP.h: Likewise.
53605 * libio/stdio.h: Likewise.
53606 * locale/lc-ctype.c: Likewise.
53607 * locale/locale.h: Likewise.
53608 * login/utmp.h: Likewise.
53609 * malloc/arena.c: Likewise.
53610 * malloc/malloc.c: Likewise.
53611 * malloc/malloc.h: Likewise.
53612 * malloc/mcheck.c: Likewise.
53613 * malloc/mtrace.c: Likewise.
53614 * math/bits/mathcalls.h: Likewise.
53615 * math/fenv.h: Likewise.
53616 * math/math_private.h: Likewise.
53617 * misc/bits/error.h: Likewise.
53618 * misc/bits/syslog.h: Likewise.
53619 * misc/err.h: Likewise.
53620 * misc/error.h: Likewise.
53621 * misc/fstab.h: Likewise.
53622 * misc/mntent.h: Likewise.
53623 * misc/regexp.h: Likewise.
53624 * misc/search.h: Likewise.
53625 * misc/sgtty.h: Likewise.
53626 * misc/sys/mman.h: Likewise.
53627 * misc/sys/syslog.h: Likewise.
53628 * misc/sys/uio.h: Likewise.
53629 * misc/sys/xattr.h: Likewise.
53630 * misc/ttyent.h: Likewise.
53631 * nis/rpcsvc/ypclnt.h: Likewise.
53632 * nss/nss.h: Likewise.
53633 * posix/bits/unistd.h: Likewise.
53634 * posix/fnmatch.h: Likewise.
53635 * posix/glob.h: Likewise.
53636 * posix/sched.h: Likewise.
53637 * posix/spawn.h: Likewise.
53638 * posix/sys/wait.h: Likewise.
53639 * posix/unistd.h: Likewise.
53640 * posix/wordexp.h: Likewise.
53641 * pwd/pwd.h: Likewise.
53642 * resolv/netdb.h: Likewise.
53643 * resource/sys/resource.h: Likewise.
53644 * rt/aio.h: Likewise.
53645 * rt/bits/mqueue2.h: Likewise.
53646 * rt/mqueue.h: Likewise.
53647 * shadow/shadow.h: Likewise.
53648 * signal/signal.h: Likewise.
53649 * socket/send.c: Likewise.
53650 * socket/sendto.c: Likewise.
53651 * socket/sys/socket.h: Likewise.
53652 * stdio-common/printf.h: Likewise.
53653 * stdlib/bits/stdlib.h: Likewise.
53654 * stdlib/fmtmsg.h: Likewise.
53655 * stdlib/monetary.h: Likewise.
53656 * stdlib/stdlib.h: Likewise.
53657 * stdlib/ucontext.h: Likewise.
53658 * streams/stropts.h: Likewise.
53659 * string/argz.h: Likewise.
53660 * string/bits/string2.h: Likewise.
53661 * string/string.h: Likewise.
53662 * string/strings.h: Likewise.
53663 * sunrpc/rpc/auth.h: Likewise.
53664 * sunrpc/rpc/auth_des.h: Likewise.
53665 * sunrpc/rpc/clnt.h: Likewise.
53666 * sunrpc/rpc/netdb.h: Likewise.
53667 * sunrpc/rpc/pmap_clnt.h: Likewise.
53668 * sunrpc/rpc/xdr.h: Likewise.
53669 * sysdeps/generic/inttypes.h: Likewise.
53670 * sysdeps/generic/net/if.h: Likewise.
53671 * sysdeps/generic/sys/swap.h: Likewise.
53672 * sysdeps/gnu/net/if.h: Likewise.
53673 * sysdeps/gnu/utmpx.h: Likewise.
53674 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53675 * sysdeps/i386/i486/bits/string.h: Likewise.
53676 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53677 * sysdeps/s390/bits/string.h: Likewise.
53678 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53679 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53680 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53681 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53682 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53683 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53684 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53685 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53686 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53687 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53688 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53689 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53690 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53691 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53692 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53693 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53694 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53696 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53698 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53699 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53700 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53701 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53702 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53703 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53704 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53705 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53706 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53707 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53708 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53709 * sysvipc/sys/ipc.h: Likewise.
53710 * sysvipc/sys/msg.h: Likewise.
53711 * sysvipc/sys/sem.h: Likewise.
53712 * sysvipc/sys/shm.h: Likewise.
53713 * termios/termios.h: Likewise.
53714 * time/sys/time.h: Likewise.
53715 * time/time.h: Likewise.
53716 * wcsmbs/bits/wchar2.h: Likewise.
53717 * wcsmbs/uchar.h: Likewise.
53718 * wcsmbs/wchar.h: Likewise.
53719 * wctype/wctype.h: Likewise.
53722 * Makeconfig: Remove all but ELF support including AIX support.
53723 * Makerules: Likewise.
53724 * config.h.in: Likewise.
53725 * config.make.in: Likewise.
53726 * configure: Likewise.
53727 * configure.in: Likewise.
53728 * csu/Makefile: Likewise.
53729 * csu/version.c: Likewise.
53730 * debug/Makefile: Likewise.
53731 * dlfcn/Makefile: Likewise.
53732 * elf/Makefile: Likewise.
53733 * extra-lib.mk: Likewise.
53734 * iconv/Makefile: Likewise.
53735 * include/libc-symbols.h: Likewise.
53736 * include/shlib-compat.h: Likewise.
53737 * resolv/Makefile: Likewise.
53738 * resolv/res_libc.c: Likewise.
53739 * rt/Makefile: Likewise.
53740 * sysdeps/i386/asm-syntax.h: Likewise.
53741 * sysdeps/i386/sysdep.h: Likewise.
53742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53743 * sysdeps/mach/sysdep.h: Likewise.
53744 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53745 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53746 * sysdeps/s390/asm-syntax.h: Likewise.
53747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53749 * sysdeps/sh/sysdep.h: Likewise.
53750 * sysdeps/unix/sparc/sysdep.h: Likewise.
53751 * sysdeps/wordsize-32/divdi3.c: Likewise.
53752 * sysdeps/x86_64/sysdep.h: Likewise.
53754 * argp/Versions: Remove _argp_unlock_xxx.
53757 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53758 * abilist/libBrokenLocale.abilist: Likewise.
53759 * abilist/libanl.abilist: Likewise.
53760 * abilist/libc.abilist: Likewise.
53761 * abilist/libcrypt.abilist: Likewise.
53762 * abilist/libdl.abilist: Likewise.
53763 * abilist/libm.abilist: Likewise.
53764 * abilist/libnsl.abilist: Likewise.
53765 * abilist/libpthread.abilist: Likewise.
53766 * abilist/libresolv.abilist: Likewise.
53767 * abilist/librt.abilist: Likewise.
53768 * abilist/libthread_db.abilist: Likewise.
53769 * abilist/libutil.abilist: Likewise.
53770 * abilist/libnss_db.abilist: New file.
53772 * scripts/abilist.awk: Add support for indirect functions.
53774 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53776 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53778 * shlib-versions: Remove entries for ports architectures.
53780 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53782 * elf/stackguard-macros.h: Remove support for IA-64.
53783 * elf/tst-auditmod1.c: Likewise.
53784 * sysdeps/generic/ldsodefs.h: Likewise.
53786 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53787 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53791 * configure.in: Remove --enable-omitfp support.
53793 * config.make.in: Likewise.
53794 * Makeconfig: Likewise.
53795 * manual/install.texi: Likewise.
53797 In case anyone cares, the IA-64 architecture could move to ports.
53798 * sysdeps/ia64/*: Removed.
53799 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53800 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53803 * configure.in: Remove entries for unsupported architectures.
53806 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53807 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53809 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53810 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53811 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53812 fall back to using wcrtomb.
53813 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53814 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53816 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53817 * wcsmbs/tst-c16c32-1.c: New file.
53819 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53822 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53824 * elf/tst-unique3.cc: Add explicit declaration of gets.
53825 * elf/tst-unique3lib.cc: Likewise.
53826 * elf/tst-unique3lib2.cc: Likewise.
53827 * elf/tst-unique4.cc: Likewise.
53829 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53831 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53834 * assert/assert.h (static_assert): Don't define for C++.
53835 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53836 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53838 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53840 * iconv/loop.c (single loop): Fix assertion in storing of
53843 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53845 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53847 * posix/getconf.c: Update copyright year.
53848 * nss/getent.c: Likewise.
53849 * nss/makedb.c: Likewise.
53850 * iconv/iconvconfig.c: Likewise.
53851 * iconv/iconv_prog.c: Likewise.
53852 * elf/ldconfig.c: Likewise.
53853 * elf/pldd.c: Likewise.
53854 * elf/sotruss.ksh: Likewise.
53855 * catgets/gencat.c: Likewise.
53856 * csu/version.c: Likewise.
53857 * elf/ldd.bash.in: Likewise.
53858 * elf/sprof.c (print_version): Likewise.
53859 * locale/programs/locale.c: Likewise.
53860 * locale/programs/localedef.c: Likewise.
53861 * login/programs/pt_chown.c: Likewise.
53862 * nscd/nscd.c (print_version): Likewise.
53863 * debug/xtrace.sh: Likewise.
53864 * malloc/memusage.sh: Likewise.
53865 * malloc/mtrace.pl: Likewise.
53866 * debug/catchsegv.sh: Likewise.
53868 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53870 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53873 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53876 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53877 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53879 * iconv/gconv_int.h: Likewise.
53880 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53881 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53882 from libc for GLIBC_2.16.
53883 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53884 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53885 * wcsmbs/uchar.h: Really define mbstate_t.
53886 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53887 * wcsmbs/c16rtomb.c: New file.
53888 * wcsmbs/mbrtoc16.c: New file.
53889 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53890 for C/POSIX locale.
53891 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53892 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53894 * wcsmbs/wchar.h: Add missing __restrict.
53896 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53899 * time/Makefile (routines): Add timespec_get.
53900 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53901 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53902 timespec for ISO C11.
53903 * time/timespec_get.c: New file.
53904 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53905 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53908 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53909 * stdlib/stdlib.h: Declare aligned_alloc.
53910 * Versions.def: Add GLIBC_2.16 for libc.
53911 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53914 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53917 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53921 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53924 * assert/assert.h (static_assert): Define.
53926 * version.h: Update for 2.16 development version.
53929 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53932 * version.h (RELEASE): Bump for 2.15 release.
53933 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53935 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53936 Patch by Marek Polacek <mpolacek@redhat.com>.
53938 * bits/byteswap.h: Protect long long constants with __extension__.
53939 * sysdeps/i386/bits/byteswap.h: Likewise.
53940 * sysdeps/ia64/bits/byteswap.h: Likewise.
53941 * sysdeps/s390/bits/byteswap.h: Likewise.
53942 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53944 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53948 destination buffer.
53949 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53951 2011-12-23 Marek Polacek <polacek@redhat.com>
53953 * elf/dl-addr.c (determine_info): Add inline keyword.
53954 * elf/tst-auditmod4b.c (check_avx): Likewise.
53955 * elf/tst-auditmod6b.c (check_avx): Likewise.
53956 * elf/tst-auditmod6c.c (check_avx): Likewise.
53957 * elf/tst-auditmod7b.c (check_avx): Likewise.
53959 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53961 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53964 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53967 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53968 processing for last bytes.
53970 2011-08-06 Bruno Haible <bruno@clisp.org>
53973 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53974 U+0385, not to U+1FEE.
53977 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53978 entry for U+00A5 U+0301.
53980 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53983 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53984 buffer for the output is too small.
53986 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53990 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53991 SSE flags if possible.
53993 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53997 processing for last bytes.
53999 2011-12-22 Joseph Myers <joseph@codesourcery.com>
54001 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54002 (syscall-list-default-options, syscall-list-default-condition)
54003 (syscall-list-includes): Define.
54004 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54005 list of ABIs and options and #if conditions for each ABI. Do not
54006 handle common syscalls between ABIs specially.
54007 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54009 (syscall-list-variants, syscall-list-32bit-options)
54010 (syscall-list-32bit-condition, syscall-list-64bit-options)
54011 (syscall-list-64bit-condition): Define.
54012 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54013 (syscall-list-variants, syscall-list-32bit-options)
54014 (syscall-list-32bit-condition, syscall-list-64bit-options)
54015 (syscall-list-64bit-condition): Define.
54016 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54018 (syscall-list-variants, syscall-list-32bit-options)
54019 (syscall-list-32bit-condition, syscall-list-64bit-options)
54020 (syscall-list-64bit-condition): Define.
54021 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54023 (syscall-list-variants, syscall-list-32bit-options)
54024 (syscall-list-32bit-condition, syscall-list-64bit-options)
54025 (syscall-list-64bit-condition): Define.
54027 2011-12-22 Ulrich Drepper <drepper@gmail.com>
54029 * locale/iso-639.def: Add brx entry.
54032 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54033 Proposed by Mariusz_Cukr <marcukr@op.pl>.
54035 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54036 __feraiseexcept_renamed.
54038 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54041 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54042 EPOLLET with unsigned values.
54043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54046 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54047 to large cancellation.
54048 * math/s_cacoshf.c: Likewise.
54049 * math/s_cacoshl.c: Likewise.
54051 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
54055 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54056 * math/s_cacoshf.c: Likewise.
54057 * math/s_cacoshl.c: Likewise.
54059 2011-12-21 Ulrich Drepper <drepper@gmail.com>
54062 * iconv/gconv.h: Define __GCONV_SWAP.
54063 * iconvdata/unicode.c: The swap bit must be stored in __flags.
54064 * iconvdata/utf-16.c: Likewise.
54065 * iconvdata/utf-32.c: Likewise.
54067 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
54070 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54071 numerator after shifting it by one limb.
54073 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
54075 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54076 under [__USE_EXTERN_INLINES].
54078 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54081 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54083 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54085 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54086 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54088 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54089 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54090 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54091 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54092 for strncasecmp/strncasecmp_l compilation.
54093 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54094 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54096 2011-12-08 Marek Polacek <mpolacek@redhat.com>
54099 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54102 2011-12-17 Ulrich Drepper <drepper@gmail.com>
54105 * time/tzfile.c (__tzfile_read): Check values from file header.
54107 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
54109 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54110 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54111 * powerpc/powerpc32/dl-start.S: Likewise.
54112 * powerpc/powerpc32/elf/start.S: Likewise.
54113 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54114 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54115 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54116 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54117 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54118 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54119 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54120 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54121 * powerpc/powerpc32/fpu/s_round.S: Likewise.
54122 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54123 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54124 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54125 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54126 * powerpc/powerpc32/memset.S: Likewise.
54127 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54128 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54129 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54130 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54131 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54132 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54133 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54134 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54135 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54136 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54137 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54138 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54139 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54141 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54143 * math/libm-test.inc: Added more nearbyint tests.
54144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54147 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54149 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
54151 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54154 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54156 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54157 Add wcscpy-ssse3 wcscpy-c.
54158 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54159 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54160 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54161 * sysdeps/x86_64/wcschr.S: New file.
54162 * sysdeps/x86_64/wcsrchr.S: New file.
54163 * string/test-strcmp.c: Remove checking of wcscmp function for
54165 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54166 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54167 wcsrchr-sse2 wcsrchr-c.
54168 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54169 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54170 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54171 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54172 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54173 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54174 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54175 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54176 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54177 * wcsmbc/wcschr.c (WCSCHR): New macro.
54179 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54181 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54182 * wcsmbs/test-wcsrchr.c: New file.
54183 * string/test-strrchr.c: Add wcsrchr support.
54185 * wcsmbs/test-wcscpy.c: New file.
54186 * string/test-strcpy.c: Add wcscpy support.
54189 2011-12-10 Ulrich Drepper <drepper@gmail.com>
54191 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54194 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
54197 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54199 2011-12-04 Ulrich Drepper <drepper@gmail.com>
54201 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54202 Minor optimizations.
54204 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54205 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54206 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54208 2011-12-03 Ulrich Drepper <drepper@gmail.com>
54210 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54211 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54212 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54213 for gcc to avoid warnings.
54214 * inet/Makefile (tests): Add tst-checks.
54215 * inet/tst-checks.c: New file.
54217 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54220 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54223 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54224 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54226 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54228 2011-12-02 Ulrich Drepper <drepper@gmail.com>
54230 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54233 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54235 2011-11-29 Joseph Myers <joseph@codesourcery.com>
54237 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54238 conditional on GCC version.
54239 (__arch_compare_and_exchange_val_8_acq)
54240 (__arch_compare_and_exchange_val_16_acq)
54241 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54242 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54243 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54245 2011-12-02 Joseph Myers <joseph@codesourcery.com>
54247 * sysdeps/sh/backtrace.c: New file.
54249 2011-12-02 Andreas Schwab <schwab@redhat.com>
54251 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
54254 2011-12-01 Andreas Schwab <schwab@redhat.com>
54256 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54257 falling back to utime.
54259 2011-11-30 Andreas Schwab <schwab@redhat.com>
54261 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54262 expectations for float.
54264 2011-11-29 Andreas Schwab <schwab@redhat.com>
54266 * locale/weight.h (findidx): Add parameter len.
54267 * locale/weightwc.h (findidx): Likewise.
54268 * posix/fnmatch_loop.c (FCT): Adjust caller.
54269 * posix/regcomp.c (build_equiv_class): Likewise.
54270 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54271 * posix/regexec.c (check_node_accept_bytes): Likewise.
54272 * string/strcoll_l.c (STRCOLL): Likewise.
54273 * string/strxfrm_l.c (STRXFRM): Likewise.
54275 2011-11-17 Ulrich Drepper <drepper@gmail.com>
54277 * Makefile.in: Remove CVSOPT handling.
54278 * configure.in: Remove use of AC_REVISION.
54279 * iconvdata/Makefile (distribute): No need to filter out CVS.
54280 * scripts/list-sources.sh: Remove CVS, subversion and monotone
54283 2011-11-16 Andreas Schwab <schwab@redhat.com>
54285 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54286 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54287 [USE_AS_STRNCASECMP_L]: Likewise.
54288 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54289 NO_TLS_DIRECT_SEG_REFS.
54290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54291 Fix argument offsets for non-PIC.
54292 [USE_AS_STRNCASECMP_L]: Likewise.
54293 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54294 NO_TLS_DIRECT_SEG_REFS.
54296 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54298 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54300 * locale/loadlocale.c (_nl_load_locale): Likewise.
54302 2011-11-15 Andreas Schwab <schwab@redhat.com>
54304 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54305 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54306 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54307 (SYSCALL_GETTIME): Set errno on error.
54309 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54310 count references to noai6ai_cached.
54312 2011-11-15 Ulrich Drepper <drepper@gmail.com>
54314 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54316 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54317 FD_CLOEXEC for /proc/self/maps.
54319 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54320 FD_CLOEXEC for /proc/meminfo.
54322 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54325 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
54326 FD_CLOEXEC for given file.
54328 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54330 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54331 FD_CLOEXEC for /etc/hosts.
54332 (_gethtent): Likewise.
54334 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54336 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54337 cancellation and set FD_CLOEXEC for /etc/netgroup.
54339 * nss/nss_files/files-key.c (search): Don't allow cancellation when
54340 reading /etc/publickey.
54342 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54343 allow cancellation when reading /etc/group.
54345 * nss/nss_files/files-alias.c (internal_setent): Don't allow
54347 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
54349 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54350 when using data file.
54352 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54354 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54355 (write_nis_obj): Use "c" and "e" in fopen.
54357 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54359 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54361 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54363 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54365 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54368 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54370 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54372 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54374 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54375 file parsing and set FD_CLOEXEC.
54377 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54379 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54381 2011-11-14 Andreas Schwab <schwab@redhat.com>
54383 * malloc/arena.c (arena_get2): Don't call reused_arena when
54384 _int_new_arena failed.
54386 2011-11-14 Ulrich Drepper <drepper@gmail.com>
54388 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54389 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54393 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54394 to compile strcasecmp and strncasecmp.
54395 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54396 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54400 2011-11-13 Ulrich Drepper <drepper@gmail.com>
54402 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54403 locale-defines.sym to gen-as-const-headers.
54404 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54405 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54407 to compile strcasecmp and strncasecmp.
54408 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54409 strcasecmp_l and strncasecmp_l.
54410 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54411 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54412 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54413 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54414 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54415 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54416 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54417 * sysdeps/i386/i686/multiarch/strncase.S: New file.
54418 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54419 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54420 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54422 2011-11-12 Ulrich Drepper <drepper@gmail.com>
54424 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54425 result of SYSDEP_GETTIME_CPU to retval.
54426 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54427 parameter list to macro. Remove trailing semicolon. Adjust users.
54429 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54432 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54434 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54436 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54437 from unused variable.
54439 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54441 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54444 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54447 * sunrpc/rpc_prot.c (rejected): Fix case value.
54449 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54450 unsigned long long int to avoid warnings in shift.
54452 * posix/regex_internal.c (re_string_reconstruct): Actually use result
54454 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54457 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54458 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54459 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54461 * nis/nis_table.c (nis_list): Use variable of correct type for
54462 result of __follow_path call.
54464 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54466 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54467 of math functions ceil, trunc, floor, round, and sqrt, when
54468 avaliable on the platform.
54469 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54471 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54472 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54473 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54475 2011-10-30 Marek Polacek <mpolacek@redhat.com>
54477 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54478 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54480 2011-11-11 Roland McGrath <roland@hack.frob.com>
54482 * include/unistd.h: Fix __readlink return type.
54483 Reported by Chris Metcalf <cmetcalf@tilera.com>.
54485 2011-11-11 Ulrich Drepper <drepper@gmail.com>
54487 * stdlib/ucontext.h: Undo last change for makecontext.
54489 2011-11-11 Andreas Schwab <schwab@redhat.com>
54491 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54493 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54494 * setjmp/setjmp.h: Mark functions as non-leaf.
54495 * setjmp/bits/setjmp2.h: Likewise.
54496 * stdlib/ucontext.h: Likewise.
54498 2011-11-10 Andreas Schwab <schwab@redhat.com>
54500 * malloc/arena.c (_int_new_arena): Don't increment narenas.
54501 (reused_arena): Don't check arena limit.
54502 (arena_get2): Atomically check arena limit.
54504 2011-11-08 Ulrich Drepper <drepper@gmail.com>
54506 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54507 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54512 2011-11-07 Andreas Schwab <schwab@redhat.com>
54514 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54515 handler when locking.
54517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54518 Fix size of allocated buffer.
54520 2011-11-04 Andreas Schwab <schwab@redhat.com>
54523 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54524 declarations for long double functions.
54525 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54527 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54529 2011-11-03 Andreas Schwab <schwab@redhat.com>
54531 * nscd/nscd.c (main): Don't start AVC thread until credentials are
54534 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54537 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
54539 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54541 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
54543 * include/alloca.h (stackinfo_alloca_round): Define.
54544 (extend_alloca): Use it.
54545 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54546 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54549 * scripts/check-local-headers.sh: Ignore libaudit.h.
54551 * nscd/Makefile (extra-objs): Make recursively expanded.
54553 2011-11-01 Ulrich Drepper <drepper@gmail.com>
54555 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54556 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54558 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54559 * posix/tst-rfc3484-2.c: Likewise.
54560 * posix/tst-rfc3484-3.c: Likewise.
54562 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54564 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54566 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54567 process_vm_writev from libc using GLIBC_2.15 version.
54569 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54571 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
54573 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54576 2011-10-31 Ulrich Drepper <drepper@gmail.com>
54579 * nss/getent.c (initgroups_keys): Show error message in case no group
54582 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54583 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54584 __bump_nl_timestamp.
54585 * nscd/connections (nscd_init): When host database is served open
54586 netlink socket and request notification about configuration changes.
54587 (main_loop_poll): Track netlink file descriptor and bump timestamp
54588 in case data becomes available.
54589 (main_loop_epoll): Likewise.
54590 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54591 (database_pers_head): Add extra_data fileds.
54592 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54593 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54594 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54597 in6ai data, call __free_in6ai.
54598 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54599 Add -DHAVE_NETLINK.
54600 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
54601 interface information. Reuse previous data if netlink timestamp
54603 (__bump_nl_timestamp): New function.
54604 (__free_in6ai): New function.
54606 2011-10-30 Ulrich Drepper <drepper@gmail.com>
54608 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54609 close_not_cancel_no_status here.
54610 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54612 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54615 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54618 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54619 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54620 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54622 2011-07-03 Andreas Jaeger <aj@suse.de>
54625 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54626 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54627 * math/libm-test.inc (sin_test): Add test case.
54629 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54632 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54633 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54635 * elf/chroot_canon.c (chroot_canon): Cleanups.
54637 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54640 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54643 * string/test-strchr.c: Make usable for strchrnul testing.
54644 * string/test-strchrnul.c: New file.
54645 * string/Makefile (strop-tests): Add strchrnul.
54647 * po/it.po: Update from translation team.
54648 * po/es.po: Likewise.
54650 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54652 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54653 the three constants needed as parameters. Drop the others.
54654 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54655 __m128i_strloadu_tolower.
54656 Create and initialize variable zero and use it in all the places
54657 where _mm_setzero_si128 was used.
54659 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54660 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54661 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54662 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54664 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54665 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54666 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54667 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54668 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54669 __mpranred, __mptan.
54670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54674 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54675 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54676 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54677 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54678 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54680 2011-10-28 Andreas Schwab <schwab@redhat.com>
54682 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54683 redefine if SHARED.
54684 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54687 wide char related routines to wcsmbs subdir.
54689 2011-10-27 Andreas Schwab <schwab@redhat.com>
54692 * misc/sys/cdefs.h (__THROWNL): Define.
54693 * posix/unistd.h: Use __THREADNL instead of __THREAD
54694 for memory synchronization functions.
54696 2011-10-26 Roland McGrath <roland@hack.frob.com>
54699 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54701 * manual/stdio.texi (Obstack Streams): Node removed.
54703 2011-10-26 Andreas Schwab <schwab@redhat.com>
54705 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54706 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54707 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54709 * math/math_private.h (math_force_eval): Allow non-addressable
54711 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54713 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54715 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54716 file is not needed.
54718 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54720 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54721 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54722 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54723 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54725 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54727 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54728 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54729 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54730 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54731 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54732 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54733 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54734 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54735 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54736 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54737 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54738 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54740 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54741 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54742 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54743 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54744 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54745 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54747 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54748 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54751 place. Use VEX encoding when compiling for AVX.
54753 2011-10-25 Andreas Schwab <schwab@redhat.com>
54755 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54756 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54758 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54760 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54762 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54763 useless if() expression.
54764 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54765 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54766 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54768 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54769 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54770 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54772 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54774 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54775 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54776 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54777 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54778 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54779 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54780 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54781 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54782 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54784 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54786 2011-10-25 Andreas Schwab <schwab@redhat.com>
54788 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54790 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54792 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54794 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54795 .text section. Avoid duplicate constants.
54796 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54798 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54801 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54803 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54804 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54805 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54806 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54807 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54808 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54809 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54810 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54811 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54812 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54813 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54814 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54815 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54816 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54817 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54818 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54819 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54820 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54821 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54822 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54824 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54825 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54826 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54827 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54828 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54829 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54830 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54831 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54832 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54833 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54834 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54835 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54837 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54838 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54839 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54840 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54842 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54844 * sysdeps/x86_64/dla.h: Move to ...
54845 * sysdeps/x86_64/fpu/dla.h: ...here.
54846 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54847 situations. Use __builtin_fma only for gcc 4.6 and up.
54849 * config.make.in: Add have-mfma4 entry.
54850 * configure.in: Substitute libc_cv_cc_fma4.
54851 * math/Makefile (dbl-only-routines): Add sincostab.
54852 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54853 Use __sincostab not sincos.
54854 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54858 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54861 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54862 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54863 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54864 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54866 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54867 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54869 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54870 define aliases when function name is a macro.
54871 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54872 sysdeps/ieee754/dbl-64/sincos.tbl.
54873 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54874 fma4-enabled routines.
54875 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54876 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54877 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54878 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54879 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54880 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54882 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54883 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54885 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54886 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54887 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54888 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54889 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54890 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54891 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54892 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54893 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54894 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54895 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54896 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54897 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54898 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54900 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54902 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54903 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54904 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54906 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54909 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54911 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54912 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54915 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54917 2011-10-24 Andreas Schwab <schwab@redhat.com>
54919 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54921 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54923 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54925 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54927 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54929 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54930 Remove unused variable magic_bits.
54931 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54933 * string/strnlen.c: Define and use STRNLEN macro.
54934 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54935 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54936 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54937 * wcsmbs/wcslen.c: Define and use WCSLEN.
54938 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54939 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54940 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54941 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54942 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54943 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54944 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54946 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54949 strnlen-sse2-no-bsf.
54950 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54951 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54952 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54953 Add strnlen support.
54954 (USE_AS_STRNLEN): New macro.
54955 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54956 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54957 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54958 * sysdeps/x86_64/wcslen.S: New file.
54960 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54962 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54963 XMM-moves are used for copying on small sizes.
54965 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54967 * wcsmbs/Makefile (strop-tests): Add wcschr.
54968 * wcsmbs/test-wcschr.c: New file.
54969 * string/test-strchr.c: Update.
54970 Add wcschr support.
54973 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54975 * wcsmbs/Makefile (strop-tests): Add wcslen.
54976 * wcsmbs/test-wcslen.c: New file.
54977 * string/test-strlen.c: Update.
54978 Add wcslen support.
54981 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54983 * po/it.po: Update from translation team.
54985 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54987 * sysdeps/x86_64/wcscmp.S: Update.
54988 Fix wrong comparison semantics.
54989 wcscmp shall use signed comparison not unsigned.
54990 Don't use substraction to avoid overflow bug.
54991 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54992 * wcsmbc/wcscmp.c: Likewise.
54993 * string/test-strcmp.c: Likewise.
54994 Add new tests to check cases with negative values.
54996 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54998 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54999 * sysdeps/x86_64/dla.h: ...here. New file.
55000 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55008 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55010 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
55012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55013 __ynl_finite aliases.
55015 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55019 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55021 [DLA_FMA] (EMULV): Use DLA_FMA.
55022 [DLA_FMA] (MUL12): Use EMULV.
55023 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55024 that are not needed.
55025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55031 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55033 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
55035 * math/s_nan.c: Undef __nan.
55036 * math/s_nanf.c: Undef __nanf.
55037 * math/s_nanl.c: Undef __nanl.
55038 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55041 2011-10-22 Ulrich Drepper <drepper@gmail.com>
55043 * math/s_catan.c: Add branch predictions.
55044 * math/s_catanf.c: Likewise.
55045 * math/s_catanh.c: Likewise.
55046 * math/s_catanhf.c: Likewise.
55047 * math/s_catanhl.c: Likewise.
55048 * math/s_catanl.c: Likewise.
55049 * math/s_cexp.c: Likewise.
55050 * math/s_cexpf.c: Likewise.
55051 * math/s_cexpl.c: Likewise.
55052 * math/s_clog.c: Likewise.
55053 * math/s_clog10.c: Likewise.
55054 * math/s_clog10f.c: Likewise.
55055 * math/s_clog10l.c: Likewise.
55056 * math/s_clogf.c: Likewise.
55057 * math/s_clogl.c: Likewise.
55058 * math/s_csqrt.c: Likewise.
55059 * math/s_csqrtf.c: Likewise.
55060 * math/s_csqrtl.c: Likewise.
55061 * math/s_ctanf.c: Likewise.
55062 * math/s_ctanh.c: Likewise.
55063 * math/s_ctanhf.c: Likewise.
55064 * math/s_ctanhl.c: Likewise.
55065 * math/s_ctanl.c: Likewise.
55067 * math/math_private.h: Define __nan, __nanf, __nanl.
55068 * math/s_cacosh.c: Include <math_private.h>.
55069 * math/s_cacoshl.c: Likewise.
55070 * math/s_casinh.c: Likewise.
55071 * math/s_casinhf.c: Likewise.
55072 * math/s_casinhl.c: Likewise.
55073 * math/s_ccos.c: Rely entire on ccosh.
55074 * math/s_ccosf.c: Rely entire on ccoshf.
55075 * math/s_ccosl.c: Rely entirely on ccoshl.
55076 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
55077 Remove tests for FE_INVALID.
55078 * math/s_ccoshf.c: Likewise.
55079 * math/s_ccoshl.c: Likewise.
55080 * math/s_csin.c: Likewise.
55081 * math/s_csinf.c: Likewise.
55082 * math/s_csinh.c Likewise.
55083 * math/s_csinhf.c: Likewise.
55084 * math/s_csinhl.c: Likewise.
55085 * math/s_csinl.c: Likewise.
55086 * math/s_ctan.c: Likewise.
55087 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55088 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55091 2011-10-21 Ulrich Drepper <drepper@gmail.com>
55093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55094 compilation problems.
55096 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55099 2011-10-20 Ulrich Drepper <drepper@gmail.com>
55101 * sysdeps/i386/configure.in: Test for -mfma4 option.
55102 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55103 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55104 COMMON_CPUID_INDEX_80000001.
55105 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55106 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55107 use it if FMA3 is not supported.
55108 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55110 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55111 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55113 2011-10-20 Andreas Schwab <schwab@redhat.com>
55116 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55117 it would create a cycle with a link time dependency.
55119 2011-10-19 Ulrich Drepper <drepper@gmail.com>
55121 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55123 * string/Makefile (strop-tests): Add rawmemchr.
55124 * string/test-rawmemchr.c: New file.
55126 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55127 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
55128 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
55129 when compiling str{,n}casecmp and when AVX is available. Hook up
55130 new optimized code in initializers.
55132 2011-10-19 Andreas Schwab <schwab@redhat.com>
55134 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55135 __feraiseexcept instead of feraiseexcept.
55137 2011-10-18 Ulrich Drepper <drepper@gmail.com>
55139 * math/math_private.h: Define defaults for libc_fetestexcept and
55141 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55142 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55143 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55144 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55145 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55146 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55147 libc_fetestexcept and libc_feupdateenv.
55149 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55150 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55151 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55152 * sysdeps/x86_64/fpu/math_private.h: Define special version of
55153 libc_feholdexcept_setround.
55155 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55156 Add s_nearbyint-c and s_nearbyintf-c.
55157 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55158 nearbyintf inlines.
55159 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55160 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55161 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55162 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55164 * math/math_private.h: Define defaults for libc_fegetround,
55165 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55166 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55167 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55168 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55169 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55170 standard functions.
55171 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55172 Remove comments and hacks for old compiler versions.
55173 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55174 libc_fegetround, libc_fesetround, libc_feholdexcept, and
55175 libc_feholdexceptl.
55177 2011-10-18 Andreas Schwab <schwab@redhat.com>
55179 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55180 (__feraiseexcept_renamed): Add __NTH.
55181 (feraiseexcept): Add __NTH. Rename local variables to fix
55182 namespace violations.
55184 2011-10-17 Ulrich Drepper <drepper@gmail.com>
55186 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55188 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55190 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55191 recently added interfaces.
55192 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55194 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55195 about macro parameter expansion.
55197 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55198 __NO_MATH_INLINES is defined. Cleanups.
55200 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55201 and __floorf is target has SSE4.1.
55202 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55203 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55204 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55205 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55207 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55209 (floorf): Likewise.
55211 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55213 2011-10-17 Andreas Schwab <schwab@redhat.com>
55215 * misc/sys/cdefs.h: Fix last change.
55217 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55220 2011-10-16 Ulrich Drepper <drepper@gmail.com>
55222 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55224 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55225 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55226 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55228 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55229 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55232 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55233 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55234 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55235 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55236 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55237 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55238 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55239 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55241 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55242 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55243 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55244 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55245 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55247 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55248 ceil, ceilf, floor, floorf.
55250 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55251 Perform IRELATIVE relocations last.
55253 * elf/do-rel.h: Add another parameter nrelative, replacing the
55254 local variable with the same name. Change name of the function
55255 to end in Rel or Rela (uppercase).
55256 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55257 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
55258 elf_dynamic_do_##reloc function.
55260 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55262 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55263 is sufficient, at least on modern CPUs.
55265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55267 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55268 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55270 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55272 * math/bits/math-finite.h: Add entries for exp.
55273 * math/e_expl.c: Add __*_finite alias.
55274 * sysdeps/i386/fpu/e_exp.S: Likewise.
55275 * sysdeps/i386/fpu/e_expf.S: Likewise.
55276 * sysdeps/i386/fpu/e_expl.c: Likewise.
55277 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55278 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55279 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55281 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55285 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55286 is sufficient, at least on modern CPUs.
55288 * ctype/ctype-info.c (__ctype_init): Define.
55289 * include/ctype.h (__ctype_init): Declare.
55290 (__ctype_b_loc): The variable is always initialized.
55291 (__ctype_toupper_loc): Likewise.
55292 (__ctype_tolower_loc): Likewise.
55293 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55294 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55296 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
55298 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55300 * configure.in: Also look in $cxxmachine/include for C++ system
55303 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55305 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55306 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55307 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55308 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
55309 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55310 (USE_AS_WMEMCMP): New macro.
55312 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55313 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55314 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55315 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55317 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55318 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55320 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55321 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55322 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55323 (USE_AS_WMEMCMP): New macro.
55324 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55325 * sysdeps/string/test-memcmp.c: Update.
55326 Fix simple_wmemcmp.
55328 * wcsmbs/wmemcmp.c: Update.
55329 (WMEMCMP): New macro.
55332 2011-10-12 Andreas Jaeger <aj@suse.de>
55335 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55337 2011-10-15 Ulrich Drepper <drepper@gmail.com>
55339 * libio/iofwide.c (do_length): Avoid warning.
55341 * ctype/ctype.h (__isctype_f): Add missing __THROW.
55343 2011-10-14 Ulrich Drepper <drepper@gmail.com>
55345 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55347 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55348 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55349 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55350 * sysdeps/i386/i686/fpu/e_log.S: New file.
55351 * sysdeps/i386/i686/fpu/e_logf.S: New file.
55352 * sysdeps/i386/i686/fpu/e_logl.S: New file.
55354 * ctype/ctype.h: Add support for inlined isXXX functions when
55355 compiling C++ code.
55357 2011-10-14 Andreas Schwab <schwab@redhat.com>
55359 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55361 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55363 2011-10-13 Roland McGrath <roland@hack.frob.com>
55366 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55368 2011-10-13 Andreas Schwab <schwab@redhat.com>
55370 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55371 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55374 * sysdeps/x86_64/memrchr.S: Check for zero size.
55376 * string/stratcliff.c: Add memrchr tests.
55378 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55381 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55382 rawmemchr-sse2 rawmemchr-sse2-bsf.
55383 * sysdeps/i386/i686/multiarch/memchr.S: New file.
55384 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55385 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55386 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55387 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55388 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55389 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55390 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55391 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55392 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55393 * string/memrchr.c (MEMRCHR): New macro.
55395 2011-10-12 Ulrich Drepper <drepper@gmail.com>
55397 Add integration with gcc's -ffinite-math-only and optimize wrapper
55399 * Versions.def: Define GLIBC_2.15 version for libm.
55400 * math/Makefile (headers): Add bits/math-finite.h.
55401 * math/bits/math-finite.h: New file.
55402 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55403 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55404 * math/e_acoshl.c: Add __*_finite alias.
55405 * math/e_acosl.c: Likewise.
55406 * math/e_asinl.c: Likewise.
55407 * math/e_atan2l.c: Likewise.
55408 * math/e_atanhl.c: Likewise.
55409 * math/e_coshl.c: Likewise.
55410 * math/e_exp10.c: Likewise.
55411 * math/e_exp10f.c: Likewise.
55412 * math/e_exp10l.c: Likewise.
55413 * math/e_exp2l.c: Likewise.
55414 * math/e_fmodl.c: Likewise.
55415 * math/e_gammal_r.c: Likewise.
55416 * math/e_hypotl.c: Likewise.
55417 * math/e_j0l.c: Likewise.
55418 * math/e_j1l.c: Likewise.
55419 * math/e_jnl.c: Likewise.
55420 * math/e_lgammal_r.c: Likewise.
55421 * math/e_log10l.c: Likewise.
55422 * math/e_log2l.c: Likewise.
55423 * math/e_logl.c: Likewise.
55424 * math/e_powl.c: Likewise.
55425 * math/e_sinhl.c: Likewise.
55426 * math/e_sqrtl.c: Likewise.
55427 * math/e_scalb.c: Completely rewritten and optimized.
55428 * math/e_scalbf.c: Likewise.
55429 * math/e_scalbl.c: Likewise.
55430 * math/w_acos.c: Likewise.
55431 * math/w_acosf.c: Likewise.
55432 * math/w_acosl.c: Likewise.
55433 * math/w_acosh.c: Likewise.
55434 * math/w_acoshf.c: Likewise.
55435 * math/w_acoshl.c: Likewise.
55436 * math/w_asin.c: Likewise.
55437 * math/w_asinf.c: Likewise.
55438 * math/w_asinl.c: Likewise.
55439 * math/w_atan2.c: Likewise.
55440 * math/w_atan2f.c: Likewise.
55441 * math/w_atan2l.c: Likewise.
55442 * math/w_atanh.c: Likewise.
55443 * math/w_atanhf.c: Likewise.
55444 * math/w_atanhl.c: Likewise.
55445 * math/w_exp10.c: Likewise.
55446 * math/w_exp10f.c: Likewise.
55447 * math/w_exp10l.c: Likewise.
55448 * math/w_fmod.c: Likewise.
55449 * math/w_fmodf.c: Likewise.
55450 * math/w_fmodl.c: Likewise.
55451 * math/w_j0.c: Likewise.
55452 * math/w_j0f.c: Likewise.
55453 * math/w_j0l.c: Likewise.
55454 * math/w_j1.c: Likewise.
55455 * math/w_j1f.c: Likewise.
55456 * math/w_j1l.c: Likewise.
55457 * math/w_jn.c: Likewise.
55458 * math/w_jnf.c: Likewise.
55459 * math/w_log.c: Likewise.
55460 * math/w_logf.c: Likewise.
55461 * math/w_logl.c: Likewise.
55462 * math/w_log10.c: Likewise.
55463 * math/w_log10f.c: Likewise.
55464 * math/w_log10l.c: Likewise.
55465 * math/w_log2.c: Likewise.
55466 * math/w_log2f.c: Likewise.
55467 * math/w_log2l.c: Likewise.
55468 * math/w_pow.c: Likewise.
55469 * math/w_powf.c: Likewise.
55470 * math/w_powl.c: Likewise.
55471 * math/w_remainder.c: Likewise.
55472 * math/w_remainderf.c: Likewise.
55473 * math/w_remainderl.c: Likewise.
55474 * math/w_scalb.c: Likewise.
55475 * math/w_scalbf.c: Likewise.
55476 * math/w_scalbl.c: Likewise.
55477 * math/w_sqrt.c: Likewise.
55478 * math/w_sqrtf.c: Likewise.
55479 * math/w_sqrtl.c: Likewise.
55480 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55481 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
55483 * math/math_private.h: Declare __kernel_standard_f.
55484 * math/w_cosh.c: Remove cruft and optimize a bit.
55485 * math/w_coshf.c: Likewise.
55486 * math/w_coshl.c: Likewise.
55487 * math/w_exp2.c: Likewise.
55488 * math/w_exp2f.c: Likewise.
55489 * math/w_exp2l.c: Likewise.
55490 * math/w_hypot.c: Likewise.
55491 * math/w_hypotf.c: Likewise.
55492 * math/w_hypotl.c: Likewise.
55493 * math/w_lgamma.c: Likewise.
55494 * math/w_lgamma_r.c: Likewise.
55495 * math/w_lgammaf.c: Likewise.
55496 * math/w_lgammaf_r.c: Likewise.
55497 * math/w_lgammal.c: Likewise.
55498 * math/w_lgammal_r.c: Likewise.
55499 * math/w_sinh.c: Likewise.
55500 * math/w_sinhf.c: Likewise.
55501 * math/w_sinhl.c: Likewise.
55502 * math/w_tgamma.c: Likewise.
55503 * math/w_tgammaf.c: Likewise.
55504 * math/w_tgammal.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55506 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55507 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55508 Minor optimizations. Pretty printing. Remove cruft.
55509 * sysdeps/i386/fpu/e_acosf.S: Likewise.
55510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
55511 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55512 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55513 * sysdeps/i386/fpu/e_acosl.c: Likewise.
55514 * sysdeps/i386/fpu/e_asin.S: Likewise.
55515 * sysdeps/i386/fpu/e_asinf.S: Likewise.
55516 * sysdeps/i386/fpu/e_atan2.S: Likewise.
55517 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55518 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55519 * sysdeps/i386/fpu/e_atanh.S: Likewise.
55520 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55521 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55522 * sysdeps/i386/fpu/e_exp10.S: Likewise.
55523 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55524 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55525 * sysdeps/i386/fpu/e_exp2.S: Likewise.
55526 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55527 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55528 * sysdeps/i386/fpu/e_fmod.S: Likewise.
55529 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55530 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55531 * sysdeps/i386/fpu/e_hypot.S: Likewise.
55532 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55533 * sysdeps/i386/fpu/e_log.S: Likewise.
55534 * sysdeps/i386/fpu/e_log10.S: Likewise.
55535 * sysdeps/i386/fpu/e_log10f.S: Likewise.
55536 * sysdeps/i386/fpu/e_log10l.S: Likewise.
55537 * sysdeps/i386/fpu/e_log2.S: Likewise.
55538 * sysdeps/i386/fpu/e_log2f.S: Likewise.
55539 * sysdeps/i386/fpu/e_log2l.S: Likewise.
55540 * sysdeps/i386/fpu/e_logf.S: Likewise.
55541 * sysdeps/i386/fpu/e_logl.S: Likewise.
55542 * sysdeps/i386/fpu/e_pow.S: Likewise.
55543 * sysdeps/i386/fpu/e_powf.S: Likewise.
55544 * sysdeps/i386/fpu/e_powl.S: Likewise.
55545 * sysdeps/i386/fpu/e_remainder.S: Likewise.
55546 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55547 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55548 * sysdeps/i386/fpu/e_scalb.S: Likewise.
55549 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55550 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55551 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55552 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55553 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55558 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55559 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55560 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55561 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55562 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55563 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55564 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55565 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55567 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55568 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55574 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55575 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55576 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55577 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55578 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55579 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55580 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55581 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55582 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55583 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55585 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55588 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55589 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55590 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55591 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55592 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55593 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55594 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55595 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55596 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55597 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55598 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55599 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55600 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55601 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55602 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55603 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55604 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55605 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55606 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55607 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55609 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55610 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55611 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55612 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55613 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55614 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55615 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55616 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55618 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55619 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55620 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55622 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55623 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55624 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55625 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55626 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55627 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55628 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55630 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55633 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55634 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55635 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55636 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55637 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55638 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55639 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55640 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55642 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55644 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55645 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55646 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55647 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55649 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55650 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55651 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55652 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55653 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55654 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55655 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55656 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55657 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55658 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55659 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55660 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55661 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55662 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55663 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55664 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55665 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55666 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55667 (__isnanf): Likewise.
55668 (__isinf_ns): Likewise.
55669 (__isinf_nsf): Likewise.
55670 (__finite): Likewise.
55671 (__finitef): Likewise.
55672 (__ieee754_sqrt): Define as macro.
55673 (__ieee754_sqrtf): Define as macro.
55674 (__ieee754_sqrtl): Define as macro.
55675 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55677 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55678 __FINITE_MATH_ONLY__ consistent.
55679 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55681 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55683 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55686 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55688 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55690 * po/ja.po: Update from translation team.
55692 2011-10-08 Roland McGrath <roland@hack.frob.com>
55694 * locale/programs/locarchive.c (prepare_address_space): New function.
55695 (create_archive, enlarge_archive, open_archive): Use it.
55697 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55698 inside [SHARED], where it is used.
55700 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55702 * nss/getent.c (netgroup_keys): Remove unused variable.
55703 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55705 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55707 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55708 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55709 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55710 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55711 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55712 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55713 * math/Makefile (libm-calls): Add s_isinf_ns.
55714 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55715 * math/multc3.c: Likewise.
55716 * math/s_casin.c: Likewise.
55717 * math/s_casinf.c: Likewise.
55718 * math/s_casinl.c: Likewise.
55719 * math/s_ccos.c: Likewise.
55720 * math/s_ccosf.c: Likewise.
55721 * math/s_ccosl.c: Likewise.
55722 * math/s_ctan.c: Likewise.
55723 * math/s_ctanf.c: Likewise.
55724 * math/s_ctanh.c: Likewise.
55725 * math/s_ctanhf.c: Likewise.
55726 * math/s_ctanhl.c: Likewise.
55727 * math/s_ctanl.c: Likewise.
55728 * math/w_fmod.c: Likewise.
55729 * math/w_fmodf.c: Likewise.
55730 * math/w_fmodl.c: Likewise.
55731 * math/w_remainder.c: Likewise.
55732 * math/w_remainderf.c: Likewise.
55733 * math/w_remainderl.c: Likewise.
55734 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55735 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55736 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55738 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55739 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55740 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55741 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55743 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55745 * stdio-common/printf_fphex.c: Likewise.
55746 * stdio-common/printf_size.c: Likewise.
55748 * math/e_exp10.c: Include math_private.h using <...> not "...".
55749 * math/e_exp10f.c: Likewise.
55750 * math/e_exp10l.c: Likewise.
55751 * math/e_exp2l.c: Likewise.
55752 * math/e_j0l.c: Likewise.
55753 * math/e_j1l.c: Likewise.
55754 * math/e_jnl.c: Likewise.
55755 * math/e_lgammal_r.c: Likewise.
55756 * math/e_rem_pio2l.c: Likewise.
55757 * math/e_scalb.c: Likewise.
55758 * math/e_scalbf.c: Likewise.
55759 * math/e_scalbl.c: Likewise.
55760 * math/k_cosl.c: Likewise.
55761 * math/k_sinl.c: Likewise.
55762 * math/k_tanl.c: Likewise.
55763 * math/s_cacoshf.c: Likewise.
55764 * math/s_catan.c: Likewise.
55765 * math/s_catanf.c: Likewise.
55766 * math/s_catanh.c: Likewise.
55767 * math/s_catanhf.c: Likewise.
55768 * math/s_catanhl.c: Likewise.
55769 * math/s_catanl.c: Likewise.
55770 * math/s_ccosh.c: Likewise.
55771 * math/s_ccoshf.c: Likewise.
55772 * math/s_ccoshl.c: Likewise.
55773 * math/s_cexp.c: Likewise.
55774 * math/s_cexpf.c: Likewise.
55775 * math/s_cexpl.c: Likewise.
55776 * math/s_clog.c: Likewise.
55777 * math/s_clog10.c: Likewise.
55778 * math/s_clog10f.c: Likewise.
55779 * math/s_clog10l.c: Likewise.
55780 * math/s_clogf.c: Likewise.
55781 * math/s_clogl.c: Likewise.
55782 * math/s_csin.c: Likewise.
55783 * math/s_csinf.c: Likewise.
55784 * math/s_csinh.c: Likewise.
55785 * math/s_csinhf.c: Likewise.
55786 * math/s_csinhl.c: Likewise.
55787 * math/s_csinl.c: Likewise.
55788 * math/s_csqrt.c: Likewise.
55789 * math/s_csqrtf.c: Likewise.
55790 * math/s_csqrtl.c: Likewise.
55791 * math/s_ctan.c: Likewise.
55792 * math/s_ctanf.c: Likewise.
55793 * math/s_ctanh.c: Likewise.
55794 * math/s_ctanhf.c: Likewise.
55795 * math/s_ctanhl.c: Likewise.
55796 * math/s_ctanl.c: Likewise.
55797 * math/s_ldexp.c: Likewise.
55798 * math/s_ldexpf.c: Likewise.
55799 * math/s_ldexpl.c: Likewise.
55800 * math/s_significand.c: Likewise.
55801 * math/s_significandf.c: Likewise.
55802 * math/s_significandl.c: Likewise.
55803 * math/w_acos.c: Likewise.
55804 * math/w_acosf.c: Likewise.
55805 * math/w_acosh.c: Likewise.
55806 * math/w_acoshf.c: Likewise.
55807 * math/w_acoshl.c: Likewise.
55808 * math/w_acosl.c: Likewise.
55809 * math/w_asin.c: Likewise.
55810 * math/w_asinf.c: Likewise.
55811 * math/w_asinl.c: Likewise.
55812 * math/w_atan2.c: Likewise.
55813 * math/w_atan2f.c: Likewise.
55814 * math/w_atan2l.c: Likewise.
55815 * math/w_atanh.c: Likewise.
55816 * math/w_atanhf.c: Likewise.
55817 * math/w_atanhl.c: Likewise.
55818 * math/w_cosh.c: Likewise.
55819 * math/w_coshf.c: Likewise.
55820 * math/w_coshl.c: Likewise.
55821 * math/w_dremf.c: Likewise.
55822 * math/w_exp10.c: Likewise.
55823 * math/w_exp10f.c: Likewise.
55824 * math/w_exp10l.c: Likewise.
55825 * math/w_exp2.c: Likewise.
55826 * math/w_exp2f.c: Likewise.
55827 * math/w_fmod.c: Likewise.
55828 * math/w_fmodf.c: Likewise.
55829 * math/w_fmodl.c: Likewise.
55830 * math/w_hypot.c: Likewise.
55831 * math/w_hypotf.c: Likewise.
55832 * math/w_hypotl.c: Likewise.
55833 * math/w_j0.c: Likewise.
55834 * math/w_j0f.c: Likewise.
55835 * math/w_j0l.c: Likewise.
55836 * math/w_j1.c: Likewise.
55837 * math/w_j1f.c: Likewise.
55838 * math/w_j1l.c: Likewise.
55839 * math/w_jn.c: Likewise.
55840 * math/w_jnf.c: Likewise.
55841 * math/w_jnl.c: Likewise.
55842 * math/w_lgamma.c: Likewise.
55843 * math/w_lgamma_r.c: Likewise.
55844 * math/w_lgammaf.c: Likewise.
55845 * math/w_lgammaf_r.c: Likewise.
55846 * math/w_lgammal.c: Likewise.
55847 * math/w_lgammal_r.c: Likewise.
55848 * math/w_log.c: Likewise.
55849 * math/w_log10.c: Likewise.
55850 * math/w_log10f.c: Likewise.
55851 * math/w_log10l.c: Likewise.
55852 * math/w_log2.c: Likewise.
55853 * math/w_log2f.c: Likewise.
55854 * math/w_log2l.c: Likewise.
55855 * math/w_logf.c: Likewise.
55856 * math/w_logl.c: Likewise.
55857 * math/w_pow.c: Likewise.
55858 * math/w_powf.c: Likewise.
55859 * math/w_powl.c: Likewise.
55860 * math/w_remainder.c: Likewise.
55861 * math/w_remainderf.c: Likewise.
55862 * math/w_remainderl.c: Likewise.
55863 * math/w_scalb.c: Likewise.
55864 * math/w_scalbf.c: Likewise.
55865 * math/w_scalbl.c: Likewise.
55866 * math/w_sinh.c: Likewise.
55867 * math/w_sinhf.c: Likewise.
55868 * math/w_sinhl.c: Likewise.
55869 * math/w_sqrt.c: Likewise.
55870 * math/w_sqrtf.c: Likewise.
55871 * math/w_sqrtl.c: Likewise.
55872 * math/w_tgamma.c: Likewise.
55873 * math/w_tgammaf.c: Likewise.
55874 * math/w_tgammal.c: Likewise.
55876 * po/ja.po: Update from translation team.
55878 2011-09-29 Andreas Jaeger <aj@suse.de>
55881 * sunrpc/netname.c (netname2host): Fix logic.
55885 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55887 * math/w_remainder.c (__remainder): Likewise.
55888 * math/w_remainderf.c (__remainderf): Likewise.
55889 * math/libm-test.inc (remainder_test): Add test cases.
55891 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55893 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55896 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55898 * string/test-memcmp.c: Avoid unncessary #defines.
55899 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55901 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55903 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55904 Use new sse2 version for core i3 - i7 as it's faster
55905 than sse42 version.
55906 (bit_Prefer_PMINUB_for_stringop): New.
55907 * sysdeps/x86_64/rawmemchr.S: Update.
55908 Replace with faster SSE2 version.
55909 * sysdeps/x86_64/memrchr.S: New file.
55910 * sysdeps/x86_64/memchr.S: Update.
55911 Replace with faster SSE2 version.
55913 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55915 * elf/dl-load.c (lose): Add cast to avoid warning.
55917 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55919 * po/ca.po: Update from translation team.
55921 * inet/getnetgrent_r.c: Hook up nscd.
55922 * nscd/Makefile (routines): Add nscd_netgroup.
55923 (nscd-modules): Add netgroupcache.
55924 (CFLAGS-netgroupcache.c): Define.
55925 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55926 (cache_search): Add const to second parameter.
55927 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55929 (dbs): Add netgrdb entry.
55930 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55931 (verify_persistent_db): Handle netgrdb.
55932 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55933 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55935 (netgroup_response_header): Define.
55936 (innetgroup_response_header): Define.
55937 (datahead): Add netgroup_response_header and innetgroup_response_header
55939 * nscd/nscd.conf: Add entries for netgroup cache.
55940 * nscd/nscd.h (dbtype): Add netgrdb.
55941 (_PATH_NSCD_NETGROUP_DB): Define.
55942 (netgroup_iov_disabled): Declare.
55943 (xmalloc, xcalloc, xrealloc): Move declarations here.
55944 (cache_search): Adjust prototype.
55945 Add netgroup-related prototypes.
55946 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55947 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55948 (__nscd_innetgr): Declare.
55949 * nscd/selinux.c (perms): Use access_vector_t as element type and
55950 add netgroup-related initializers.
55951 * nscd/netgroupcache.c: New file.
55952 * nscd/nscd_netgroup.c: New file.
55953 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55954 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55955 For four parameters use innetgr.
55956 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55957 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55958 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55959 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55961 * nscd/connections.c (register_traced_file): Don't register file
55962 for disabled databases.
55964 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55966 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55968 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55969 from tree and freeing node.
55971 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55973 * nss/nsswitch.c (__nss_database_lookup): Handle
55974 nss_parse_service_list out of memory case.
55976 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55978 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55979 out of memory case.
55981 2011-10-04 Andreas Schwab <schwab@redhat.com>
55983 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55984 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55986 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55987 elf_machine_rela, elf_machine_lazy_rel.
55988 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55989 (ELF_DYNAMIC_DO_REL): Likewise.
55990 (ELF_DYNAMIC_DO_RELA): Likewise.
55991 (ELF_DYNAMIC_RELOCATE): Likewise.
55992 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55993 to ELF_DYNAMIC_DO_REL.
55994 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55995 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55996 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55999 skip_ifunc, don't call ifunc function if non-zero.
56000 (elf_machine_rela): Likewise.
56001 (elf_machine_lazy_rel): Likewise.
56002 (elf_machine_lazy_rela): Likewise.
56003 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56004 (elf_machine_lazy_rel): Likewise.
56005 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56007 (elf_machine_lazy_rel): Likewise.
56008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56010 (elf_machine_lazy_rel): Likewise.
56011 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56012 (elf_machine_lazy_rel): Likewise.
56013 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56014 (elf_machine_lazy_rel): Likewise.
56015 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56016 (elf_machine_lazy_rel): Likewise.
56017 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56018 (elf_machine_lazy_rel): Likewise.
56019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56020 (elf_machine_lazy_rel): Likewise.
56021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56022 (elf_machine_lazy_rel): Likewise.
56024 2011-09-28 Ulrich Drepper <drepper@gmail.com>
56026 * nss/nss_files/files-init.c (_nss_files_init): Use static
56027 initialization for all the *_traced_file variables.
56029 2011-09-28 Andreas Schwab <schwab@redhat.com>
56031 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56033 2011-09-27 Roland McGrath <roland@hack.frob.com>
56036 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56038 2011-09-27 Andreas Schwab <schwab@redhat.com>
56040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56041 Reread the line before reparsing it.
56043 2011-09-26 Andreas Schwab <schwab@redhat.com>
56045 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56047 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
56048 Maxim Kuvyrkov <maxim@codesourcery.com>
56049 Joseph Myers <joseph@codesourcery.com>
56051 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56052 if needed for __stack_chk_guard.
56054 2011-09-19 Roland McGrath <roland@hack.frob.com>
56056 * sysdeps/posix/spawni.c (script_execute): Always define it.
56057 It will be optimized away if unused.
56058 (maybe_script_execute): New function.
56059 (__spawni): Call it.
56061 * Makerules: Don't include tls.make.
56062 (config-tls): Always set to thread.
56063 * tls.make.c: File removed.
56065 2011-09-19 Mike Frysinger <vapier@gentoo.org>
56067 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56068 * config.make.in (CPPFLAGS-config): New substituted variable.
56070 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56072 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56075 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56076 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56078 2011-09-15 Roland McGrath <roland@hack.frob.com>
56080 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56081 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56082 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56083 (CALL_FAIL): Likewise.
56084 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56085 (CALL_FAIL): Macro removed.
56086 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56088 2011-09-15 Ulrich Drepper <drepper@gmail.com>
56090 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56091 for __FINITE_MATH_ONLY__ == 1.
56093 2011-09-15 Andreas Schwab <schwab@redhat.com>
56095 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56096 __ieee754_sqrt instead of sqrt.
56097 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56098 __ieee754_sqrtf instead of sqrtf.
56099 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56100 __floorf instead of floorf.
56101 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56102 __floorf, __truncf instead of floorf, truncf.
56104 2011-09-14 Ulrich Drepper <drepper@gmail.com>
56106 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56108 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56109 __extern_always_inline.
56110 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56113 2011-09-14 Andreas Schwab <schwab@redhat.com>
56115 * elf/rtld.c (dl_main): Also relocate in dependency order when
56116 doing symbol dependency testing.
56118 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
56120 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56121 Always define `refsym'.
56123 2011-09-13 Andreas Schwab <schwab@redhat.com>
56125 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56126 (__FD_ELT): Renamed from __FDELT.
56127 * misc/bits/select2.h (__FD_ELT): Likewise.
56128 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56129 __FD_MASK instead of __FDELT, __FDMASK.
56130 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56132 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56135 * elf/Makefile (gen-ldd): Fix pattern.
56137 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56138 (init_tls): Likewise.
56140 2011-09-12 Ulrich Drepper <drepper@gmail.com>
56142 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56144 2011-09-12 Andreas Schwab <schwab@redhat.com>
56146 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56147 `struct cmsghdr *' instead of `void *'.
56148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56151 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
56153 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56155 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56156 ldd_rewrite_script.
56158 2011-09-11 Ulrich Drepper <drepper@gmail.com>
56160 * configure.in: Remove --with-tls option.
56161 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56162 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56163 out in case it is missing.
56164 * sysdeps/ia64/elf/configure.in: Likewise.
56165 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56166 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56167 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56168 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56169 * sysdeps/sh/elf/configure.in: Likewise.
56170 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56171 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56172 * sysdeps/x86_64/elf/configure.in: Likewise.
56173 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56174 * sysdeps/mach/hurd/tls.h: Likewise.
56177 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56180 * configure.in: Fix use of AC_INIT.
56182 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56184 2011-09-10 Ulrich Drepper <drepper@gmail.com>
56186 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56188 * malloc/hooks.c: Likewise.
56191 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
56192 variables statically.
56193 (narenas): Initialize.
56194 (list_lock): Initialize.
56195 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
56196 initializtion of main_arena and list_lock. Small cleanups.
56197 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56198 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
56199 Add initializers to main_arena and mp_.
56200 (malloc_state): Remove pagesize member. Change all users to use
56203 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56204 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
56205 is always initialized.
56207 * malloc/malloc.c: Removed unused configurations and dead code.
56208 * malloc/arena.c: Likewise.
56209 * malloc/hooks.c: Likewise.
56210 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56212 * include/tls.h: Removed. USE___THREAD must always be defined.
56213 * bits/libc-tsd.h: Don't handle !USE___THREAD.
56214 * elf/dl-libc.c: Likewise.
56215 * elf/dl-tsd.c: Likewise.
56216 * include/errno.h: Likewise.
56217 * include/netdb.h: Likewise.
56218 * include/resolv.h: Likewise.
56219 * inet/herrno-loc.c: Likewise.
56220 * inet/herrno.c: Likewise.
56221 * malloc/arena.c: Likewise.
56222 * malloc/hooks.c: Likewise.
56223 * malloc/malloc.c: Likewise.
56224 * resolv/res-state.c: Likewise.
56225 * resolv/res_libc.c: Likewise.
56226 * sysdeps/i386/dl-machine.h: Likewise.
56227 * sysdeps/ia64/dl-machine.h: Likewise.
56228 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56229 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56230 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56231 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56232 * sysdeps/sh/dl-machine.h: Likewise.
56233 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56234 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56235 * sysdeps/unix/i386/sysdep.S: Likewise.
56236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56237 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56241 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56242 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56246 * sysdeps/unix/x86_64/sysdep.S: Likewise.
56247 * sysdeps/x86_64/dl-machine.h: Likewise.
56248 * tls.make.c: Likewise.
56250 * configure.in: Remove --with-__thread option. Make tests for
56251 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56252 tls_model attribute fail if no support is available. Remove
56254 * Makeconfig: Adjust for dropped configure option. All features are
56256 * Makerules: Likewise.
56257 * Versions.def: Likewise.
56258 * argp/argp-fmtstream.c: Likewise.
56259 * argp/argp-fmtstream.h: Likewise.
56260 * argp/argp-help.c: Likewise.
56261 * assert/assert.c: Likewise.
56262 * config.h.in: Likewise.
56263 * config.make.in: Likewise.
56264 * configure: Likewise.
56265 * configure.in: Likewise.
56266 * csu/Versions: Likewise.
56267 * csu/init.c: Likewise.
56268 * elf/tst-audit2.c: Likewise.
56269 * elf/tst-tls10.c: Likewise.
56270 * elf/tst-tls10.h: Likewise.
56271 * elf/tst-tls11.c: Likewise.
56272 * elf/tst-tls12.c: Likewise.
56273 * elf/tst-tls14.c: Likewise.
56274 * elf/tst-tlsmod11.c: Likewise.
56275 * elf/tst-tlsmod12.c: Likewise.
56276 * elf/tst-tlsmod13.c: Likewise.
56277 * elf/tst-tlsmod13a.c: Likewise.
56278 * elf/tst-tlsmod14a.c: Likewise.
56279 * elf/tst-tlsmod15b.c: Likewise.
56280 * elf/tst-tlsmod16a.c: Likewise.
56281 * elf/tst-tlsmod16b.c: Likewise.
56282 * elf/tst-tlsmod7.c: Likewise.
56283 * elf/tst-tlsmod8.c: Likewise.
56284 * elf/tst-tlsmod9.c: Likewise.
56285 * gmon/gmon.c: Likewise.
56286 * grp/fgetgrent_r.c: Likewise.
56287 * grp/putgrent.c: Likewise.
56288 * hurd/fopenport.c: Likewise.
56289 * include/libc-symbols.h: Likewise.
56290 * include/tls.h: Likewise.
56291 * intl/gettextP.h: Likewise.
56292 * intl/loadinfo.h: Likewise.
56293 * locale/global-locale.c: Likewise.
56294 * locale/localeinfo.h: Likewise.
56295 * mach/devstream.c: Likewise.
56296 * malloc/arena.c: Likewise.
56297 * malloc/set-freeres.c: Likewise.
56298 * misc/err.c: Likewise.
56299 * misc/getttyent.c: Likewise.
56300 * misc/mntent_r.c: Likewise.
56301 * posix/getopt.c: Likewise.
56302 * posix/wordexp.c: Likewise.
56303 * pwd/fgetpwent_r.c: Likewise.
56304 * resolv/Versions: Likewise.
56305 * resolv/res_hconf.c: Likewise.
56306 * shadow/fgetspent_r.c: Likewise.
56307 * shadow/putspent.c: Likewise.
56308 * stdio-common/printf_fphex.c: Likewise.
56309 * stdio-common/tmpfile.c: Likewise.
56310 * stdlib/abort.c: Likewise.
56311 * stdlib/fmtmsg.c: Likewise.
56312 * sunrpc/auth_unix.c: Likewise.
56313 * sunrpc/clnt_perr.c: Likewise.
56314 * sunrpc/clnt_tcp.c: Likewise.
56315 * sunrpc/clnt_udp.c: Likewise.
56316 * sunrpc/clnt_unix.c: Likewise.
56317 * sunrpc/openchild.c: Likewise.
56318 * sunrpc/svc_simple.c: Likewise.
56319 * sunrpc/svc_tcp.c: Likewise.
56320 * sunrpc/svc_udp.c: Likewise.
56321 * sunrpc/svc_unix.c: Likewise.
56322 * sunrpc/xdr.c: Likewise.
56323 * sunrpc/xdr_array.c: Likewise.
56324 * sunrpc/xdr_rec.c: Likewise.
56325 * sunrpc/xdr_ref.c: Likewise.
56326 * sunrpc/xdr_stdio.c: Likewise.
56328 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56330 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56332 2011-07-03 Andreas Jaeger <aj@suse.de>
56334 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56335 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56336 regenerate with gen-libm-tests.pl.
56338 2010-05-12 Petr Baudis <pasky@suse.cz>
56341 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56342 around j0() zero points by switching to j1().
56343 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56344 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56348 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56350 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56352 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56355 Patch in part by Pavel Roskin <proski@gnu.org>.
56358 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56360 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
56361 Free memory block if necessary.
56364 * libio/genops.c (INTDEF): For string streams the _lock pointer can
56365 be NULL. Don't lock in this case.
56367 2011-09-09 Roland McGrath <roland@hack.frob.com>
56369 * elf/elf.h (ELFOSABI_GNU): New macro.
56370 (ELFOSABI_LINUX): Define to that.
56372 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
56374 * string/strncat.c (strncat): Undef the symbol in case it has been
56375 defined in bits/string.h.
56377 2011-09-09 Ulrich Drepper <drepper@gmail.com>
56379 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56381 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56384 2011-08-17 Andreas Jaeger <aj@suse.de>
56386 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56388 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
56389 Ian Lance Taylor <iant@google.com>
56391 * math/libm-test.inc (lround_test): New testcase.
56392 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56394 2011-09-08 Ulrich Drepper <drepper@gmail.com>
56396 * Makefile: Remove support for automatic cvs check-ins.
56397 * Makerules: Likewise.
56398 * config.make.in: Likewise.
56399 * configure.in: Likewise.
56400 * intl/Makefile: Likewise.
56401 * locale/Makefile: Likewise.
56402 * po/Makefile: Likewise.
56403 * posix/Makefile: Likewise.
56404 * sysdeps/gnu/Makefile: Likewise.
56405 * sysdeps/mach/hurd/Makefile: Likewise.
56406 * sysdeps/sparc/sparc32/Makefile: Likewise.
56409 * posix/Makefile (bug-regex32-ENV): Define.
56410 Patch by John Stanley <jpsinthemix@verizon.net>.
56412 * misc/Makefile (headers): Add bits/select2.h.
56413 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56414 * misc/bits/select2.h: New file.
56415 * include/bits/select2.h: New file.
56416 * debug/Makefile (routines): Add fdelt_chk.
56417 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56418 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56420 * debug/fdelt_chk.c: New file.
56422 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
56423 * wcsmbs/test-wmemcmp.c: Likewise.
56424 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56425 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56427 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56429 * string/Makefile (strop-tests): Add memcmp.
56430 * string/test-wmemcmp.c: New file.
56431 * string/test-memcmp.c: Add wmemcmp support.
56433 2011-09-08 Roland McGrath <roland@hack.frob.com>
56436 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56439 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56440 garbage value in a __mach_port_mod_refs call in the cases of the
56441 task-self and thread-self ports.
56443 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56445 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56447 2011-09-08 Andreas Schwab <schwab@redhat.com>
56449 * elf/dl-load.c (lose): Check for non-null L.
56451 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56453 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56455 * elf/dl-libc.c (dlerror_run): Pass back error code from
56459 * elf/dl-load.c (lose): Free l_origin if it is valid.
56461 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56463 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56464 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56465 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56466 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56467 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56468 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56470 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56472 * sysdeps/powerpc/fpu/e_hypot.c: New file.
56473 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56474 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56475 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56476 * sysdeps/powerpc/fpu/k_cosf.c: New file.
56477 * sysdeps/powerpc/fpu/k_sinf.c: New file.
56478 * sysdeps/powerpc/fpu/s_cosf.c: New file.
56479 * sysdeps/powerpc/fpu/s_sinf.c: New file.
56480 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56481 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56483 2011-08-15 Alan Modra <amodra@gmail.com>
56486 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56487 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56488 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
56489 ppc_mcount to static-only-routines.
56490 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56492 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56493 __mcount_internal with usual JUMPTARGET. Remove useless nop.
56495 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
56497 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56498 for finite and infinity parameters.
56500 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
56502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56503 and add nop instructions for throughput optimization.
56504 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56506 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
56508 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56509 aligned copy for power7 with vector-scalar instructions.
56510 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56512 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
56514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56517 2011-09-07 Andreas Schwab <schwab@redhat.com>
56520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56523 2011-09-07 Ulrich Drepper <drepper@gmail.com>
56525 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56526 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56527 syscall wrapper around clock_gettime in __vdso_clock_gettime.
56528 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56531 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56533 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56534 Forgot to demangle the pointer.
56536 * sysdeps/i386/sysdep.h: Define atom_text_section.
56537 * sysdeps/x86_64/sysdep.h: Likewise.
56538 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56539 section with atom_text_section.
56540 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56542 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56544 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56546 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56547 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56548 already be defined. Change to take two parameters and don't assign
56549 result to variable. Adjust all users.
56550 Define INTERNAL_GETTIME if not already defined.
56551 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56554 HAVE_CLOCK_GETTIME_VSYSCALL.
56555 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56558 gettimeofday vsyscall, just use time.
56560 2011-09-06 Andreas Schwab <schwab@redhat.com>
56562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56565 2011-09-06 Ulrich Drepper <drepper@gmail.com>
56567 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56569 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56571 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56572 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56573 syscall if possible.
56575 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56577 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56578 e_ident. Don't pass to find_mapsXX.
56579 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56581 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56584 strchr-sse2-no-bsf strrchr-sse2-no-bsf
56585 * sysdeps/x86_64/multiarch/strchr.S: Update.
56586 Check bit_slow_BSF bit.
56587 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56588 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56589 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56591 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56594 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56596 (tryshell): Define.
56597 (__spawni): Change last parameter to be flag. Test
56598 SPAWN_XFLAGS_USE_PATH flag to use path or not.
56599 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56600 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56601 * posix/spawni.c: Likewise.
56602 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56603 * posix/spawnp.c: Likewise. Change normal version to use
56604 SPAWN_XFLAGS_USE_PATH.
56605 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56606 SPAWN_XFLAGS_TRY_SHELL.
56609 * posix/glob.h: Remove gcc 1.x support.
56612 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56614 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56617 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56619 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56620 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56621 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56622 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56623 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56626 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56628 * sysdeps/x86_64/wcscmp.S: New file.
56630 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56631 wcscmp-c wcscmp-sse2
56632 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56633 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56634 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56635 * wcsmbs/wcscmp.c: Allow renaming.
56637 2011-09-05 David S. Miller <davem@davemloft.net>
56639 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56640 stack slot, rather than the struct return pointer slot.
56641 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56642 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56644 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56646 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56648 * po/ja.po: Update from translation team.
56651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56652 kernel in 64-bit binaries.
56654 2011-09-01 David S. Miller <davem@davemloft.net>
56656 * elf/elf.h (HWCAP_SPARC_*): Move to..
56657 * sysdeps/sparc/sysdep.h: this new file and add new values.
56658 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56659 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56660 _DL_HWCAP_COUNT to 24.
56661 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56663 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56664 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56665 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56667 instead of magic constants.
56668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56670 2011-08-31 David S. Miller <davem@davemloft.net>
56672 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56674 Reimplement to do errno handling inline.
56675 (SYSCALL_ERROR_HANDLER): New macro.
56676 (__SYSCALL_STRING): Do not do errno handling in asm.
56677 (__CLONE_SYSCALL_STRING): Delete.
56678 (__INTERNAL_SYSCALL_STRING): Delete.
56679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56680 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56681 (PSEUDO): Reimplement to do errno handling inline.
56682 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56683 (SYSCALL_ERROR_HANDLER): New macro.
56684 (__SYSCALL_STRING): Do not do errno handling in asm.
56685 (__CLONE_SYSCALL_STRING): Delete.
56686 (__INTERNAL_SYSCALL_STRING): Delete.
56687 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56688 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56690 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56691 (inline_syscall*): Add 'err' argument.
56692 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56693 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56694 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56695 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56697 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56700 2011-08-30 Andreas Schwab <schwab@redhat.com>
56702 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56704 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56706 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56709 2011-08-24 David S. Miller <davem@davemloft.net>
56711 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56713 2011-08-24 Andreas Schwab <schwab@redhat.com>
56715 * elf/Makefile: Add rules to build and run unload8 test.
56716 * elf/unload8.c: New file.
56717 * elf/unload8mod1.c: New file.
56718 * elf/unload8mod1x.c: New file.
56719 * elf/unload8mod2.c: New file.
56720 * elf/unload8mod3.c: New file.
56722 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56725 2011-08-23 David S. Miller <davem@davemloft.net>
56727 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56728 subtract stack bias.
56729 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56730 %sp not %fp in calculations.
56731 (_JMPBUF_UNWINDS_ADJ): Likewise.
56733 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56734 (aio_suspend): Call it to force an exception region around the
56735 AIO_MISC_WAIT() invocation.
56737 2011-08-23 Andreas Schwab <schwab@redhat.com>
56739 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56742 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56744 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56746 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56747 and <dl-machine.h>.
56748 (Elf64_FuncDesc): Remove.
56750 2011-08-22 David S. Miller <davem@davemloft.net>
56752 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56753 sigaltstack check, add missing cfi directives.
56754 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56755 missing cfi directives, and sigaltstack handling.
56757 2011-08-16 Andreas Schwab <schwab@redhat.com>
56760 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56761 object is seen twice.
56762 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56764 * elf/Makefile (distribute): Add tst-initorder2.c.
56765 (tests): Add tst-initorder2.
56766 (modules-names): Add tst-initorder2a tst-initorder2b
56767 tst-initorder2c tst-initorder2d. Add rules to build them.
56768 ($(objpfx)tst-initorder2.out): New rule.
56769 * elf/tst-initorder2.c: New file.
56770 * elf/tst-initorder2.exp: New file.
56772 2011-08-22 Andreas Schwab <schwab@redhat.com>
56774 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56776 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56777 dependencies back to end of function.
56779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56780 $(elfobjdir)/ld.so.
56782 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56785 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56786 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56787 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56788 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56789 of __vdso_gettimeofday.
56790 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56791 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56793 (_libc_vdso_platform_setup): Remove initialization of
56794 __vdso_gettimeofday and __vdso_time.
56796 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56798 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56799 and fgetc_unlocked.
56800 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56803 * elf/dl-open.c (add_to_global): Report additions to the global scope
56804 for LD_DEBUG=scopes.
56805 (dl_open_worker): Also print scope of newly loaded dependencies.
56806 (_dl_show_scope): Indicate if there is no scope.
56809 * stdio-common/Makefile (tests): Add bug24.
56810 * stdio-common/bug24.c: New file.
56812 2011-08-19 Andreas Jaeger <aj@suse.de>
56815 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56816 non-existant file when using close-on-exec mode.
56818 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56821 the very first instruction.
56823 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56824 the CFI state in the end.
56825 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56826 inclusion of dl-trampoline.h.
56827 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56829 2011-08-19 Andreas Schwab <schwab@redhat.com>
56831 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56832 expectations for long double.
56834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56835 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56837 2011-08-14 David S. Miller <davem@davemloft.net>
56839 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56840 artificual limit depends upon the system page size.
56842 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56844 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56845 * resolv/Makefile: Define CFLAGS-libresolv.
56847 2011-08-17 Andreas Schwab <schwab@redhat.com>
56849 * nss/makedb.c (compute_tables): Make variables used in nested
56852 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56854 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56855 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56856 if buffer was too small.
56858 * elf/pldd.c (main): Attach to all threads in the process.
56859 Rewrite /proc handling to use *at functions.
56861 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56863 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56864 specifies first scope to show.
56865 (dl_open_worker): Update callers. Move printing scope of new
56866 object to before the relocation.
56867 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56868 * sysdeps/generic/ldsodefs.h: Update declaration.
56870 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56871 string for the scope number.
56873 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56875 * nscd/servicescache.c (cache_addserv): Make sure written is always
56878 2011-08-14 Roland McGrath <roland@hack.frob.com>
56880 * sysdeps/i386/i486/bits/atomic.h
56881 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56882 statement expression, so as to suppress "set but not used" warning.
56883 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56885 * string/strncat.c (STRNCAT): Use prototype definition.
56887 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56888 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56890 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56891 (localedef-modules): Add localedef.
56892 (locale-modules): Add locale.
56894 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56895 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56896 to avoid a warning.
56898 2011-08-14 David S. Miller <davem@davemloft.net>
56900 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56901 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56903 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56905 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56906 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56907 * elf/rtld.c (dl_main): Set l_name of vDSO.
56908 Call _dl_show_scope when DL_DEBUG_SCOPES.
56909 (process_dl_debug): Recognize scopes flag and also set it for all.
56910 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56911 Declare _dl_show_scope.
56913 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56914 (do_dlopen): Pass caller_dlopen to dl_open.
56915 (__libc_dlopen_mode): Initialize caller_dlopen.
56917 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56918 of libc. Make tolower call locale-independent. Optimize a bit by
56919 using isdigit instead of isalnum.
56920 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56922 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56924 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56925 was a dependency or dynamically loaded.
56927 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56929 * intl/l10nflist.c: Allow architecture-specific pop function.
56930 * sysdeps/x86_64/l10nflist.c: New file.
56932 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56935 2011-08-10 Andreas Schwab <schwab@redhat.com>
56937 * include/dirent.h: Add libc_hidden_proto for scandirat and
56938 scandirat64. Don't declare __scandirat64.
56939 * dirent/scandirat.c: Add libc_hidden_def.
56940 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56941 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56943 2011-08-10 David S. Miller <davem@davemloft.net>
56945 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56947 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56949 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56951 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56953 * Versions.def [libc]: Add GLIBC_2.15.
56954 * dirent/Makefile (routines): Add scandirat and scandirat64.
56955 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56957 * dirent/dirent.h: Declare scandirat and scandirat64.
56958 * dirent/scandirat.c: New file.
56959 * dirent/scandirat64.c: New file.
56960 * sysdeps/wordsize-64/scandirat.c: New file.
56961 * sysdeps/wordsize-64/scandirat64.c: New file.
56962 * dirent/opendir.c: Define opendirat.
56963 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56965 * dirent/scandir64.c: Adjust for scandir.c change.
56966 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56967 __scandirat64, and __scandir_cancel_handler.
56968 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56969 additional parameter and use openat instead of open (outside of ld.so).
56970 Add new __opendir as wrapper around __opendirat.
56971 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56972 here without requiring old scandirat implementation.
56974 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56976 * dirent/scandir.c (cancel_handler): Renamed to
56977 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56978 defined. Adjust users.
56979 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56980 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56982 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56984 * string/test-string.h (IMPL): Use __STRING to expand name and then
56987 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56990 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56992 * string/Makefile: Update.
56993 (strop-tests): Append strncat.
56994 * string/test-wcscmp.c: New file.
56995 New comprehensive test for wcscmp.
56996 * string/test-strcmp.c: Update.
56997 (WIDE): New define.
56999 2011-07-22 Andreas Schwab <schwab@redhat.com>
57001 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57004 2011-07-26 Andreas Schwab <schwab@redhat.com>
57006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57007 encoding to ACE if AI_IDN.
57009 2011-08-01 Jakub Jelinek <jakub@redhat.com>
57011 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57012 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57014 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57017 Fix overflow bug in strncat.
57018 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57020 * string/test-strncat.c: Update.
57021 Add new tests for checking overflow bugs.
57023 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57026 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57027 * sysdeps/i386/i686/multiarch/strcat.S: New file.
57028 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57029 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57030 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57031 * sysdeps/i386/i686/multiarch/strncat.S: New file.
57032 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57033 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57035 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57036 (USE_AS_STRCAT): Define.
57037 Add strcat and strncat support.
57038 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57040 2011-07-25 Andreas Schwab <schwab@redhat.com>
57042 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57043 __n bigger than INT_MAX+1.
57044 (__strncmp_g): Likewise.
57046 2011-07-23 Ulrich Drepper <drepper@gmail.com>
57048 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57049 * libio/stido.h: Likewise.
57051 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57056 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57057 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57058 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57059 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57063 * scripts/test-installation.pl: Don't expect libnss_test1 to be
57066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57068 (_dl_x86_64_save_sse): Likewise.
57070 2011-07-22 Ulrich Drepper <drepper@gmail.com>
57072 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57074 (_dl_x86_64_save_sse): Likewise.
57076 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57078 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57080 2011-07-21 Andreas Schwab <schwab@redhat.com>
57082 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57084 (_dl_x86_64_save_sse): Use correct AVX check.
57086 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57089 bug in strncpy/strncat.
57090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57092 2011-07-21 Ulrich Drepper <drepper@gmail.com>
57094 * string/tester.c (test_strcat): Add tests for different alignments
57095 of source and destination.
57096 (test_strncat): Likewise.
57098 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57101 * posix/glob.c (glob): Check passed in values before using them in
57102 expressions to avoid some overflows.
57103 (glob_in_dir): Likewise.
57106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57107 check for AVX enablement so that we don't crash with old kernels and
57109 * elf/tst-audit4.c: Add same checks here.
57110 * elf/tst-audit6.c: Likewise.
57112 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57114 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
57116 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57118 2011-07-20 Ulrich Drepper <drepper@gmail.com>
57120 * po/cs.po: Update from translation team.
57121 * po/bg.po: Likewise.
57123 2011-07-12 Marek Polacek <mpolacek@redhat.com>
57125 * misc/sys/cdefs.h: Add support for const attribute.
57126 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57127 to gnu_dev_{major,minor,makedev} functions.
57129 2011-07-20 Marek Polacek <mpolacek@redhat.com>
57131 * intl/dcigettext.c (get_output_charset): Add missing bracket.
57133 2011-07-20 Andreas Schwab <schwab@redhat.com>
57135 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57138 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57140 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57141 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57142 register in order to avoid conflicts with the soft frame pointer
57143 being held in r11 when necessary.
57144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57145 (INTERNAL_VSYSCALL_NCS): Likewise.
57147 2011-07-14 Marek Polacek <mpolacek@redhat.com>
57149 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57150 * elf/dl-fini.c (_dl_fini): Adjust caller.
57151 * elf/dl-close.c (_dl_close_worker): Likewise.
57152 * sysdeps/generic/ldsodefs.h: Adjust declaration.
57154 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57156 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57157 "aux_cache->nlibs < 0".
57159 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57160 in the reload-count case.
57162 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
57164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57165 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57166 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57167 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57168 * sysdeps/x86_64/multiarch/strcat.S: New file.
57169 * sysdeps/x86_64/multiarch/strncat.S: New file.
57170 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57172 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57173 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57175 (USE_AS_STRCAT): Define.
57176 Add strcat and strncat support.
57177 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57178 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57179 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57180 * string/strncat.c: Update.
57181 (USE_AS_STRNCAT): Define.
57182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57183 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57185 * sysdeps/x86_64/multiarch/init-arch.h
57186 (bit_Prefer_PMINUB_for_stringop): New.
57187 (index_Prefer_PMINUB_for_stringop): Likewise.
57188 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57189 bit_Prefer_PMINUB_for_stringop.
57191 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57193 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57195 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57196 of casting of buffer.
57197 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57198 buffer32 and buffer64.
57199 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57200 writes instead of casting of buffer.
57201 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57203 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57206 2011-07-19 Andreas Schwab <schwab@redhat.com>
57208 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57210 2011-07-19 Ulrich Drepper <drepper@gmail.com>
57212 * nscd/nscd.c (termination_handler): Don't do anything for a database
57213 if it has not yet been initialized.
57215 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57217 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57219 2011-07-15 Marek Polacek <mpolacek@redhat.com>
57221 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57223 2011-07-18 Ulrich Drepper <drepper@gmail.com>
57225 * po/nl.po: Update from translation team.
57226 * po/sv.po: Likewise.
57228 2011-07-16 Roland McGrath <roland@hack.frob.com>
57230 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57231 now disallowed by GCC.
57233 * configure.in (use-default-link): Default to yes if a test -shared
57234 link meets our qualifications.
57235 * configure: Regenerated.
57237 * config.make.in (output-format): New variable.
57238 * configure.in: Check for ld --print-output-format support.
57239 * configure: Regenerated.
57240 * Makerules ($(common-objpfx)format.lds)
57241 [$(output-format) != unknown]: Just use $(output-format),
57242 instead of the linker-script munging.
57244 2011-07-14 Roland McGrath <roland@hack.frob.com>
57246 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57247 of $(common-objpfx)shlib.lds.
57248 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57250 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57251 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57253 * configure.in (-z relro check): Adjust test code to add a large
57254 writable data section after it.
57255 * configure: Regenerated.
57257 2011-07-11 Roland McGrath <roland@hack.frob.com>
57259 * configure.in (-z relro check): Fix test code to make the variable
57261 * configure: Regenerated.
57263 2011-07-11 Ulrich Drepper <drepper@gmail.com>
57265 * nscd/nscd.h (struct traced_file): Define.
57266 (struct database_dyn): Remove inotify_descr, reset_res, and filename
57267 elements. Add traced_files.
57268 (inotify_fd): Declare.
57269 (register_traced_file): Declare.
57270 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57271 (inotify_fd): Export.
57272 (resolv_conf_descr): Remove.
57273 (nscd_init): Move inotify descriptor creation to main.
57274 Don't register files for notification here.
57275 (register_traced_file): New function.
57276 (invalidate_cache): Don't use reset_res to determine whether to call
57277 res_init, go through the list of registered files.
57278 (main_loop_poll): The inotify descriptors are now stored in the
57279 structures for the traced files.
57280 (main_loop_epoll): Likewise
57281 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
57282 to __nss_disable_nscd.
57283 * nscd/cache.c (prune_cache): There is no single inotify descriptor
57284 for a database anymore. Check the records for all the registered
57286 * nss/Makefile (libnss_files-routines): Add files-init.
57287 (libnss_db-routines): Add db-init.
57288 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57289 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57290 * nss/nss_db/db-init.c: New file.
57291 * nss/nss_files/files-init.c: New file.
57292 * nss/nsswitch.c (nss_load_library): New function. Broken out of
57293 __nss_lookup_function.
57294 (__nss_lookup_function): Call nss_load_library.
57295 (nss_load_all_libraries): New function.
57296 (__nss_disable_nscd): Take parameter with callback function for files
57297 to register. Set is_nscd. Load all the DSOs for the NSS modules
57298 used for the cached services.
57299 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57300 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57301 options for features to all the files in nscd.
57303 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57305 2011-07-10 Roland McGrath <roland@hack.frob.com>
57307 * csu/elf-init.c (__libc_csu_init): Comment typo.
57309 2011-07-09 Ulrich Drepper <drepper@gmail.com>
57311 * po/pl.po: Update from translation team.
57312 * po/ja.po: Likewise.
57313 * po/ru.po: Likewise.
57314 * po/ko.po: Likewise.
57315 * po/fr.po: Likewise.
57317 2011-07-09 Roland McGrath <roland@hack.frob.com>
57319 * configure.in (.ctors/.dtors header and trailer check):
57320 Use an empirical test on a built program.
57321 * configure: Regenerated.
57323 * configure.in (-z relro check): Use an empirical test on a built DSO.
57324 Detect, but do not require, on ia64.
57325 * configure: Regenerated.
57327 * configure.in (READELF): Find it with AC_CHECK_TOOL.
57328 Update tests that use readelf to use $READELF instead.
57329 * configure: Regenerated.
57331 2011-07-08 Ulrich Drepper <drepper@gmail.com>
57333 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57334 if the result is not used.
57336 2011-07-05 Andreas Jaeger <aj@suse.de>
57339 * stdlib/tst-strtod.c: Add testcase.
57341 2011-07-07 Ulrich Drepper <drepper@gmail.com>
57343 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57344 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57345 The latter has a higher limit. Take additional parameter to pass to
57347 (__pathconf): Pass file to __statfs_link_max.
57348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57350 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57354 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57355 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57357 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57358 (__statfs_filesize_max): Likewise.
57359 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57361 2011-07-05 Andreas Jaeger <aj@suse.de>
57363 * resolv/res_comp.c (dn_skipname): Remove unused variable.
57365 2011-07-06 Marek Polacek <mpolacek@redhat.com>
57367 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57369 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57372 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
57374 * Makefile (strop-tests): Add strncat.
57375 * string/test-strncat.c: New file.
57377 2011-06-30 Marek Polacek <mpolacek@redhat.com>
57379 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57381 2011-06-21 Andreas Jaeger <aj@suse.de>
57383 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57384 Copy rule from iconvdata/Makefile.
57386 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57389 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57390 but no long options are defined, just return 'W'.
57392 2011-06-22 Marek Polacek <mpolacek@redhat.com>
57395 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57397 2011-07-06 Ulrich Drepper <drepper@gmail.com>
57399 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57401 (innetgr): Likewise.
57403 2011-07-05 Roland McGrath <roland@hack.frob.com>
57405 * config.make.in (install_root): Default to $(DESTDIR).
57407 2011-07-05 Ulrich Drepper <drepper@gmail.com>
57409 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57411 2011-07-02 Roland McGrath <roland@hack.frob.com>
57413 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57415 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57416 containing directory rather than embedding absolute directory names.
57418 * scripts/check-local-headers.sh: Rewritten using awk.
57419 Match by word, not by line. Print error messages for matches.
57420 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57422 * Makerules [shlib-lds-flags empty]:
57423 ($(common-objpfx)libc_pic.opts): New target.
57424 ($(common-objpfx)libc_pic.os.clean): New target.
57425 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57427 * config.make.in (OBJCOPY): New variable.
57428 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57429 * configure: Regenerated.
57431 * config.make.in (use-default-link): New variable.
57432 * configure.in (use_default_link): Grok --with-default-link to set it.
57433 * configure: Regenerated.
57434 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57435 (shlib-lds, shlib-lds-flags): Define to empty.
57437 * Makerules (shlib-lds): New variable.
57438 (shlib-lds-flags): New variable.
57439 (build-shlib, build-moduile, build-module-asneeded): Use it.
57440 ($(common-objpfx)libc.so): Use $(shlib-lds).
57441 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57442 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57444 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57445 DT_FLAGS/DT_FLAGS_1 with zero flags.
57447 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57448 linker script munging.
57450 2011-07-02 Ulrich Drepper <drepper@gmail.com>
57452 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57454 * crypt/sha512.c (sha512_process_block): Perform total addition using
57455 128-bit if possible.
57456 (__sha512_finish_ctx): Likewise.
57457 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57459 * crypt/sha256.c (SWAP64): Define.
57460 (sha256_process_block): Perform total addition using 64-bit if
57462 (__sha256_finish_ctx): Likewise.
57464 2011-07-01 Ulrich Drepper <drepper@gmail.com>
57466 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
57467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57468 * nscd/hstcache.c (cache_addhst): Likewise.
57469 * nscd/grpcache.c (cache_addgr): Likewise.
57470 * nscd/aicache.c (addhstaiX): Likewise
57471 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57473 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
57475 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57476 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57477 * nscd/hstcache.c (cache_addhst): Likewise.
57478 * nscd/grpcache.c (cache_addgr): Likewise.
57479 * nscd/aicache.c (addhstaiX): Likewise
57481 2011-07-01 Andreas Schwab <schwab@redhat.com>
57483 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57484 domain only when needed.
57486 2011-06-30 Andreas Schwab <schwab@redhat.com>
57488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57489 is always restored.
57491 2011-06-29 Ulrich Drepper <drepper@gmail.com>
57493 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57494 are re-adding the entry.
57495 * nscd/servicescache.c (cache_addserv): Likewise.
57497 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
57499 * sysdeps/generic/dl-irel.h: fix protection against multiple
57501 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57503 2011-06-28 Ulrich Drepper <drepper@gmail.com>
57506 * malloc/memusage.sh: Fix quoting in message.
57507 * debug/xtrace.sh: Likewise.
57509 * configure.in: Remove support for --experimental-malloc option, make
57511 * config.make.in: Likewise.
57512 * malloc/Makefile: Likewise.
57514 2011-06-27 Andreas Schwab <schwab@redhat.com>
57516 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57517 two-byte characters.
57519 2011-06-27 Roland McGrath <roland@hack.frob.com>
57521 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57522 AC_CACHE_CHECK invocation.
57523 * configure: Regenerated.
57525 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57527 2011-06-27 Ulrich Drepper <drepper@gmail.com>
57530 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
57531 bit from old_res_options.
57533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57535 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57536 value type for setfct.
57538 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
57540 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57541 __gettimeofday instead of gettimeofday.
57543 2011-06-26 Ulrich Drepper <drepper@gmail.com>
57545 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57547 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
57549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57554 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57557 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57558 strcpy-sse2-unaligned strncpy-sse2-unaligned
57559 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57560 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57561 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57562 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57563 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57566 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57567 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57568 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57569 (STRCPY): Support SSE2 and SSSE3 versions.
57571 2011-06-24 Ulrich Drepper <drepper@gmail.com>
57574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57575 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57576 kernels which artificially limit size of requests.
57578 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
57580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57581 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57582 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57583 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57584 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57585 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57586 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57587 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57588 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57590 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57591 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57592 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57593 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57594 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57596 Enable unaligned load optimization for Intel Core i3, i5 and i7
57598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57600 (index_Fast_Unaligned_Load): Define.
57601 (HAS_FAST_UNALIGNED_LOAD): Define.
57603 2011-06-23 Marek Polacek <mpolacek@redhat.com>
57605 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57607 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57611 until it is clear that the information is realy needed.
57612 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57614 2011-06-22 Andreas Schwab <schwab@redhat.com>
57616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57618 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57621 /sys/devices/system/cpu/online if it is usable.
57623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57624 reading the information from the /proc filesystem to once a second.
57626 2011-06-21 Andreas Jaeger <aj@suse.de>
57628 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57629 NULL after inclusion of kernel headers.
57631 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57633 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57634 calls to internal_setent.
57637 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57638 addresses using gethostbyname4_r ignore IPv4 addresses.
57640 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57641 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57643 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57645 2011-06-20 David S. Miller <davem@davemloft.net>
57647 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57649 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57651 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57652 (elf_irel): Use it.
57653 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57654 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57655 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57656 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57657 * sysdeps/x86_64/dl-irel.h: Likewise.
57659 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57660 * elf/dl-sym.c: Likewise.
57662 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57664 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57665 need to dereference resplen2.
57667 2011-06-14 Andreas Schwab <schwab@redhat.com>
57669 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57671 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57673 * Makeconfig: Define vardbdir and inst_vardbdir.
57674 * nss/Makefile: Add rules to install db-Makefile.
57676 * nss/nss_db/db-XXX.c: Cleanup.
57678 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57679 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57681 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57682 * nss/makedb.c: Implement -g option to specify that value strings
57683 are generated and should not be added to table iterated over for
57685 * nss/nss_db/db-initgroups.c: New file.
57687 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57690 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57691 (internal_getgrouplist): Adjust to name change.
57692 Update use_initgroups_entry if this is not the first call.
57693 * nss/databases.def: Add initgroups entry.
57695 * nss/makedb.c (compute_tables): Check result of multiple hash table
57696 sizes to minimize maximum chain length.
57698 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57700 * Versions.def: Add entry for libnss_db.
57701 * shlib-versions: Likewise.
57702 * nss/Makefile: Add rules to build libnss_db.
57703 * nss/Versions: Add libnss_db information. Organize libnss_files
57705 * nss/db-Makefile: Add gshadow support. Change rules for the new
57706 makedb progra. Some minor improvements to generate smaller files.
57707 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57709 * nss/makedb.c: ...here.
57710 Improve database format to be smaller and require less memory at
57712 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57714 * nss/nss_db/db-netgrp.c: Likewise.
57715 * nss/nss_db/db-open.c: Likewise.
57716 * nss/nss_files/flies-XXX.x: Adjust comments.
57717 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57718 * nss/nss_files/files-grp.c: Likewise.
57719 * nss/nss_files/files-hosts.c: Likewise.
57720 * nss/nss_files/files-network.c: Likewise.
57721 * nss/nss_files/files-proto.c: Likewise.
57722 * nss/nss_files/files-pwd.c: Likewise.
57723 * nss/nss_files/files-rpc.c: Likewise.
57724 * nss/nss_files/files-service.c: Likewise.
57725 * nss/nss_files/files-sgrp.c: Likewise.
57726 * nss/nss_files/files-spwd.c: Likewise.
57727 * nss/nss_db/db-alias.c: Removed.
57728 * nss/nss_db/dummy-db.h: Removed.
57730 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57732 * nss/makedb.c: Rewritten to not use database library.
57733 * nss/Makefile: Update to build new makedb program.
57735 2011-06-14 Andreas Jaeger <aj@suse.de>
57737 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57738 memset declaration.
57740 2011-06-10 Andreas Schwab <schwab@redhat.com>
57742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57745 2011-06-10 Roland McGrath <roland@hack.frob.com>
57747 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57748 * elf/Makefile ($(objpfx)ld.so): Likewise.
57750 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57751 Don't list ld.so twice in dependencies.
57753 * posix/bug-regex31.c: Include <stdlib.h>.
57755 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57757 * nis/nss_compat/compat-spwd.c
57758 (getspent_next_nss_netgr): Remove unused variable.
57759 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57761 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57762 nonmembers" output to use the right array.
57764 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57766 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57768 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57769 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57770 * catgets/gencat.c (read_input_file): Likewise.
57771 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57773 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57774 variable definition inside #if's controlling its use.
57776 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57778 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57780 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57782 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57785 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57787 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57788 * configure: Regenerated.
57790 * Makerules: Revert last change.
57791 * elf/Makefile: Likewise.
57793 2011-06-09 Roland McGrath <roland@hack.frob.com>
57795 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57796 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57797 (reloc-link): Likewise.
57799 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57801 * elf/Makefile: Add rules to build pldd.
57802 * elf/pldd.c: New file.
57803 * elf/pldd-xx.c: New file.
57805 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57807 * version.h: Update for 2.15 development version.
57809 2011-06-07 David S. Miller <davem@davemloft.net>
57811 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57814 elf_machine_lazy_rel): Likewise.
57815 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57816 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57817 elf_machine_lazy_rel): Likewise.
57818 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57819 dl_hwcap via passed in argument.
57820 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57823 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57825 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57827 2011-06-06 Roland McGrath <roland@hack.frob.com>
57830 * manual/fdl-1.1.texi: New file, verbatim from:
57831 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57832 * manual/lgpl-2.1.texi: New file, verbatim from:
57833 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57834 * manual/Makefile (licenses): New variable, list those new file names.
57836 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57838 * manual/fdl.texi: File removed.
57839 * manual/lesser.texi: File removed.
57840 * manual/libc.texinfo (Copying, Documentation License):
57841 Use new @include file names, put @appendix directive before @include.
57843 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57846 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57847 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57848 (mq_open): Add __NTH.
57850 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57853 Assume Intel Core i3/i5/i7 processor if AVX is available.
57855 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57860 2011-05-31 Andreas Schwab <schwab@redhat.com>
57862 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57863 memory. Use alloca_account. Fix memory leak when retrying.
57865 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57867 * version.h (RELEASE): Bump for 2.14 release.
57868 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57870 * config.make.in (RANLIB): Remove entry.
57872 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57874 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57875 (libc.pot): Work around missing support for .ksh extension in xgettext.
57878 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57879 if both request failed.
57880 (send_dg): In case of server errors clear resplen or *resplen2.
57883 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57884 when there are multiple maps.
57885 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57886 (_dl_fini): Remove test here.
57888 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57890 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57893 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57894 bit from old_res_options.
57895 (gaih_inet): Likewise.
57898 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57901 * resolv/res_init.c (res_setoptions): Make the code more compact.
57904 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57908 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57910 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57913 * malloc/malloc.h: Declare malloc hook variables as volatile.
57915 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57919 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57920 raise in the comment.
57921 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57923 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57925 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57928 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57929 grow the buffers more if it already has to be sufficient.
57930 (build_wcs_upper_buffer): Likewise.
57931 * posix/regexec.c (check_matching): Likewise.
57932 (clean_state_log_if_needed): Likewise.
57933 (extend_buffers): Don't enlarge buffers beyond size of the input
57935 Patches mostly by Emil Wojak <emil@wojak.eu>.
57936 * posix/bug-regex32.c: New file.
57937 * posix/Makefile (tests): Add bug-regex32.
57939 * locale/findlocale.c (_nl_find_locale): Return right away if
57940 _nl_explode_name failed.
57941 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57943 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57945 * debug/xtrace.sh: Unify messages.
57946 * malloc/memusage.sh: Likewise.
57949 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57950 time symbol from vDSO. Substitute with vsyscall if not available.
57951 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57954 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57955 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57956 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57957 Add sendmmsg and internal_sendmmsg.
57958 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57959 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57960 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57962 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57963 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57964 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57966 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57969 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57970 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57976 * iconvdata/Makefile (tests): Add bug-iconv9.
57977 * iconvdata/bug-iconv9.c: New file.
57979 2011-05-27 Andreas Schwab <schwab@redhat.com>
57982 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57984 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57987 (struct user_regs_struct): Change intcs field back to cs.
57989 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57991 * po/ja.po: Update from translation team.
57993 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57996 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57997 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57999 2011-05-20 Andreas Schwab <schwab@redhat.com>
58001 * stdlib/longlong.h: Update from GCC.
58003 2011-05-23 Andreas Schwab <schwab@redhat.com>
58005 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58007 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58008 Add parameter name.
58009 (__sysconf): Pass it down.
58011 2011-05-22 Ulrich Drepper <drepper@gmail.com>
58014 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58016 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58017 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58018 add in in __libc_use_alloca calls. Adjust callers.
58019 (glob): Use malloc in some situations.
58021 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58022 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58025 2011-05-21 Ulrich Drepper <drepper@gmail.com>
58027 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58028 and CLOCK_BOOTTIME_ALARM.
58031 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58034 * string/_strerror.c (__strerror_r): Print negative errors as signed
58038 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58039 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58040 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58042 * configure.in: Fix typo in redirection and correct removal of test
58043 files in two cases.
58046 * locale/setlocale.c (new_composite_name): Fix test to check for
58047 identical name of all categories.
58050 * libio/filedoalloc.c (local_isatty): New function.
58051 (_IO_file_doallocate): Use local_isatty.
58052 * stdio-common/perror.c (perror): In case a new stream is used
58053 forward the stream error.
58054 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58057 2011-05-20 Ulrich Drepper <drepper@gmail.com>
58060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58062 * include/alloca.h (extend_alloca_account): Define.
58065 * posix/regex.h: Fix comments with documentation of user-accessible
58066 fields after compilation and describe correct free'ing of pattern
58067 after re_compile_pattern.
58068 Patch by Reuben Thomas <rrt@sc3d.org>.
58070 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
58072 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58073 and -mno-altivec to prevent the compiler from using Altivec and/or
58074 VSX instructions when the corresponding registers are not available.
58076 2011-05-19 Andreas Schwab <schwab@redhat.com>
58078 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58080 2011-05-19 Ulrich Drepper <drepper@gmail.com>
58082 * libio/freopen.c (freopen): Use __dup2, not dup2.
58083 * libio/freopen64.c (freopen64): Likewise.
58085 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
58088 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58089 * math/Makefile (tests): Add test-powl.
58090 (CFLAGS-test-powl.c): Define.
58091 * math/test-powl.c: New file.
58093 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58095 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58097 2011-05-17 Ulrich Drepper <drepper@gmail.com>
58100 * iconvdata/gb18030.c: Update to GB18020-2005.
58102 2011-05-16 Ulrich Drepper <drepper@gmail.com>
58104 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58105 RE_SYNTAX_POSIX_AWK): Update to match recent development.
58106 Patch by Aharon Robbins <arnold@skeeve.com>.
58109 * stdlib/putenv.c (putenv): Don't always create copy of the variable
58113 * misc/pselect.c (__pselect): Handle timeout value errors hidden
58114 through underflows.
58117 * misc/error.c (error_at_line): Ensure file_name and old_file_name
58118 point to strings before performing equality test for error_one_per_line
58122 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58126 (struct user_fpregs_struct): Avoid __uint*_t types.
58129 * malloc/mtrace.c (tr_where): Add additional parameter to point to
58130 symbol info. Use it instead of calling _dl_addr locally.
58131 (lock_and_info): New function.
58132 (tr_freehook): Call lock_and_info and pass symbol info as additional
58133 parameter to tr_where.
58134 (tr_mallochook): Likewise.
58135 (tr_reallochook): Likewise.
58136 (tr_memalignhook): Likewise.
58138 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
58139 used and couldn't be at all thread-safe.
58141 2011-05-15 Ulrich Drepper <drepper@gmail.com>
58143 * libio/freopen.c (freopen): Don't close old file descriptor
58144 before the new one is opened. Instead dup the new file descriptor
58145 to the old one after the new stream is created.
58146 * libio/freopen64.c (freopen64): Likewise.
58147 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58148 * libio/fileops.c (_IO_new_file_close_it): Handle new
58149 _IO_FLAGS2_NOCLOSE flag.
58150 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58151 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58152 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58153 _IO_FLAGS2_NOCLOSE flag.
58154 * include/unistd.h: Add hidden_proto for dup3.
58155 Define __have_dup3.
58156 * io/dup3.c: Define hidden symbol.
58157 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58160 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58161 when an incomplete long option is used.
58162 * posix/tst-getopt_long1.c: New file.
58163 * posix/Makefile (tests): Add tst-getopt_long1.
58166 * scripts/config.guess: Update from autoconf-2.68.
58167 * scripts/config.sub: Likewise.
58170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58172 (has_cpuclock): ...this. New function.
58173 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58174 macro here based on has_cpuclock code.
58177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58178 First byte (not low byte) is now always NUL.
58179 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58182 Use non-cancelable interfaces.
58185 * locale/iso-639.def: Add entry for Sorani.
58188 * include/stdlib.h: Move include protection to the right place.
58189 Define abort_msg_s. Declare __abort_msg with it.
58190 * stdlib/abort.c (__abort_msg): Adjust type.
58191 * assert/assert.c (__assert_fail_base): New function. Majority
58192 of code from __assert_fail. Allocate memory for __abort_msg with
58194 (__assert_fail): Now call __assert_fail_base.
58195 * assert/assert-perr.c: Remove bulk of implementation. Use
58196 __assert_fail_base.
58197 * include/assert.hL Declare __assert_fail_base.
58198 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58200 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58202 2011-05-14 Ulrich Drepper <drepper@gmail.com>
58206 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58207 until all modules are registered in the DTV.
58208 * elf/Makefile: Add rules to build and run tst-tls19.
58209 * elf/tst-tls19.c: New file.
58210 * elf/tst-tls19mod1.c: New file.
58211 * elf/tst-tls19mod2.c: New file.
58212 * elf/tst-tls19mod3.c: New file.
58213 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58216 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58220 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58221 two-byte sequence errors.
58222 * iconvdata/Makefile (tests): Add bug-iconv8.
58223 * iconvdata/bug-iconv8.c: New file.
58226 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58229 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58232 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58233 (dummy_getcfa): New function.
58234 (init): Get _Unwind_GetCFA address, use dummy if not found.
58235 (backtrace_helper): In recursion check, also check whether CFA changes.
58236 (__backtrace): Completely initialize arg.
58238 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58239 storing incomplete byte sequence in state object. Avoid testing for
58240 guaranteed too small input if we know there is enough data available.
58242 2011-05-11 Andreas Schwab <schwab@redhat.com>
58244 * Makeconfig (+link-pie): Indent.
58245 * Rules (binaries-pie): Define if $(have-fpie) and
58247 (binaries-shared): Also filter out $(binaries-pie).
58248 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58249 * nscd/Makefile (others-pie): Add nscd.
58250 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58251 ($(objpfx)nscd): Remove command override.
58252 * login/Makefile (others-pie): Add pt_chown.
58253 ($(objpfx)pt_chown): Remove command override.
58254 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58255 remove command overrides.
58257 2011-05-13 Ulrich Drepper <drepper@gmail.com>
58259 * libio/tst_putwc.c: Fix error messages.
58262 * libio/fileops.c (_IO_new_file_close_it): Always flush when
58263 currently writing and seek to current position when not.
58264 * libio/Makefile (tests): Add bug-fclose1.
58265 * libio/bug-fclose1.c: New file.
58267 2011-05-12 Ulrich Drepper <drepper@gmail.com>
58270 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58271 don't set DF_1_NODELETE here.
58272 (do_lookup_x): When entering new entry test for copy relocation
58273 and if necessary set DF_1_NODELETE flag.
58274 * elf/tst-unique4.cc: New file.
58275 * elf/tst-unique4.h: New file.
58276 * elf/tst-unique4lib.cc: New file.
58277 * elf/Makefile: Add rules to build and run tst-unique4.
58278 Patch by Piotr Bury <pbury@goahead.com>.
58280 2011-05-11 Ulrich Drepper <drepper@gmail.com>
58283 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58286 * misc/mntent_r.c (addmntent): Flush the stream after the output
58289 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58290 (is_trusted_path_normalize): Skip initial colon. Append slash
58291 to empty buffer. Duplicate is_trusted_path code but allow
58292 constructed patch to be prefix.
58293 (is_dst): Allow $ORIGIN followed by /.
58294 (_dl_dst_substitute): Correct clearing of check_for_trusted.
58295 Correct testing of result of is_trusted_path_normalize
58296 (decompose_rpath): Fix warning.
58298 2011-05-10 Ulrich Drepper <drepper@gmail.com>
58301 * grp/initgroups.c (internal_getgrouplist): When we found the service
58302 list through the initgroups entry in nsswitch.conf do not always
58303 continue on a successful lookup. Don't always use the
58304 __nss_group_database value if it is set.
58305 * nss/nsswitch.conf (initgroups): Change action for successful db
58306 lookup to continue for compatibility.
58308 2011-05-09 Ulrich Drepper <drepper@gmail.com>
58311 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58313 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58315 * iconvdata/tst-tables.sh: Likewise.
58316 * iconvdata/cp770.c: New file.
58317 * iconvdata/cp771.c: New file.
58318 * iconvdata/cp772.c: New file.
58319 * iconvdata/cp773.c: New file.
58320 * iconvdata/cp774.c: New file.
58321 * iconvdata/testdata/CP770: New file.
58322 * iconvdata/testdata/CP770..UTF8: New file.
58323 * iconvdata/testdata/CP771: New file.
58324 * iconvdata/testdata/CP771..UTF8: New file.
58325 * iconvdata/testdata/CP772: New file.
58326 * iconvdata/testdata/CP772..UTF8: New file.
58327 * iconvdata/testdata/CP773: New file.
58328 * iconvdata/testdata/CP773..UTF8: New file.
58329 * iconvdata/testdata/CP774: New file.
58330 * iconvdata/testdata/CP774..UTF8: New file.
58332 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58334 * iconvdata/gen-8bit-gap.sh: Likewise.
58335 * iconvdata/gen-8bit.sh: Likewise.
58337 * locale/iso-639.def: Add ary entry.
58340 * locale/C-translit.h.in: Add U20A1 transliteration.
58343 * locale/iso-639.def: Add wae entry.
58344 Patch by Kevin Bortis <bortis@translate-wae.ch>.
58347 * locale/programs/localedef.c (construct_output_path): Use ssize_t
58351 * locale/C-translit.h.in: Add entry for U20B9.
58352 Patch by pravin.d.s@gmail.com.
58354 2011-05-08 Ulrich Drepper <drepper@gmail.com>
58357 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58358 ENAMETOOLONG use generic getcwd.
58359 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
58360 in rtld. Use *stat64.
58361 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58362 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58363 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58364 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58365 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58366 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58367 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58368 __fstatat64 macros.
58369 * include/dirent.h: Add libc_hidden_proto for rewinddir.
58370 * dirent/rewinddir.c: Add libc_hidden_def.
58371 * sysdeps/mach/hurd/rewinddir.c: Likewise.
58372 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
58374 * include/dirent.h (__alloc_dir): Add flags parameter.
58375 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58376 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58378 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
58379 from fdopendir if O_CLOEXEC is already set.
58381 2011-03-15 Alan Modra <amodra@gmail.com>
58383 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58384 l_tls_firstbyte_offset non-zero. Save padding offset in
58385 l_tls_firstbyte_offset for later use.
58386 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58387 freeing static tls block.
58389 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
58391 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58392 where #ifdef was intended. The intent is to prevent ARG_MAX from
58393 being defined by the kernel headers.
58395 2011-05-07 Ulrich Drepper <drepper@gmail.com>
58398 * resolv/resolv.h: Define RES_NOTLDQUERY.
58399 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58400 no-tld-query and set RES_NOTLDQUERY.
58401 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58402 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58403 modern BIND to search name as TLD unless forbidden.
58405 2011-05-07 Petr Baudis <pasky@suse.cz>
58406 Ulrich Drepper <drepper@gmail.com>
58409 * elf/dl-load.c (fillin_rpath): Move trusted path check...
58410 (is_trusted_path): ...to here.
58411 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58412 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58413 using is_trusted_path_normalize() in setuid scripts.
58415 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58417 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58418 __BEGIN/__END_DECLS.
58420 2011-05-06 Ulrich Drepper <drepper@gmail.com>
58422 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58423 NSS_STATUS_NOTFOUND if no record was found.
58425 2011-05-05 Andreas Schwab <schwab@redhat.com>
58427 * sunrpc/Makefile (headers): Add rpc/netdb.h.
58428 (headers-not-in-tirpc): Remove rpc/netdb.h
58429 * resolv/netdb.h: Revert last change.
58431 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58433 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58434 circular dependency between libgcc.a and libc.a.
58436 2011-05-05 Andreas Schwab <schwab@redhat.com>
58438 * resolv/netdb.h: Don't include <rpc/netdb.h>.
58439 * nis/Makefile: Don't install rpcsvc/*.
58440 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58441 instead of <rpc/types.h>.
58442 (MAXHOSTNAMELEN): Define.
58444 2011-05-03 Andreas Schwab <schwab@redhat.com>
58446 * elf/ldconfig.c (add_dir): Don't crash on empty path.
58448 2011-04-28 Maciej Babinski <mbabinski@google.com>
58451 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58452 gethostbyname4_r when IPv6 results are possible.
58454 2011-05-02 Ulrich Drepper <drepper@gmail.com>
58457 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58458 _PC_PIPE_BUF handling.
58460 2011-04-30 Bruno Haible <bruno@clisp.org>
58463 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58464 * resolv/netdb.h (getnameinfo): Change type of flags parameter
58466 * inet/getnameinfo.c (getnameinfo): Likewise.
58468 2011-04-29 Ulrich Drepper <drepper@gmail.com>
58470 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58471 to groups setting in database lookup.
58472 * nss/nsswitch.conf: Add initgroups entry.
58474 2011-04-22 Ulrich Drepper <drepper@gmail.com>
58477 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58479 Patch by Eric Blake <eblake@redhat.com>.
58481 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
58483 * sunrpc/Makefile (need-export-routines): Add svc_run.
58484 (routines): Remove svc_run.
58485 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58486 * sunrpc/clnt_perr.c (clnt_perrno): Export.
58487 * sunrpc/svc_run.c (svc_run): Likewise.
58488 * sunrpc/svc_udp.c (svcudp_create): Likewise.
58490 2011-04-21 Ulrich Drepper <drepper@gmail.com>
58492 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58493 problem in reallocation in last patch.
58495 2011-04-20 Ulrich Drepper <drepper@gmail.com>
58497 * sunrpc/Makefile: Move inclusion of Rules.
58499 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58501 * nss/nss_files/files-initgroups.c: New file.
58502 * nss/Makefile (libnss_files-routines): Add files-initgroups.
58503 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58504 _nss_files_initgroups_dyn.
58506 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
58508 * elf/elf.h (R_ARM_IRELATIVE): Define.
58510 2011-04-19 Ulrich Drepper <drepper@gmail.com>
58512 * po/ru.po: Update from translation team.
58514 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58516 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58519 2011-02-06 Mike Frysinger <vapier@gentoo.org>
58522 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58523 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58526 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58528 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
58530 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58532 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58533 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58536 2011-04-17 Ulrich Drepper <drepper@gmail.com>
58539 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58541 * stdlib/bug-getcontext.c: New file.
58542 * stdlib/Makefile: Add rules to build and run bug-getcontext.
58544 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58546 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58547 instructions into .machine "z9-109".
58548 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58549 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58551 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58553 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58554 between environment variables and auxiliary vector.
58556 2011-04-16 Ulrich Drepper <drepper@gmail.com>
58558 * Makefile: Add rules to build linkobj/libc.so.
58559 * include/libc-symbols.h: Define libc_hidden_nolink.
58560 * include/rpc/auth.h: Mark functions which are to be hidden.
58561 * include/rpc/auth_des.h: Likewise.
58562 * include/rpc/auth_unix.h: Likewise.
58563 * include/rpc/clnt.h: Likewise.
58564 * include/rpc/des_crypt.h: Likewise.
58565 * include/rpc/key_prot.h: Likewise.
58566 * include/rpc/pmap_clnt.h: Likewise.
58567 * include/rpc/pmap_prot.h: Likewise.
58568 * include/rpc/pmap_rmt.h: Likewise.
58569 * include/rpc/rpc_msg.h: Likewise.
58570 * include/rpc/svc.h: Likewise.
58571 * include/rpc/svc_auth.h: Likewise.
58572 * include/rpc/xdr.h: Likewise.
58573 * nis/Makefile: Link all DSOs against linkobj/libc.so.
58574 * nss/Makefile: Likewise.
58575 * sunrpc/Makefile: Don't install headers. Build library with normal
58576 entry points. Don't build rpcinfo. Link RPC tests appropriately.
58577 * sunrpc/auth_des.c: Hide exported symbols by default, export some
58578 for the compat linking library. Remove use of INTDEF/INTUSE.
58579 * sunrpc/auth_none.c: Likewise.
58580 * sunrpc/auth_unix.c: Likewise.
58581 * sunrpc/authdes_prot.c: Likewise.
58582 * sunrpc/authuxprot.c: Likewise.
58583 * sunrpc/clnt_gen.c: Likewise.
58584 * sunrpc/clnt_perr.c: Likewise.
58585 * sunrpc/clnt_raw.c: Likewise.
58586 * sunrpc/clnt_simp.c: Likewise.
58587 * sunrpc/clnt_tcp.c: Likewise.
58588 * sunrpc/clnt_udp.c: Likewise.
58589 * sunrpc/clnt_unix.c: Likewise.
58590 * sunrpc/des_crypt.c: Likewise.
58591 * sunrpc/des_soft.c: Likewise.
58592 * sunrpc/get_myaddr.c: Likewise.
58593 * sunrpc/key_call.c: Likewise.
58594 * sunrpc/key_prot.c: Likewise.
58595 * sunrpc/netname.c: Likewise.
58596 * sunrpc/pm_getmaps.c: Likewise.
58597 * sunrpc/pm_getport.c: Likewise.
58598 * sunrpc/pmap_clnt.c: Likewise.
58599 * sunrpc/pmap_prot.c: Likewise.
58600 * sunrpc/pmap_prot2.c: Likewise.
58601 * sunrpc/pmap_rmt.c: Likewise.
58602 * sunrpc/publickey.c: Likewise.
58603 * sunrpc/rpc_cmsg.c: Likewise.
58604 * sunrpc/rpc_common.c: Likewise.
58605 * sunrpc/rpc_dtable.c: Likewise.
58606 * sunrpc/rpc_prot.c: Likewise.
58607 * sunrpc/rpc_thread.c: Likewise.
58608 * sunrpc/rtime.c: Likewise.
58609 * sunrpc/svc.c: Likewise.
58610 * sunrpc/svc_auth.c: Likewise.
58611 * sunrpc/svc_authux.c: Likewise.
58612 * sunrpc/svc_raw.c: Likewise.
58613 * sunrpc/svc_run.c: Likewise.
58614 * sunrpc/svc_simple.c: Likewise.
58615 * sunrpc/svc_tcp.c: Likewise.
58616 * sunrpc/svc_udp.c: Likewise.
58617 * sunrpc/svc_unix.c: Likewise.
58618 * sunrpc/svcauth_des.c: Likewise.
58619 * sunrpc/xcrypt.c: Likewise.
58620 * sunrpc/xdr.c: Likewise.
58621 * sunrpc/xdr_array.c: Likewise.
58622 * sunrpc/xdr_float.c: Likewise.
58623 * sunrpc/xdr_intXX_t.c: Likewise.
58624 * sunrpc/xdr_mem.c: Likewise.
58625 * sunrpc/xdr_rec.c: Likewise.
58626 * sunrpc/xdr_ref.c: Likewise.
58627 * sunrpc/xdr_sizeof.c: Likewise.
58628 * sunrpc/xdr_stdio.c: Likewise.
58630 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58633 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58634 * sysdeps/ia64/dl-tls.h: Likewise.
58635 * sysdeps/powerpc/dl-tls.h: Likewise.
58636 * sysdeps/s390/dl-tls.h: Likewise.
58637 * sysdeps/sh/dl-tls.h: Likewise.
58638 * sysdeps/sparc/dl-tls.h: Likewise.
58639 * sysdeps/x86_64/dl-tls.h: Likewise.
58640 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58642 2011-03-14 Andreas Schwab <schwab@redhat.com>
58644 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58645 rpath element also skip the following colon.
58646 (expand_dynamic_string_token): Add is_path parameter and pass
58647 down to DL_DST_REQUIRED and _dl_dst_substitute.
58648 (decompose_rpath): Call expand_dynamic_string_token with
58649 non-zero is_path. Ignore empty rpaths.
58650 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58653 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58658 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58661 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58662 Patch by Filipe David Manana <fdmanana@apache.org>.
58664 2011-04-07 Andreas Schwab <schwab@redhat.com>
58666 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58667 Maintain aligned stack.
58668 (CHECK_RSP): Remove unused macro.
58670 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58672 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58673 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58675 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58677 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58679 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58681 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58684 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58685 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58686 * sysdeps/x86_64/memmove.c: New file.
58687 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58688 (memcpy): Renamed to ...
58689 (__new_memcpy): This.
58690 (memcpy): Provide GLIBC_2_14 memcpy.
58691 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58692 (memcpy): Provide GLIBC_2_2_5 memcpy.
58694 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58697 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58699 2011-03-30 Andreas Schwab <schwab@redhat.com>
58701 * misc/syncfs.c: New file.
58702 * misc/Makefile (routines): Add syncfs.
58703 * posix/unistd.h: Declare syncfs.
58704 * sysdeps/unix/syscalls.list: Add syncfs.
58706 2011-04-01 Andreas Schwab <schwab@redhat.com>
58708 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58710 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58711 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58713 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58714 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58715 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58716 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58718 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58720 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58722 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58724 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58725 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58726 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58728 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58729 sync_file_range.c with -fexceptions.
58730 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58731 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58732 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58733 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58734 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58735 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58737 sync_file_range as cancellation point
58738 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58739 now a wrapper around __call_sync_file_range with cancellation handling.
58740 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58741 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58742 function name to __call_sync_file_range.
58743 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58744 Add call_sync_file_range.
58746 2011-04-01 Andreas Schwab <schwab@redhat.com>
58748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58751 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58753 * iconv/iconv.h: Fix typo in comment.
58754 * io/fcntl.h: Likewise.
58755 * libio/stdio.h: Likewise.
58756 * posix/spawn.h: Likewise.
58757 * posix/unistd.h: Likewise.
58758 * stdlib/stdlib.h: Likewise.
58759 * time/time.h: Likewise.
58760 * wcsmbs/wchar.h: Likewise.
58762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58763 open_by_handle): Add.
58764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58765 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58766 Augment a few comments.
58767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58769 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58772 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58775 * io/fcntl.h (AT_EMPTY_PATH): Define.
58777 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58779 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58780 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58781 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58783 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58784 * Versions.def: Add GLIBC_2.14.
58785 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58788 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58794 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58797 * string/test-strncmp.c (do_page_test): New function.
58798 (check2): Likewise.
58799 (test_main): Call check2.
58800 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58802 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58806 Handle cache information in CPU leaf 4.
58807 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58809 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58812 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58813 character representation.
58814 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58816 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58818 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58819 END(__isnan) to END(__isnanf) to match function entry point/label
58820 EALIGN(__isnanf,...).
58822 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58824 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58826 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58829 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58830 copy from the symbol referenced in the relocation to initialize the
58832 Patch by Piotr Bury <pbury@goahead.com>.
58833 * elf/Makefile: Add rules to build and tst-unique3.
58834 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58835 * elf/tst-unique3.cc: New file.
58836 * elf/tst-unique3.h: New file.
58837 * elf/tst-unique3lib.cc: New file.
58838 * elf/tst-unique3lib2.cc: New file.
58840 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58842 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58844 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58845 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58848 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58850 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58851 to-be-loaded object along a path to loader is ld.so.
58853 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58854 Ulrich Drepper <drepper@gmail.com>
58856 * sysdeps/x86_64/memset.S: After aligning destination, code
58857 branches to different locations depending on the value of
58858 misalignment, when multiarch is enabled. Fix this.
58860 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58862 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58863 Set _x86_64_preferred_memory_instruction for AMD processsors.
58864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58865 Set bit_Prefer_SSE_for_memop for AMD processors.
58867 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58869 * libio/fmemopen.c (fmemopen): Optimize a bit.
58871 2011-03-03 Andreas Schwab <schwab@redhat.com>
58873 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58875 2011-03-03 Roland McGrath <roland@redhat.com>
58877 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58879 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58881 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58882 __bzero_ultra1 instead of __memset_ultra1.
58884 2011-02-23 Andreas Schwab <schwab@redhat.com>
58885 Ulrich Drepper <drepper@gmail.com>
58888 * include/link.h (struct link_map): Add l_orig_initfini.
58889 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58890 returning unsuccessfully.
58891 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58892 close of a file loaded at startup, restore the original l_initfini
58894 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58895 list, store the pointer.
58896 * elf/Makefile ($(objpfx)noload-mem): New rule.
58897 (noload-ENV): Define.
58898 (tests): Add $(objpfx)noload-mem.
58899 * elf/noload.c: Include <memcheck.h>.
58900 (main): Call mtrace. Close all opened handles.
58902 2011-02-17 Andreas Schwab <schwab@redhat.com>
58905 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58906 dependencies are missing.
58908 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58910 Fix __if_freereq crash: Unlike the generic version which uses free,
58912 * sysdeps/mach/hurd/ifreq.h: New file.
58914 2011-01-27 Petr Baudis <pasky@suse.cz>
58915 Ulrich Drepper <drepper@gmail.com>
58918 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58919 to extend_alloca().
58920 * stdio-common/bug23.c: New file.
58921 * stdio-common/Makefile (tests): Add bug23.
58923 2010-09-28 Andreas Schwab <schwab@redhat.com>
58924 Ulrich Drepper <drepper@gmail.com>
58927 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58928 before performing relro protection. At old place add assertion
58929 to make sure nothing changed.
58931 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58932 Glauber de Oliveira Costa <glommer@gmail.com>
58934 * elf/elf.h: Add new ARM TLS relocs.
58936 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58939 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58941 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58943 * sysdeps/wordsize-64/tst-writev.c: New file.
58945 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58947 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58948 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58949 insns in _dl_start to prevent a TOC reference before relocs are
58952 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58955 * Makeconfig: Remove RANLIB definition.
58956 * Makerules: Don't use RANLIB.
58957 * aclocal.m4: Remove ranlib test.
58958 * configure.in: No need to check for ranlib.
58959 * elf/rtld-Rules: Don't use RANLIB.
58961 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58963 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58965 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58966 inclusion protection macro.
58968 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58969 SIGRTMIN and SIGRTMAX and print information in that case only when
58970 SIGRTMIN is defined.
58972 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58974 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58975 arginfo fn returning -1.
58977 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58978 and thousands string is zero terminated.
58980 2011-02-03 Andreas Schwab <schwab@redhat.com>
58982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58983 sysdeps/unix/sysv/linux/bits/socket.h.
58985 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58987 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58988 (__CPU_COUNT): Remove old macros.
58989 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58990 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58991 (__CPU_ALLOC, __CPU_FREE): Add macros.
58992 (__sched_cpualloc, __sched_cpufree): Add declarations.
58994 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58996 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58997 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58998 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58999 (readdhstai): Return value of addhstaiX call.
59000 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59001 (addgrbyX): Return value returned by cache_addgr.
59002 (readdgrbyname): Return value returned by addgrbyX.
59003 (readdgrbygid): Likewise.
59004 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59005 (addpwbyX): Return value returned by cache_addpw.
59006 (readdpwbyname): Return value returned by addhstbyX.
59007 (readdpwbyuid): Likewise.
59008 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59009 (addservbyX): Return value returned by cache_addserv.
59010 (readdservbyname): Return value returned by addservbyX:
59011 (readdservbyport): Likewise.
59012 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59013 (addhstbyX): Return value returned by cache_addhst.
59014 (readdhstbyname): Return value returned by addhstbyX.
59015 (readdhstbyaddr): Likewise.
59016 (readdhstbynamev6): Likewise.
59017 (readdhstbyaddrv6): Likewise.
59018 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59019 (readdinitgroups): Return value returned by addinitgroupsX.
59020 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59021 (prune_cache): Keep track of timeout value of re-added entries.
59022 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59023 * nscd/nscd.h: Adjust prototypes of readd* functions.
59025 2011-02-04 Roland McGrath <roland@redhat.com>
59027 * nis/nis_server.c (nis_servstate): Use the right name for 0.
59028 (nis_stats): Likewise.
59029 * nis/nis_modify.c (nis_modify): Likewise.
59030 * nis/nis_remove.c (nis_remove): Likewise.
59031 * nis/nis_add.c (nis_add): Likewise.
59033 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59035 * posix/fnmatch_loop.c: Add some consts.
59037 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59039 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
59042 * config.make.in (config-cflags-novzeroupper): Define.
59043 * configure.in: Substitute libc_cv_cc_novzeroupper.
59044 * elf/Makefile (AVX-CFLAGS): Define.
59045 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59046 (CFLAGS-tst-auditmod4a.c): Likewise.
59047 (CFLAGS-tst-auditmod4b.c): Likewise.
59048 (CFLAGS-tst-auditmod6b.c): Likewise.
59049 (CFLAGS-tst-auditmod6c.c): Likewise.
59050 (CFLAGS-tst-auditmod7b.c): Likewise.
59051 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59053 2011-02-02 Ulrich Drepper <drepper@gmail.com>
59055 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59056 function to the callback.
59057 Patch partly by Jiri Olsa <jolsa@redhat.com>.
59059 2011-02-02 Andreas Schwab <schwab@redhat.com>
59061 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59064 2011-01-19 Ulrich Drepper <drepper@gmail.com>
59067 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59069 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59071 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59074 * elf/Makefile: Add rules to build and run new test.
59075 * elf/tst-initorder.c: New file.
59076 * elf/tst-initorder.exp: New file.
59077 * elf/tst-initordera1.c: New file.
59078 * elf/tst-initordera2.c: New file.
59079 * elf/tst-initordera3.c: New file.
59080 * elf/tst-initordera4.c: New file.
59081 * elf/tst-initorderb1.c: New file.
59082 * elf/tst-initorderb2.c: New file.
59083 * elf/tst-order-a1.c: New file.
59084 * elf/tst-order-a2.c: New file.
59085 * elf/tst-order-a3.c: New file.
59086 * elf/tst-order-a4.c: New file.
59087 * elf/tst-order-b1.c: New file.
59088 * elf/tst-order-b2.c: New file.
59089 * elf/tst-order-main.c: New file.
59090 New test case by George Gensure <werkt0@gmail.com>.
59092 2010-10-01 Andreas Schwab <schwab@redhat.com>
59094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59095 decoding ACE if AI_CANONIDN.
59097 2011-01-18 Ulrich Drepper <drepper@gmail.com>
59099 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59101 2011-01-17 Ulrich Drepper <drepper@gmail.com>
59103 * version.h (RELEASE): Bump for 2.13 release.
59104 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59106 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59108 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59110 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59112 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59113 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59114 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59117 * posix/getconf.c: Update copyright year.
59118 * catgets/gencat.c: Likewise.
59119 * csu/version.c: Likewise.
59120 * debug/catchsegv.sh: Likewise.
59121 * debug/xtrace.sh: Likewise.
59122 * elf/ldconfig.c: Likewise.
59123 * elf/ldd.bash.in: Likewise.
59124 * elf/sprof.c (print_version): Likewise.
59125 * iconv/iconv_prog.c: Likewise.
59126 * iconv/iconvconfig.c: Likewise.
59127 * locale/programs/locale.c: Likewise.
59128 * locale/programs/localedef.c: Likewise.
59129 * malloc/memusage.sh: Likewise.
59130 * malloc/mtrace.pl: Likewise.
59131 * nscd/nscd.c (print_version): Likewise.
59132 * nss/getent.c: Likewise.
59134 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59135 PF_CAIF, and PF_ALG.
59136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59138 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
59140 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59141 (modules-names): Use them.
59142 (ifunc-test-modules, ifunc-pie-tests): Define.
59143 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59144 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59145 (test-extras): Likewise.
59146 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59147 $(compile-command.c).
59148 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59149 (all-built-dso): Define.
59150 (check-textrel.out, check-execstack.out): Depend on it.
59152 * configure.in: Don't override --enable-multi-arch.
59154 2011-01-15 Ulrich Drepper <drepper@gmail.com>
59157 * nscd/hstcache.c (tryagain): Define.
59158 (cache_addhst): Return tryagain not notfound for temporary errors.
59159 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59162 2011-01-14 Ulrich Drepper <drepper@gmail.com>
59165 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59166 to make the syscall.
59167 * sysdeps/unix/sysv/linux/setgroups.c: New file.
59170 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59171 and fall back to matching as normal character if the string ends before
59172 the matching ']' is found. This is what POSIX requires.
59173 * posix/testfnm.c: Adjust test result.
59174 * posix/globtest.sh: Adjust test result. Add new test.
59175 * posix/tst-fnmatch.input: Likewise.
59176 * posix/tst-fnmatch2.c: Add new test.
59178 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
59180 * elf/Makefile (check-execstack): Revert last change. Depend on
59182 (check-execstack.h): New target.
59183 (generated): Add check-execstack.h.
59184 * elf/check-execstack.c: Include "check-execstack.h".
59185 (main): Revert last change.
59186 (handle_file): Return zero if GNU_STACK is absent and
59187 DEFAULT_STACK_PERMS doesn't include PF_X.
59189 2011-01-13 Ulrich Drepper <drepper@gmail.com>
59191 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59192 in child fails because the descriptor is already closed.
59193 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59194 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59195 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59198 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59202 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59203 temporary buffer used to handle multi lookups locally.
59204 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59206 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59208 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59211 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
59213 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59214 alignment for SSE2.
59216 2011-01-12 Ulrich Drepper <drepper@gmail.com>
59219 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59220 characters. When rounding increased number of integer digits recompute
59222 * stdio-common/tst-grouping.c: New file.
59223 * stdio-common/Makefile: Add rules to build and run tst-grouping.
59225 2011-01-09 Ulrich Drepper <drepper@gmail.com>
59227 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59228 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
59230 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59232 * bits/select.h: Likewise.
59234 2011-01-08 Ulrich Drepper <drepper@gmail.com>
59236 * po/ja.po: Update from translation team.
59238 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
59241 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59242 implementation just like for lxstat, fxstatat, et al.
59244 2010-12-27 Jim Meyering <meyering@redhat.com>
59247 * posix/regexec.c (build_trtable): Return failure indication upon
59248 calloc failure. Otherwise, re_search_internal could infloop on OOM.
59250 2010-12-25 Ulrich Drepper <drepper@gmail.com>
59253 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59254 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59255 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59256 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59259 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59262 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59263 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59265 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
59267 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59268 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59269 script has SORT_BY_INIT_PRIORITY.
59270 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59271 NO_CTORS_DTORS_SECTIONS is defined.
59272 * elf/soinit.c: Likewise.
59273 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59274 NO_CTORS_DTORS_SECTIONS is defined.
59275 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59276 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59277 * sysdeps/sh/init-first.c: Likewise.
59278 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59280 2010-12-24 Ulrich Drepper <drepper@gmail.com>
59282 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59283 always use the slow path.
59285 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
59287 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59288 similar rule which adds the sysdep directories to the header search in
59289 order to pick up the correct platform stackinfo.h.
59290 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59291 perform test if it is, otherwise return successfully without testing.
59292 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59293 DEFAULT_STACK_PERMS define in stackinfo.h.
59294 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59295 defined in stackinfo.h.
59296 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59297 DEFAULT_STACK_PERMS defined in stackinfo.h.
59298 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59299 * sysdeps/ia64/stackinfo.h: Likewise.
59300 * sysdeps/s390/stackinfo.h: Likewise.
59301 * sysdeps/sh/stackinfo.h: Likewise.
59302 * sysdeps/sparc/stackinfo.h: Likewise.
59303 * sysdeps/x86_64/stackinfo.h: Likewise.
59304 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59305 PF_X for powerpc64. Retain PF_X for powerpc32.
59307 2010-12-19 Ulrich Drepper <drepper@gmail.com>
59309 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59311 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59312 GETDENTS_64BIT_ALIGNED.
59314 2010-12-14 Ulrich Drepper <dreper@gmail.com>
59316 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59318 2010-12-10 Andreas Schwab <schwab@redhat.com>
59320 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59323 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59324 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59326 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59327 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59329 2010-12-09 Ulrich Drepper <drepper@gmail.com>
59332 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59335 2010-12-09 Jakub Jelinek <jakub@redhat.com>
59337 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59339 2010-12-03 Ulrich Drepper <drepper@gmail.com>
59341 * po/it.po: Update from translation team.
59343 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
59345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59348 2010-11-30 Ulrich Drepper <drepper@gmail.com>
59350 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59352 2010-11-24 Andreas Schwab <schwab@redhat.com>
59354 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59356 (gaih_getanswer_slice): Likewise.
59358 2010-10-20 Jakub Jelinek <jakub@redhat.com>
59360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59362 2010-05-31 Petr Baudis <pasky@suse.cz>
59365 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59366 silently even in the chroot mode.
59368 2010-11-22 Ulrich Drepper <drepper@gmail.com>
59370 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59371 last patch a bit. Pretty printing
59373 2010-05-31 Petr Baudis <pasky@suse.cz>
59376 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59377 initialization of skip_initgroups_dyn.
59379 2010-11-19 Ulrich Drepper <drepper@gmail.com>
59381 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59384 2010-11-16 Ulrich Drepper <drepper@gmail.com>
59386 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59388 2010-11-11 Andreas Schwab <schwab@redhat.com>
59390 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59391 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59392 (tst-fnmatch-ENV): Set MALLOC_TRACE.
59393 ($(objpfx)tst-fnmatch-mem): New rule.
59394 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59395 * posix/tst-fnmatch.c (main): Call mtrace.
59397 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
59399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59400 Support Intel processor model 6 and model 0x2c.
59402 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
59404 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59407 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
59410 * string/test-strncasecmp.c (check_result): New function.
59411 (do_one_test): Use it.
59412 (check1): New function.
59413 (test_main): Use it.
59414 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59415 Support strcasecmp and strncasecmp.
59417 2010-11-08 Ulrich Drepper <drepper@gmail.com>
59420 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59421 * sysdeps/x86_64/bits/byteswap.h: Likewise.
59423 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
59425 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59429 * sysdeps/x86_64/multiarch/bzero.S: New file.
59430 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59431 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59432 * sysdeps/x86_64/multiarch/memset.S: New file.
59433 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59435 Set bit_Prefer_SSE_for_memop for Intel processors.
59436 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59438 (index_Prefer_SSE_for_memop): Define.
59439 (HAS_PREFER_SSE_FOR_MEMOP): Define.
59441 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
59443 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59446 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
59449 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59450 (__x86_64_raw_data_cache_size_half): Likewise.
59451 (__x86_64_raw_shared_cache_size): Likewise.
59452 (__x86_64_raw_shared_cache_size_half): Likewise.
59454 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59455 (__x86_64_raw_data_cache_size_half): Likewise.
59456 (__x86_64_raw_shared_cache_size): Likewise.
59457 (__x86_64_raw_shared_cache_size_half): Likewise.
59458 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59459 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59460 and __x86_64_raw_shared_cache_size_half. Round
59461 __x86_64_data_cache_size_half, __x86_64_data_cache_size
59462 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59463 to multiple of 256 bytes.
59465 2010-11-03 Ulrich Drepper <drepper@gmail.com>
59468 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59469 of inacessible symlinks. Verify result of symlink before returning it.
59470 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59471 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59473 2010-10-28 Erich Ritz <erichritz@gmail.com>
59475 * math/math.h (isinf): Fix typo in comment.
59477 2010-11-01 Ulrich Drepper <drepper@gmail.com>
59479 * po/da.po: Update from translation team.
59481 2010-10-26 Ulrich Drepper <drepper@gmail.com>
59483 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59484 is added to the list.
59486 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59487 Ulrich Drepper <drepper@gmail.com>
59489 * elf/dl-object.c (_dl_new_object): Don't append the new object to
59490 the global list here. Move code to...
59491 (_dl_add_to_namespace_list): ...here. New function.
59492 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59493 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59494 * elf/dl-load.c (lose): Don't remove the element from the list.
59495 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59496 (_dl_map_object): Likewise.
59498 2010-10-25 Ulrich Drepper <drepper@gmail.com>
59501 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59502 into all bytes of SSE register.
59503 Patch by Richard Li <richardpku@gmail.com>.
59505 2010-10-24 Ulrich Drepper <drepper@gmail.com>
59508 * malloc/malloc.c (_int_free): Fill correct number of bytes when
59511 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
59513 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59514 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59515 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59516 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59521 2010-10-22 Andreas Schwab <schwab@redhat.com>
59523 * include/dlfcn.h (__RTLD_SECURE): Define.
59524 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
59525 mode & __RTLD_SECURE instead.
59526 (open_path): Rename preloaded parameter to secure.
59527 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59528 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59529 * elf/dl-deps.c (openaux): Likewise.
59530 * elf/rtld.c (struct map_args): Remove is_preloaded.
59531 (map_doit): Don't use it.
59532 (dl_main): Likewise.
59533 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59534 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59536 2010-09-09 Andreas Schwab <schwab@redhat.com>
59538 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59539 (sysd-rules-targets): Remove duplicates.
59540 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59541 rtld-%.$o dependency.
59543 2010-10-18 Andreas Schwab <schwab@redhat.com>
59545 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59546 _dl_map_object do it.
59548 2010-10-19 Ulrich Drepper <drepper@gmail.com>
59550 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59551 fast fma builtins, define the macros in the C99 standard.
59552 (FP_FAST_FMAF): Likewise.
59553 (FP_FAST_FMAL): Likewise.
59554 * sysdeps/x86_64/bits/mathdef.h: Likewise.
59556 * bits/mathdef.h: Update copyright year.
59557 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59559 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
59561 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59562 builtins, define the macros in the C99 standard.
59563 (FP_FAST_FMAF): Likewise.
59564 (FP_FAST_FMAL): Likewise.
59565 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59567 (FP_FAST_FMAF): Likewise.
59569 2010-10-15 Jakub Jelinek <jakub@redhat.com>
59572 * math/libm-test.inc (fma_test): Some new testcases.
59573 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59575 y and infinite z. Do multiplication by C already in long double.
59576 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59577 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59578 y and infinite z. Do bitwise or of inexact bit into u.d.
59579 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59580 * sysdeps/i386/fpu/s_fmaf.S: Removed.
59581 * sysdeps/i386/fpu/s_fma.S: Removed.
59582 * sysdeps/i386/fpu/s_fmal.S: Removed.
59584 2010-10-16 Jakub Jelinek <jakub@redhat.com>
59587 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59589 computation is not scheduled after fetestexcept. Fix value
59590 of minimum denormal long double.
59592 2010-10-14 Jakub Jelinek <jakub@redhat.com>
59595 * math/libm-test.inc (fma_test): Add some more tests.
59596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59599 2010-10-15 Andreas Schwab <schwab@redhat.com>
59601 * scripts/data/localplt-s390-linux-gnu.data: New file.
59602 * scripts/data/localplt-s390x-linux-gnu.data: New file.
59604 2010-10-13 Jakub Jelinek <jakub@redhat.com>
59607 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59608 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59610 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59612 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59614 if one of x and y is very large and the other is subnormal.
59615 * sysdeps/s390/fpu/s_fmaf.c: New file.
59616 * sysdeps/s390/fpu/s_fma.c: New file.
59617 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59618 * sysdeps/powerpc/fpu/s_fma.S: New file.
59619 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59620 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59621 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59623 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59626 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59628 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59629 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59630 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59631 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59632 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59633 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59634 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59636 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59639 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59640 * posix/bug-regex31.input: Add test case.
59642 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59644 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59645 * posix/bug-regex31.input: New file.
59648 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59649 (parse_sub_exp): Fix last change, use postorder.
59651 * posix/bug-regex31.c: New file.
59652 * posix/Makefile: Add rules to build and run bug-regex31.
59654 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59657 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59660 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59661 to have entries in sys_siglist.
59664 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59667 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59670 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59671 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59672 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59673 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59674 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59675 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59676 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59677 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59678 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59679 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59680 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59681 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59682 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59683 * math/ftestexcept.c (fetestexcept): Likewise.
59684 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59685 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59686 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59687 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59688 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59689 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59690 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59692 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59695 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59698 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59700 * string/bug-strstr1.c: New file.
59701 * string/Makefile: Add rules to build and run bug-strstr1.
59703 2010-10-05 Eric Blake <eblake@redhat.com>
59706 * string/str-two-way.h (two_way_long_needle): Always clear memory
59707 when skipping input due to the shift table.
59709 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59712 * malloc/mcheck.c: Handle large requests.
59715 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59716 for strncmp and strncasecmp.
59717 * string/stratcliff.c: Add tests for strcmp and strncmp.
59718 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59720 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59722 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59725 2010-09-30 Andreas Jaeger <aj@suse.de>
59727 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59728 (CGROUP_SUPER_MAGIC): Define.
59729 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59730 Handle btrfs and cgroup file systems.
59731 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59734 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59736 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59737 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59739 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59742 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59743 trying to locate the ELF header.
59745 2010-09-27 Andreas Schwab <schwab@redhat.com>
59748 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59749 Mask out sign-bit copies when constructing f_fsid.
59751 2010-09-24 Petr Baudis <pasky@suse.cz>
59753 * debug/stack_chk_fail_local.c: Add missing licence exception.
59754 * debug/warning-nop.c: Likewise.
59756 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59758 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59759 implementing getdents64 using getdents syscall, set d_type if
59760 __ASSUME_GETDENTS32_D_TYPE.
59762 2010-09-16 Andreas Schwab <schwab@redhat.com>
59764 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59765 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59767 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59770 * posix/unistd.h: Undo change of feature selection for ftruncate from
59773 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59775 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59778 2010-09-20 Andreas Schwab <schwab@redhat.com>
59780 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59782 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59784 2010-09-14 Andreas Schwab <schwab@redhat.com>
59786 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59787 variables after CHECK_SP call.
59788 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59790 2010-09-13 Andreas Schwab <schwab@redhat.com>
59791 Ulrich Drepper <drepper@redhat.com>
59793 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59794 re-relocationg ld.so.
59795 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59796 _dl_init_paths call.
59797 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59800 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59802 * resolv/res_init.c (__res_vinit): Count the default server we added.
59804 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59805 Ulrich Drepper <drepper@redhat.com>
59808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59809 (____longjmp_chk): Use %ebx for saving value across system call.
59812 2010-09-06 Andreas Schwab <schwab@redhat.com>
59814 * manual/Makefile: Don't mix pattern rules with normal rules.
59816 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59818 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59820 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59821 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59822 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59823 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59824 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59827 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59830 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59831 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59833 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59835 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59836 * sysdeps/x86_64/addmul_1.S: Likewise.
59837 * sysdeps/x86_64/lshift.S: Likewise.
59838 * sysdeps/x86_64/mul_1.S: Likewise.
59839 * sysdeps/x86_64/rshift.S: Likewise.
59840 * sysdeps/x86_64/sub_n.S: Likewise.
59841 * sysdeps/x86_64/submul_1.S: Likewise.
59843 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59845 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59846 Define __sched_param instead of SCHED_* and sched_param when
59847 <bits/sched.h> is included with __need_schedparam defined.
59848 * bits/sched.h [__need_schedparam]
59849 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59850 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59851 (__defined_schedparam): Define to 1.
59852 (__sched_param): New structure, identical to sched_param.
59853 (__need_schedparam): Undefine.
59855 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59858 (epoll_create1): Declare.
59860 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59862 2010-08-31 Andreas Schwab <schwab@redhat.com>
59865 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59866 shifting retval into place.
59868 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59870 * nis/rpcsvc/nis.h: Update copyright notice.
59871 * nis/rpcsvc/nis.x: Likewise.
59872 * nis/rpcsvc/nis_callback.h: Likewise.
59873 * nis/rpcsvc/nis_callback.x: Likewise.
59874 * nis/rpcsvc/nis_object.x: Likewise.
59875 * nis/rpcsvc/nis_tags.h: Likewise.
59876 * nis/rpcsvc/yp.h: Likewise.
59877 * nis/rpcsvc/yp.x: Likewise.
59878 * nis/rpcsvc/ypupd.h: Likewise.
59879 * nis/yp_xdr.c: Likewise.
59880 * nis/ypupdate_xdr.c: Likewise.
59882 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59883 mainly the body of pmap_getport. Add parameters to specify timeouts.
59884 (pmap_getport): Use __libc_rpc_getport.
59885 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59886 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59887 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59889 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59894 2010-08-27 Roland McGrath <roland@redhat.com>
59896 * sysdeps/i386/i686/multiarch/Makefile
59897 (CFLAGS-varshift.c): New variable.
59899 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59901 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59902 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59904 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59906 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59908 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59910 * sysdeps/x86_64/strlen.S: Unroll the loop.
59911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59912 strlen-sse2 strlen-sse2-bsf.
59913 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59914 __strlen_no_bsf if bit_Slow_BSF is set.
59915 (__strlen_sse42): Removed.
59916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59917 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59919 2010-08-25 Roland McGrath <roland@redhat.com>
59921 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59922 * sysdeps/x86_64/multiarch/varshift.c: New file.
59923 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59924 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59925 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59926 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59928 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59931 strlen-sse2 strlen-sse2-bsf.
59932 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59933 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59934 (__strlen_sse2): Removed.
59935 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59936 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59938 bit_Slow_BSF for Atom.
59939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59940 (index_Slow_BSF): Define.
59941 (HAS_SLOW_BSF): Define.
59943 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59946 * resolv/res_init.c (__res_vinit): When no server address at all
59947 is given default to loopback.
59949 2010-08-24 Roland McGrath <roland@redhat.com>
59951 * configure.in: Remove config-name.h generation.
59952 * configure: Regenerated.
59953 * config-name.in: File removed.
59954 * scripts/config-uname.sh: New file.
59955 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59956 ($(objdir)config-name.h): New target.
59958 * sunrpc/rpc_parse.h: Avoid nested comment.
59960 2010-08-24 Richard Henderson <rth@redhat.com>
59961 Ulrich Drepper <drepper@redhat.com>
59962 H.J. Lu <hongjiu.lu@intel.com>
59964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59966 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59967 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59968 _mm_alignr_epi8 with _mm_loadu_si128.
59969 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59970 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59971 (__m128i_shift_right): Removed.
59972 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59973 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59974 * sysdeps/x86_64/multiarch/varshift.h: New file.
59975 * sysdeps/x86_64/multiarch/varshift.S: New file.
59977 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59979 * configure.in: Move assembler checks to before sysdep dir checking.
59981 2010-08-20 Petr Baudis <pasky@suse.cz>
59983 * LICENSES: Sync the sunrpc license.
59985 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59987 * sunrpc/auth_des.c: Update copyright notice once again.
59988 * sunrpc/auth_none.c: Likewise.
59989 * sunrpc/auth_unix.c: Likewise.
59990 * sunrpc/authdes_prot.c: Likewise.
59991 * sunrpc/authuxprot.c: Likewise.
59992 * sunrpc/bindrsvprt.c: Likewise.
59993 * sunrpc/clnt_gen.c: Likewise.
59994 * sunrpc/clnt_perr.c: Likewise.
59995 * sunrpc/clnt_raw.c: Likewise.
59996 * sunrpc/clnt_simp.c: Likewise.
59997 * sunrpc/clnt_tcp.c: Likewise.
59998 * sunrpc/clnt_udp.c: Likewise.
59999 * sunrpc/clnt_unix.c: Likewise.
60000 * sunrpc/des_crypt.c: Likewise.
60001 * sunrpc/des_soft.c: Likewise.
60002 * sunrpc/get_myaddr.c: Likewise.
60003 * sunrpc/getrpcport.c: Likewise.
60004 * sunrpc/key_call.c: Likewise.
60005 * sunrpc/key_prot.c: Likewise.
60006 * sunrpc/openchild.c: Likewise.
60007 * sunrpc/pm_getmaps.c: Likewise.
60008 * sunrpc/pm_getport.c: Likewise.
60009 * sunrpc/pmap_clnt.c: Likewise.
60010 * sunrpc/pmap_prot.c: Likewise.
60011 * sunrpc/pmap_prot2.c: Likewise.
60012 * sunrpc/pmap_rmt.c: Likewise.
60013 * sunrpc/rpc/auth.h: Likewise.
60014 * sunrpc/rpc/auth_unix.h: Likewise.
60015 * sunrpc/rpc/clnt.h: Likewise.
60016 * sunrpc/rpc/des_crypt.h: Likewise.
60017 * sunrpc/rpc/key_prot.h: Likewise.
60018 * sunrpc/rpc/netdb.h: Likewise.
60019 * sunrpc/rpc/pmap_clnt.h: Likewise.
60020 * sunrpc/rpc/pmap_prot.h: Likewise.
60021 * sunrpc/rpc/pmap_rmt.h: Likewise.
60022 * sunrpc/rpc/rpc.h: Likewise.
60023 * sunrpc/rpc/rpc_des.h: Likewise.
60024 * sunrpc/rpc/rpc_msg.h: Likewise.
60025 * sunrpc/rpc/svc.h: Likewise.
60026 * sunrpc/rpc/svc_auth.h: Likewise.
60027 * sunrpc/rpc/types.h: Likewise.
60028 * sunrpc/rpc/xdr.h: Likewise.
60029 * sunrpc/rpc_clntout.c: Likewise.
60030 * sunrpc/rpc_cmsg.c: Likewise.
60031 * sunrpc/rpc_common.c: Likewise.
60032 * sunrpc/rpc_cout.c: Likewise.
60033 * sunrpc/rpc_dtable.c: Likewise.
60034 * sunrpc/rpc_hout.c: Likewise.
60035 * sunrpc/rpc_main.c: Likewise.
60036 * sunrpc/rpc_parse.c: Likewise.
60037 * sunrpc/rpc_parse.h: Likewise.
60038 * sunrpc/rpc_prot.c: Likewise.
60039 * sunrpc/rpc_sample.c: Likewise.
60040 * sunrpc/rpc_scan.c: Likewise.
60041 * sunrpc/rpc_scan.h: Likewise.
60042 * sunrpc/rpc_svcout.c: Likewise.
60043 * sunrpc/rpc_tblout.c: Likewise.
60044 * sunrpc/rpc_util.c: Likewise.
60045 * sunrpc/rpc_util.h: Likewise.
60046 * sunrpc/rpcinfo.c: Likewise.
60047 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60048 * sunrpc/rpcsvc/key_prot.x: Likewise.
60049 * sunrpc/rpcsvc/klm_prot.x: Likewise.
60050 * sunrpc/rpcsvc/mount.x: Likewise.
60051 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60052 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60053 * sunrpc/rpcsvc/rex.x: Likewise.
60054 * sunrpc/rpcsvc/rstat.x: Likewise.
60055 * sunrpc/rpcsvc/rusers.x: Likewise.
60056 * sunrpc/rpcsvc/sm_inter.x: Likewise.
60057 * sunrpc/rpcsvc/spray.x: Likewise.
60058 * sunrpc/rpcsvc/yppasswd.x: Likewise.
60059 * sunrpc/rtime.c: Likewise.
60060 * sunrpc/svc.c: Likewise.
60061 * sunrpc/svc_auth.c: Likewise.
60062 * sunrpc/svc_authux.c: Likewise.
60063 * sunrpc/svc_raw.c: Likewise.
60064 * sunrpc/svc_run.c: Likewise.
60065 * sunrpc/svc_simple.c: Likewise.
60066 * sunrpc/svc_tcp.c: Likewise.
60067 * sunrpc/svc_udp.c: Likewise.
60068 * sunrpc/svc_unix.c: Likewise.
60069 * sunrpc/svcauth_des.c: Likewise.
60070 * sunrpc/xcrypt.c: Likewise.
60071 * sunrpc/xdr.c: Likewise.
60072 * sunrpc/xdr_array.c: Likewise.
60073 * sunrpc/xdr_float.c: Likewise.
60074 * sunrpc/xdr_mem.c: Likewise.
60075 * sunrpc/xdr_rec.c: Likewise.
60076 * sunrpc/xdr_ref.c: Likewise.
60077 * sunrpc/xdr_sizeof.c: Likewise.
60078 * sunrpc/xdr_stdio.c: Likewise.
60080 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60083 2010-08-19 Andreas Schwab <schwab@redhat.com>
60085 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60087 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
60089 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60090 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60091 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60092 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60093 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60094 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60095 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60096 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60097 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60098 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60099 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60100 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60101 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60102 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60104 2010-07-26 Anton Blanchard <anton@samba.org>
60106 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60107 * malloc/arena.c (heap_trim): Likewise.
60109 2010-08-16 Ulrich Drepper <drepper@redhat.com>
60111 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60114 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60116 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
60118 * sysdeps/i386/elf/Makefile: New file.
60120 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60122 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60123 from fanotify_init.
60124 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60125 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60127 2010-08-15 Ulrich Drepper <drepper@redhat.com>
60129 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60131 * sysdeps/multiarch/strcmp.S: Likewise.
60133 2010-08-14 Ulrich Drepper <drepper@redhat.com>
60135 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60136 strncase_l-nonascii.
60137 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60138 Add strncase_l-ssse3.
60139 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60140 * sysdeps/x86_64/strcmp.S: Likewise.
60141 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60142 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60143 * sysdeps/x86_64/strncase.S: New file.
60144 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60145 * sysdeps/x86_64/strncase_l.S: New file.
60146 * string/Makefile (strop-tests): Add strncasecmp.
60147 * string/test-strncasecmp.c: New file.
60149 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60152 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60153 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60155 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
60157 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60159 2010-08-12 Ulrich Drepper <drepper@redhat.com>
60161 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60162 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60163 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60165 2010-05-01 Alan Modra <amodra@gmail.com>
60167 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60168 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60169 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60170 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60171 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60172 tidying. Don't tail-call __sigjmp_save for static lib.
60173 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60175 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60176 (CALL_MCOUNT): Add eh info, and nop after bl.
60177 (TAIL_CALL_SYSCALL_ERROR): New macro.
60178 (PSEUDO_RET): Use it.
60179 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60180 Correct save location of integer regs and cr.
60181 (_dl_profile_resolve): Correct cr save location. Delete nops
60182 after bl when SHARED. Reduce cfi size a little by better
60183 placement of cfi directives.
60184 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60185 make a stack frame. Instead use parm save area as a temp.
60186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60187 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
60188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60189 Don't make a stack frame for parent, use parm save area.
60190 Increase child stack frame to 112 bytes. Don't save unused reg,
60191 and adjust reg usage. Set up cfi on error recovery and
60192 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60194 (__makecontext): Add dummy nop after jump to exit.
60195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60196 Use correct parm save area and cr save, reduce stack frame.
60197 Correct cfi for possible PSEUDO_RET frame setup.
60198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60199 Branch to local label emitted by PSEUDO_RET rather than
60202 2010-08-12 Andreas Schwab <schwab@redhat.com>
60205 * locale/programs/locale.c (print_assignment): New function.
60206 (show_locale_vars): Use it.
60208 2010-08-11 Ulrich Drepper <drepper@redhat.com>
60210 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60212 (struct statfs64): Likewise.
60213 (_STATFS_F_FLAGS): Define.
60214 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60216 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60217 (ST_VALID): Define locally.
60218 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60219 __statvfs_getflags, use the provided value.
60220 * sysdeps/unix/sysv/linux/kernel-features.h: Define
60221 __ASSUME_STATFS_F_FLAGS.
60223 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60225 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60226 Add sys/fanotify.h.
60227 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60228 fanotify_mask for GLIBC_2.13.
60229 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60230 fanotify_init and fanotify_mark.
60231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60232 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60234 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60236 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60237 prlimit64 for GLIBC_2.13.
60238 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60243 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60244 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60245 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60246 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
60248 * sysdeps/unix/sysv/linux/prlimit.c: New file.
60251 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60252 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60254 * nss/Makefile: Add rules to build and run tst-nss-test1.
60255 * shlib-versions: Add entry for libnss_test1.
60256 * nss/nss_test1.c: New file.
60257 * nss/tst-nss-test1.c: New file.
60259 * nss/nsswitch.c (__nss_database_custom): Define new variable.
60260 (__nss_configure_lookup): Set appropriate entry in
60261 __nss_configure_lookup to true.
60262 * nss/nsswitch.h: Define enum with indeces of databases in
60263 databases and __nss_database_custom arrays. Declare
60264 __nss_database_custom.
60265 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60266 to avoid using nscd when custom rules are installed.
60267 * nss/getXXbyYY_r.c: Likewise.
60268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60270 * nss/nss_files/files-parse.c: Whitespace fixes.
60272 2010-08-09 Ulrich Drepper <drepper@redhat.com>
60275 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60276 * posix/fnmatch_loop.c: Likewise.
60278 2010-07-17 Andi Kleen <ak@linux.intel.com>
60280 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60281 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60282 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60283 * Versions.def [GLIBC_2.13]: Add.
60285 2010-08-06 Ulrich Drepper <drepper@redhat.com>
60287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60288 Also fail if tpwd after pwuid call is NULL.
60290 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
60292 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60293 when converting to ms.
60295 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60297 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60298 EOPNOTSUPP errors with ENOTTY.
60299 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60300 EOPNOTSUPP errors with ENOTTY.
60302 2010-07-31 Ulrich Drepper <drepper@redhat.com>
60304 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60305 Add strcasecmp_l-ssse3.
60306 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60308 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60309 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60310 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60312 2010-07-30 Ulrich Drepper <drepper@redhat.com>
60314 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60316 * string/Makefile (strop-tests): Add strcasecmp.
60317 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60318 strcasecmp_l-nonascii.
60319 (gen-as-const-headers): Add locale-defines.sym.
60320 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60321 * sysdeps/x86_64/strcasecmp.S: New file.
60322 * sysdeps/x86_64/strcasecmp_l.S: New file.
60323 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60324 * sysdeps/x86_64/locale-defines.sym: New file.
60325 * string/test-strcasecmp.c: New file.
60327 * string/test-strcasestr.c: Test both ends of the range of characters.
60328 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60330 2010-07-29 Roland McGrath <roland@redhat.com>
60333 * manual/locale.texi (Yes-or-No Questions): Fix example code.
60335 2010-07-27 Ulrich Drepper <drepper@redhat.com>
60337 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60340 2010-07-27 Andreas Schwab <schwab@redhat.com>
60342 * manual/memory.texi (Malloc Tunable Parameters): Document
60345 2010-07-26 Roland McGrath <roland@redhat.com>
60348 * configure.in (-fgnu89-inline check): Set and substitute
60349 gnu89_inline, not libc_cv_gnu89_inline.
60350 * configure: Regenerated.
60351 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60353 2010-07-26 Ulrich Drepper <drepper@redhat.com>
60355 * string/test-strnlen.c: New file.
60356 * string/Makefile (strop-tests): Add strnlen.
60357 * string/tester.c (test_strnlen): Add a few more test cases.
60358 * string/tst-strlen.c: Better error reporting.
60360 * sysdeps/x86_64/strnlen.S: New file.
60362 2010-07-24 Ulrich Drepper <drepper@redhat.com>
60364 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60365 lower-latency instructions.
60367 2010-07-23 Ulrich Drepper <drepper@redhat.com>
60369 * string/test-strcasestr.c: New file.
60370 * string/test-strstr.c: New file.
60371 * string/Makefile (strop-tests): Add strstr and strcasestr.
60372 * string/str-two-way.h: Don't undefine MAX.
60373 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60375 2010-07-21 Andreas Schwab <schwab@redhat.com>
60377 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60378 strcasestr-nonascii.
60379 (CFLAGS-strcasestr-nonascii.c): Define.
60380 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60382 Remove unused attribute.
60384 2010-07-20 Roland McGrath <roland@redhat.com>
60386 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60387 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
60388 ld.so.cache was broken. With it, there is no way to disable dsocaps
60389 like LD_HWCAP_MASK can disable hwcaps.
60391 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60393 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60395 2010-07-16 Ulrich Drepper <drepper@redhat.com>
60397 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60398 call in strcasestr.
60399 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60400 __strcasestr_sse42_nonascii.
60401 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60402 strcasestr-nonascii.c.
60403 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60405 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
60407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60408 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60409 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60410 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60412 2010-07-09 Ulrich Drepper <drepper@redhat.com>
60414 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60417 2010-07-06 Andreas Schwab <schwab@redhat.com>
60420 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60423 2010-07-06 Ulrich Drepper <drepper@redhat.com>
60425 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60426 _PC_PIPE_BUF using F_GETPIPE_SZ.
60428 2010-07-05 Roland McGrath <roland@redhat.com>
60430 * manual/arith.texi (Rounding Functions): Fix rint description
60431 implicit in round description.
60433 2010-07-02 Ulrich Drepper <drepper@redhat.com>
60435 * elf/Makefile: Fix linking for a few tests to make recent linker
60438 2010-06-30 Andreas Schwab <schwab@redhat.com>
60440 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60441 $(common-objpfx)libc_nonshared.a.
60443 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
60445 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60446 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60447 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60448 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60449 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60450 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60451 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60452 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60467 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60468 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60469 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60470 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60471 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60472 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60473 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60474 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60475 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60476 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60477 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60478 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60494 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
60496 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60497 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
60498 * string/memmove.c (memmove): Renamed to ...
60499 (MEMMOVE): ...this. Default to memmove.
60500 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60501 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60504 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60505 mempcpy-ssse3-back memmove-ssse3-back.
60506 * sysdeps/x86_64/multiarch/bcopy.S: New file .
60507 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60508 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60509 * sysdeps/x86_64/multiarch/memcpy.S: New file.
60510 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60511 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60512 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60513 * sysdeps/x86_64/multiarch/memmove.c: New file.
60514 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60515 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60516 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60517 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60518 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60519 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60521 (index_Fast_Copy_Backward): Define.
60522 (HAS_ARCH_FEATURE): Define.
60523 (HAS_FAST_REP_STRING): Define.
60524 (HAS_FAST_COPY_BACKWARD): Define.
60526 2010-06-21 Andreas Schwab <schwab@redhat.com>
60528 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60529 Restore proper fallback handling.
60531 2010-06-19 Ulrich Drepper <drepper@redhat.com>
60534 * posix/group_member.c (__group_member): Correct checking loop.
60536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60537 OOM in getpwuid_r correctly. Return error number when the caller
60538 should return, otherwise -1.
60539 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60540 call returning > 0 value.
60541 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60543 2010-06-07 Andreas Schwab <schwab@redhat.com>
60545 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60546 libc_nonshared.a from targets in modules-names.
60548 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
60550 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60553 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
60555 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60556 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60560 2010-06-02 Andreas Schwab <schwab@redhat.com>
60562 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60564 2010-06-14 Ulrich Drepper <drepper@redhat.com>
60566 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60572 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60573 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60575 2010-06-14 Roland McGrath <roland@redhat.com>
60577 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60579 2010-06-07 Jakub Jelinek <jakub@redhat.com>
60581 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60582 __REDIRECT followed by __THROW.
60583 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60584 * posix/getopt.h (getopt): Likewise.
60586 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
60588 * hurd/lookup-at.c (__file_name_lookup_at): Accept
60589 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
60590 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60592 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60593 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60595 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
60597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60599 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
60602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60603 Properly check family and model.
60605 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
60607 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60609 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60611 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60613 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60615 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60618 2010-05-19 Andreas Schwab <schwab@redhat.com>
60620 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60623 2010-05-21 Andreas Schwab <schwab@redhat.com>
60625 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60626 and internal_recvmmsg.
60627 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60628 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60629 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60630 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60632 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60633 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60634 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60636 2010-05-20 Andreas Schwab <schwab@redhat.com>
60638 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60640 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60642 POWER7 optimizations.
60643 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60644 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60646 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60648 * version.h: Update for 2.13 development version.
60650 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60652 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60653 exceptions. Return 0.
60655 2010-05-07 Roland McGrath <roland@redhat.com>
60657 * elf/ldconfig.c (main): Add a const.
60659 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60661 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60662 (args_options): Add no-idn option.
60663 (ahosts_keys_int): Add idn_flags to ai_flags.
60664 (parse_option): Handle 'i' option to clear idn_flags.
60666 * malloc/malloc.c (_int_free): Possible race in the most recently
60667 added check. Only act on the data if no current modification
60670 See ChangeLog.17 for earlier changes.